Update of /cvsroot/phpwsbb/phpwsbb/boost
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv397/boost
Modified Files:
install.sql update.php
Log Message:
Fixed Bug Report [1038108] "1.0.0 CVS: Off-site Avatar checking needed"
Remote Avatars are now disabled by default & admins are now warned about the dangers of using them.
Index: install.sql
===================================================================
RCS file: /cvsroot/phpwsbb/phpwsbb/boost/install.sql,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** install.sql 30 Sep 2004 04:18:31 -0000 1.21
--- install.sql 3 Oct 2004 23:17:39 -0000 1.22
***************
*** 93,97 ****
bboffline smallint NOT NULL default '0',
use_avatars smallint NOT NULL default '1',
! use_offsite_avatars smallint NOT NULL default '1',
max_avatar_height int NOT NULL default '90',
max_avatar_width int NOT NULL default '90',
--- 93,97 ----
bboffline smallint NOT NULL default '0',
use_avatars smallint NOT NULL default '1',
! use_offsite_avatars smallint NOT NULL default '0',
max_avatar_height int NOT NULL default '90',
max_avatar_width int NOT NULL default '90',
***************
*** 99,103 ****
use_signatures 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, 1, 90, 90, 6, 1);
CREATE TABLE mod_phpwsbb_user_ranks (
--- 99,103 ----
use_signatures 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);
CREATE TABLE mod_phpwsbb_user_ranks (
Index: update.php
===================================================================
RCS file: /cvsroot/phpwsbb/phpwsbb/boost/update.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** update.php 30 Sep 2004 03:59:36 -0000 1.43
--- update.php 3 Oct 2004 23:17:39 -0000 1.44
***************
*** 308,312 ****
$content .= 'There was a problem modifying the phpwsBB threads table.<br />';
! if($status = $GLOBALS['core']->query('ALTER TABLE mod_phpwsbb_settings ADD use_avatars smallint NOT NULL default "1", ADD use_offsite_avatars smallint NOT NULL default "1", ADD max_avatar_height int NOT NULL default "90", ADD max_avatar_width int NOT NULL default "90", ADD max_avatar_size int NOT NULL default "6", ADD use_signatures smallint NOT NULL default "1"', TRUE))
$content .= 'phpwsBB settings table successfully modified.<br />';
else
--- 308,312 ----
$content .= 'There was a problem modifying the phpwsBB threads table.<br />';
! if($status = $GLOBALS['core']->query('ALTER TABLE mod_phpwsbb_settings ADD use_avatars smallint NOT NULL default "1", ADD use_offsite_avatars smallint NOT NULL default "0", ADD max_avatar_height int NOT NULL default "90", ADD max_avatar_width int NOT NULL default "90", ADD max_avatar_size int NOT NULL default "6", ADD use_signatures smallint NOT NULL default "1"', TRUE))
$content .= 'phpwsBB settings table successfully modified.<br />';
else
|