Version 2.2.0 RC-1
This commit is contained in:
1 parent
f73f8bff6d
commit
22f1b963ee
1034 files changed
+178610
-70897
No files matched your search
@@ -0,0 +1,63 @@
|
||||
<installdata>
|
||||
<package>
|
||||
<name>Invision Power Board</name>
|
||||
<version>2.2 ALPHA 2</version>
|
||||
<versionlong>22001</versionlong>
|
||||
<build>1134742970</build>
|
||||
<license>Invision Power Services, Inc.
|
||||
Invision Power Board Software
|
||||
End User License Agreement (Version 2.2.x)
|
||||
|
||||
LICENSE
|
||||
Invision Power Services (IPS) grants you a non-exclusive license to use the Software on one installation to be accessable by one URL (web address) subject to the provisions in all sections of this Agreement.
|
||||
|
||||
TERM
|
||||
Invision Power Board is offered under yearly and lifetime licensing. Both license terms feature technical support and service plus access to upgrades to the software as they are available. In the event a one year license expires without being renewed, the software will remain completely functional but will be unsupported and no access to upgrades will be made available.
|
||||
|
||||
SCOPE OF GRANT
|
||||
|
||||
You may:
|
||||
|
||||
* customize the Software's design and operation to suit the internal needs of your web site except to the extent not permitted in this Agreement
|
||||
* produce and distribute modification instructions, Skin packs, or Language packs provided that they contain notification that the Skin and Language packs were exported from and originally created by Invision Power Board and/or IPS. The modifications instructions you personally create are not owned by IPS so long as they contain no proprietary coding from Invision Power Board.
|
||||
* create applications which interface with the operation of the Software provided said application is an original work
|
||||
|
||||
|
||||
You may not:
|
||||
|
||||
* permit other individuals to use the Software except under the terms listed above
|
||||
* reverse engineer, disassemble, or create derivative works based on the Software for distribution or usage outside your web site
|
||||
* use the Software in such as way as to condone or encourage terrorism, promote or provide pirated Software, or any other form of illegal or damaging activity
|
||||
* modify and/or remove any copyright notices or labels on the Software on each page (unless copyright output removal license is purchased) and in the header of each script source file
|
||||
* distribute the Software
|
||||
* distribute individual copies of files, libraries, or other programming material in the Software package
|
||||
* distribute or modify proprietary graphics, HTML, or CSS packaged with the Software for use in Software applications other than Invision Power Board or web sites without written permission from IPS
|
||||
* modify the software to function in more than one instance or location (URL, domain, subdomain, etc.) from a single set of source program files unless each location is separately licensed
|
||||
|
||||
|
||||
DISCLAIMER OF WARRANTY
|
||||
The Software is provided on an "AS IS" basis, without warranty of any kind, including without limitation the warranties of merchantability, fitness for a particular purpose, and non-infringement. The entire risk as to the quality and performance of the Software is borne by you. Should the Software prove defective, you and not IPS assume the entire cost of any service and repair. In addition, the security mechanisms implemented by IPS Software have inherent limitations, and you must determine that the Software sufficiently meets your requirements. This disclaimer of warranty constitutes an essential part of the Agreement.
|
||||
|
||||
TITLE
|
||||
Title, ownership rights, and intellectual property rights in the Software shall remain with IPS. The Software is protected by copyright laws and treaties. Title and related rights in the content generated through the Software is the property of the applicable content owner and may be protected by applicable law. This License gives IPS no rights to such content.
|
||||
|
||||
TERMINATION
|
||||
This Agreement will terminate automatically upon failure to comply with the limitations described herein or on written notice from an authorized representative of IPS. On termination, you must destroy all copies of the Software within 48 hours. Termination of the license due to noncompliance will not result in any refunds of license fees.
|
||||
|
||||
MISCELLANEOUS
|
||||
IPS reserves the right to publish a selected list of users of the Software. IPS reserves the right to change the terms of this Agreement at any time. Changes to the Agreement will be announced via email using the IPS email notification list. Failure to receive notification of a change does not make those changes invalid. A current copy of this Agreement will be available on the Invision Power Board web site.
|
||||
|
||||
Skin packs and Language packs are defined as the group of code, text, and graphics that are exported from the Software using the provided functions of the Software Administration Control Panel. Integrated add-ons for Invision Power Board are released under this Agreement. Purchasing or downloading integrated add-ons constitute an additional, separate instance of this Agreement.
|
||||
|
||||
Technical support will not be provided for third-party modifications to the Software including modifications to code, Skin packs, and Language packs to any license holder. If the Software is modified using a third-party modification instruction or otherwise, technical support may be refused to any license holder.
|
||||
|
||||
PROPRIETARY LABELS
|
||||
Authorization to remove or modify output of copyright notices can be obtained from IPS for a fee. This fee authorizes you to remove the output of copyright notices: it does not give you authorization to remove any copyright notices in the program source files or any other rights.
|
||||
|
||||
GOVERNING LAW
|
||||
This Agreement shall be governed by the Laws of the Commonwealth of Virginia and the Laws of the United States of America. Any action in regard to this Agreement or arising out of its terms and conditions shall be instituted and litigated in the Circuit Court of Bedford County. Each of the parties consents to jurisdiction in such Court and agrees that service of process as provided by the states and rules of civil procedures of the Commonwealth of Virginia shall be sufficient. (FTB)
|
||||
|
||||
MANUFACTURER
|
||||
Invision Power Services, Inc., 1115 Vista Park Drive Suite C, Forest, VA 24551. For questions, write to the above address, email info@invisionpower.com, or call 434-316-7201.</license>
|
||||
</package>
|
||||
</installdata>
|
||||
@@ -0,0 +1,22 @@
|
||||
<installdata>
|
||||
<action>
|
||||
<file>login</file>
|
||||
<menu>Login</menu>
|
||||
<position>0</position>
|
||||
</action>
|
||||
<action>
|
||||
<file>overview</file>
|
||||
<menu>Overview</menu>
|
||||
<position>1</position>
|
||||
</action>
|
||||
<action>
|
||||
<file>eula</file>
|
||||
<menu>EULA</menu>
|
||||
<position>2</position>
|
||||
</action>
|
||||
<action>
|
||||
<file>install</file>
|
||||
<menu>Upgrade</menu>
|
||||
<position>3</position>
|
||||
</action>
|
||||
</installdata>
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,126 @@
|
||||
<?php
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PDR1 -> PDR 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[]="create table ibf_announcements (
|
||||
announce_id int(10) UNSIGNED NOT NULL auto_increment,
|
||||
announce_title varchar(255) NOT NULL default '',
|
||||
announce_post text NOT NULL default '',
|
||||
announce_forum text NOT NULL default '',
|
||||
announce_member_id mediumint(8) UNSIGNED NOT NULL default '0',
|
||||
announce_html_enabled tinyint(1) NOT NULL default '0',
|
||||
announce_views int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_start int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_end int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_active tinyint(1) NOT NULL default '1',
|
||||
PRIMARY KEY (announce_id)
|
||||
);";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day,
|
||||
task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled)
|
||||
VALUES ('Announcements Update', 'announcements.php', 1080747660, -1, -1, 4, -1, 'e82f2c19ab1ed57c140fccf8aea8b9fe', 1,
|
||||
'Rebuilds cache and expires out of date announcements', 1);";
|
||||
|
||||
$SQL[]="CREATE TABLE ibf_bulk_mail (
|
||||
mail_id int(10) NOT NULL auto_increment,
|
||||
mail_subject varchar(255) NOT NULL default '',
|
||||
mail_content mediumtext NOT NULL default '',
|
||||
mail_groups mediumtext NOT NULL default '',
|
||||
mail_honor tinyint(1) NOT NULL default '1',
|
||||
mail_opts mediumtext NOT NULL default '',
|
||||
mail_start int(10) NOT NULL default '0',
|
||||
mail_updated int(10) NOT NULL default '0',
|
||||
mail_sentto int(10) NOT NULL default '0',
|
||||
mail_active tinyint(1) NOT NULL default '0',
|
||||
mail_pergo smallint(5) NOT NULL default '0',
|
||||
PRIMARY KEY (mail_id)
|
||||
);";
|
||||
|
||||
|
||||
$SQL[]="alter table ibf_task_manager add task_key varchar(30) NOT NULL default '', add task_safemode tinyint(1) NOT NULL default '';";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value,
|
||||
conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group,
|
||||
conf_end_group, conf_help_key, conf_add_cache) VALUES ('Add '<' and '>' to 'to' and 'from' addresses?',
|
||||
'Some SMTP mailers require that email addresses are in the following format \'<\' address \'>\' (no quotes).
|
||||
If you are getting errors in the mail error log, enabled this option', '12', 'yes_no', 'mail_wrap_brackets', '', '0', '', '', 1, 6, '', 0, '', 1);";
|
||||
|
||||
$SQL[]="create table ibf_mail_error_logs (
|
||||
mlog_id int(10) auto_increment NOT NULL,
|
||||
mlog_date int(10) NOT NULL default '0',
|
||||
mlog_to varchar(250) NOT NULL default '',
|
||||
mlog_from varchar(250) NOT NULL default '',
|
||||
mlog_subject varchar(250) NOT NULL default '',
|
||||
mlog_content varchar(250) NOT NULL default '',
|
||||
mlog_msg text NOT NULL default '',
|
||||
mlog_code varchar(200) NOT NULL default '',
|
||||
mlog_smtp_msg text NOT NULL default '',
|
||||
PRIMARY KEY (mlog_id)
|
||||
);";
|
||||
|
||||
|
||||
$SQL[]="alter table ibf_pfields_data
|
||||
change fid pf_id smallint(5) NOT NULL auto_increment,
|
||||
change ftitle pf_title varchar(250) NOT NULL default '',
|
||||
change fdesc pf_desc varchar(250) NOT NULL default '',
|
||||
change fcontent pf_content text NOT NULL default '',
|
||||
change ftype pf_type varchar(250) NOT NULL default '',
|
||||
change freq pf_not_null tinyint(1) NOT NULL default '0',
|
||||
change fhide pf_member_hide tinyint(1) NOT NULL default '0',
|
||||
change fmaxinput pf_max_input smallint(6) NOT NULL default '0',
|
||||
change fedit pf_member_edit tinyint(1) NOT NULL default '0',
|
||||
change forder pf_position smallint(6) NOT NULL default '0',
|
||||
change fshowreg pf_show_on_reg tinyint(1) NOT NULL default '0',
|
||||
add pf_input_format text NOT NULL default '',
|
||||
add pf_admin_only tinyint(1) NOT NULL default '0',
|
||||
add pf_topic_format text NOT NULL default '';";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_set) VALUES ( 'POST_SNAPBACK', \"<img src='style_images/<#IMG_DIR#>/post_snapback.gif' alt='*' border='0' />\", 1);";
|
||||
|
||||
$SQL[]="alter table ibf_forum_tracker add forum_track_type varchar(100) NOT NULL default 'delayed';";
|
||||
$SQL[]="alter table ibf_tracker add topic_track_type varchar(100) NOT NULL default 'delayed';";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Post Snap Back', 'This tag displays a little linked image which links back to a post - used when quoting posts from the board. Opens in same window by default.', 'snapback', '<a href=\"index.php?act=findpost&pid={content}\"><{POST_SNAPBACK}></a>', 0, '[snapback]100[/snapback]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Right', 'Aligns content to the right of the posting area', 'right', '<div align=\'right\'>{content}</div>', 0, '[right]Some text here[/right]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Left', 'Aligns content to the left of the post', 'left', '<div align=\'left\'>{content}</div>', 0, '[left]Left aligned text[/left]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Center', 'Aligns content to the center of the posting area.', 'center', '<div align=\'center\'>{content}</div>', 0, '[center]Centered Text[/center]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Topic Link', 'This tag provides an easy way to link to a topic', 'topic', '<a href=\'index.php?showtopic={option}\'>{content}</a>', 1, '[topic=100]Click me![/topic]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Post Link', 'This tag provides an easy way to link to a post.', 'post', '<a href=\'index.php?act=findpost&pid={option}\'>{content}</a>', 1, '[post=100]Click me![/post]');";
|
||||
|
||||
$SQL[]="alter table ibf_members change auto_track auto_track varchar(50) default '0';";
|
||||
|
||||
|
||||
$SQL[]="alter table ibf_conf_settings_titles
|
||||
add conf_title_noshow tinyint(1) NOT NULL default '0',
|
||||
add conf_title_keyword varchar(200) NOT NULL default '0'";
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PDR1 -> PDR 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('IPB Portal', 'These settings enable you to enable or disable IPB Portal and control the options IPB Portal offers.', 20, 0, 'ipbportal');";
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('ENABLE IPB Portal?', 'If \'yes\', IPB Portal can be accessed via \'index.php?act=home\' or via the special \'index.php\' script (see documentation for more info).', '22', 'yes_no', 'csite_on', '', '1', '', '', 1, 1, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('IPB Portal Page Title?', 'This will appear inbetween the <title> elements on the page', '22', 'input', 'csite_title', '', 'IPB Portal', '', '', 1, 2, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Forums to export articles from', 'Separate <b>forum ids</b> with a comma for more than one', '22', 'input', 'csite_article_forum', '1,2,3,4,5,6', '', '', '', 1, 3, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Number of Articles to display in the main section', '', '22', 'input', 'csite_article_max', '', '15', '', '', 1, 4, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable Recent Articles?', 'This will show a list of recent topic titles on the IPB Portal page', '22', 'yes_no', 'csite_article_recent_on', '', '1', '', '', 1, 5, 'IPB Portal Recent Articles', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. no recent articles to show', '', '22', 'input', 'csite_article_recent_max', '', '5', '', '', 1, 6, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. length of topic titles', '', '22', 'input', 'csite_article_len', '', '30', '', '', 1, 7, '', 1, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Date format for articles', '<a href=\'http://www.php.net/date\'>Same as PHP\'s date function', '22', 'input', 'csite_article_date', '', 'm-j-y H:i', '', '', 1, 3, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable Recent Discussions', '', '22', 'yes_no', 'csite_discuss_on', '', '1', '', '', 1, 9, 'IPB Portal Recent Discussions', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. no recent discussions to show', '', '22', 'input', 'csite_discuss_max', '', '10', '', '', 1, 10, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. length of topic titles', '', '22', 'input', 'csite_discuss_len', '', '30', '', '', 1, 11, '', 1, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show User / Guest Info box?', '', '22', 'yes_no', 'csite_pm_show', '', '1', '', '', 1, 12, 'IPB Portal Components', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show online users?', '', '22', 'yes_no', 'csite_online_show', '', '1', '', '', 1, 13, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show search box?', '', '22', 'yes_no', 'csite_search_show', '', '1', '', '', 1, 14, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable skin selection choice dropdown?', '', '22', 'yes_no', 'csite_skinchange_show', '', '1', '', '', 1, 15, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enter URL to poll topic for inclusion', 'Leave blank to not show a poll or the poll box', '22', 'input', 'csite_poll_url', '', '', '', '', 1, 17, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show Site Navigation Menu?', '', '22', 'yes_no', 'csite_nav_show', '', '1', '', '', 1, 18, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Site Navigation Menu Links', 'One per line in this format<br>http://www.apple.com [Apple\'s Website]<br><br>{board_url} will convert into your board', '22', 'textarea', 'csite_nav_contents', '', '{board_url} [Forums]\r\n{board_url}act=Search&CODE=getactive [Today\'s Active Topics]\r\n{board_url}act=Stats [Today\'s Top 10 Posters]\r\n{board_url}act=Stats&CODE=leaders [Contact Staff]', '', 'if ( $show == 1)\r\n{\r\n $value = preg_replace( \"/&(middot|quot|copy|amp)/\", \"&\\\\1\", $value );\r\n}', 1, 19, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show Affiliates / Favoured Sites box?', '', '22', 'yes_no', 'csite_fav_show', '', '0', '', '', 1, 20, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show Affiliates / Favoured Sites box content', 'Raw HTML enabled', '22', 'textarea', 'csite_fav_contents', '', '', '', 'if ( $show == 1)\r\n{\r\n $value = preg_replace( \"/&(middot|quot|copy|amp)/\", \"&\\\\1\", $value );\r\n}', 1, 21, '', 1, '', 0);";
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PDR1 -> PDR 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Send Bulk Mail', 'bulkmail.php', 1086706080, -1, -1, -1, -1, '61359ac93eb93ebbd935a4e275ade2db', 0, 'Dynamically assigned, no need to edit or change', 0, 'bulkmail', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Daily Topic & Forum Digest', 'dailydigest.php', 1086912600, -1, -1, 0, 10, '723cab2aae32dd5d04898b1151038846', 1, 'Emails out daily topic & forum digest emails', 1, 'dailydigest', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Weekly Topic & Forum Digest', 'weeklydigest.php', 1087096200, 0, -1, 3, 10, '7e7fccd07f781bdb24ac108d26612931', 1, 'Emails weekly topic & forum digest emails', 1, 'weeklydigest', 0);";
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PDR1 -> PDR 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "alter table ibf_members add subs_pkg_chosen smallint(3) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_topic_mmod add topic_approve tinyint(1) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_groups add g_attach_per_post int(10) NOT NULL default '0';";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('Subscriptions Manager', 'These settings control various subscription manager features.', 3, 0, 'subsmanager');";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('IPB Registration', 'This section will allow you to edit your IPB registered licence settings.', 3, 1, 'ipbreg');";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('IPB Copyright Removal', 'This section allows you to manage your copyright removal key.', 2, 1, 'ipbcopyright');";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('Invision Chat Settings (Legacy Version)', 'This will allow you to customize your Invision Chat integration settings for the legacy edition.', 14, 1, 'chat');";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('Invision Chat Settings', 'This will allow you to customize your Invision Chat integration settings for the new 2004 edition', 10, 1, 'chat04');";
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Add '<' and '>' to 'to' and 'from' addresses?', 'Some SMTP mailers require that email addresses are in the following format \'<\' address \'>\' (no quotes). If you are getting errors in the mail error log, enabled this option', '12', 'yes_no', 'mail_wrap_brackets', '', '0', '', '', 1, 6, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Account Number?', 'Removing this number will remove all links / chat functionality within IPB.\r\n', '20', 'input', 'chat_account_no', '', '', '', '', 1, 1, 'Account Specifics', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Server?', '<!--SERVER-->', '20', 'input', 'chat_server_addr', '', '', '', '', 1, 2, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable 'Who's Chatting?'', 'If enabled, this will show who\'s chatting in the chat room on your forums home page underneath the active users list.', '20', 'yes_no', 'chat_who_on', '', '1', '', '', 1, 3, 'Who's Chatting', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Hide Who's Chatting when no members are logged into chat?', '', '20', 'yes_no', 'chat_hide_whoschatting', '', '1', '', '', 1, 4, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Update local list no less than every:', 'The local list is updated from the master chat server by the frequency you set and cached locally.', '20', 'dropdown', '', '', '15', '5=5\r\n10=10\r\n15=15\r\n30=30', '', 1, 5, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Changed your IPChat control panel password?', 'If you have changed your IPChat control panel password, please add the new password here. Leave blank if it\'s not changed.', '20', 'input', 'chat_pass_md5', '', '', '', '', 1, 6, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('ENTER YOUR IPCHAT CONTROL PANEL PASSWORD', 'You must enter your IPChat control panel password to allow retrieval of the Who\'s Chatting list.', '20', 'input', 'chat_pass_md5_new', '', '', '', '', 1, 7, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Dimensions (WIDTH)?', '', '20', 'input', 'chat_width', '', '600', '', '', 1, 8, 'Showing the chat room', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Dimensions (HEIGHT)?', '', '20', 'input', 'chat_height', '', '350', '', '', 1, 9, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Pop-up Window Padding? (in px)', 'Allows window to open without scrollbars', '20', 'input', 'chat_poppad', '', '50', '', '', 1, 10, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Default Chat Room Interface Language?', '', '20', 'dropdown', 'chat_language', '', 'en', 'en=English\r\nar=Arabic\r\nde=German\r\nes=Spanish\r\nfr=French\r\nhr=Croation\r\nit=Italian\r\niw=Hebrew\r\nnl=Dutch\r\npl=Polish\r\npt=Portuguese', '', 1, 11, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Load the chat room in...?', '', '20', 'dropdown', 'chat_display', '', 'self', 'self=Normal IPB Page\r\nnew=New Pop Up Window', '', 1, 9, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Allow chat access to these groups', 'You may select more than one', '20', 'multi', 'chat_access_groups', '', '', '#show_groups#', 'if ( \$save == 1)\r\n{\r\n if ( is_array(\$POST[\'chat_access_groups\']) )\r\n {\r\n \$POST[\'chat_access_groups\'] = implode(\",\",\$POST[\'chat_access_groups\']);\r\n }\r\n else\r\n {\r\n \$POST[\'chat_access_groups\'] = '';\r\n }\r\n \r\n \$key = \'chat_access_groups\';\r\n}if ( \$show == 1 ) { \$key=\'chat_access_groups[]\'; }', 1, 13, 'Access Permissions', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Allow ADMIN access to these groups', 'You may select more than one - please choose carefully!', '20', 'multi', 'chat_admin_groups', '', '', '#show_groups#', 'if ( \$save == 1)\r\n{\r\n if ( is_array(\$POST[\'chat_admin_groups\']) )\r\n {\r\n \$POST[\'chat_admin_groups\'] = implode(\",\",\$POST[\'chat_admin_groups\']);\r\n }\r\n else\r\n {\r\n \$POST[\'chat_admin_groups\'] = '';\r\n }\r\n \r\n \$key = \'chat_admin_groups\';\r\n}if ( \$show == 1 ) { \$key=\'chat_admin_groups[]\'; }', 1, 14, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Account Number?', 'Removing this number will remove all links / chat functionality within IPB.\r\n', '21', 'input', 'chat04_account_no', '', '', '', '', 1, 1, 'Account Specifics', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room URL?', '<!--SERVER-->', '21', 'input', 'chat04_whodat_server_addr', '', 'http://invision.parachat.com/cgi-bin/userlist/test', '', '', 1, 2, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable 'Who's Chatting?'', 'If enabled, this will show who\'s chatting in the chat room on your forums home page underneath the active users list.', '21', 'yes_no', 'chat04_who_on', '', '1', '', '', 1, 3, 'Who's Chatting', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Hide Who's Chatting when no members are logged into chat?', '', '21', 'yes_no', 'chat04_hide_whoschatting', '', '1', '', '', 1, 4, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Update local list no less than every:', 'The local list is updated from the master chat server by the frequency you set and cached locally.', '21', 'dropdown', 'chat04_who_save', '', '1', '1=1\r\n5=5\r\n10=10\r\n15=15\r\n30=30', '', 1, 5, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Dimensions (WIDTH)?', '', '21', 'input', 'chat04_width', '', '600', '', '', 1, 8, 'Showing the chat room', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Dimensions (HEIGHT)?', '', '21', 'input', 'chat04_height', '', '350', '', '', 1, 9, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Pop-up Window Padding? (in px)', 'Allows window to open without scrollbars', '21', 'input', 'chat04_poppad', '', '50', '', '', 1, 10, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Load the chat room in...?', '', '21', 'dropdown', 'chat04_display', '', 'self', 'self=Normal IPB Page\r\nnew=New Pop Up Window', '', 1, 9, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Allow chat access to these groups', 'You may select more than one', '21', 'multi', 'chat04_access_groups', '', '', '#show_groups#', 'if ( \$save == 1)\r\n{\r\n if ( is_array(\$POST[\'chat04_access_groups\']) )\r\n {\r\n \$POST[\'chat04_access_groups\'] = implode(\",\",\$POST[\'chat04_access_groups\']);\r\n }\r\n else\r\n {\r\n \$POST[\'chat04_access_groups\'] = '';\r\n }\r\n \r\n \$key = \'chat04_access_groups\';\r\n}', 1, 13, 'Access Permissions', 1, '', 1);";
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Allow poll creator to vote in own poll?', 'If set to \"yes\", the poll creator will have the option of voting in their own poll.', '5', 'yes_no', 'allow_creator_vote', '', '1', '', '', 1, 31, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Registration Terms & Rules', 'The content of this section will be displayed before a member can register a new account.\r\n<b>HTML ENABLED</b>', '17', 'textarea', 'reg_rules', '', '<b>Forum Terms & Rules</b>\r\n\r\nPlease take a moment to review these rules detailed below. If you agree with them and wish to proceed with the registration, simply click the \"Register\" button below. To cancel this registration, simply hit the \'back\' button on your browser.\r\n\r\nPlease remember that we are not responsible for any messages posted. We do not vouch for or warrant the accuracy, completeness or usefulness of any message, and are not responsible for the contents of any message.\r\n\r\nThe messages express the views of the author of the message, not necessarily the views of this bulletin board. Any user who feels that a posted message is objectionable is encouraged to contact us immediately by email. We have the ability to remove objectionable messages and we will make every effort to do so, within a reasonable time frame, if we determine that removal is necessary.\r\n\r\nYou agree, through your use of this service, that you will not use this bulletin board to post any material which is knowingly false and/or defamatory, inaccurate, abusive, vulgar, hateful, harassing, obscene, profane, sexually oriented, threatening, invasive of a person\'s privacy, or otherwise violative of any law.\r\n\r\nYou agree not to post any copyrighted material unless the copyright is owned by you or by this bulletin board.\r\n', '', '', 1, 5, 'Registration Terms & Rules', 1, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show subscription packages when registering?', 'If enabled, the subscription packages will be shown in the registration page and the registering member will be able to select one.', '23', 'yes_no', 'subsm_show_reg', '', '1', '', '', 1, 1, 'Optional Purchase Upon Registration', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Force every member to require a subscriptions package', 'If enabled, the member must choose a package upon registration to proceed past the validating group and current members must purchase a subscription to view the board.', '23', 'yes_no', 'subsm_enforce', '', '0', '', '', 1, 2, 'Force Package Purchase', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Member group to use after registration but before package purchase?', 'If you require that every member purchases a subscription, choose a group to move the member into once they have validated their registration prior to purchasing a subscriptions manager package.\r\nMembers in this group will see the \'Purchase Subscriptions\' page when logged in and if they don\'t already have a package.', '23', 'dropdown', 'subsm_nopkg_group', '', '1', '#show_groups#', '', 1, 3, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Reported Post Notifications sent to', 'Where do you want reported post notifications to go?', '6', 'dropdown', 'reportpost_method', '', 'pm', 'email=Email\r\npm=Personal Message', '', 1, 19, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Display registered to line?', 'If enabled, you can optionally add a \"registered to\" line at the bottom of your board.', '24', 'yes_no', 'ipb_reg_show', '', '0', '', '', 1, 2, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show as registered to...', 'Examples: <em>Matthew Mecham</em>, <em>IPS, Inc.', '24', 'input', 'ipb_reg_name', '', '', '', '', 1, 3, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('IPB Registered Licence Key', 'This is the IPB registraton key NOT your customer code or client center password. To get your key, log into your client center and click on \'Invision Power Board\' under \'Purchased Services\'.\r\n<br />DO NOT REMOVE OR EDIT THIS KEY UNLESS YOU\'RE SURE OF WHAT YOU\'RE DOING!', '24', 'input', 'ipb_reg_number', '', '', '', '', 1, 1, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('IPB Copyright Removal Key', 'Your copyright removal key obtained from IPS.', '25', 'input', 'ipb_copy_number', '', '', '', '', 1, 1, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Copyright Purchased?', '', '25', 'yes_no', 'ips_cp_purchase', '', '0', '', '', 1, 2, '', 0, '', 1);";
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PF1 -> PF 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('CODEBOX', 'Use this BBCode tag to show a scrolling codebox. Useful for long sections of code.', 'codebox', '<div class=\'codetop\'>CODE</div><div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\'>{content}</div>', 0, '[codebox]long_code_here = '';[/codebox]');";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,565 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1092402393">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>253</conf_id>
|
||||
<conf_title>Chat Room Type</conf_title>
|
||||
<conf_description>This is the type of chat service you purchased</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_servicetype</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>advanced=Advanced
|
||||
premium=Premium</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>252</conf_id>
|
||||
<conf_title>Default Chat Room</conf_title>
|
||||
<conf_description>This is the room that your chat users will be logged into first</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_default_room</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>203</conf_id>
|
||||
<conf_title>Chat Room URL?</conf_title>
|
||||
<conf_description><![CDATA[<!--SERVER-->]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_whodat_server_addr</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>--Not currently required--</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>204</conf_id>
|
||||
<conf_title><![CDATA[Enable 'Who's Chatting?']]></conf_title>
|
||||
<conf_description><![CDATA[If enabled, this will show who's chatting in the chat room on your forums home page underneath the active users list.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_who_on</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>4</conf_position>
|
||||
<conf_start_group><![CDATA[Who's Chatting]]></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>205</conf_id>
|
||||
<conf_title><![CDATA[Hide Who's Chatting when no members are logged into chat?]]></conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_hide_whoschatting</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>5</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>262</conf_id>
|
||||
<conf_title>Enable X_FORWARDED_FOR IP matching?</conf_title>
|
||||
<conf_description><![CDATA[If enabled, this will check the X_FORWARDED_FOR headers to match the user's IP address. This is useful in a intranet situation if the REMOTE_ADDR will be the same across the network. It will also help maintain AOL sessions but can be abused to forge incorrect headers to report an incorrect IP address. If unsure, leave off.]]></conf_description>
|
||||
<conf_group>6</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>xforward_matching</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>6</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>206</conf_id>
|
||||
<conf_title>Update local list no less than every:</conf_title>
|
||||
<conf_description>The local list is updated from the master chat server by the frequency you set and cached locally. In minutes.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_who_save</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>2</conf_default>
|
||||
<conf_extra>2=2
|
||||
5=5
|
||||
10=10
|
||||
15=15
|
||||
30=30</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>6</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>209</conf_id>
|
||||
<conf_title>Chat Room Dimensions (WIDTH)?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_width</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>600</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>8</conf_position>
|
||||
<conf_start_group>Showing the chat room</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>248</conf_id>
|
||||
<conf_title>Moderators can ban via warn panel?</conf_title>
|
||||
<conf_description><![CDATA[Applies to those moderators allowed to use the warning system<br />Admins can automatically do this via the warn panel.]]></conf_description>
|
||||
<conf_group>13</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>warn_mod_ban</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>8</conf_position>
|
||||
<conf_start_group>Forum Moderator Permissions</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>210</conf_id>
|
||||
<conf_title>Chat Room Dimensions (HEIGHT)?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_height</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>350</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>9</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>249</conf_id>
|
||||
<conf_title>Moderators can mod queue members via warn panel?</conf_title>
|
||||
<conf_description><![CDATA[Applies to those moderators allowed to use the warning system<br />Admins can automatically do this via the warn panel.]]></conf_description>
|
||||
<conf_group>13</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>warn_mod_modq</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>9</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>50</conf_id>
|
||||
<conf_title><![CDATA[Auto prune all topic subscriptions if the topic has no replies over [x] days]]></conf_title>
|
||||
<conf_description>Leave blank or enter 0 for no auto prune limit</conf_description>
|
||||
<conf_group>4</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>subs_autoprune</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>10</conf_position>
|
||||
<conf_start_group><![CDATA[Topic & Forum Subscriptions]]></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key>0</conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>254</conf_id>
|
||||
<conf_title>Default Chat Room Language</conf_title>
|
||||
<conf_description>This is the default language used for the chat user inteface (buttons and labels, etc)</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_default_lang</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>english.conf</conf_default>
|
||||
<conf_extra>english.conf=English
|
||||
spanish.conf=Spanish
|
||||
portuguese.conf=Portuguese
|
||||
italian.conf=Italian
|
||||
french.conf=French
|
||||
german.conf=German</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>10</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>250</conf_id>
|
||||
<conf_title>Moderators can remove post rights via warn panel?</conf_title>
|
||||
<conf_description><![CDATA[Applies to those moderators allowed to use the warning system<br />Admins can automatically do this via the warn panel.]]></conf_description>
|
||||
<conf_group>13</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>warn_mod_post</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>10</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>263</conf_id>
|
||||
<conf_title>Automatically subscribe to every forum</conf_title>
|
||||
<conf_description><![CDATA[Please choose which user groups you'd like to automatically be subscribed for email notification of <b>new</b> topics (not replies) in every forum available to them. This means that members having a selected PRIMARY group will be emailed everytime there is a new topic and they are not online to view it.<br /><b>Note</b> This will only send the email to those who have chosen to 'Allow emails from the administrators'.]]></conf_description>
|
||||
<conf_group>4</conf_group>
|
||||
<conf_type>multi</conf_type>
|
||||
<conf_key>autoforum_sub_groups</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>#show_groups#</conf_extra>
|
||||
<conf_evalphp><![CDATA[if ( $save == 1)
|
||||
{
|
||||
if ( is_array($_POST['autoforum_sub_groups']) )
|
||||
{
|
||||
$_POST['autoforum_sub_groups'] = implode(",",$_POST['autoforum_sub_groups']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$_POST['autoforum_sub_groups'] = "";
|
||||
}
|
||||
|
||||
$key = 'autoforum_sub_groups';
|
||||
}
|
||||
if ( $show == 1 )
|
||||
{
|
||||
$key='autoforum_sub_groups[]';
|
||||
}]]></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>11</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>255</conf_id>
|
||||
<conf_title><![CDATA[Enable "Plain Mode"?]]></conf_title>
|
||||
<conf_description><![CDATA["Plain mode" removes the colored chat text from your Invision Power Chat Advanced room(s), and implements single-colored (non-GUI) chat text. This will disable the graphic emoticons and click-able URLs.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_plainmode</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>11</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>251</conf_id>
|
||||
<conf_title>Number of times per day a moderator can warn a single member</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>13</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>warn_mod_day</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>3</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>11</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>213</conf_id>
|
||||
<conf_title>Load the chat room in...?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_display</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>self</conf_default>
|
||||
<conf_extra>self=Normal IPB Page
|
||||
new=New Pop Up Window</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>12</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>211</conf_id>
|
||||
<conf_title>Chat Room Pop-up Window Padding? (in px)</conf_title>
|
||||
<conf_description>Allows window to open without scrollbars</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_poppad</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>50</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>14</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>256</conf_id>
|
||||
<conf_title>Applet: Background Color</conf_title>
|
||||
<conf_description>To change your chat applet background color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_applet_bg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#BCD0ED</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>16</conf_position>
|
||||
<conf_start_group>Chat Room Style Options</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>257</conf_id>
|
||||
<conf_title>Applet: Foreground Color</conf_title>
|
||||
<conf_description>To change your chat applet foreground color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_applet_fg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#345487</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>17</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>258</conf_id>
|
||||
<conf_title>Chat Window: Background Color</conf_title>
|
||||
<conf_description>To change your chat window background color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_window_bg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#F5F9FD</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>17</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>259</conf_id>
|
||||
<conf_title>Chat Window: Foreground Color</conf_title>
|
||||
<conf_description>To change your chat window foreground color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_window_fg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#345487</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>17</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>261</conf_id>
|
||||
<conf_title>Additional PARAM information</conf_title>
|
||||
<conf_description><![CDATA[Use this field to enter any custom param tags for the chat applet.
|
||||
Example:<br />
|
||||
<param name="cmd.BeepEnter" value="true">
|
||||
<br /><param name="cmd.BeepLeave" value="true">
|
||||
<br />Please refer to the Invision Chat documentation for more info.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>textarea</conf_type>
|
||||
<conf_key>chat04_customparams</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>18</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>110</conf_id>
|
||||
<conf_title>Remove chr(0xCA) from input?</conf_title>
|
||||
<conf_description><![CDATA[Can be used as a 'hidden' space to emulate registered names - but can cause problems in non Western character sets.]]></conf_description>
|
||||
<conf_group>6</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>strip_space_chr</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>18</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>260</conf_id>
|
||||
<conf_title>Chat Room Font Size</conf_title>
|
||||
<conf_description><![CDATA[To customize your font size replace "10" to whatever numeric value you wish.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_font_size</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>10</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>19</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>214</conf_id>
|
||||
<conf_title>Allow chat access to these groups</conf_title>
|
||||
<conf_description>You may select more than one</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>multi</conf_type>
|
||||
<conf_key>chat04_access_groups</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>#show_groups#</conf_extra>
|
||||
<conf_evalphp><![CDATA[if ( $save == 1)
|
||||
{
|
||||
if ( is_array($_POST['chat04_access_groups']) )
|
||||
{
|
||||
$_POST['chat04_access_groups'] = implode(",",$_POST['chat04_access_groups']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$_POST['chat04_access_groups'] = "";
|
||||
}
|
||||
|
||||
$key = 'chat04_access_groups';
|
||||
}
|
||||
if ( $show == 1 )
|
||||
{
|
||||
$key = 'chat04_access_groups[]';
|
||||
}]]></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>25</conf_position>
|
||||
<conf_start_group>Access Permissions</conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1094651620">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>218</conf_id>
|
||||
<conf_title>Forums to export articles from</conf_title>
|
||||
<conf_description>You may select more than one.</conf_description>
|
||||
<conf_group>22</conf_group>
|
||||
<conf_type>multi</conf_type>
|
||||
<conf_key>csite_article_forum</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>#show_forums#</conf_extra>
|
||||
<conf_evalphp><![CDATA[if ( $save == 1)
|
||||
{
|
||||
if ( is_array($_POST['csite_article_forum']) )
|
||||
{
|
||||
$_POST['csite_article_forum'] = implode(",",$_POST['csite_article_forum']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$_POST['csite_article_forum'] = "";
|
||||
}
|
||||
|
||||
$key = 'csite_article_forum';
|
||||
}
|
||||
if ( $show == 1 )
|
||||
{
|
||||
$key = 'csite_article_forum[]';
|
||||
}]]></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>265</conf_id>
|
||||
<conf_title>Caching PATH</conf_title>
|
||||
<conf_description><![CDATA[<b>This can be left blank</b>
|
||||
<br />This is useful for specifing a PATH for the IPB written files (skin_cache, style_avatars, style_emoticons, style_images) when dealing with load balanced/clustered servers. If you enter a PATH, please ensure that it ends with a trailing slash]]></conf_description>
|
||||
<conf_group>1</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_cache_path</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>8</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>264</conf_id>
|
||||
<conf_title>Image URL</conf_title>
|
||||
<conf_description><![CDATA[<b>This can be left blank</b>
|
||||
<br />This can be used if you wish to serve images from a different server or when using clustered servers. Please ensure that you use a trailing slash and that it starts with http(s):// if entering a URL]]></conf_description>
|
||||
<conf_group>1</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_img_url</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>8</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('P_UP', '<img src=\'style_images/<#IMG_DIR#>/p_up.gif\' border=\'0\' alt=\'Go to the top of the page\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('P_CARD', '<img src=\'style_images/<#IMG_DIR#>/p_card.gif\' border=\'0\' alt=\'Profile Card\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('PRO_AIM', '<img src=\'style_images/<#IMG_DIR#>/profile_aim.gif\' border=\'0\' alt=\'AIM\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('PRO_ITEM', '<img src=\'style_images/<#IMG_DIR#>/profile_item.gif\' border=\'0\' alt=\'Profile Item\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('PRO_MSN', '<img src=\'style_images/<#IMG_DIR#>/profile_msn.gif\' border=\'0\' alt=\'MSN\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('PRO_ICQ', '<img src=\'style_images/<#IMG_DIR#>/profile_icq.gif\' border=\'0\' alt=\'ICQ\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('PRO_YIM', '<img src=\'style_images/<#IMG_DIR#>/profile_yahoo.gif\' border=\'0\' alt=\'Yahoo\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('PRO_CONTACT', '<img src=\'style_images/<#IMG_DIR#>/icon_msg_nonew.gif\' border=\'0\' alt=\'Contact\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('BAR_LEFT', '<img src=\'style_images/<#IMG_DIR#>/bar_left.gif\' border=\'0\' alt=\'*\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('BAR_RIGHT', '<img src=\'style_images/<#IMG_DIR#>/bar_right.gif\' border=\'0\' alt=\'*\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('CAL_GOTO', '<img src=\'style_images/<#IMG_DIR#>/cal_goto.gif\' border=\'0\' alt=\'Goto Month\' />', 1, 1);";
|
||||
?>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PF3 -> PF 4
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//--------------------------------
|
||||
// Upgrade templates
|
||||
//--------------------------------
|
||||
|
||||
require_once( ROOT_PATH.'upgrade/installfiles/upg_20009/components.php' );
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'skin_sets', array( 'set_css' => $CSS,
|
||||
'set_cache_css' => $CSS,
|
||||
'set_wrapper' => $WRAPPER,
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
), 'set_skin_set_id=1' );
|
||||
|
||||
$this->install->message = "Wrapper and CSS updated...";
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
# Fix bug where ICQ alt text missing last single quote
|
||||
|
||||
$SQL[] = "DELETE FROM ibf_skin_macro WHERE macro_value='PRO_ICQ' and macro_set=1";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('PRO_ICQ', '<img src=\'style_images/<#IMG_DIR#>/profile_icq.gif\' border=\'0\' alt=\'ICQ\' />', 1, 1);";
|
||||
|
||||
# Fix bug where "select * from members where temp_ban..." prevents NULL IS NOT NULL confusion
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members change temp_ban temp_ban varchar(100) default '0'";
|
||||
?>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PF3 -> PF 4
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//--------------------------------
|
||||
// Upgrade templates
|
||||
//--------------------------------
|
||||
|
||||
require_once( ROOT_PATH.'upgrade/installfiles/upg_20010/components.php' );
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'skin_sets', array( 'set_css' => $CSS,
|
||||
'set_cache_css' => $CSS,
|
||||
'set_wrapper' => $WRAPPER,
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
), 'set_skin_set_id=1' );
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
# Fix bug where unread PM count not incremented
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members change msg_total msg_total smallint(5) default '0'";
|
||||
$SQL[] = "ALTER TABLE ibf_members change new_msg new_msg smallint(5) default '0'";
|
||||
$SQL[] = "UPDATE ibf_members SET new_msg=0";
|
||||
|
||||
|
||||
# Add WIZZY Blog hook
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members add has_blog TINYINT(1) NOT NULL default '0'";
|
||||
|
||||
# Efficiency
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members_converge ADD INDEX converge_email(converge_email)";
|
||||
$SQL[] = "ALTER TABLE ibf_polls ADD INDEX tid(tid)";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,845 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<permsexport exported="1123061157" versionid="2.1.0" type="master">
|
||||
<permsgroup>
|
||||
<perm>
|
||||
<acpperm_bit>recache</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>admin</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>adminlog</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>stats</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>search</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>bw-add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>bw-remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>bw-edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>bw-export</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>bw-import</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>ban-view</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>ban-add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>ban-remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>bbcode</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>bbcode</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>bbcode</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>bbcode</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>bbcode</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>calendars</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>calendars</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>calendars</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recache</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>calendars</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>components</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>components</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>components</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>components</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>emailerror</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>emaillog</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>upload</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>permedit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>reorder</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recount</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>empty</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>rules</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>skin</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>group</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>group</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>group</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>perms</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>group</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>help</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>help</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>help</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>lang</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>lang</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>lang</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>lang</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>lang</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>login</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>login</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>diagnostics</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>login</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>login</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>login</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>suspend</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>title-view</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>title-edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>title-add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>title-remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>mod</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>ban</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>view</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mtools</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>modlog</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>multimod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>multimod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>multimod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>install</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>msubs</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>msubs</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>msubs</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>msubs</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>search</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>msubs</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>portal</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>postoffice</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>postoffice</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>send</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>postoffice</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>postoffice</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>field</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>field</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>field</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recount</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>rebuild</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>rebuild</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>rebuild</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssexport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssexport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recache</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssexport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssexport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssimport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssimport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recache</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssimport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssimport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>search</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>style</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>rundiff</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skindiff</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skindiff</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skindiff</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>import</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>import</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>image</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>image</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>image</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>sets</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>sets</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>sets</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>rebuild</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>sets</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>templ</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>templ</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>templ</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>wrap</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recache</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skintools</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>changemember</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skintools</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>search</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skintools</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>spiderlog</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>show</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>stats</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>task</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>task</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>task</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>runnow</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>task</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>log</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>task</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>view</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>warnlog</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>warnlog</acpperm_child>
|
||||
</perm>
|
||||
</permsgroup>
|
||||
|
||||
</permsexport>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,224 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
// $SQL[] = "";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_components (
|
||||
com_id INT(10) NOT NULL auto_increment,
|
||||
com_title VARCHAR(255) NOT NULL default '',
|
||||
com_author VARCHAR(255) NOT NULL default '',
|
||||
com_url VARCHAR(255) NOT NULL default '',
|
||||
com_version VARCHAR(255) NOT NULL default '',
|
||||
com_date_added INT(10) NOT NULL default '0',
|
||||
com_menu_data MEDIUMTEXT NOT NULL default '',
|
||||
com_enabled TINYINT(1) NOT NULL default '1',
|
||||
com_safemode TINYINT(1) NOT NULL default '1',
|
||||
com_section VARCHAR(255) NOT NULL default '',
|
||||
com_filename VARCHAR(255) NOT NULL default '',
|
||||
com_description VARCHAR(255) NOT NULL default '',
|
||||
com_url_title VARCHAR(255) NOT NULL default '',
|
||||
com_url_uri VARCHAR(255) NOT NULL default '',
|
||||
com_position INT(3) NOT NULL default '10',
|
||||
PRIMARY KEY(com_id)
|
||||
);";
|
||||
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_topic_views (
|
||||
views_tid int(10) NOT NULL default '0'
|
||||
);";
|
||||
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_topic_ratings (
|
||||
rating_id INT(10) NOT NULL auto_increment,
|
||||
rating_tid INT(10) NOT NULL default '0',
|
||||
rating_member_id mediumint(8) NOT NULL default '0',
|
||||
rating_value SMALLINT NOT NULL default '0',
|
||||
rating_ip_address VARCHAR(16) NOT NULL default '',
|
||||
PRIMARY KEY(rating_id),
|
||||
KEY rating_tid (rating_tid, rating_member_id)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_topic_markers (
|
||||
marker_member_id INT(8) NOT NULL default '0',
|
||||
marker_forum_id INT(10) NOT NULL default '0',
|
||||
marker_last_update INT(10) NOT NULL default '0',
|
||||
marker_unread SMALLINT(5) NOT NULL default '0',
|
||||
marker_topics_read TEXT NOT NULL default '',
|
||||
marker_last_cleared INT(10) NOT NULL default '0',
|
||||
UNIQUE KEY marker_forum_id( marker_forum_id, marker_member_id ),
|
||||
KEY marker_member_id (marker_member_id)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_rss_import (
|
||||
rss_import_id INT(10) NOT NULL auto_increment,
|
||||
rss_import_enabled TINYINT(1) NOT NULL default '0',
|
||||
rss_import_title VARCHAR(255) NOT NULL default '',
|
||||
rss_import_url VARCHAR(255) NOT NULL default '',
|
||||
rss_import_forum_id INT(10) NOT NULL default '0',
|
||||
rss_import_mid MEDIUMINT(8) NOT NULL default '0',
|
||||
rss_import_pergo SMALLINT(3) NOT NULL default '0',
|
||||
rss_import_time SMALLINT(3) NOT NULL default '0',
|
||||
rss_import_last_import INT(10) NOT NULL default '0',
|
||||
rss_import_showlink VARCHAR(255) NOT NULL default '0',
|
||||
rss_import_topic_open TINYINT(1) NOT NULL default '0',
|
||||
rss_import_topic_hide TINYINT(1) NOT NULL default '0',
|
||||
rss_import_inc_pcount TINYINT(1) NOT NULL default '0',
|
||||
rss_import_topic_pre VARCHAR(50) NOT NULL default '',
|
||||
rss_import_charset VARCHAR(200) NOT NULL default '',
|
||||
PRIMARY KEY ( rss_import_id )
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_rss_imported (
|
||||
rss_imported_guid CHAR(32) NOT NULL default '0',
|
||||
rss_imported_tid INT(10) NOT NULL default '0',
|
||||
rss_imported_impid INT(10) NOT NULL default '0',
|
||||
PRIMARY KEY ( rss_imported_guid ),
|
||||
KEY (rss_imported_impid)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_rss_export (
|
||||
rss_export_id int(10) NOT NULL auto_increment,
|
||||
rss_export_enabled tinyint(1) NOT NULL default '0',
|
||||
rss_export_title varchar(255) NOT NULL default '',
|
||||
rss_export_desc varchar(255) NOT NULL default '',
|
||||
rss_export_image varchar(255) NOT NULL default '',
|
||||
rss_export_forums text,
|
||||
rss_export_include_post tinyint(1) NOT NULL default '0',
|
||||
rss_export_count smallint(3) NOT NULL default '0',
|
||||
rss_export_cache_time smallint(3) NOT NULL default '30',
|
||||
rss_export_cache_last int(10) NOT NULL default '0',
|
||||
rss_export_cache_content mediumtext,
|
||||
rss_export_sort varchar(4) NOT NULL default 'DESC',
|
||||
rss_export_order varchar(20) NOT NULL default 'start_date',
|
||||
PRIMARY KEY (rss_export_id)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_cal_events (
|
||||
event_id INT(10) UNSIGNED NOT NULL auto_increment,
|
||||
event_calendar_id INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
event_member_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
event_content MEDIUMTEXT NOT NULL,
|
||||
event_title VARCHAR(255) NOT NULL DEFAULT '',
|
||||
event_smilies TINYINT(1) NOT NULL DEFAULT '0',
|
||||
event_perms TEXT NOT NULL,
|
||||
event_private TINYINT(1) NOT NULL DEFAULT '0',
|
||||
event_approved TINYINT(1) NOT NULL DEFAULT '0',
|
||||
event_unixstamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
event_recurring INT(2) UNSIGNED NOT NULL DEFAULT '0',
|
||||
event_tz INT(4) NOT NULL DEFAULT '0',
|
||||
event_unix_from INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
event_unix_to INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (event_id),
|
||||
KEY daterange (event_calendar_id,event_approved,event_unix_from,event_unix_to),
|
||||
KEY approved ( event_calendar_id, event_approved )
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_members_partial (
|
||||
partial_id INT(10) NOT NULL auto_increment,
|
||||
partial_member_id INT(8) NOT NULL default '0',
|
||||
partial_date INT(10) NOT NULL default '0',
|
||||
PRIMARY KEY( partial_id ),
|
||||
KEY partial_member_id ( partial_member_id )
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_dnames_change (
|
||||
dname_id INT(10) NOT NULL auto_increment,
|
||||
dname_member_id INT(8) NOT NULL default '0',
|
||||
dname_date INT(10) NOT NULL default '0',
|
||||
dname_ip_address VARCHAR(16) NOT NULL default '',
|
||||
dname_previous VARCHAR(255) NOT NULL default '',
|
||||
dname_current VARCHAR(255) NOT NULL default '',
|
||||
PRIMARY KEY( dname_id ),
|
||||
KEY dname_member_id(dname_member_id),
|
||||
KEY date_id ( dname_member_id, dname_date )
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_cal_calendars (
|
||||
cal_id INT(10) UNSIGNED NOT NULL auto_increment,
|
||||
cal_title VARCHAR(255) NOT NULL DEFAULT '0',
|
||||
cal_moderate TINYINT(1) NOT NULL DEFAULT '0',
|
||||
cal_position INT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||
cal_event_limit INT(2) UNSIGNED NOT NULL DEFAULT '0',
|
||||
cal_bday_limit INT(2) UNSIGNED NOT NULL DEFAULT '0',
|
||||
cal_rss_export TINYINT(1) NOT NULL DEFAULT '0',
|
||||
cal_rss_export_days TINYINT(1) NOT NULL DEFAULT '0',
|
||||
cal_rss_export_max INT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||
cal_rss_update INT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||
cal_rss_update_last INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
cal_rss_cache MEDIUMTEXT NOT NULL,
|
||||
cal_permissions MEDIUMTEXT NOT NULL,
|
||||
PRIMARY KEY ( cal_id )
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_login_methods (
|
||||
login_id INT(10) NOT NULL auto_increment,
|
||||
login_title VARCHAR(255) NOT NULL default '',
|
||||
login_description VARCHAR(255) NOT NULL default '',
|
||||
login_folder_name VARCHAR(255) NOT NULL default '',
|
||||
login_maintain_url VARCHAR(255) NOT NULL default '',
|
||||
login_register_url VARCHAR(255) NOT NULL default '',
|
||||
login_type VARCHAR(30) NOT NULL default '',
|
||||
login_alt_login_html TEXT,
|
||||
login_date INT(10) NOT NULL default '0',
|
||||
login_settings INT(1) NOT NULL default '0',
|
||||
login_enabled INT(1) NOT NULL default '0',
|
||||
login_safemode INT(1) NOT NULL default '0',
|
||||
login_installed INT(1) NOT NULL default '0',
|
||||
login_replace_form INT(1) NOT NULL default '0',
|
||||
login_allow_create INT(1) NOT NULL default '0',
|
||||
PRIMARY KEY (login_id)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_admin_permission_rows (
|
||||
row_member_id INT(8) NOT NULL,
|
||||
row_perm_cache MEDIUMTEXT,
|
||||
row_updated INT(10) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (row_member_id)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_admin_permission_keys (
|
||||
perm_key VARCHAR(255) NOT NULL,
|
||||
perm_main VARCHAR(255) NOT NULL,
|
||||
perm_child VARCHAR(255) NOT NULL,
|
||||
perm_bit VARCHAR(255) NOT NULL,
|
||||
PRIMARY KEY (perm_key),
|
||||
KEY perm_main (perm_main),
|
||||
KEY perm_child (perm_child)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_templates_diff_import (
|
||||
diff_key VARCHAR(255) NOT NULL,
|
||||
diff_func_group VARCHAR(150) NOT NULL,
|
||||
diff_func_name VARCHAR(250) NOT NULL,
|
||||
diff_func_data TEXT,
|
||||
diff_func_content MEDIUMTEXT,
|
||||
diff_session_id INT(10) NOT NULL default '0',
|
||||
PRIMARY KEY (diff_key),
|
||||
KEY diff_func_group (diff_func_group),
|
||||
KEY diff_func_name (diff_func_name)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_template_diff_session (
|
||||
diff_session_id INT(10) NOT NULL auto_increment,
|
||||
diff_session_togo INT(10) NOT NULL default '0',
|
||||
diff_session_done INT(10) NOT NULL default '0',
|
||||
diff_session_updated INT(10) NOT NULL default '0',
|
||||
diff_session_title VARCHAR(255) NOT NULL default '',
|
||||
diff_session_ignore_missing INT(1) NOT NULL default '0',
|
||||
PRIMARY KEY (diff_session_id)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_template_diff_changes (
|
||||
diff_change_key VARCHAR(255) NOT NULL,
|
||||
diff_change_func_group VARCHAR(150) NOT NULL,
|
||||
diff_change_func_name VARCHAR(250) NOT NULL,
|
||||
diff_change_content MEDIUMTEXT,
|
||||
diff_change_type INT(1) NOT NULL default '0',
|
||||
diff_session_id INT(10) NOT NULL default '0',
|
||||
PRIMARY KEY (diff_change_key),
|
||||
KEY diff_change_func_group (diff_change_func_group),
|
||||
KEY diff_change_type (diff_change_type)
|
||||
);";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members ADD members_auto_dst TINYINT(1) NOT NULL default '1';";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members CHANGE new_msg new_msg tinyint(2) default '0',
|
||||
CHANGE msg_total msg_total smallint(5) default '0',
|
||||
ADD members_cache MEDIUMTEXT default '',
|
||||
ADD members_disable_pm INT(1) NOT NULL default '0';";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members ADD members_display_name VARCHAR(255) NOT NULL default '', ADD members_created_remote TINYINT(1) NOT NULL default '0';";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members ADD INDEX members_display_name( members_display_name );";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members ADD members_editor_choice VARCHAR(3) NOT NULL default 'std';";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members ADD members_markers TEXT NOT NULL default '';";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_message_text ADD msg_ip_address VARCHAR(16) NOT NULL default '0';";
|
||||
|
||||
$SQL[] = "UPDATE ibf_members SET members_display_name=name;";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_topics CHANGE approved approved tinyint(1) NOT NULL default '0';";
|
||||
$SQL[] = "ALTER TABLE ibf_topics DROP INDEX last_post;";
|
||||
$SQL[] = "ALTER TABLE ibf_topics DROP INDEX forum_id;";
|
||||
$SQL[] = "alter table ibf_topics add index forum_id( forum_id, pinned, approved);";
|
||||
$SQL[] = "ALTER TABLE ibf_topics add index last_post(forum_id, pinned, last_post);";
|
||||
$SQL[] = "ALTER TABLE ibf_topics ADD topic_rating_total SMALLINT UNSIGNED NOT NULL default '0';";
|
||||
$SQL[] = "ALTER TABLE ibf_topics ADD topic_rating_hits SMALLINT UNSIGNED NOT NULL default '0';";
|
||||
$SQL[] = "ALTER TABLE ibf_topics DROP rating;";
|
||||
$SQL[] = "alter table ibf_topics ADD topic_open_time INT(10) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_topics ADD topic_close_time INT(10) NOT NULL default '0';";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_sessions ADD location_1_type char(10) NOT NULL default '',
|
||||
ADD location_1_id int(10) NOT NULL default '0',
|
||||
ADD location_2_type char(10) NOT NULL default '',
|
||||
ADD location_2_id int(10) NOT NULL default '0',
|
||||
ADD location_3_type char(10) NOT NULL default '',
|
||||
ADD location_3_id int(10) NOT NULL default '0';";
|
||||
$SQL[] = "ALTER TABLE ibf_sessions ADD INDEX location1(location_1_type, location_1_id);";
|
||||
$SQL[] = "ALTER TABLE ibf_sessions ADD INDEX location2(location_2_type, location_2_id);";
|
||||
$SQL[] = "ALTER TABLE ibf_sessions ADD INDEX location3(location_3_type, location_3_id);";
|
||||
$SQL[] = "ALTER TABLE ibf_sessions DROP in_forum, DROP in_topic;";
|
||||
|
||||
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_forums ADD forum_last_deletion INT(10) NOT NULL default '0';";
|
||||
$SQL[] = "ALTER TABLE ibf_forums ADD forum_allow_rating TINYINT(1) NOT NULL default '0';";
|
||||
$SQL[] = "ALTER TABLE ibf_groups ADD g_topic_rate_setting SMALLINT(2) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_validating ADD user_verified tinyint(1) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_moderators ADD mod_can_set_open_time tinyint(1) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_moderators ADD mod_can_set_close_time tinyint(1) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_task_manager ADD task_locked INT(10) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_groups ADD g_dname_changes INT(3) NOT NULL default '0',
|
||||
ADD g_dname_date INT(5) NOT NULL default '0';";
|
||||
$SQL[] = "
|
||||
ALTER TABLE ibf_search_results ADD PRIMARY KEY(id);";
|
||||
$SQL[] = "ALTER TABLE ibf_search_results ADD INDEX search_date(search_date);";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('portal', 'a:6:{s:5:\"blogs\";a:5:{s:8:\"pc_title\";s:30:\"Invision Power Community Blogs\";s:7:\"pc_desc\";s:40:\"Shows IPB Blog information on the portal\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:25:\"blogs_show_last_updated_x\";a:2:{i:0;s:25:\"blogs_show_last_updated_x\";i:1;s:30:\"Shows the last X updated blogs\";}}s:6:\"pc_key\";s:5:\"blogs\";}s:8:\"calendar\";a:5:{s:8:\"pc_title\";s:29:\"Invision Power Board Calendar\";s:7:\"pc_desc\";s:46:\"Displays a mini calendar for the current month\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:27:\"calendar_show_current_month\";a:2:{i:0;s:27:\"calendar_show_current_month\";i:1;s:38:\"Shows a calendar for the current month\";}}s:6:\"pc_key\";s:8:\"calendar\";}s:7:\"gallery\";a:5:{s:8:\"pc_title\";s:22:\"Invision Power Gallery\";s:7:\"pc_desc\";s:54:\"Shows Invision Power Gallery information on the portal\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:25:\"gallery_show_random_image\";a:2:{i:0;s:25:\"gallery_show_random_image\";i:1;s:44:\"Shows a random image from a member\'s gallery\";}}s:6:\"pc_key\";s:7:\"gallery\";}s:12:\"online_users\";a:5:{s:8:\"pc_title\";s:33:\"Invision Power Board Online Users\";s:7:\"pc_desc\";s:49:\"Shows the current name and number of online users\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:17:\"online_users_show\";a:2:{i:0;s:17:\"online_users_show\";i:1;s:22:\"Shows the online users\";}}s:6:\"pc_key\";s:12:\"online_users\";}s:4:\"poll\";a:5:{s:8:\"pc_title\";s:25:\"Invision Power Board Poll\";s:7:\"pc_desc\";s:23:\"Shows the selected poll\";s:19:\"pc_settings_keyword\";s:11:\"portal_poll\";s:18:\"pc_exportable_tags\";a:1:{s:14:\"poll_show_poll\";a:2:{i:0;s:14:\"poll_show_poll\";i:1;s:22:\"Shows the request poll\";}}s:6:\"pc_key\";s:4:\"poll\";}s:13:\"recent_topics\";a:5:{s:8:\"pc_title\";s:34:\"Invision Power Board Recent Topics\";s:7:\"pc_desc\";s:47:\"Shows IPB recent topics with topic\'s first post\";s:19:\"pc_settings_keyword\";s:20:\"portal_recent_topics\";s:18:\"pc_exportable_tags\";a:2:{s:20:\"recent_topics_last_x\";a:2:{i:0;s:20:\"recent_topics_last_x\";i:1;s:63:\"Shows the last X topics with full post from the selected forums\";}s:32:\"recent_topics_discussions_last_x\";a:2:{i:0;s:32:\"recent_topics_discussions_last_x\";i:1;s:54:\"Shows the last X topic titles from ALL viewable forums\";}}s:6:\"pc_key\";s:13:\"recent_topics\";}}', '', 1);";
|
||||
|
||||
$SQL[] ="INSERT INTO ibf_cal_calendars (cal_id, cal_title, cal_moderate, cal_position, cal_event_limit, cal_bday_limit, cal_rss_export, cal_rss_export_days, cal_rss_export_max, cal_rss_update, cal_rss_update_last, cal_rss_cache, cal_permissions) VALUES (1, 'Community Calendar', 1, 0, 2, 1, 1, 14, 20, 1440, <%time%>, '', 'a:3:{s:9:\"perm_read\";s:1:\"*\";s:9:\"perm_post\";s:3:\"4,3\";s:10:\"perm_nomod\";s:0:\"\";}');";
|
||||
|
||||
$SQL[] ="INSERT INTO ibf_login_methods (login_id, login_title, login_description, login_folder_name, login_maintain_url, login_register_url, login_type, login_alt_login_html, login_date, login_settings, login_enabled, login_safemode, login_installed, login_replace_form, login_allow_create) VALUES (1, 'IPB Internal', 'The standard method of authentication', 'internal', '', '', 'passthrough', '', <%time%>, 0, 1, 1, 1, 0, 1);";
|
||||
$SQL[] ="INSERT INTO ibf_login_methods (login_id, login_title, login_description, login_folder_name, login_maintain_url, login_register_url, login_type, login_alt_login_html, login_date, login_settings, login_enabled, login_safemode, login_installed, login_replace_form, login_allow_create) VALUES (2, 'LDAP Authentication', 'LDAP / Active Directory Authentication', 'ldap', '', '', 'passthrough', '', <%time%>, 0, 0, 1, 0, 0, 1);";
|
||||
$SQL[] ="INSERT INTO ibf_login_methods (login_id, login_title, login_description, login_folder_name, login_maintain_url, login_register_url, login_type, login_alt_login_html, login_date, login_settings, login_enabled, login_safemode, login_installed, login_replace_form, login_allow_create) VALUES (3, 'External Database', 'Authentication via an external database', 'external', '', '', 'passthrough', '', <%time%>, 0, 0, 1, 0, 0, 1);";
|
||||
|
||||
$SQL[] ="INSERT INTO ibf_task_manager VALUES ('', 'Update Topic Views Counter', 'updateviews.php', <%time%>, -1, -1, 3, -1, 'ddce954b5ba1c163bc627ca20725b595', 0, 'Used when topic views are not incremented immediately', 1, 'updateviews', 0, 0);";
|
||||
$SQL[] ="INSERT INTO ibf_task_manager VALUES ('', 'Subscription Expiration Notification', 'expiresubs.php', <%time%>, -1, -1, 1, 0, '21fa5f52cf9122c6fe940e1c6dac0b5a', 1, 'Sends out an email to all members who have a subscription due to expire', 1, 'expiresubs', 0, 0);";
|
||||
$SQL[] ="INSERT INTO ibf_task_manager VALUES ('', 'RSS Import Update', 'rssimport.php', <%time%>, -1, -1, -1, 30, '8f17dc0ba334e5f18e762f154365a578', 0, 'Imports any new RSS articles', 1, 'rssimport', 1, 0);";
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Expire Paid Subscriptions', 'doexpiresubs.php', 1121212800, -1, -1, 0, 0, 'bb57399ea05eb9240b42d5d5f53575fb', 1, 'Unsubscribes members from their subscribed packages', 1, 'doexpiresubs', 1)";
|
||||
|
||||
|
||||
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (1, 'Invision Gallery', 'Invision Power Services', 'http://www.invisiongallery.com', '1.3.0', 1113309894, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:24:\"Purchase and Information\";s:8:\"menu_url\";s:9:\"code=show\";s:13:\"menu_redirect\";i:0;s:12:\"menu_permbit\";s:0:\"\";s:13:\"menu_permlang\";s:0:\"\";}}', 0, 1, 'gallery', 'gallery', 'Complete gallery system for your members', '{ipb.lang[\'gallery\']}', '{ipb.base_url}act=module&module=gallery', 1);";
|
||||
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (2, 'Invision Community Blog', 'Invision Power Services', 'http://www.invisionblog.com', '1.1.2', 1113310263, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:24:\"Purchase and Information\";s:8:\"menu_url\";s:9:\"code=show\";s:13:\"menu_redirect\";i:0;s:12:\"menu_permbit\";s:0:\"\";s:13:\"menu_permlang\";s:0:\"\";}}', 0, 1, 'blog', 'blog', 'Blogging addition for your members', '{ipb.lang[\'blog\']}', '{ipb.base_url}automodule=blog', -1);";
|
||||
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (3, 'Invision Chat (ParaChat)', 'Invision Power Services', 'http://chat.invisionsitetools.com', '2.1', 1113313895, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:24:\"Purchase and Information\";s:8:\"menu_url\";s:9:\"code=show\";s:13:\"menu_redirect\";i:0;s:12:\"menu_permbit\";s:0:\"\";s:13:\"menu_permlang\";s:0:\"\";}}', 0, 1, 'chatpara', 'chatpara', 'Full real-time chat system for your members', '{ipb.lang[\'live_chat\']}', '{ipb.base_url}autocom=chatpara', 2);";
|
||||
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (4, 'Invision Copyright Removal', 'Invision Power Services', 'http://www.invisionboard.com', '2.1', 1113314009, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:24:\"Purchase and Information\";s:8:\"menu_url\";s:9:\"code=show\";s:13:\"menu_redirect\";i:0;s:12:\"menu_permbit\";s:0:\"\";s:13:\"menu_permlang\";s:0:\"\";}}', 1, 1, 'copyright', 'copyright', 'Allows the copyright notices to be removed from the board\'s output', '', '', 3);";
|
||||
|
||||
$SQL[] ="DELETE FROM ibf_conf_settings WHERE conf_key IN ( 'csite_article_forum' , 'csite_article_max', 'csite_article_recent_on',
|
||||
'csite_article_recent_max', 'csite_article_len', 'csite_discuss_on',
|
||||
'csite_discuss_max' , 'csite_discuss_len', 'csite_poll_url',
|
||||
'csite_online_show', 'poll_disable_noreply' );";
|
||||
|
||||
# UPDATE KNOWN CONF_TITLE KEYS
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='general' WHERE conf_title_id=1";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='boardoffline' WHERE conf_title_id=15";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='calendar' WHERE conf_title_id=9";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='converge' WHERE conf_title_id=18";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='coppa' WHERE conf_title_id=8";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='cpusaving' WHERE conf_title_id=2";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='date' WHERE conf_title_id=3";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='email' WHERE conf_title_id=12";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='searchsetup' WHERE conf_title_id=19";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,485 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.2 -> IPB 2.0.3
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//--------------------------------
|
||||
// What are we doing?
|
||||
//--------------------------------
|
||||
|
||||
switch( $this->install->saved_data['workact'] )
|
||||
{
|
||||
case 'sql':
|
||||
$this->upgrade_sql(1);
|
||||
break;
|
||||
case 'sql1':
|
||||
$this->upgrade_sql(1);
|
||||
break;
|
||||
case 'sql2':
|
||||
$this->upgrade_sql(2);
|
||||
break;
|
||||
case 'sql3':
|
||||
$this->upgrade_sql(3);
|
||||
break;
|
||||
case 'sql4':
|
||||
$this->upgrade_sql(4);
|
||||
break;
|
||||
case 'polls':
|
||||
$this->convert_polls();
|
||||
break;
|
||||
case 'calevents':
|
||||
$this->convert_calevents();
|
||||
break;
|
||||
case 'skin':
|
||||
$this->add_skin();
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->upgrade_sql(1);
|
||||
break;
|
||||
}
|
||||
|
||||
if ( $this->install->saved_data['workact'] )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SQL: 0
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function upgrade_sql( $id=1 )
|
||||
{
|
||||
$man = 0; // Manual upgrade ? intval( $this->install->ipsclass->input['man'] );
|
||||
$cnt = 0;
|
||||
$SQL = array();
|
||||
$file = '_updates_'.$id.'.php';
|
||||
$output = "";
|
||||
|
||||
if ( file_exists( ROOT_PATH . 'upgrade/installfiles/upg_21003/' . strtolower($this->install->ipsclass->vars['sql_driver']) . $file ) )
|
||||
{
|
||||
require_once( ROOT_PATH . 'upgrade/installfiles/upg_21003/' . strtolower($this->install->ipsclass->vars['sql_driver']) . $file );
|
||||
|
||||
$this->install->error = array();
|
||||
$this->sqlcount = 0;
|
||||
$output = "";
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
|
||||
foreach( $SQL as $query )
|
||||
{
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
$this->install->ipsclass->DB->error = '';
|
||||
|
||||
$query = str_replace( "<%time%>", time(), $query );
|
||||
|
||||
if( $this->install->saved_data['man'] AND !in_array( $id, array(3,4) ) )
|
||||
{
|
||||
$output .= preg_replace("/\sibf_(\S+?)([\s\.,]|$)/", " ".$this->install->ipsclass->DB->obj['sql_tbl_prefix']."\\1\\2", preg_replace( "/\s{1,}/", " ", $query ) )."\n\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->ipsclass->DB->query( $query );
|
||||
|
||||
if ( $this->install->ipsclass->DB->error )
|
||||
{
|
||||
$this->install->error[] = $query."<br /><br />".$this->install->ipsclass->DB->error;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->sqlcount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "$this->sqlcount queries run....";
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
// Next page...
|
||||
//--------------------------------
|
||||
|
||||
$this->install->saved_data['st'] = 0;
|
||||
|
||||
if ( $id != 4 )
|
||||
{
|
||||
$nextid = $id + 1;
|
||||
$this->install->saved_data['workact'] = 'sql'.$nextid;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->saved_data['workact'] = 'polls';
|
||||
}
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// POLLS
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function convert_polls()
|
||||
{
|
||||
$start = intval($this->install->saved_data['st']) > 0 ? intval($this->install->saved_data['st']) : 0;
|
||||
$lend = 50;
|
||||
$end = $start + $lend;
|
||||
$max = intval($this->install->saved_data['max']);
|
||||
$converted = intval($this->install->saved_data['conv']);
|
||||
|
||||
//-----------------------------------------
|
||||
// First off.. grab number of polls to convert
|
||||
//-----------------------------------------
|
||||
|
||||
if ( ! $max )
|
||||
{
|
||||
$total = $this->install->ipsclass->DB->build_and_exec_query( array( 'select' => 'COUNT(*) as max',
|
||||
'from' => 'topics',
|
||||
'where' => "poll_state IN ('open', 'close', 'closed')" ) );
|
||||
|
||||
$max = $total['max'];
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// In steps...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*',
|
||||
'from' => 'topics',
|
||||
'where' => "poll_state IN ('open', 'close', 'closed' )",
|
||||
'limit' => array( 0, $lend ) ) );
|
||||
$o = $this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
//-----------------------------------------
|
||||
// Do it...
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->install->ipsclass->DB->get_num_rows($o) )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Got some to convert!
|
||||
//-----------------------------------------
|
||||
|
||||
while ( $r = $this->install->ipsclass->DB->fetch_row($o) )
|
||||
{
|
||||
$converted++;
|
||||
|
||||
$new_poll = array( 1 => array() );
|
||||
|
||||
$poll_data = $this->install->ipsclass->DB->build_and_exec_query( array( 'select' => '*',
|
||||
'from' => 'polls',
|
||||
'where' => "tid=".$r['tid']
|
||||
) );
|
||||
if ( ! $poll_data['pid'] )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( ! $poll_data['poll_question'] )
|
||||
{
|
||||
$poll_data['poll_question'] = $r['title'];
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Kick start new poll
|
||||
//-----------------------------------------
|
||||
|
||||
$new_poll[1]['question'] = $poll_data['poll_question'];
|
||||
|
||||
//-----------------------------------------
|
||||
// Get OLD polls
|
||||
//-----------------------------------------
|
||||
|
||||
$poll_answers = unserialize( stripslashes( $poll_data['choices'] ) );
|
||||
|
||||
reset($poll_answers);
|
||||
|
||||
foreach ( $poll_answers as $entry )
|
||||
{
|
||||
$id = $entry[0];
|
||||
$choice = $entry[1];
|
||||
$votes = $entry[2];
|
||||
|
||||
$total_votes += $votes;
|
||||
|
||||
if ( strlen($choice) < 1 )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$new_poll[ 1 ]['choice'][ $id ] = $choice;
|
||||
$new_poll[ 1 ]['votes'][ $id ] = $votes;
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Got something?
|
||||
//-----------------------------------------
|
||||
|
||||
if ( count( $new_poll[1]['choice'] ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->do_update( 'polls' , array( 'choices' => serialize( $new_poll ) ), 'tid='.$r['tid'] );
|
||||
$this->install->ipsclass->DB->do_update( 'topics', array( 'poll_state' => 1 ), 'tid='.$r['tid'] );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// All done?
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $converted >= $max )
|
||||
{
|
||||
$done = 1;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$done = 1;
|
||||
}
|
||||
|
||||
|
||||
if ( ! $done )
|
||||
{
|
||||
$this->install->message = "Polls: $start to $end completed....";
|
||||
$this->install->saved_data['workact'] = 'polls';
|
||||
$this->install->saved_data['st'] = $end;
|
||||
$this->install->saved_data['max'] = $max;
|
||||
$this->install->saved_data['conv'] = $converted;
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->message = "Polls converted, proceeding to calendar events...";
|
||||
$this->install->saved_data['workact'] = 'calevents';
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CALENDAR EVENTS
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function convert_calevents()
|
||||
{
|
||||
$start = intval($this->install->saved_data['st']) > 0 ? intval($this->install->saved_data['st']) : 0;
|
||||
$lend = 50;
|
||||
$end = $start + $lend;
|
||||
|
||||
//-----------------------------------------
|
||||
// In steps...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*',
|
||||
'from' => 'calendar_events',
|
||||
'limit' => array( $start, $lend ) ) );
|
||||
$o = $this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
//-----------------------------------------
|
||||
// Do it...
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->install->ipsclass->DB->get_num_rows($o) )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Got some to convert!
|
||||
//-----------------------------------------
|
||||
|
||||
while ( $r = $this->install->ipsclass->DB->fetch_row($o) )
|
||||
{
|
||||
$recur_remap = array( 'w' => 1,
|
||||
'm' => 2,
|
||||
'y' => 3 );
|
||||
|
||||
$begin_date = $this->install->ipsclass->date_getgmdate( $r['unix_stamp'] );
|
||||
$end_date = $this->install->ipsclass->date_getgmdate( $r['end_unix_stamp'] );
|
||||
|
||||
if ( ! $begin_date OR ! $end_date )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$day = $begin_date['mday'];
|
||||
$month = $begin_date['mon'];
|
||||
$year = $begin_date['year'];
|
||||
|
||||
$end_day = $end_date['mday'];
|
||||
$end_month = $end_date['mon'];
|
||||
$end_year = $end_date['year'];
|
||||
|
||||
$_final_unix_from = gmmktime(0, 0, 0, $month, $day, $year );
|
||||
|
||||
//-----------------------------------------
|
||||
// Recur or ranged...
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $r['event_repeat'] OR $r['event_ranged'] )
|
||||
{
|
||||
$_final_unix_to = gmmktime(23, 59, 59, $end_month, $end_day, $end_year);
|
||||
}
|
||||
else
|
||||
{
|
||||
$_final_unix_to = 0;
|
||||
}
|
||||
|
||||
$new_event = array( 'event_calendar_id' => 1,
|
||||
'event_member_id' => $r['userid'],
|
||||
'event_content' => $r['event_text'],
|
||||
'event_title' => $r['title'],
|
||||
'event_smilies' => $r['show_emoticons'],
|
||||
'event_perms' => $r['read_perms'],
|
||||
'event_private' => $r['priv_event'],
|
||||
'event_approved' => 1,
|
||||
'event_unixstamp' => $r['unix_stamp'],
|
||||
'event_recurring' => ( $r['event_repeat'] && $recur_remap[ $r['repeat_unit'] ] ) ? $recur_remap[ $r['repeat_unit'] ] : 0,
|
||||
'event_tz' => 0,
|
||||
'event_unix_from' => $_final_unix_from,
|
||||
'event_unix_to' => $_final_unix_to );
|
||||
|
||||
//-----------------------------------------
|
||||
// INSERT
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->do_insert( 'cal_events', $new_event );
|
||||
}
|
||||
|
||||
$this->install->message = "Calendar events: $start to $end completed....";
|
||||
$this->install->saved_data['workact'] = 'calevents';
|
||||
$this->install->saved_data['st'] = $end;
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->message = "Calendar events converted, Creating new IPB 2.1 skin...";
|
||||
$this->install->saved_data['workact'] = 'skin';
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CALENDAR EVENTS
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function add_skin()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Get default wrapper
|
||||
//-----------------------------------------
|
||||
|
||||
if ( file_exists( ROOT_PATH.'upgrade/installfiles/upg_21003/components.php' ) )
|
||||
{
|
||||
require_once( ROOT_PATH.'upgrade/installfiles/upg_21003/components.php' );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Turn off all other skins
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'skin_sets', array( 'set_default' => 0 ) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Insert new skin...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
|
||||
$this->install->ipsclass->DB->do_insert( 'skin_sets', array(
|
||||
'set_name' => 'IPB 2.1 Default',
|
||||
'set_image_dir' => 1,
|
||||
'set_hidden' => 0,
|
||||
'set_default' => 1,
|
||||
'set_css_method' => 0,
|
||||
'set_skin_set_parent' => -1,
|
||||
'set_author_email' => '',
|
||||
'set_author_name' => 'IPB 2.1 Default',
|
||||
'set_author_url' => '',
|
||||
'set_css' => $CSS,
|
||||
'set_cache_css' => $CSS,
|
||||
'set_wrapper' => $WRAPPER,
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
'set_emoticon_folder' => 'default',
|
||||
) );
|
||||
|
||||
$new_id = $this->install->ipsclass->DB->get_insert_id();
|
||||
|
||||
//-----------------------------------------
|
||||
// Remove member's choice
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'members', array( 'skin' => '' ) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Done...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->message = "2.1 skin created...";
|
||||
unset($this->install->saved_data['workact']);
|
||||
unset($this->install->saved_data['vid']);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,845 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<permsexport exported="1125054428" versionid="2.1.0" type="master">
|
||||
<permsgroup>
|
||||
<perm>
|
||||
<acpperm_bit>recache</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>admin</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>adminlog</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>stats</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>search</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>attach</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>bw-add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>bw-remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>bw-edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>bw-export</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>bw-import</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>ban-view</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>ban-add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>ban-remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>babw</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>bbcode</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>bbcode</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>bbcode</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>bbcode</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>bbcode</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>calendars</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>calendars</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>calendars</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recache</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>calendars</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>components</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>components</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>components</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>components</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>emailerror</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>emaillog</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>upload</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>emoticons</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>permedit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>reorder</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recount</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>empty</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>rules</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>skin</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>forum</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>group</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>group</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>group</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>perms</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>group</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>help</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>help</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>help</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>lang</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>lang</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>lang</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>lang</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>lang</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>loginauth</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>loginauth</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>diagnostics</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>loginauth</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>loginauth</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>loginauth</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>suspend</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>title-view</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>title-edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>title-add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>title-remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>mod</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>ban</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mem</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>view</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mtools</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>mod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>modlog</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>multimod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>multimod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>multimod</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>install</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>msubs</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>msubs</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>msubs</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>msubs</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>search</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>msubs</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>portal</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>postoffice</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>postoffice</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>send</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>postoffice</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>postoffice</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>field</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>field</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>field</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recount</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>rebuild</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>rebuild</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>rebuild</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssexport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssexport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recache</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssexport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssexport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssimport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssimport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recache</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssimport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>content</acpperm_main>
|
||||
<acpperm_child>rssimport</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>search</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>op</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>style</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>rundiff</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skindiff</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skindiff</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skindiff</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>export</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>import</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>import</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>import</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>image</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>image</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>image</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>sets</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>sets</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>sets</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>rebuild</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>sets</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>templ</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>templ</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>templ</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>wrap</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>recache</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skintools</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>changemember</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skintools</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>search</acpperm_bit>
|
||||
<acpperm_main>lookandfeel</acpperm_main>
|
||||
<acpperm_child>skintools</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>spiderlog</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>show</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>stats</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>edit</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>task</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>add</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>task</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>task</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>runnow</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>task</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>log</acpperm_bit>
|
||||
<acpperm_main>tools</acpperm_main>
|
||||
<acpperm_child>task</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>view</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>warnlog</acpperm_child>
|
||||
</perm>
|
||||
|
||||
<perm>
|
||||
<acpperm_bit>remove</acpperm_bit>
|
||||
<acpperm_main>admin</acpperm_main>
|
||||
<acpperm_child>warnlog</acpperm_child>
|
||||
</perm>
|
||||
</permsgroup>
|
||||
|
||||
</permsexport>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[] = "DELETE FROM ibf_admin_permission_keys WHERE perm_main='tools' and perm_child='login';";
|
||||
$SQL[] = "DELETE FROM ibf_conf_settings WHERE conf_key='max_poll_questions' AND conf_group='';";
|
||||
$SQL[] = "DELETE FROM ibf_conf_settings WHERE conf_key IN( 'poll_disable_noreply', 'chat04_who_save', 'chat04_whodat_server_addr' );";
|
||||
$SQL[] = "UPDATE ibf_conf_settings SET conf_group=12 WHERE conf_key='smtp_pass';";
|
||||
$SQL[] = "UPDATE ibf_conf_settings SET conf_group=21 WHERE conf_key='chat04_default_lang';";
|
||||
$SQL[] = "UPDATE ibf_conf_settings SET conf_group=5, conf_position=43 WHERE conf_key='max_h_flash';";
|
||||
$SQL[] = "DELETE FROM ibf_components WHERE com_filename='registration';";
|
||||
$SQL[] = "UPDATE ibf_components SET com_section='chatpara', com_filename='chatpara' where com_filename='chat';";
|
||||
$SQL[] = "ALTER TABLE ibf_member_extra CHANGE icq_number icq_number varchar(40) NOT NULL default '';";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1126532516">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>340</conf_id>
|
||||
<conf_title><![CDATA[Allow "Display Names"]]></conf_title>
|
||||
<conf_description><![CDATA[If enabled, the member can choose a "Display Name" that is separate from their "Log in UserName". This is REQUIRED when using non-internal authentication methods.]]></conf_description>
|
||||
<conf_group>18</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>auth_allow_dnames</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group>Display Name Set-Up</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>converge</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>185</conf_id>
|
||||
<conf_title>Type of search to use?</conf_title>
|
||||
<conf_description><![CDATA[Choose between "full text" searching or "manual" searching.
|
||||
<!--FULLTEXT-->
|
||||
<br />
|
||||
<!--FULLCHECK-->]]></conf_description>
|
||||
<conf_group>19</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>search_sql_method</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>man</conf_default>
|
||||
<conf_extra>ftext=Full Text
|
||||
man=Manual</conf_extra>
|
||||
<conf_evalphp><![CDATA[if ( $show == 1 )
|
||||
{
|
||||
$this->ipsclass->admin->get_mysql_version();
|
||||
if ( $this->ipsclass->mysql_version < 32323 )
|
||||
{
|
||||
$full_text = "<span style='color:red'><b>FULL TEXT SEARCHING IS NOT AVAILABLE ON YOUR SERVER.</b></span>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$full_text = "<b>Full text available</b>";
|
||||
}
|
||||
|
||||
if ( ! $this->ipsclass->admin->get_fulltextindex_status() )
|
||||
{
|
||||
$index = "<span style='color:red'><b>NO FULL TEXT INDEXES FOUND</b></span>: <a href='{$this->ipsclass->base_url}§ion=tools&act=op&code=dofulltext'>Build indexes now!</a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$index = "<b>Full text indexes found</b>";
|
||||
}
|
||||
|
||||
$r['conf_description'] = str_replace( "<!--FULLTEXT-->", $full_text, $r['conf_description'] );
|
||||
$r['conf_description'] = str_replace( "<!--FULLCHECK-->", $index, $r['conf_description'] );
|
||||
}]]></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>searchsetup</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>343</conf_id>
|
||||
<conf_title>Prohibit Display Names from selecting Log In names</conf_title>
|
||||
<conf_description><![CDATA[If "yes", one is not able to choose a display name that is the same as another's display name OR another's log in name. If "no" one is not able to choose a display name that is the same as another's display name only.]]></conf_description>
|
||||
<conf_group>18</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>auth_dnames_nologinname</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>converge</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>converge</conf_title_keyword>
|
||||
<conf_title_title>Converge Set Up</conf_title_title>
|
||||
<conf_title_desc>Converge is Invision Power Services central authentication method for all IPS applications. This allows you to have a single log-in for all your IPS products.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>searchsetup</conf_title_keyword>
|
||||
<conf_title_title>Search Set-Up</conf_title_title>
|
||||
<conf_title_desc><![CDATA[This section contains settings for your IPB's search system]]></conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,142 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1127385330">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>245</conf_id>
|
||||
<conf_title>IPB Registered Licence Key</conf_title>
|
||||
<conf_description><![CDATA[This is the IPB registraton key NOT your customer code or client center password. To get your key, log into your client center and click on 'Invision Power Board' under 'Purchased Services'.
|
||||
<br />DO NOT REMOVE OR EDIT THIS KEY UNLESS YOU'RE SURE OF WHAT YOU'RE DOING!]]></conf_description>
|
||||
<conf_group>24</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_reg_number</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>243</conf_id>
|
||||
<conf_title>Display registered to line?</conf_title>
|
||||
<conf_description><![CDATA[If enabled, you can optionally add a "Licensed to" line at the bottom of your board.]]></conf_description>
|
||||
<conf_group>24</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>ipb_reg_show</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>244</conf_id>
|
||||
<conf_title>Show as licensed to...</conf_title>
|
||||
<conf_description><![CDATA[Examples: <em>Matthew Mecham</em>, <em>IPS, Inc.]]></conf_description>
|
||||
<conf_group>24</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_reg_name</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>330</conf_id>
|
||||
<conf_title>Allow members to use Rich Text Editing?</conf_title>
|
||||
<conf_description><![CDATA[If 'yes', members using IE 6, Mozilla and Firefox will be able to use Rich Text Editing (WYSIWYG).]]></conf_description>
|
||||
<conf_group>5</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>posting_allow_rte</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>100</conf_position>
|
||||
<conf_start_group>Editor Settings</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>348</conf_id>
|
||||
<conf_title><![CDATA[Post Editor's Width]]></conf_title>
|
||||
<conf_description><![CDATA[The width of the Rich Text Editor (WYIWYG) / Standard Text Editor when composing a new post. "px" and "%" allowed.]]></conf_description>
|
||||
<conf_group>5</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>rte_width</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>650px</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>101</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>349</conf_id>
|
||||
<conf_title><![CDATA[PM Editor's width]]></conf_title>
|
||||
<conf_description><![CDATA[The width of the Rich Text Editor (WYIWYG) / Standard Text Editor when composing a new Personal Message. "px" and "%" allowed.]]></conf_description>
|
||||
<conf_group>5</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>rte_pm_width</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>500px</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>102</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
<conf_title_title>IPB Licence Settings</conf_title_title>
|
||||
<conf_title_desc>This section will allow you to edit your IPB registered licence settings.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
<conf_title_title>Topics, Posts and Polls</conf_title_title>
|
||||
<conf_title_desc>These options control various elements when posting, reading topics and reading polls.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_sessions CHANGE browser browser VARCHAR(200) NOT NULL default '';";
|
||||
$SQL[] = "ALTER TABLE ibf_rss_import ADD rss_import_allow_html TINYINT(1) NOT NULL default '0';";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,114 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.2 -> IPB 2.0.3
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Remove dupe categories
|
||||
//-----------------------------------------
|
||||
|
||||
$title_id_to_keep = array();
|
||||
$title_id_to_delete = array();
|
||||
$title_deleted_count = 0;
|
||||
$msg = '';
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'conf_settings_titles', 'order' => 'conf_title_id DESC' ) );
|
||||
$this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->install->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
if ( $title_id_to_keep[ $r['conf_title_title'] ] )
|
||||
{
|
||||
$title_id_to_delete[ $r['conf_title_id'] ] = $r['conf_title_id'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$title_id_to_keep[ $r['conf_title_title'] ] = $r['conf_title_id'];
|
||||
}
|
||||
}
|
||||
|
||||
if ( count( $title_id_to_delete ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->simple_exec_query( array( 'delete' => 'conf_settings_titles', 'where' => 'conf_title_id IN ('.implode( ',', $title_id_to_delete ).')' ) );
|
||||
}
|
||||
|
||||
$title_deleted_count = intval( count($title_id_to_delete) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Update this parachat component
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->install->ipsclass->vars['chat04_account_no'] )
|
||||
{
|
||||
require_once( ROOT_PATH . 'sources/api/api_core.php' );
|
||||
require_once( ROOT_PATH . 'sources/api/api_components.php' );
|
||||
|
||||
$api = new api_components();
|
||||
$api->ipsclass =& $this->install->ipsclass;
|
||||
|
||||
$fields = array( 'com_enabled' => 1,
|
||||
'com_menu_data' => array( 0 => array( 'menu_text' => 'Chat Settings',
|
||||
'menu_url' => 'code=chatsettings',
|
||||
'menu_permbit' => 'edit' ) ) );
|
||||
|
||||
$api->acp_component_update( 'chatpara', $fields );
|
||||
}
|
||||
|
||||
$this->install->message = "$title_deleted_count duplicate settings deleted";
|
||||
|
||||
if( $this->install->ipsclass->vars['chat04_account_no'] )
|
||||
{
|
||||
$this->install->message .= "<br /><br />Parachat component updated";
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1129047082">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>199</conf_id>
|
||||
<conf_title>Load the chat room in...?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>20</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat_display</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>self</conf_default>
|
||||
<conf_extra>self=Normal IPB Page</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>9</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>213</conf_id>
|
||||
<conf_title>Load the chat room in...?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_display</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>self</conf_default>
|
||||
<conf_extra>self=Normal IPB Page</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>12</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>chat</conf_title_keyword>
|
||||
<conf_title_title>Invision Chat Settings (Legacy Version)</conf_title_title>
|
||||
<conf_title_desc>This will allow you to customize your Invision Chat integration settings for the legacy edition.</conf_title_desc>
|
||||
<conf_title_noshow>1</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
<conf_title_title>Invision Chat Settings</conf_title_title>
|
||||
<conf_title_desc>This will allow you to customize your Invision Chat integration settings for the new 2004 edition</conf_title_desc>
|
||||
<conf_title_noshow>1</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[] = "UPDATE ibf_conf_settings SET conf_value='self' WHERE conf_key='chat_display'";
|
||||
$SQL[] = "UPDATE ibf_conf_settings SET conf_value='self' WHERE conf_key='chat04_display'";
|
||||
$SQL[] = "UPDATE ibf_conf_settings SET conf_title='Number of times per day moderators can warn a single member' WHERE conf_key='warn_mod_day'";
|
||||
|
||||
$SQL[] = "DELETE FROM ibf_components WHERE com_filename='chatsigma'";
|
||||
$SQL[] = "INSERT INTO ibf_components (com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES ('SigmaChat', 'Invision Power Services', 'http://www.invisionpower.com', '2.1', 1113313895, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:24:\"Purchase and Information\";s:8:\"menu_url\";s:9:\"code=show\";s:13:\"menu_redirect\";i:0;s:12:\"menu_permbit\";s:0:\"\";s:13:\"menu_permlang\";s:0:\"\";}}', 0, 1, 'chatsigma', 'chatsigma', 'Full real-time chat system for your members', '{ipb.lang[\'live_chat\']}', '{ipb.base_url}autocom=chatsigma', 5);";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.2 -> IPB 2.0.3
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Update this parachat component
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->install->ipsclass->vars['chat04_account_no'] )
|
||||
{
|
||||
require_once( ROOT_PATH . 'sources/api/api_core.php' );
|
||||
require_once( ROOT_PATH . 'sources/api/api_components.php' );
|
||||
|
||||
$api = new api_components();
|
||||
$api->ipsclass =& $this->install->ipsclass;
|
||||
|
||||
$fields = array( 'com_enabled' => 1,
|
||||
'com_menu_data' => array( 0 => array( 'menu_text' => 'Chat Settings',
|
||||
'menu_url' => 'code=chatsettings',
|
||||
'menu_permbit' => 'edit' ) ) );
|
||||
|
||||
$api->acp_component_update( 'chatpara', $fields );
|
||||
}
|
||||
|
||||
if( $this->install->ipsclass->vars['chat04_account_no'] )
|
||||
{
|
||||
$this->install->message = "Parachat component updated";
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1130446748">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>109</conf_id>
|
||||
<conf_title>IPB Registered License Key</conf_title>
|
||||
<conf_description><![CDATA[This is the IPB registraton key NOT your customer code or client center password. To get your key, log into your client center and click on 'Invision Power Board' under 'Your Purchases'.
|
||||
<br />DO NOT REMOVE OR EDIT THIS KEY UNLESS YOU'RE SURE OF WHAT YOU'RE DOING!]]></conf_description>
|
||||
<conf_group>15</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_reg_number</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
<conf_title_title>IPB License Settings</conf_title_title>
|
||||
<conf_title_desc>This section will allow you to edit your IPB registered license settings.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
$SQL[] = "UPDATE ibf_task_manager SET task_log=1 WHERE task_key='rssimport'";
|
||||
$SQL[] = "ALTER TABLE ibf_forums ADD topicfilter VARCHAR( 32 ) DEFAULT 'all' NOT NULL AFTER prune";
|
||||
$SQL[] = "UPDATE ibf_forums SET topicfilter='all' WHERE topicfilter != 'all'";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_message_topics ADD mt_addtosent TINYINT( 1 ) DEFAULT '0' NOT NULL AFTER mt_tracking";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_title='IPB License Settings', conf_title_desc='This section will allow you to edit your IPB registered license settings.' WHERE conf_title_keyword='ipbreg'";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_cal_events ADD event_timeset VARCHAR( 6 ) DEFAULT '0' NOT NULL AFTER event_tz";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_rss_import ADD rss_import_auth TINYINT( 1 ) DEFAULT '0' NOT NULL ,
|
||||
ADD rss_import_auth_user VARCHAR( 255 ) DEFAULT 'Not Needed' NOT NULL,
|
||||
ADD rss_import_auth_pass VARCHAR( 255 ) DEFAULT 'Not Needed' NOT NULL";
|
||||
|
||||
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Registration benefits', text='To be able to use all the features on this board, the administrator will probably require that you register for a member account. Registration is free and only takes a moment to complete.\r<br />\r<br />During registration, the administrator requires that you supply a valid email address. This is important as the administrator may require that you validate your registration via an email. If this is the case, you will be notified when registering. If your e-mail does not arrive, then on the member bar at the top of the page, there will be a link that will allow you to re-send the validation e-mail. \r<br />\r<br />In some cases, the administrator will need to approve your registration before you can use your member account fully. If this is the case you will be notified during registration.\r<br />\r<br />Once you have registered and logged in, you will have access to your personal messenger and your control panel.\r<br />\r<br />For more information on these items, please see the relevant sections in this documentation.', description='How to register and the added benefits of being a registered member.' WHERE id=1";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Cookies and cookie usage', text='Using cookies is optional, but strongly recommended. Cookies are used to track topics, showing you which topics have new replies since your last visit and to automatically log you in when you return.\r<br />\r<br />If your computer is unable to use the cookie system to browse the board correctly, then the board will automatically add in a session ID to each link to track you around the board.\r<br />\r<br /><b>Clearing Cookies</b>\r<br />\r<br />You can clear the cookies at any time by clicking on the link found at the bottom of the main board page (the first page you see when returning to the board). If this does not work for you, you may need to remove the cookies manually.\r<br />\r<br /><u>Removing Cookies in Internet Explorer for Windows</u>\r<br />\r<br /><ul>\r<br /><li> Close all open Internet Explorer Windows\r<br /><li> Click on the \'start\' button\r<br /><li> Move up to \'Find\' and click on \'Files and Folders\'\r<br /><li> When the new window appears, type in the domain name of the board you are using into the \'containing text\' field. (If the boards address was \'http://www.invisionboard.com/forums/index.php\' you would enter \'invisionboard.com\' without the quotes)\r<br /><li> In the \'look in\' box, type in <b>C:WindowsCookies</b> and press \'Find Now\'\r<br /><li> After it has finished searching, highlight all files (click on a file then press CTRL+A) and delete them.\r<br /></ul>\r<br />\r<br /><u>Removing Cookies in Internet Explorer for Macintosh</u>\r<br />\r<br /><ul>\r<br /><li> With Internet Explorer active, choose \'Edit\' and then \'Preferences\' from the Macintosh menu bar at the top of the screen\r<br /><li> When the preferences panel opens, choose \'Cookies\' found in the \'Receiving Files\' section.\r<br /><li> When the cookie pane loads, look for the domain name of the board (If the boards address was \'http://www.invisionboard.com/forums/index.php\' look for \'invisionboard.com\' or \'www.invisionboard.com\'\r<br /><li> For each cookie, click on the entry and press the delete button.\r<br /></ul>\r<br />\r<br />Your cookies should now be removed. In some cases you may need to restart your computer for the changes to take effect.', description='The benefits of using cookies and how to remove cookies set by this board.' WHERE id=2";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Recovering lost or forgotten passwords', text='Security is a big feature on this board, and to that end, all passwords are encrypted when you register.\r<br />This means that we cannot email your password to you as we hold no record of your \'uncrypted\' password. You can however, apply to have your password reset.\r<br />\r<br />To do this, click on the <a href=\'index.php?act=Reg&CODE=10\'>Lost Password link</a> found on the log in page.\r<br />\r<br />Further instruction is available from there.', description='How to reset your password if you\'ve forgotten it.' WHERE id=3";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Your Control Panel (My Controls)', text='Your control panel is your own private board console. You can change how the board looks and feels as well as your own information from here.\r<br />\r<br /><b>Subscriptions</b>\r<br />\r<br />This is where you manage your topic and forums subscriptions. Please see the help file \'Email Notification of new messages\' for more information on how to subscribe to topics.\r<br />\r<br /><b>Edit Profile Info</b>\r<br />\r<br />This section allows you to add or edit your contact information and enter some personal information if you choose.\r<br />\r<br /><b>Edit Signature</b>\r<br />\r<br />A board \'signature\' is very similar to an email signature. This signature is attached to the foot of every message you post unless you choose to check the box that allows you to ommit the signature in the message you are posting. You may use BB Code if available and in some cases, pure HTML (if the board administrator allows it).\r<br />\r<br /><b>Edit Avatar Settings</b>\r<br />\r<br />An avatar is a little image that appears under your username when you view a topic or post you authored. If the administrator allows, you may either choose from the board gallery, enter a URL to an avatar stored on your server or upload an avatar to use. You may also set the width of the avatar to ensure that it\'s sized in proportion.\r<br />\r<br /><b>Change Personal Photo</b>\r<br />\r<br />This section will allow you to add a photograph to your profile. This will be displayed when a user clicks to view your profile, on the mini-profile screen and will also be linked to from the member list.\r<br />\r<br /><b>Email Settings</b>\r<br />\r<br /><u>Hide my email address</u> allows you to deny the ability for other users to send you an email from the board.\r<br /><u>Send me updates sent by the board administrator</u> will allow the administrator to include your email address in any mailings they send out - this is used mostly for important updates and community information.\r<br /><u>Include a copy of the post when emailing me from a subscribed topic</u>, this allows you to have the new post included in any reply to topic notifications.\r<br /><u>Send a confirmation email when I receive a new private message</u>, this will send you an e-mail notification to your registered e-mail address each time you receive a private message on the board.\r<br /><u>Enable \'Email Notification\' by default?</u>, this will automatically subscribe you to any topic that you make a reply to. You may unsubscribe from the \'Subscriptions\' section of My Controls if you wish.\r<br />\r<br /><b>Board Settings</b>\r<br />\r<br />From this section, you can set your time zone, choose to not see users signatures, avatars and posted images.\r<br />You can choose to get a pop up window informing you when you have a new message and choose to show or hide the \'Fast Reply\' box where it is enabled.\r<br />You are also able to choose display preferences for the number of topics/posts shown per page on the board.\r<br />\r<br /><b>Change Email Address</b>\r<br />\r<br />At any time, you can change the email address that is registered to your account. In some cases, you will need to revalidate your account after changing your email address. If this is the case, you will be notified before your email address change is processed.\r<br />\r<br /><b>Change Password</b>\r<br />\r<br />You may change your password from this section. Please note that you will need to know your current password before you can change your password.', description='Editing contact information, personal information, avatars, signatures, board settings, languages and style choices.' WHERE id=4";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Email Notification of new messages', text='This board can notify you when a new reply is added to a topic. Many users find this useful to keep up to date on topics without the need to view the board to check for new messages.\r<br />\r<br />There are three ways to subscribe to a topic:\r<br /><ul>\r<br /><li>Click the \'Track This Topic\' link at the top of the topic that you wish to track</li>\r<br /><li> On the posting screen when replying to or creating a topic, check the \'Enable email notification of replies?\' checkbox</li>\r<br /><li> From the E-Mail settings section of your User CP (My Controls) check the \'Enable Email Notification by default?\' option, this will automatically subscribe you to any topic that you make a reply to</li>\r<br /></ul>Please note that to avoid multiple emails being sent to your email address, you will only get one e-mail for each topic you are subscribed to until the next time you visit the board.\r<br />\r<br />You are also able to subscribe to each individual forum on the board, to be notified when a new topic is created in that particular forum. To enable this, click the \'Subscribe to this forum\' link at the bottom of the forum that you wish to subscribe to.\r<br />\r<br />To unsubscribe from any forums or topics that you are subscribed to - just go to the \'Subscriptions\' section of \'My Controls\' and you can do thi from there.', description='How to get emailed when a new reply is added to a topic.' WHERE id=5";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Your Personal Messenger', text='Your personal messenger acts much like an email account in that you can send and receive messages and store messages in folders.\r<br />\r<br /><b>Compose a New PM</b>\r<br />\r<br />This will allow you to send a message to another member. If you have names in your contact list, you can choose a name from it - or you may choose to enter a name in the relevant form field. This will be automatically filled in if you clicked a \'PM\' button on the board (from the member list or a post). If allowed, you may also be able to enter in multiple names in the box provided, will need to add one username per line.\r<br />If the administrator allows, you may use BB Code and HTML in your private message. If you choose to check the \'Add a copy of this message to you sent items folder\' box, a copy of the message will be saved for you for later reference. If you tick the \'Track this message?\' box, then the details of the message will be available in your \'Message Tracker\' where you will be able to see if/when it has been read.\r<br />\r<br /><bInbox</b>\r<br />\r<br />Your inbox is where all new messages are sent to. Clicking on the message title will show you the message in a similar format to the board topic view. You can also delete or move messages from your inbox.\r<br />\r<br /><b>Empty PM Folders</b>\r<br />\r<br />This option provides you with a quick and easy way to clear out all of your PM folders.\r<br />\r<br /><b>Edit Storage Folders</b>\r<br />\r<br />You may rename, add or remove folders to store messages is, allowing you to organise your messages to your preference. You cannot remove \'Sent Items\' or \'Inbox\'.\r<br />\r<br /><b>PM Buddies/Block List</b>\r<br />\r<br />You may add in users names in this section, or edit any saved entries. You can also use this as a ban list, denying the named member the ability to message you.\r<br />Names entered in this section will appear in the drop down list when sending a new PM, allowing you to quickly choose the members name when sending a message.\r<br />\r<br /><b>Archive Messages</b>\r<br />\r<br />If your messenger folders are full and you are unable to receive new messages, you can archive them off. This compiles the messages into a single HTML page or Microsoft © Excel Format. This page is then emailed to your registered email address for your convenience.\r<br />\r<br /><b>Saved (Unsent) PMs</b>\r<br />\r<br />This area will allow you to go back to any PM\'s that you have chosen to save to be sent later.\r<br />\r<br /><b>Message Tracker</B>\r<br />\r<br />This is the page that any messages that you have chosen to track will appear. Details of if and when they have been read by the recipient will appear here. This also gives you the chance to delete any messages that you have sent and not yet been read by the intended recipient.', description='How to send personal messages, track them, edit your messenger folders and archive stored messages.' WHERE id=6";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Contacting the moderating team & reporting posts', text='<b>Contacting the moderating team</b>\r<br />\r<br />If you need to contact a moderator or simply wish to view the complete administration team, you can click the link \'The moderating team\' found at the bottom of the main board page (the first page you see when visiting the board), or from \'My Assistant\'.\r<br />\r<br />This list will show you administrators (those who have administration control panel access), global moderators (those who can moderate in all forums) and the moderators of the individual forums.\r<br />\r<br />If you wish to contact someone about your member account, then contact an administrator - if you wish to contact someone about a post or topic, contact either a global moderator or the forum moderator.\r<br />\r<br /><b>Reporting a post</b>\r<br />\r<br />If the administrator has enabled this function on the board, you\'ll see a \'Report\' button in a post, next to the \'Quote\' button. This function will let you report the post to the forum moderator (or the administrator(s), if there isn\'t a specific moderator available). You can use this function when you think the moderator(s) should be aware of the existance of that post. However, <b>do not use this to chat with the moderator(s)!</b>. You can use the email function or the Personal Messenger function for that.', description='Where to find a list of the board moderators and administrators.' WHERE id=7";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Viewing members profile information', text='You can view a members profile at any time by clicking on their name when it is underlined (as a link) or by clicking on their name in a post within a topic.\r<br />\r<br />This will show you their profile page which contains their contact information (if they have entered some) and their \'active stats\'.\r<br />\r<br />You can also click on the \'Mini Profile\' button underneath their posts, this will show up a mini \'e-card\' with their contact information and a photograph if they have chosen to have one.', description='How to view members contact information.' WHERE id=8";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Viewing active topics and new posts', text='You can view which new topics have new replies today by clicking on the \'Today\'s Active Topics\' link found at the bottom of the main board page (the first page you see when visiting the board). You can set your own date criteria, choosing to view all topics with new replies during several date choices.\r<br />\r<br />The \'View New Posts\' link in the member bar at the top of each page, will allow you to view all of the topics which have new replies in since your last visit to the board.', description='How to view all the topics which have a new reply today and the new posts made since your last visit.' WHERE id=9";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Searching Topics and Posts', text='The search feature is designed to allow you to quickly find topics and posts that contain the keywords you enter.\r<br />\r<br />There are two types of search form available, simple search and advanced search. You may switch between the two using the \'More Options\' and \'Simple Mode\' buttons.\r<br />\r<br /><b>Simple Mode</b>\r<br />\r<br />All you need to do here is enter in a keyword into the search box, and select a forum(s) to search in. (to select multiple forums, hold down the control key on a PC, or the Shift/Apple key on a Mac) choose a sorting order and search.\r<br />\r<br /><b>Advanced Mode</b>\r<br />\r<br />The advanced search screen, will give you a much greater range of options to choose from to refine your search. In addition to searching by keyword, you are able to search by a members username or a combination of both. You can also choose to refine your search by selecting a date range, and there are a number of sorting options available. There are also two ways of displaying the search results, can either show the post text in full or just show a link to the topic, can choose this using the radio buttons available.\r<br />\r<br />If the administrator has enabled it, you may have a minimum amount of time to wait between searches, this is known as search flood control.\r<br />\r<br />There are also search boxes available at the bottom of each forum, to allow you to carry out a quick search of all of the topics within that particular forum.', description='How to use the search feature.' WHERE id=10";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Logging in and out', text='If you have chosen not to remember your log in details in cookies, or you are accessing the board on another computer, you will need to log into the board to access your member profile and post with your registered name.\r<br />\r<br />When you log in, you have the choice to save cookies that will log you in automatically when you return. Do not use this option on a shared computer for security.\r<br />\r<br />You can also choose to hide - this will keep your name from appearing in the active users list.\r<br />\r<br />Logging out is simply a matter of clicking on the \'Log Out\' link that is displayed when you are logged in. If you find that you are not logged out, you may need to manually remove your cookies. See the \'Cookies\' help file for more information.', description='How to log in and out from the board and how to remain anonymous and not be shown on the active users list.' WHERE id=11";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='My Assistant', text='This feature is sometimes referred to as a \'Browser Buddy\'. \r<br />\r<br />At the top it tells you how many posts have been made since you last visited the board.. Also underneath this the number of posts with replies that have been made in topics that the individual has also posted in.\r<br />Click on the \'View\' link on either of the two sentences to see the posts.\r<br />\r<br />The next section is five links to useful features:\r<br /><ul>\r<br /><li>The link to the moderating team is basically a quick link to see all those that either administrate or moderate certain forums on the message board.</li>\r<br /><li> The link to \'Today\'s Active Topics\' shows you all the topics that have been created in the last 24 hours on the board.</li>\r<br /><li>Today\'s Top 10 Posters link shows you exactly as the name suggests. It shows you the amount of posts by the members and also their total percentage of the total posts made that day.</li>\r<br /><li>The overall Top 10 Posters link shows you the top 10 posters for the whole time that the board has been installed.</li>\r<br /><li>My last 10 posts links to the latest topics that you have made on the board. These are shortened on the page, to save space, and are linked to if you require to read more of them.</li>\r<br /></ul>The two search features allow you to search the whole board for certain words in a whole topic. It isn\'t as featured as the normal search option so it is not as comprehensive.\r<br />\r<br />The Help Search is just as comprehensive as the normal help section\'s search function and allows for quick searching of all the help topics on the board.', description='A comprehensive guide to use this handy little feature.' WHERE id=12";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Posting', text='There are three different posting screens available. The new topic button, visible in forums and in topics allows you to add a new topic to that particular forum. The new poll button (if the admin has enabled it) will also be viewable in topics and forums allowing you to create a new poll in the forum. When viewing a topic, there will be an add reply button, allowing you to add a new reply onto that particular topic. \r\n<br />\r\n<br /><b>Posting new topics and replying</b>\r\n<br />\r\n<br />When making a post, you will most likely have the option to use IBF code when posting. This will allow you to add various types of formatting to your messages. For more information on this, click the \'BB Code Help\' link under the emoticon box to launch the help window.\r\n<br />\r\n<br />On the left of the text entry box, there is the clickable emoticons box - you can click on these to add them to the content of your message (these are sometimes known as \'smilies\').\r\n<br />\r\n<br />There are three options available when making a post or a reply. \'Enable emoticons?\' if this is unchecked, then any text that would normally be converted into an emoticon will not be. \'Enable signature?\' allows you to choose whether or not you would like your signature to appear on that individual post. \'Enable email notification of replies?\' ticking this box will mean that you will receive e-mail updates to the topic, see the \'Email Notification of new messages\' help topic for more information on this.\r\n<br />\r\n<br />You also have the option to choose a post icon for the topic/post when creating one. This icon will appear next to the topic name on the topic listing in that forum, or will appear next to the date/time of the message if making a reply to a topic.\r\n<br />\r\n<br />If the admin has enabled it, you will also see a file attachments option, this will allow you to attach a file to be uploaded when making a post. Click the browse button to select a file from your computer to be uploaded. If you upload an image file, it may be shown in the content of the post, all other file types will be linked to.\r\n<br />\r\n<br /><b>Poll Options</b>\r\n<br />\r\n<br />If you have chosen to post a new poll, there will be an extra two option boxes at the top of the help screen. The first input box will allow you to enter the question that you are asking in the poll. The text field underneath is where you will input the choices for the poll. Simply enter a different option on each line. The maximum number of choices is set by the board admin, and this figure is displayed on the left.\r\n<br />\r\n<br /><b>Quoting Posts</b>\r\n<br />\r\n<br />Displayed below each post in a topic, there is a \'Quote\' button. Pressing this button will allow you to reply to a topic, and have the text from a particular reply quoted in your own reply. When you choose to do this, an extra text field will appear below the main text input box to allow you to edit the content of the post being quoted.\r\n<br />\r\n<br /><b>Editing Posts</b>\r\n<br />\r\n<br />Above any posts that you have made, you may see an \'Edit\' button. Pressing this will allow you to edit the post that you had previously made. \r\n<br />\r\n<br />When editing you may see an option to \'Add the \'Edit by\' line in this post?\'. If you tick this then it will show up in the posts that it has been edited and the time at which it was edited. If this option does not appear, then the edit by line will always be added to the post.\r\n<br />\r\n<br />If you are unable to see the edit button displayed on each post that you have made, then the administrator may have prevented you from editing posts, or the time limit for editing may have expired.\r\n<br />\r\n<br /><b>Fast Reply</b>\r\n<br />\r\n<br />Where it has been enabled, there will be a fast reply button on each topic. Clicking this will open up a posting box on the topic view screen, cutting down on the time required to load the main posting screen. Click the fast reply button to expand the reply box and type the post inside of there. Although the fast reply box is not expanded by default, you can choose the option to have it expanded by default, from the board settings section of your control panel. Pressing the \'More Options\' button will take you to the normal posting screen.', description='A guide to the features avaliable when posting on the boards.' WHERE id=13";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Member List', text='The member list, accessed via the \'Members\' link at the top of each page, is basically a listing of all of the members that have registered on the board. \r\n<br />\r\n<br />If you are looking to search for a particular member by all/part of their username, then in the drop down box at the bottom of the page, change the selection from \'Search All Available\' to \'Name Begins With\' or \'Name Contains\' and input all/part of their name in the text input field and press the \'Go!\' button. \r\n<br />\r\n<br />Also, at the bottom of the member list page, there are a number of sorting options available to alter the way in which the list is displayed. \r\n<br />\r\n<br />If a member has chosen to add a photo to their profile information, then a camera icon will appear next to their name, and you may click this to view the photo.', description='Explaining the different ways to sort and search through the list of members.' WHERE id=14";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Topic Options', text='At the bottom of each topic, there is a \'Topic Options\' button. Pressing this button will expand the topic options box. \r<br />\r<br />From this box, you can select from the following options: \r<br /><ul>\r<br /><li>Track this topic - this option will allow you to receive e-mail updates for the topic, see the \'Email Notification of new messages\' help file for more information on this</li>\r<br /><li>Subscribe to this forum - will allow you to receive e-mail updates for any new topics posted in the forum, see the Notification of new messages\' help file for more information on this</li>\r<br /><li>Download / Print this Topic - will show the topic in a number of different formats. \'Printer Friendly Version\' will display a version of the topic that is suitable for printing out. \'Download HTML Version\' will download a copy of the topic to your hard drive, and this can then be viewed in a web browser, without having to visit the board. \'Download Microsoft Word Version\' will allow you to download the file to your hard drive and open it up in the popular word processing application, Microsoft Word, for viewing offline.</li>\r<br /></ul>', description='A guide to the options avaliable when viewing a topic.' WHERE id=15";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Calendar', text='This board features it\'s very own calendar feature, which can be accessed via the calendar link at the top of the board.\r<br />\r<br />You are able to add your own personal events to the calendar - and these are only viewable by yourself. To add a new event, use the \'Add New Event\' button to be taken to the event posting screen. There are three types of events that you can now add:\r<br /><ul>\r<br /><li>A single day/one off event can be added using the first option, by just selecting the date for it to appear on.</li>\r<br /><li>Ranged Event - is an event that spans across multiple days, to do this in addition to selecting the start date as above, will need to add the end date for the event. There are also options available to highlight the message on the calendar, useful if there is more than one ranged event being displayed at any one time.</li>\r<br /><li>Recurring Event - is a one day event, that you can set to appear at set intervals on the calendar, either weekly, monthly or yearly.</li>\r<br /></ul>If the admistrator allows you, you may also be able to add a public event, that will not just be shown to yourself, but will be viewable by everyone.\r<br />\r<br />Also, if the admistrator has chosen, there will be a link to all the birthdays happening on a particular day displayed on the calendar, and your birthday will appear if you have chosen to enter a date of birth in the Profile Info section of your control panel.', description='More information on the boards calendar feature.' WHERE id=16";
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
'21009' => '2.1.3',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,92 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.1.2 -> 2.1.3
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
if( $this->install->saved_data['helpfiles'] )
|
||||
{
|
||||
$UPDATES = array();
|
||||
$file = '_updates.php';
|
||||
$cnt = 0;
|
||||
|
||||
if ( file_exists( ROOT_PATH . 'upgrade/installfiles/upg_21003/' . strtolower($this->ipsclass->vars['sql_driver']) . $file ) )
|
||||
{
|
||||
require_once( ROOT_PATH . 'upgrade/installfiles/upg_21003/' . strtolower($this->ipsclass->vars['sql_driver']) . $file );
|
||||
|
||||
$this->install->error = array();
|
||||
$this->sqlcount = 0;
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
|
||||
foreach( $UPDATES as $q )
|
||||
{
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
$this->install->ipsclass->DB->error = '';
|
||||
|
||||
$this->install->ipsclass->DB->query( $q );
|
||||
|
||||
if ( $this->install->ipsclass->DB->error )
|
||||
{
|
||||
$this->install->error[] = $query."<br /><br />".$this->install->ipsclass->DB->error;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->sqlcount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "$this->sqlcount help files updated....";
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
$SQL[] = "DELETE FROM ibf_conf_settings WHERE conf_key='csite_skinchange_show'";
|
||||
$SQL[] = "DELETE FROM ibf_conf_settings WHERE conf_key='csite_pm_show'";
|
||||
$SQL[] = "DELETE FROM ibf_conf_settings WHERE conf_key='csite_search_show'";
|
||||
$SQL[] = "UPDATE ibf_conf_settings SET conf_end_group=1 WHERE conf_key='recent_topics_discuss_number'";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
'21009' => '2.1.3',
|
||||
'21010' => '2.1.4',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,497 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1141210512">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>252</conf_id>
|
||||
<conf_title>Allowed avatar image URL extensions</conf_title>
|
||||
<conf_description>Seperate with comma (gif,png,jpeg) etc</conf_description>
|
||||
<conf_group>27</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>avatar_ext</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>gif,jpg,jpeg,png</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>13</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key>0</conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>userprofiles</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>37</conf_id>
|
||||
<conf_title>Print HTTP no-cache headers?</conf_title>
|
||||
<conf_description><![CDATA[(This will stop browsers caching pages)<br /><b>Note</b>: The setting 'Print HTTP Headers?' found under General Configuration needs to be enabled for this setting to have any effect.]]></conf_description>
|
||||
<conf_group>7</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>nocache</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>14</conf_position>
|
||||
<conf_start_group>Reducing HTML output</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key>0</conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>cpusaving</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>userprofiles</conf_title_keyword>
|
||||
<conf_title_title>User Profiles</conf_title_title>
|
||||
<conf_title_desc><![CDATA[This section allows you to adjust your member's global permissions and other options.]]></conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>cpusaving</conf_title_keyword>
|
||||
<conf_title_title><![CDATA[CPU Saving & Optimization]]></conf_title_title>
|
||||
<conf_title_desc>This section allows certain features to be limited or removed to get more performance out of your board.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>202</conf_id>
|
||||
<conf_title>Chat Site ID / Account No.</conf_title>
|
||||
<conf_description>If you are using Parachat v7 or greater, enter your site ID (1234, for example). If you are using an older version of Parachat please enter your group number (ip0000, for example)</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_account_no</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group>Account Specifics</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>351</conf_id>
|
||||
<conf_title>Custom Applet Codebase URL</conf_title>
|
||||
<conf_description><![CDATA[<strong>This should be left blank unless you have a local
|
||||
ParaChat Server installation or hosted ParaChat Enterprise solution.</strong>]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>parachat_codebase_url</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>350</conf_id>
|
||||
<conf_title>Chat Room Version</conf_title>
|
||||
<conf_description><![CDATA[The version of the Parachat chat software you're using]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>parachat_version</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>6</conf_default>
|
||||
<conf_extra>6=Parachat v6 or below
|
||||
7=Parachat v7 or greater</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>204</conf_id>
|
||||
<conf_title><![CDATA[Enable 'Who's Chatting?']]></conf_title>
|
||||
<conf_description><![CDATA[If enabled, this will show who's chatting in the chat room on your forums home page underneath the active users list.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_who_on</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>4</conf_position>
|
||||
<conf_start_group><![CDATA[Who's Chatting]]></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>205</conf_id>
|
||||
<conf_title><![CDATA[Hide Who's Chatting when no members are logged into chat?]]></conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_hide_whoschatting</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>5</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>209</conf_id>
|
||||
<conf_title>Chat Room Dimensions (WIDTH)?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_width</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>600</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>8</conf_position>
|
||||
<conf_start_group>Showing the chat room</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>210</conf_id>
|
||||
<conf_title>Chat Room Dimensions (HEIGHT)?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_height</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>350</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>9</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>213</conf_id>
|
||||
<conf_title>Load the chat room in...?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_display</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>self</conf_default>
|
||||
<conf_extra>self=Normal IPB Page</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>12</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>261</conf_id>
|
||||
<conf_title>Additional PARAM information</conf_title>
|
||||
<conf_description><![CDATA[Use this field to enter any custom param tags for the chat applet.
|
||||
Example:<br />
|
||||
<param name="cmd.BeepEnter" value="true">
|
||||
<br /><param name="cmd.BeepLeave" value="true">
|
||||
<br />Please refer to the Invision Chat documentation for more info.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>textarea</conf_type>
|
||||
<conf_key>chat04_customparams</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>13</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>211</conf_id>
|
||||
<conf_title>Chat Room Pop-up Window Padding? (in px)</conf_title>
|
||||
<conf_description>Allows window to open without scrollbars</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_poppad</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>50</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>14</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>214</conf_id>
|
||||
<conf_title>Allow chat access to these groups</conf_title>
|
||||
<conf_description>You may select more than one</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>multi</conf_type>
|
||||
<conf_key>chat04_access_groups</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>#show_groups#</conf_extra>
|
||||
<conf_evalphp><![CDATA[if ( $save == 1)
|
||||
{
|
||||
if ( is_array($_POST['chat04_access_groups']) )
|
||||
{
|
||||
$_POST['chat04_access_groups'] = implode(",",$_POST['chat04_access_groups']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$_POST['chat04_access_groups'] = "";
|
||||
}
|
||||
|
||||
$key = 'chat04_access_groups';
|
||||
}
|
||||
if ( $show == 1 )
|
||||
{
|
||||
$key = 'chat04_access_groups[]';
|
||||
}]]></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>25</conf_position>
|
||||
<conf_start_group>Access Permissions</conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>254</conf_id>
|
||||
<conf_title>Default Chat Room Language</conf_title>
|
||||
<conf_description>This is the default language used for the chat user inteface (buttons and labels, etc)</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_default_lang</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>english.conf</conf_default>
|
||||
<conf_extra>english.conf=English
|
||||
spanish.conf=Spanish
|
||||
portuguese.conf=Portuguese
|
||||
italian.conf=Italian
|
||||
french.conf=French
|
||||
german.conf=German</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>99</conf_position>
|
||||
<conf_start_group>Version 6 Settings (Not required for v7)</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>253</conf_id>
|
||||
<conf_title>Chat Room Type</conf_title>
|
||||
<conf_description>This is the type of chat service you purchased</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_servicetype</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>advanced=Advanced
|
||||
premium=Premium</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>100</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>252</conf_id>
|
||||
<conf_title>Default Chat Room</conf_title>
|
||||
<conf_description>This is the room that your chat users will be logged into first</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_default_room</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>Lobby</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>255</conf_id>
|
||||
<conf_title><![CDATA[Enable "Plain Mode"?]]></conf_title>
|
||||
<conf_description><![CDATA["Plain mode" removes the colored chat text from your Invision Power Chat Advanced room(s), and implements single-colored (non-GUI) chat text. This will disable the graphic emoticons and click-able URLs.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_plainmode</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>102</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>256</conf_id>
|
||||
<conf_title>Applet: Background Color</conf_title>
|
||||
<conf_description>To change your chat applet background color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_applet_bg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#BCD0ED</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>130</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>257</conf_id>
|
||||
<conf_title>Applet: Foreground Color</conf_title>
|
||||
<conf_description>To change your chat applet foreground color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_applet_fg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#345487</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>131</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>258</conf_id>
|
||||
<conf_title>Chat Window: Background Color</conf_title>
|
||||
<conf_description>To change your chat window background color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_window_bg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#F5F9FD</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>132</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>259</conf_id>
|
||||
<conf_title>Chat Window: Foreground Color</conf_title>
|
||||
<conf_description>To change your chat window foreground color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_window_fg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#345487</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>133</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>260</conf_id>
|
||||
<conf_title>Chat Room Font Size</conf_title>
|
||||
<conf_description><![CDATA[To customize your font size replace "10" to whatever numeric value you wish.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_font_size</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>10</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>135</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
<conf_title_title>Invision Chat Settings</conf_title_title>
|
||||
<conf_title_desc>This will allow you to customize your Invision Chat integration settings for the new 2004 edition</conf_title_desc>
|
||||
<conf_title_noshow>1</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members CHANGE email email varchar( 150 ) NOT NULL default ''";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_subscription_currency CHANGE `subcurrency_exchange` `subcurrency_exchange` DECIMAL( 16, 8 ) DEFAULT '0.00000000' NOT NULL";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
'21009' => '2.1.3',
|
||||
'21010' => '2.1.4',
|
||||
'21011' => '2.1.5',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
'21009' => '2.1.3',
|
||||
'21010' => '2.1.4',
|
||||
'21011' => '2.1.5',
|
||||
'21012' => '2.1.6',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,2 @@
|
||||
<html>
|
||||
</html>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
'21009' => '2.1.3',
|
||||
'21010' => '2.1.4',
|
||||
'21011' => '2.1.5',
|
||||
'21012' => '2.1.6',
|
||||
'21013' => '2.1.7',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,2 @@
|
||||
<html>
|
||||
</html>
|
||||
@@ -0,0 +1,111 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
// $SQL[] = "";
|
||||
|
||||
$SQL[] = "TRUNCATE TABLE ibf_search_results;";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings_titles ADD conf_title_module varchar(200) NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings_titles change conf_title_desc conf_title_desc TEXT NOT NULL default '';";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_value conf_value text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_default conf_default text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_extra conf_extra text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_evalphp conf_evalphp text NOT NULL default '';";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_converge_local (
|
||||
converge_api_code VARCHAR(32) NOT NULL default '',
|
||||
converge_product_id INT(10) NOT NULL default '0',
|
||||
converge_added INT(10) NOT NULL default '0',
|
||||
converge_ip_address VARCHAR(16) NOT NULL default '',
|
||||
converge_url VARCHAR(255) NOT NULL default '',
|
||||
converge_active INT(1) NOT NULL default '0',
|
||||
converge_http_user VARCHAR(255) NOT NULL default '',
|
||||
converge_http_pass VARCHAR(255) NOT NULL default '',
|
||||
PRIMARY KEY (converge_api_code ),
|
||||
KEY converge_active (converge_active)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_admin_login_logs (
|
||||
admin_id INT(10) NOT NULL auto_increment,
|
||||
admin_ip_address VARCHAR(16) NOT NULL default '0.0.0.0',
|
||||
admin_username VARCHAR(40) NOT NULL default '',
|
||||
admin_time INT(10) UNSIGNED NOT NULL default '0',
|
||||
admin_success INT(1) UNSIGNED NOT NULL default '0',
|
||||
admin_post_details TEXT NOT NULL default '',
|
||||
PRIMARY KEY (admin_id),
|
||||
KEY admin_ip_address (admin_ip_address),
|
||||
KEY admin_time (admin_time)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_profile_friends (
|
||||
friends_id INT(10) NOT NULL auto_increment,
|
||||
friends_member_id INT(10) UNSIGNED NOT NULL default '0',
|
||||
friends_friend_id INT(10) UNSIGNED NOT NULL default '0',
|
||||
friends_approved TINYINT(1) NOT NULL default '0',
|
||||
friends_added INT(10) UNSIGNED NOT NULL default '0',
|
||||
PRIMARY KEY( friends_id ),
|
||||
KEY my_friends ( friends_member_id, friends_friend_id ),
|
||||
KEY friends_member_id ( friends_member_id )
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_profile_comments (
|
||||
comment_id INT(10) NOT NULL auto_increment,
|
||||
comment_for_member_id INT(10) UNSIGNED NOT NULL default '0',
|
||||
comment_by_member_id INT(10) UNSIGNED NOT NULL default '0',
|
||||
comment_date INT(10) UNSIGNED NOT NULL default '0',
|
||||
comment_ip_address VARCHAR(16) NOT NULL default '0',
|
||||
comment_content TEXT NOT NULL default '',
|
||||
comment_approved TINYINT(1) NOT NULL default '0',
|
||||
PRIMARY KEY( comment_id ),
|
||||
KEY my_comments( comment_for_member_id )
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_profile_ratings (
|
||||
rating_id INT(10) NOT NULL auto_increment,
|
||||
rating_for_member_id INT(10) NOT NULL default '0',
|
||||
rating_by_member_id INT(10) NOT NULL default '0',
|
||||
rating_added INT(10) NOT NULL default '0',
|
||||
rating_ip_address VARCHAR(16) NOT NULL default '',
|
||||
rating_value INT(2) NOT NULL default '0',
|
||||
PRIMARY KEY ( rating_id ),
|
||||
KEY rating_for_member_id ( rating_for_member_id )
|
||||
);";
|
||||
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_profile_portal (
|
||||
pp_member_id INT(10) NOT NULL default '0',
|
||||
pp_profile_update INT(10) UNSIGNED NOT NULL default '0',
|
||||
pp_bio_content TEXT NOT NULL default '',
|
||||
pp_last_visitors TEXT NOT NULL default '',
|
||||
pp_comment_count INT(10) UNSIGNED NOT NULL default '0',
|
||||
pp_rating_hits INT(10) UNSIGNED NOT NULL default '0',
|
||||
pp_rating_value INT(10) UNSIGNED NOT NULL default '0',
|
||||
pp_rating_real INT(10) UNSIGNED NOT NULL default '0',
|
||||
pp_friend_count INT(5) UNSIGNED NOT NULL default '0',
|
||||
pp_main_photo VARCHAR(255) NOT NULL default '',
|
||||
pp_main_width INT(5) UNSIGNED NOT NULL default '0',
|
||||
pp_main_height INT(5) UNSIGNED NOT NULL default '0',
|
||||
pp_thumb_photo VARCHAR(255) NOT NULL default '',
|
||||
pp_thumb_width INT(5) UNSIGNED NOT NULL default '0',
|
||||
pp_thumb_height INT(5) UNSIGNED NOT NULL default '0',
|
||||
pp_gender VARCHAR(10) NOT NULL default '',
|
||||
pp_setting_notify_comments VARCHAR(10) NOT NULL default 'email',
|
||||
pp_setting_notify_friend VARCHAR(10) NOT NULL default 'email',
|
||||
pp_setting_moderate_comments TINYINT(1) NOT NULL default '0',
|
||||
pp_setting_moderate_friends TINYINT(1) NOT NULL default '0',
|
||||
pp_setting_count_friends INT(2) NOT NULL default '0',
|
||||
pp_setting_count_comments INT(2) NOT NULL default '0',
|
||||
pp_setting_count_visitors INT(2) NOT NULL default '0',
|
||||
pp_profile_views INT(10) NOT NULL default '0',
|
||||
PRIMARY KEY ( pp_member_id )
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_profile_portal_views (
|
||||
views_member_id int(10) NOT NULL default '0'
|
||||
);";
|
||||
|
||||
$SQL[] = "DROP TABLE ibf_calendar_events;";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[]="ALTER TABLE ibf_members ADD members_profile_views INT(10) UNSIGNED NOT NULL default '0';";
|
||||
$SQL[]="ALTER TABLE ibf_members ADD member_login_key_expire INT(10) NOT NULL default '0' AFTER member_login_key;";
|
||||
|
||||
$SQL[]="alter table ibf_members ADD members_l_display_name VARCHAR(255) NOT NULL default '0';";
|
||||
$SQL[]="alter table ibf_members ADD members_l_username VARCHAR(255) NOT NULL default '0';";
|
||||
$SQL[]="alter table ibf_members DROP INDEX name;";
|
||||
$SQL[]="alter table ibf_members DROP INDEX members_display_name;";
|
||||
$SQL[]="alter table ibf_member_extra change interests interests text NOT NULL default '';";
|
||||
$SQL[]="alter table ibf_members change ignored_users ignored_users text NOT NULL default '';";
|
||||
$SQL[]="alter table ibf_members change members_markers members_markers text NOT NULL default '';";
|
||||
$SQL[]="ALTER TABLE ibf_members DROP legacy_password;";
|
||||
|
||||
$SQL[]="ALTER TABLE ibf_members ADD INDEX members_l_display_name (members_l_display_name), ADD INDEX members_l_username (members_l_username);";
|
||||
|
||||
$SQL[]="ALTER TABLE ibf_members ADD failed_logins TEXT;";
|
||||
$SQL[]="ALTER TABLE ibf_members ADD failed_login_count SMALLINT( 3 ) DEFAULT '0' NOT NULL;";
|
||||
|
||||
$SQL[]="ALTER TABLE ibf_members_partial ADD partial_email_ok INT(1) NOT NULL default '0';";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_attachments ADD attach_rel_id INT(10) NOT NULL default '0',
|
||||
ADD attach_rel_module VARCHAR(100) NOT NULL default '0';";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_attachments add attach_img_width INT(5) NOT NULL default '0',
|
||||
add attach_img_height INT(5) NOT NULL default '0';";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_attachments DROP INDEX attach_mid_size,
|
||||
DROP INDEX attach_pid,
|
||||
DROP INDEX attach_msg,
|
||||
ADD INDEX attach_pid (attach_rel_id),
|
||||
ADD INDEX attach_mid_size (attach_member_id,attach_rel_module, attach_filesize),
|
||||
ADD INDEX attach_where (attach_rel_module, attach_rel_id);";
|
||||
?>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[]="ALTER TABLE ibf_posts DROP INDEX topic_id, ADD INDEX topic_id ( topic_id , queued , pid , post_date );";
|
||||
$SQL[]="ALTER TABLE ibf_posts ADD INDEX post_key (post_key), ADD INDEX ip_address (ip_address);";
|
||||
$SQL[]="ALTER TABLE ibf_posts ADD post_edit_reason VARCHAR(255) NOT NULL default '';";
|
||||
$SQL[]="ALTER TABLE ibf_posts CHANGE post post MEDIUMTEXT NOT NULL DEFAULT '';";
|
||||
$SQL[]="ALTER TABLE ibf_topics ADD INDEX starter_id (starter_id, forum_id, approved);";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_groups DROP g_calendar_post;";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_validating ADD prev_email VARCHAR(150) NOT NULL DEFAULT '0';";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_forums CHANGE position position INT(5) UNSIGNED default '0';";
|
||||
$SQL[] ="ALTER TABLE ibf_forums ADD newest_title VARCHAR( 128 ) NOT NULL default '' , ADD newest_id INT( 10 ) NOT NULL default '0' ;";
|
||||
$SQL[] ="ALTER TABLE ibf_forums ADD password_override VARCHAR( 255 ) AFTER password;";
|
||||
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_search_results CHANGE topic_id topic_id text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_search_results CHANGE post_id post_id text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_search_results CHANGE query_cache query_cache text NOT NULL default '';";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_cache_store change cs_value cs_value mediumtext NOT NULL default '';";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_login_methods ADD login_user_id VARCHAR(255) NOT NULL default 'username';";
|
||||
$SQL[] ="ALTER TABLE ibf_login_methods ADD login_logout_url VARCHAR(255) NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_login_methods ADD login_login_url VARCHAR(255) NOT NULL default '';";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_sessions CHANGE id id VARCHAR(60) DEFAULT '0' NOT NULL;";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_voters ADD INDEX ( tid );";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_faq ADD position SMALLINT( 3 ) DEFAULT '0' NOT NULL;";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_polls ADD poll_only TINYINT( 1 ) DEFAULT '0' NOT NULL;";
|
||||
|
||||
# UPDATES
|
||||
$SQL[] ="UPDATE ibf_subscription_methods SET submethod_desc='All major credit cards accepted. See <a href=\"https://www.paypal.com\" target=\"_blank\">PayPal</a> for more information.' WHERE LOWER(submethod_name)='paypal';";
|
||||
|
||||
$SQL[] ="UPDATE ibf_groups SET g_photo_max_vars='100:150:150';";
|
||||
|
||||
$SQL[] ="UPDATE ibf_attachments SET attach_rel_id=attach_pid, attach_rel_module='post' where attach_pid > 0;";
|
||||
$SQL[] ="UPDATE ibf_attachments SET attach_rel_id=attach_msg, attach_rel_module='msg' where attach_msg > 0;";
|
||||
|
||||
$SQL[] ="UPDATE ibf_login_methods SET login_settings = '1', login_installed = '1' WHERE login_folder_name='ldap';";
|
||||
$SQL[] ="UPDATE ibf_login_methods SET login_settings = '1', login_installed = '1' WHERE login_folder_name='external';";
|
||||
|
||||
$SQL[] ="INSERT INTO ibf_login_methods (login_title, login_description, login_folder_name, login_maintain_url, login_register_url, login_type, login_alt_login_html, login_date, login_settings, login_enabled, login_safemode, login_installed, login_replace_form, login_allow_create) VALUES ('IP.Converge', 'Internal Use Only', 'ipconverge', '', '', 'passthrough', '', 0, 0, 0, 1, 1, 0, 1);";
|
||||
$SQL[] ="UPDATE ibf_forums SET permission_showtopic=1 WHERE parent_id='-1';";
|
||||
|
||||
# MEMBERS
|
||||
$SQL[] = "UPDATE ibf_members SET members_l_display_name=LOWER(members_display_name);";
|
||||
$SQL[] = "UPDATE ibf_members SET members_l_username=LOWER(name);";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,492 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.2 -> IPB 2.0.3
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//--------------------------------
|
||||
// What are we doing?
|
||||
//--------------------------------
|
||||
|
||||
switch( $this->install->saved_data['workact'] )
|
||||
{
|
||||
case 'sql':
|
||||
$this->upgrade_sql(1);
|
||||
break;
|
||||
case 'sql1':
|
||||
$this->upgrade_sql(1);
|
||||
break;
|
||||
case 'sql2':
|
||||
$this->upgrade_sql(2);
|
||||
break;
|
||||
case 'sql3':
|
||||
$this->upgrade_sql(3);
|
||||
break;
|
||||
case 'sql4':
|
||||
$this->upgrade_sql(4);
|
||||
break;
|
||||
case 'forums':
|
||||
$this->update_forums();
|
||||
break;
|
||||
case 'finish':
|
||||
$this->finish_up();
|
||||
break;
|
||||
case 'skin':
|
||||
$this->add_skin();
|
||||
break;
|
||||
case 'update_template_bits':
|
||||
$this->update_template_bits();
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->upgrade_sql(1);
|
||||
break;
|
||||
}
|
||||
|
||||
if ( $this->install->saved_data['workact'] )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SQL: 0
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function upgrade_sql( $id=1 )
|
||||
{
|
||||
$man = 0; // Manual upgrade ? intval( $this->install->ipsclass->input['man'] );
|
||||
$cnt = 0;
|
||||
$SQL = array();
|
||||
$file = '_updates_'.$id.'.php';
|
||||
$output = "";
|
||||
|
||||
if ( file_exists( ROOT_PATH . 'upgrade/installfiles/upg_22005/' . strtolower($this->install->ipsclass->vars['sql_driver']) . $file ) )
|
||||
{
|
||||
require_once( ROOT_PATH . 'upgrade/installfiles/upg_22005/' . strtolower($this->install->ipsclass->vars['sql_driver']) . $file );
|
||||
|
||||
$this->install->error = array();
|
||||
$this->sqlcount = 0;
|
||||
$output = "";
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
|
||||
foreach( $SQL as $query )
|
||||
{
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
$this->install->ipsclass->DB->error = '';
|
||||
|
||||
$query = str_replace( "<%time%>", time(), $query );
|
||||
|
||||
if ( $this->install->saved_data['man'] )
|
||||
{
|
||||
$output .= preg_replace("/\sibf_(\S+?)([\s\.,]|$)/", " ".$this->install->ipsclass->DB->obj['sql_tbl_prefix']."\\1\\2", preg_replace( "/\s{1,}/", " ", $query ) )."\n\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->ipsclass->DB->query( $query );
|
||||
|
||||
if ( $this->install->ipsclass->DB->error )
|
||||
{
|
||||
$this->install->error[] = $query."<br /><br />".$this->install->ipsclass->DB->error;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->sqlcount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "$this->sqlcount queries run....";
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
// Next page...
|
||||
//--------------------------------
|
||||
|
||||
$this->install->saved_data['st'] = 0;
|
||||
|
||||
if ( $id != 4 )
|
||||
{
|
||||
$nextid = $id + 1;
|
||||
$this->install->saved_data['workact'] = 'sql'.$nextid;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->saved_data['workact'] = 'forums';
|
||||
}
|
||||
|
||||
if ( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Update forums
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function update_forums()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
//-----------------------------------------
|
||||
|
||||
$ignore_me = array( 'redirect_url', 'redirect_loc', 'rules_text', 'permission_custom_error', 'notify_modq_emails' );
|
||||
|
||||
if ( isset($this->install->ipsclass->vars['forum_cache_minimum']) AND $this->install->ipsclass->vars['forum_cache_minimum'] )
|
||||
{
|
||||
$ignore_me[] = 'description';
|
||||
$ignore_me[] = 'rules_title';
|
||||
}
|
||||
|
||||
$this->install->ipsclass->cache['forum_cache'] = array();
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*',
|
||||
'from' => 'forums',
|
||||
'order' => 'parent_id, position'
|
||||
) );
|
||||
$o = $this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
while( $f = $this->install->ipsclass->DB->fetch_row( $o ) )
|
||||
{
|
||||
$fr = array();
|
||||
|
||||
$perms = unserialize(stripslashes($f['permission_array']));
|
||||
|
||||
//-----------------------------------------
|
||||
// Stuff we don't need...
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $f['parent_id'] == -1 )
|
||||
{
|
||||
$fr['id'] = $f['id'];
|
||||
$fr['sub_can_post'] = $f['sub_can_post'];
|
||||
$fr['name'] = $f['name'];
|
||||
$fr['parent_id'] = $f['parent_id'];
|
||||
$fr['show_perms'] = $perms['show_perms'];
|
||||
$fr['skin_id'] = $f['skin_id'];
|
||||
$fr['permission_showtopic'] = $f['permission_showtopic'];
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach( $f as $k => $v )
|
||||
{
|
||||
if ( in_array( $k, $ignore_me ) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( $v != "" )
|
||||
{
|
||||
$fr[ $k ] = $v;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$fr['read_perms'] = isset($perms['read_perms']) ? $perms['read_perms'] : '';
|
||||
$fr['reply_perms'] = isset($perms['reply_perms']) ? $perms['reply_perms'] : '';
|
||||
$fr['start_perms'] = isset($perms['start_perms']) ? $perms['start_perms'] : '';
|
||||
$fr['upload_perms'] = isset($perms['upload_perms']) ? $perms['upload_perms'] : '';
|
||||
$fr['download_perms'] = $perms['upload_perms'];
|
||||
$fr['show_perms'] = isset($perms['show_perms']) ? $perms['show_perms'] : '';
|
||||
|
||||
unset($fr['permission_array']);
|
||||
}
|
||||
|
||||
$this->install->ipsclass->cache['forum_cache'][ $fr['id'] ] = $fr;
|
||||
|
||||
$perm_array = addslashes(serialize(array(
|
||||
'start_perms' => $fr['start_perms'],
|
||||
'reply_perms' => $fr['reply_perms'],
|
||||
'read_perms' => $fr['read_perms'],
|
||||
'upload_perms' => $fr['upload_perms'],
|
||||
'download_perms' => $fr['download_perms'],
|
||||
'show_perms' => $fr['show_perms']
|
||||
) ) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Add to save array
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'forums', array( 'permission_array' => $perm_array ), 'id='.$fr['id'] );
|
||||
|
||||
}
|
||||
|
||||
$this->install->ipsclass->update_cache( array( 'name' => 'forum_cache', 'array' => 1, 'deletefirst' => 1, 'donow' => 0 ) );
|
||||
|
||||
$this->install->message = "Download permissions added, Converting template bit HTML logic...";
|
||||
$this->install->saved_data['workact'] = 'update_template_bits';
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Update template bits
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function update_template_bits()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
//-----------------------------------------
|
||||
|
||||
$updated = 0;
|
||||
$_bits = array();
|
||||
$start = $this->install->saved_data['st'];
|
||||
$lend = 25;
|
||||
$end = $start + $lend;
|
||||
$done = 0;
|
||||
|
||||
//-----------------------------------------
|
||||
// Get API class
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH . 'sources/api/api_skins.php' );
|
||||
$api = new api_skins;
|
||||
$api->ipsclass =& $this->ipsclass;
|
||||
|
||||
//-----------------------------------------
|
||||
// OK..
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->build_query( array( 'select' => '*',
|
||||
'from' => 'skin_templates',
|
||||
'order' => 'suid ASC',
|
||||
'limit' => array( $start, $lend ) ) );
|
||||
|
||||
$o = $this->install->ipsclass->DB->exec_query();
|
||||
|
||||
//-----------------------------------------
|
||||
// Do it...
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->install->ipsclass->DB->get_num_rows($o) )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Got some to convert!
|
||||
//-----------------------------------------
|
||||
|
||||
while( $row = $this->install->ipsclass->DB->fetch_row( $o ) )
|
||||
{
|
||||
if ( preg_match( "#ipb\.|<if|<else#", $row['section_content'] ) )
|
||||
{
|
||||
$section_content = $api->skin_update_template_bit( $row['section_content'] );
|
||||
|
||||
if ( $section_content AND $section_content != $row['section_content'] )
|
||||
{
|
||||
$updated++;
|
||||
$this->install->ipsclass->DB->do_update( 'skin_templates', array( 'section_content' => $section_content ), 'suid=' . $row['suid'] );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$done = 1;
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Done?
|
||||
//-----------------------------------------
|
||||
|
||||
if ( ! $done )
|
||||
{
|
||||
$this->install->message = "Template bits: $start to $end completed. $updated updated...";
|
||||
$this->install->saved_data['workact'] = 'update_template_bits';
|
||||
$this->install->saved_data['st'] = $end;
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->message = "Template bits updated, finishing up...";
|
||||
$this->install->saved_data['workact'] = 'finish';
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Update forums
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function finish_up()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Has gallery?
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
$this->install->ipsclass->DB->error = '';
|
||||
|
||||
$table = 'members';
|
||||
|
||||
if ( ! $this->install->ipsclass->DB->field_exists( 'has_gallery', $table ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->sql_add_field( 'members', 'has_gallery', 'INT(1)', '0' );
|
||||
|
||||
if ( $this->install->ipsclass->DB->error )
|
||||
{
|
||||
$this->install->error[] = "ALTER TABLE {$this->install->ipsclass->DB->obj['sql_tbl_prefix']}members ADD has_gallery INT(1) default 0<br /><br />".$this->install->ipsclass->DB->error;
|
||||
}
|
||||
}
|
||||
|
||||
$test = $this->install->ipsclass->DB->build_and_exec_query( array( 'select' => 'count(*) as rows',
|
||||
'from' => 'cache_store',
|
||||
'where' => "cs_key='calendars'"
|
||||
) );
|
||||
|
||||
if ( ! $test['rows'] )
|
||||
{
|
||||
$this->install->ipsclass->DB->do_insert( 'cache_store', array( 'cs_key' => 'calendars' ) );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Rebuild group caches.
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/groups.php' );
|
||||
$groups = new ad_groups();
|
||||
$groups->ipsclass =& $this->install->ipsclass;
|
||||
|
||||
$groups->rebuild_group_cache();
|
||||
|
||||
$this->install->message = "Clean up performed, Creating new IPB 2.2.0 skin...";
|
||||
$this->install->saved_data['workact'] = 'skin';
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Add new skin
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function add_skin()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Get default wrapper
|
||||
//-----------------------------------------
|
||||
|
||||
$xml = new class_xml();
|
||||
$xml->lite_parser = 1;
|
||||
|
||||
$content = implode( "", file( ROOT_PATH . 'resources/skinsets.xml' ) );
|
||||
$xml->xml_parse_document( $content );
|
||||
|
||||
//-----------------------------------------
|
||||
// Get CSS and WRAPPER
|
||||
//-----------------------------------------
|
||||
|
||||
$CSS = $xml->xml_array['export']['group']['row'][0]['set_css']['VALUE'];
|
||||
$WRAPPER = $xml->xml_array['export']['group']['row'][0]['set_cache_wrapper']['VALUE'];
|
||||
|
||||
//-----------------------------------------
|
||||
// Turn off all other skins
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'skin_sets', array( 'set_default' => 0 ) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Insert new skin...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
|
||||
$this->install->ipsclass->DB->do_insert( 'skin_sets', array(
|
||||
'set_name' => 'IPB 2.2.0 Default',
|
||||
'set_image_dir' => 1,
|
||||
'set_hidden' => 0,
|
||||
'set_default' => 1,
|
||||
'set_css_method' => 0,
|
||||
'set_skin_set_parent' => -1,
|
||||
'set_author_email' => '',
|
||||
'set_author_name' => 'IPB 2.2.0 Default',
|
||||
'set_author_url' => '',
|
||||
'set_cache_css' => $CSS,
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
'set_emoticon_folder' => 'default',
|
||||
) );
|
||||
|
||||
$this->install->saved_data['new_skin'] = $this->install->ipsclass->DB->get_insert_id();
|
||||
|
||||
//-----------------------------------------
|
||||
// Update parent skin's CSS
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'skin_sets', array(
|
||||
'set_cache_css' => $CSS,
|
||||
'set_css' => $CSS,
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
'set_wrapper' => $WRAPPER,
|
||||
), "set_skin_set_id=1" );
|
||||
|
||||
//-----------------------------------------
|
||||
// Remove member's choice
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'members', array( 'skin' => '' ) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Done...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->message = "2.2.0 skin created...";
|
||||
unset($this->install->saved_data['workact']);
|
||||
unset($this->install->saved_data['vid']);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,2 @@
|
||||
<html>
|
||||
</html>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
// $SQL[] = "";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_custom_bbcode ADD bbcode_switch_option INT(1) NOT NULL default '0',
|
||||
ADD bbcode_add_into_menu INT(1) NOT NULL default '0',
|
||||
ADD bbcode_menu_option_text VARCHAR(200) NOT NULL default '',
|
||||
ADD bbcode_menu_content_text VARCHAR(200) NOT NULL default '';";
|
||||
|
||||
$SQL[] = "DELETE FROM ibf_conf_settings WHERE conf_key IN ('rte_width', 'rte_pm_width');";
|
||||
?>
|
||||
@@ -0,0 +1,166 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PF3 -> PF 4
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//--------------------------------
|
||||
// Upgrade BBCode
|
||||
//--------------------------------
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/bbcode.php' );
|
||||
$bbcode = new ad_bbcode();
|
||||
$bbcode->ipsclass =& $this->install->ipsclass;
|
||||
|
||||
//-----------------------------------------
|
||||
// Get BBCode....
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $FH = @fopen( ROOT_PATH . 'resources/bbcode.xml', 'rb' ) )
|
||||
{
|
||||
$content = @fread( $FH, filesize( ROOT_PATH . 'resources/bbcode.xml' ) );
|
||||
@fclose( $FH );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Get xml mah-do-dah
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( KERNEL_PATH.'class_xml.php' );
|
||||
|
||||
$xml = new class_xml();
|
||||
|
||||
//-----------------------------------------
|
||||
// Unpack the datafile
|
||||
//-----------------------------------------
|
||||
|
||||
$xml->xml_parse_document( $content );
|
||||
|
||||
//-----------------------------------------
|
||||
// Get current custom bbcodes
|
||||
//-----------------------------------------
|
||||
|
||||
$tags = array();
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'custom_bbcode' ) );
|
||||
$this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->install->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$tags[ $r['bbcode_tag'] ] = 1;
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// pArse
|
||||
//-----------------------------------------
|
||||
|
||||
if ( ! is_array( $xml->xml_array['bbcodeexport']['bbcodegroup']['bbcode'][0] ) )
|
||||
{
|
||||
$xml->xml_array['bbcodeexport']['bbcodegroup']['bbcode'][0] = $xml->xml_array['bbcodeexport']['bbcodegroup']['bbcode'];
|
||||
}
|
||||
|
||||
foreach( $xml->xml_array['bbcodeexport']['bbcodegroup']['bbcode'] as $entry )
|
||||
{
|
||||
$bbcode_title = $entry['bbcode_title']['VALUE'];
|
||||
$bbcode_desc = $entry['bbcode_desc']['VALUE'];
|
||||
$bbcode_tag = $entry['bbcode_tag']['VALUE'];
|
||||
$bbcode_replace = $entry['bbcode_replace']['VALUE'];
|
||||
$bbcode_useoption = $entry['bbcode_useoption']['VALUE'];
|
||||
$bbcode_example = $entry['bbcode_example']['VALUE'];
|
||||
$bbcode_switch_option = $entry['bbcode_switch_option']['VALUE'];
|
||||
$bbcode_add_into_menu = $entry['bbcode_add_into_menu']['VALUE'];
|
||||
$bbcode_menu_option_text = $entry['bbcode_menu_option_text']['VALUE'];
|
||||
$bbcode_menu_content_text = $entry['bbcode_menu_content_text']['VALUE'];
|
||||
|
||||
if ( $tags[ $bbcode_tag ] )
|
||||
{
|
||||
$bbarray = array(
|
||||
'bbcode_title' => $bbcode_title,
|
||||
'bbcode_desc' => $bbcode_desc,
|
||||
'bbcode_tag' => $bbcode_tag,
|
||||
'bbcode_replace' => $this->install->ipsclass->txt_safeslashes($bbcode_replace),
|
||||
'bbcode_useoption' => $bbcode_useoption,
|
||||
'bbcode_example' => $bbcode_example,
|
||||
'bbcode_switch_option' => $bbcode_switch_option,
|
||||
'bbcode_add_into_menu' => $bbcode_add_into_menu,
|
||||
'bbcode_menu_option_text' => $bbcode_menu_option_text,
|
||||
'bbcode_menu_content_text' => $bbcode_menu_content_text,
|
||||
);
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'custom_bbcode', $bbarray, "bbcode_tag='".$bbcode_tag."'" );
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( $bbcode_tag )
|
||||
{
|
||||
$bbarray = array(
|
||||
'bbcode_title' => $bbcode_title,
|
||||
'bbcode_desc' => $bbcode_desc,
|
||||
'bbcode_tag' => $bbcode_tag,
|
||||
'bbcode_replace' => $this->install->ipsclass->txt_safeslashes($bbcode_replace),
|
||||
'bbcode_useoption' => $bbcode_useoption,
|
||||
'bbcode_example' => $bbcode_example,
|
||||
'bbcode_switch_option' => $bbcode_switch_option,
|
||||
'bbcode_add_into_menu' => $bbcode_add_into_menu,
|
||||
'bbcode_menu_option_text' => $bbcode_menu_option_text,
|
||||
'bbcode_menu_content_text' => $bbcode_menu_content_text,
|
||||
);
|
||||
|
||||
$this->install->ipsclass->DB->do_insert( 'custom_bbcode', $bbarray );
|
||||
}
|
||||
}
|
||||
|
||||
$bbcode->bbcode_rebuildcache();
|
||||
|
||||
$this->install->message = "BBCode rebuilt and recached...";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user