From: Shaun M. <sin...@us...> - 2006-03-01 14:43:22
|
Update of /cvsroot/phpwsbb/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16011 Modified Files: install.sql update.php Log Message: Added settings for categories on/off Index: install.sql =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/install.sql,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** install.sql 23 Feb 2006 06:16:36 -0000 1.24 --- install.sql 1 Mar 2006 14:43:16 -0000 1.25 *************** *** 100,106 **** use_signatures smallint NOT NULL default '1', use_views smallint NOT NULL default '0', ! use_low_priority smallint NOT NULL default '0' ); ! INSERT INTO mod_phpwsbb_settings VALUES (1, 1, NULL, 'The thread [name] has been updated. Go to [url] to view it.', 0, 1, 1, 'Forums', 1, 'Latest Forum Posts', 5, 0, 1, 0, 90, 90, 6, 1, 0, 0); CREATE TABLE mod_phpwsbb_user_ranks ( --- 100,107 ---- use_signatures smallint NOT NULL default '1', use_views smallint NOT NULL default '0', ! use_low_priority smallint NOT NULL default '0', ! show_categories smallint NOT NULL default '1' ); ! INSERT INTO mod_phpwsbb_settings VALUES (1, 1, NULL, 'The thread [name] has been updated. Go to [url] to view it.', 0, 1, 1, 'Forums', 1, 'Latest Forum Posts', 5, 0, 1, 0, 90, 90, 6, 1, 0, 0, 1); CREATE TABLE mod_phpwsbb_user_ranks ( Index: update.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/update.php,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** update.php 23 Feb 2006 06:16:36 -0000 1.51 --- update.php 1 Mar 2006 14:43:16 -0000 1.52 *************** *** 355,358 **** --- 355,363 ---- $content .= '<div class="errortext">There was a problem creating the "View new posts" settings in the User Settings table.</div>'; + if ($status = $GLOBALS['core']->query('ALTER TABLE mod_phpwsbb_settings ADD show_categories smallint NOT NULL default "1"', TRUE)) + $content .= '* Added Settings for category related features.<br />'; + else + $content .= '<div class="errortext">There was a problem creating the category settings in the settings table.</div>'; + $content .= '* Copying images to /images/phpwsbb/<br />'; /* Copy new image files */ |