********************************************************************** BlogCFM - a CFML-based Blog Application http://www.blogcfm.org ********************************************************************** ********************************************************************** UPGRADING FROM VERSION 1.13 TO VERSION 1.14 ********************************************************************** replace entire FCKeditor directory replace entire admin/cffm directory replace editor_area.cfm replace template.css and blogcfm_styles.css replace admin/categories.cfm replace cfcs/blogcfm.cfc ********************************************************************** UPGRADING FROM VERSION 1.12 TO VERSION 1.13 ********************************************************************** Either replace /above.cfm or remove the the line containing the text "
This demo blog is rebuilt every few hours, and certain features are disabled." Also replace /admin/user_edit.cfm In /cfcs/blogcfm.cfc, look for "1.12" and replace with "1.13" In /login.cfm, add the following line to the validateLoginForm() javascript function after the opening { err = ''; ********************************************************************** UPGRADING FROM VERSION 1.11 TO VERSION 1.12 ********************************************************************** Overwrite all files in the root directory, regardless of extension - including all javascript, cfm, xml and TXT files, plus all files in the following directories: - /cfcs/ - /admin/ - /datePicker/ - /FCKeditor/ - /pods/ After making these changes, you need to reinit the application by passing ?init=1 (or &init=1) on any URL. You might also want to check to make sure that the "reloadCFC" variable is set to to "No" in the application.cfm after you do this. Having it set to "Yes" is a performance drain, but is useful during testing and development. ********************************************************************** UPGRADING FROM VERSION 1.10 TO VERSION 1.11 ********************************************************************** Just overwrite the following files from the archive: - /fckstyles.xml - /galleries.cfm - /pods/galleries.cfm - /cfcs/blogcfm.cfc (if you've modified this file, just replace the getPodInfo() method ********************************************************************** UPGRADING FROM VERSION 1.0 TO VERSION 1.1 ********************************************************************** Numerous database changes were made to version 1.1 in the BLOG_CONFIG table and the BLOG_ENTRIES table. If you want to upgrade, you'll have to manually modify those tables to include the following fields: BLOG_CONFIG - MYSQL/MSSQL/POSTGRESQL ------------------------------------ ALTER TABLE BLOG_CONFIG ADD DISABLE_COMMENTS smallint not null; ALTER TABLE BLOG_CONFIG ADD COMMENT_DISABLE_AGE smallint not null; ALTER TABLE BLOG_CONFIG ADD PING_ON_UPDATE text null; ALTER TABLE BLOG_CONFIG ADD CSS_OVERRIDE text null; BLOG_CONFIG - ORACLE -------------------_ ALTER TABLE BLOG_CONFIG ADD DISABLE_COMMENTS smallint not null; ALTER TABLE BLOG_CONFIG ADD COMMENT_DISABLE_AGE smallint not null; ALTER TABLE BLOG_CONFIG ADD PING_ON_UPDATE clob default ''; ALTER TABLE BLOG_CONFIG ADD CSS_OVERRIDE clob default ''; BLOG_CONFIG - ACCESS -------------------- Open the access database in MS Access. Open the Blog Config table in design view, and add the 4 columbs described above. DISABLE_COMMENTS and COMMENT_DISABLE_AGE should both be "Number" types with a type of "Integer". The other two columns, PING_ON_UPDATE and CSS_OVERRIDE should both be "Memo" types, with required set to no and allow zero length set to yes. BLOG_ENTRIES - MYSQL/MSSQL/POSTGRESQL/ORACLE -------------------------------------------- ALTER TABLE BLOG_CONFIG ADD COMMENT_DISABLE_AGE smallint not null default 0; BLOG_ENTRIES - ACCESS --------------------- Open the access database in MS Access. Open the BLOG_ENTRIES table in design view, and add the COMMENT_DISABLE_AGE column. It should be a Number with a type or length of "Integer", required set t oyes and the default value set to 0.