|
From: Jon O. <jon...@us...> - 2008-06-03 20:14:01
|
Update of /cvsroot/mxbb/mx_shoutbox In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3390 Modified Files: db_install.php db_upgrade.php Log Message: Final updates mxBB -> MXP and alike... Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/db_install.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_install.php 27 Feb 2008 17:15:18 -0000 1.4 --- db_install.php 3 Jun 2008 20:13:53 -0000 1.5 *************** *** 6,12 **** // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if ( !defined('IN_ADMIN') ) --- 6,12 ---- // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if ( !defined('IN_ADMIN') ) *************** *** 27,31 **** } $mx_module_version = '2.3.1'; ! $mx_module_copy = 'Original mxBB <i>Shoutbox</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; $sql=array( --- 27,31 ---- } $mx_module_version = '2.3.1'; ! $mx_module_copy = 'Original MX-Publisher <i>Shoutbox</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; $sql=array( *************** *** 34,49 **** module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'", ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "shoutbox", "CREATE TABLE " . $mx_table_prefix . "shoutbox ( ! id int(11) NOT NULL auto_increment, ! name_id mediumint(8) NOT NULL default '0', ! name varchar(25) NOT NULL default '', ! text text NOT NULL, ! time int(11) NOT NULL default '0', ! bbcode_uid varchar(10) default NULL, ! PRIMARY KEY (id) ! ) TYPE=MyISAM", "INSERT INTO " . $mx_table_prefix . "shoutbox (id,name_id,name,text,time,bbcode_uid) --- 34,49 ---- module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'", ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "shoutbox", "CREATE TABLE " . $mx_table_prefix . "shoutbox ( ! id int(11) NOT NULL auto_increment, ! name_id mediumint(8) NOT NULL default '0', ! name varchar(25) NOT NULL default '', ! text text NOT NULL, ! time int(11) NOT NULL default '0', ! bbcode_uid varchar(10) default NULL, ! PRIMARY KEY (id) ! ) TYPE=MyISAM", "INSERT INTO " . $mx_table_prefix . "shoutbox (id,name_id,name,text,time,bbcode_uid) *************** *** 53,60 **** "CREATE TABLE " . $mx_table_prefix . "shoutbox_config ( ! config_name varchar(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ! ) TYPE=MyISAM", "INSERT INTO " . $mx_table_prefix . "shoutbox_config (config_name, config_value) VALUES ('config_id', '1')", --- 53,60 ---- "CREATE TABLE " . $mx_table_prefix . "shoutbox_config ( ! config_name varchar(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ! ) TYPE=MyISAM", "INSERT INTO " . $mx_table_prefix . "shoutbox_config (config_name, config_value) VALUES ('config_id', '1')", *************** *** 88,91 **** $message .= '<br /><br />If everything was successful, please delete this file for security reasons!'; ! mx_message_die(GENERAL_MESSAGE, $message); ?> \ No newline at end of file --- 88,91 ---- $message .= '<br /><br />If everything was successful, please delete this file for security reasons!'; ! mx_message_die(GENERAL_MESSAGE, $message); ?> \ No newline at end of file Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/db_upgrade.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_upgrade.php 27 Feb 2008 17:15:36 -0000 1.4 --- db_upgrade.php 3 Jun 2008 20:13:53 -0000 1.5 *************** *** 6,12 **** // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if ( !defined('IN_ADMIN') ) --- 6,12 ---- // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if ( !defined('IN_ADMIN') ) *************** *** 28,32 **** $mx_module_version = '2.3.1'; ! $mx_module_copy = 'Original mxBB <i>Shoutbox</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; $sql=array( --- 28,32 ---- $mx_module_version = '2.3.1'; ! $mx_module_copy = 'Original MX-Publisher <i>Shoutbox</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; $sql=array( *************** *** 39,46 **** "CREATE TABLE " . $mx_table_prefix . "shoutbox_config ( ! config_name varchar(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ! ) TYPE=MyISAM", "INSERT INTO " . $mx_table_prefix . "shoutbox_config (config_name, config_value) VALUES ('config_id', '1')", --- 39,46 ---- "CREATE TABLE " . $mx_table_prefix . "shoutbox_config ( ! config_name varchar(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) ! ) TYPE=MyISAM", "INSERT INTO " . $mx_table_prefix . "shoutbox_config (config_name, config_value) VALUES ('config_id', '1')", *************** *** 72,75 **** $n++; } ! mx_message_die(GENERAL_MESSAGE, $message); ?> \ No newline at end of file --- 72,75 ---- $n++; } ! mx_message_die(GENERAL_MESSAGE, $message); ?> \ No newline at end of file |