Version 3.1.4

This commit is contained in:
Neo committed 2025-12-19 00:32:22 -08:00
1 parent 1d4720f3e2
commit ae5c01cc78
2563 files changed
+283048 -240689

No files matched your search

@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -21,5 +21,5 @@ $knownSettings = array(
'upload_url' => IPSSetUp::getSavedData('install_url') . '/uploads',
'upload_dir' => IPSSetUp::getSavedData('install_dir') . '/uploads',
'search_sql_method' => ipsRegistry::DB()->checkFulltextSupport() ? 'ftext' : 'man',
'safe_mode_skins' => ( @ini_get("safe_mode") ) ? 1 : 0
'safe_mode_skins' => ( @ini_get("safe_mode") ) ? 1 : 0,
);
@@ -3,5 +3,3 @@
* Installation Schematic File
* Generated on Thu, 19 Feb 2009 08:15:49 +0000 GMT
*/
$INDEX[] = "ALTER TABLE search_index ADD FULLTEXT KEY content (content,content_title)";
?>
@@ -1,28 +1,28 @@
<?php
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('bbcode', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('moderators', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('multimod', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('banfilters', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('attachtypes', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('emoticons', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('badwords', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('systemvars', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('adminnotes', '', '', 0);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('ranks', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('group_cache', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('stats', '', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('profilefields', 'a:0:{}', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('settings','', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('birthdays', 'a:0:{}', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('calendar', 'a:0:{}', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('calendars', 'a:0:{}', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('chatting', 'a:0:{}', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('rss_export', 'a:0:{}', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('rss_calendar', 'a:0:{}', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('announcements', 'a:0:{}', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('hooks', 'a:0:{}', '', 1);";
$INSERT[] = "INSERT INTO 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);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('bbcode', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('moderators', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('multimod', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('banfilters', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('attachtypes', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('emoticons', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('badwords', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('systemvars', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('adminnotes', '', 0);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('ranks', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('group_cache', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('stats', '', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('profilefields', 'a:0:{}', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('settings','', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('birthdays', 'a:0:{}', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('calendar', 'a:0:{}', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('calendars', 'a:0:{}', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('chatting', 'a:0:{}', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('rss_export', 'a:0:{}', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('rss_calendar', 'a:0:{}', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('announcements', 'a:0:{}', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, cs_array) VALUES ('hooks', 'a:0:{}', 1);";
$INSERT[] = "INSERT INTO cache_store (cs_key, cs_value, 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);";
$INSERT[] = "INSERT INTO emoticons (id, typed, image, clickable, emo_set) VALUES (1, ':mellow:', 'mellow.gif', 1, 'default');";
@@ -48,7 +48,7 @@ $INSERT[] = "INSERT INTO emoticons (id, typed, image, clickable, emo_set) VALUES
# Profile fields stuff
$INSERT[] = "INSERT INTO pfields_data (pf_id, pf_title, pf_desc, pf_content, pf_type, pf_not_null, pf_member_hide, pf_max_input, pf_member_edit, pf_position, pf_show_on_reg, pf_input_format, pf_admin_only, pf_topic_format, pf_group_id, pf_icon, pf_key) VALUES
(1, 'AIM', '', '', 'input', 0, 0, 0, 0, 0, 0, '', 0, '', 1, 'style_extra/cprofile_icons/profile_aim.gif', 'aim'),
(1, 'AIM', '', '', 'input', 0, 0, 0, 1, 0, 0, '', 0, '', 1, 'style_extra/cprofile_icons/profile_aim.gif', 'aim'),
(2, 'MSN', '', '', 'input', 0, 0, 0, 1, 0, 0, '', 0, '', 1, 'style_extra/cprofile_icons/profile_msn.gif', 'msn'),
(3, 'Сайт', '', '', 'input', 0, 0, 0, 1, 0, 0, '', 0, '', 1, 'style_extra/cprofile_icons/profile_website.gif', 'website'),
(4, 'ICQ', '', '', 'input', 0, 0, 0, 1, 0, 0, '', 0, '', 1, 'style_extra/cprofile_icons/profile_icq.gif', 'icq'),
@@ -63,7 +63,7 @@ $INSERT[] = "INSERT INTO pfields_groups (pf_group_id, pf_group_name, pf_group_ke
(1, 'Контакты', 'contact'),
(2, 'Информация', 'profile_info')";
$INSERT[] = "INSERT INTO core_sys_lang VALUES(1, 'ru_RU.UTF-8', 'Русский (RU)', 'USD', '$', '.', ',', 1, 0)";
$INSERT[] = "INSERT INTO core_sys_lang VALUES(1, 'ru_RU.UTF-8', 'Русский (RU)', 1, 0, 1)";
$INSERT[] = "INSERT INTO titles (id, posts, title, pips) VALUES (1, 0, 'Новичок', '1');";
$INSERT[] = "INSERT INTO titles (id, posts, title, pips) VALUES (2, 10, 'Пользователь', '2');";
@@ -75,16 +75,16 @@ $INSERT[] ="INSERT INTO permission_index VALUES(2, 'core', 'help', 1, '*', '', '
/* Report center stuff */
$INSERT[] = <<<EOF
INSERT INTO rc_classes (onoff, class_title, class_desc, author, author_url, pversion, my_class, group_can_report, mod_group_perm, extra_data, lockd) VALUES(1, 'Пример плагина', 'Плагин, не требующий написания кода, но требующий настройки.', 'Invision Power Services, Inc', '', 'v1.0', 'default', ',3,4,6,', ',4,6,', 'a:5:{s:14:"required_input";a:1:{s:8:"video_id";s:13:"[^A-Za-z0-9_]";}s:10:"string_url";s:41:"http://www.youtube.com/watch?v={video_id}";s:12:"string_title";s:25:"#PAGE_TITLE# ({video_id})";s:13:"section_title";s:7:"YouTube";s:11:"section_url";s:22:"http://www.youtube.com";}', 1);
INSERT INTO rc_classes (onoff, class_title, class_desc, author, author_url, pversion, my_class, group_can_report, mod_group_perm, extra_data, lockd, app) VALUES(1, 'Пример плагина', 'Плагин, не требующий написания кода, но требующий настройки.', 'Invision Power Services, Inc', '', 'v1.0', 'default', ',3,4,6,', ',4,6,', 'a:5:{s:14:"required_input";a:1:{s:8:"video_id";s:13:"[^A-Za-z0-9_]";}s:10:"string_url";s:41:"http://www.youtube.com/watch?v={video_id}";s:12:"string_title";s:25:"#PAGE_TITLE# ({video_id})";s:13:"section_title";s:7:"YouTube";s:11:"section_url";s:22:"http://www.youtube.com";}', 1, 'core');
EOF;
$INSERT[] = <<<EOF
INSERT INTO rc_classes (onoff, class_title, class_desc, author, author_url, pversion, my_class, group_can_report, mod_group_perm, extra_data, lockd) VALUES(1, 'Плагин форума', 'Плагин жалоб на сообщения и темы в форумах.', 'Invision Power Services, Inc', '', 'v1.0', 'post', ',1,2,3,4,6,', ',4,6,', 'a:1:{s:15:"report_supermod";i:1;}', 1);
INSERT INTO rc_classes (onoff, class_title, class_desc, author, author_url, pversion, my_class, group_can_report, mod_group_perm, extra_data, lockd, app) VALUES(1, 'Плагин форума', 'Плагин жалоб на сообщения и темы в форумах.', 'Invision Power Services, Inc', '', 'v1.0', 'post', ',1,2,3,4,6,', ',4,6,', 'a:1:{s:15:"report_supermod";i:1;}', 1, 'forums');
EOF;
$INSERT[] = <<<EOF
INSERT INTO rc_classes (onoff, class_title, class_desc, author, author_url, pversion, my_class, group_can_report, mod_group_perm, extra_data, lockd) VALUES(1, 'Плагин личных сообщений', 'Плагин жалоб на личные сообщения', 'Invision Power Services, Inc', '', 'v1.0', 'messages', ',1,2,3,4,6,', ',4,6,', 'a:1:{s:18:"plugi_messages_add";s:5:"4";}', 1);
INSERT INTO rc_classes (onoff, class_title, class_desc, author, author_url, pversion, my_class, group_can_report, mod_group_perm, extra_data, lockd, app) VALUES(1, 'Плагин личных сообщений', 'Плагин жалоб на личные сообщения', 'Invision Power Services, Inc', '', 'v1.0', 'messages', ',1,2,3,4,6,', ',4,6,', 'a:1:{s:18:"plugi_messages_add";s:5:"4";}', 1, 'members');
EOF;
$INSERT[] = <<<EOF
INSERT INTO rc_classes (onoff, class_title, class_desc, author, author_url, pversion, my_class, group_can_report, mod_group_perm, extra_data, lockd) VALUES(1, 'Плагин пользовательских профилей', 'Плагин жалоб на профили пользователей', 'Invision Power Services, Inc', '', 'v1.0', 'profiles', ',1,2,3,4,6,', ',4,6,', 'N;', 1);
INSERT INTO rc_classes (onoff, class_title, class_desc, author, author_url, pversion, my_class, group_can_report, mod_group_perm, extra_data, lockd, app) VALUES(1, 'Плагин пользовательских профилей', 'Плагин жалоб на профили пользователей', 'Invision Power Services, Inc', '', 'v1.0', 'profiles', ',1,2,3,4,6,', ',4,6,', 'N;', 1, 'members');
EOF;
$INSERT[] = "INSERT INTO rc_status VALUES(1, 'Новая', 1, 5, 1, 0, 1, 1);";
@@ -112,3 +112,16 @@ $INSERT[] = "INSERT INTO reputation_levels VALUES(3, 0, 'Обычный', '');";
$INSERT[] = "INSERT INTO reputation_levels VALUES(4, 10, 'Хороший', '');";
$INSERT[] = "INSERT INTO reputation_levels VALUES(5, 20, 'Очень хороший', '');";
$INSERT[] = "INSERT INTO core_share_links VALUES(1, 'Twitter', 'twitter', 1, 1, 1);";
$INSERT[] = "INSERT INTO core_share_links VALUES(2, 'Facebook', 'facebook', 1, 2, 1);";
$INSERT[] = "INSERT INTO core_share_links VALUES(3, 'Digg', 'digg', 1, 3, 1);";
$INSERT[] = "INSERT INTO core_share_links VALUES(4, 'Del.icio.us', 'delicious', 1, 4, 1);";
$INSERT[] = "INSERT INTO core_share_links VALUES(5, 'Вконтакте', 'vkontakte', 1, 5, 1);";
$INSERT[] = "INSERT INTO core_share_links VALUES(6, 'Мемори', 'memori', 1, 6, 1);";
$INSERT[] = "INSERT INTO core_share_links VALUES(7, 'БобрДобр', 'bobrdobr', 1, 7, 1);";
$INSERT[] = "INSERT INTO core_share_links VALUES(8, 'Email', 'email', 1, 7, 1);";
$INSERT[] = "INSERT INTO core_share_links VALUES(9, 'Buzz', 'buzz', 1, 3, 1);";
$INSERT[] = "INSERT INTO core_share_links VALUES(10, 'Печать', 'print', 1, 10, 0);";
$INSERT[] = "INSERT INTO core_share_links VALUES(11, 'Скачать', 'download', 1, 11, 0);";
File diff suppressed because it is too large. Load diff
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -2,11 +2,11 @@
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
@@ -143,7 +143,7 @@ class version_upgrade
}
if ( $this->request['workact'] )
{
IPSSetUp::getSavedData('vid') = $this->install->current_version;
IPSSetUp::getSavedData('vid', $this->install->current_version );
return false;
}
@@ -1412,9 +1412,9 @@ class version_upgrade
{
// Reset loginkey
IPSSetUp::getSavedData('loginkey') = $member_login_key;
IPSSetUp::getSavedData('loginkey', $member_login_key );
$this->install->ipsclass->member['member_login_key'] = $member_login_key;
IPSSetUp::getSavedData('securekey') = $this->install->ipsclass->return_md5_check();
IPSSetUp::getSavedData('securekey', $this->install->ipsclass->return_md5_check() );
}
}
@@ -1906,7 +1906,7 @@ class version_upgrade
$SQL[] = "REPLACE INTO ".ipsRegistry::dbFunctions()->getPrefix()."faq VALUES (1, 'Registration benefits', '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.', 'How to register and the added benefits of being a registered member.');";
$SQL[] = "REPLACE INTO ".ipsRegistry::dbFunctions()->getPrefix()."faq VALUES (2, 'Cookies and cookie usage', '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 \'\' you would enter \'\' 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 \'\' look for \'\' or \'\'\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.', 'The benefits of using cookies and how to remove cookies set by this board.');";
$SQL[] = "REPLACE INTO ".ipsRegistry::dbFunctions()->getPrefix()."faq VALUES (2, 'Cookies and cookie usage', '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.test.ru/forums/index.php\' you would enter \'test.ru\' 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.test.ru/forums/index.php\' look for \'test.ru\' or \'www.test.ru\'\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.', 'The benefits of using cookies and how to remove cookies set by this board.');";
$SQL[] = "REPLACE INTO ".ipsRegistry::dbFunctions()->getPrefix()."faq VALUES (3, 'Recovering lost or forgotten passwords', '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&do=10\'>Lost Password link</a> found on the log in page.\r<br>\r<br>Further instruction is available from there.', 'How to reset your password if you\'ve forgotton it.');";
$SQL[] = "REPLACE INTO ".ipsRegistry::dbFunctions()->getPrefix()."faq VALUES (4, 'Your Control Panel (My Controls)', '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>Skins and Languages</b>\r<br>\r<br>If available, you can choose a skin style and language choice. This affects how the board is displayed so you may wish to preview the skin before submitting the form.\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.', 'Editing contact information, personal information, avatars, signatures, board settings, languages and style choices.');";
$SQL[] = "REPLACE INTO ".ipsRegistry::dbFunctions()->getPrefix()."faq VALUES (5, 'Email Notification of new messages', '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>\r<br><li>Click the \'Track This Topic\' link at the top of the topic that you wish to track\r<br><li> On the posting screen when replying to or creating a topic, check the \'Enable email notification of replies?\' checkbox\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\r<br>\r<br>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 this from there.', 'How to get emailed when a new reply is added to a topic.');";
@@ -2245,7 +2245,7 @@ class version_upgrade
$this->registry->output->addMessage("Data recached...");
unset($this->request['workact']);
unset($this->request['st']);
unset(IPSSetUp::getSavedData('vid'));
//unset(IPSSetUp::getSavedData('vid'));
}
@@ -2,15 +2,15 @@
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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 1.1 -> 2.0 SQL STUFF!
@@ -2,15 +2,15 @@
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
@@ -30,29 +30,26 @@ if ( ! defined( 'IN_IPB' ) )
$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 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 &lt;title&gt; 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&do=getactive [Today\'s Active Topics]\r\n{board_url}act=Stats [Today\'s Top 10 Posters]\r\n{board_url}act=Stats&do=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);";
$SQL[] = "INSERT INTO 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 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 &lt;title&gt; elements on the page', '22', 'input', 'csite_title', '', 'IPB Portal', '', '', 1, 2, '', 0, '', 0);";
$SQL[] = "INSERT INTO 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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&do=getactive [Today\'s Active Topics]\r\n{board_url}act=Stats [Today\'s Top 10 Posters]\r\n{board_url}act=Stats&do=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 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 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);";
?>
@@ -2,15 +2,15 @@
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
@@ -29,10 +29,6 @@ if ( ! defined( 'IN_IPB' ) )
$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 &amp; Forum Digest', 'dailydigest.php', 1086912600, -1, -1, 0, 10, '723cab2aae32dd5d04898b1151038846', 1, 'Emails out daily topic &amp; 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 &amp; Forum Digest', 'weeklydigest.php', 1087096200, 0, -1, 3, 10, '7e7fccd07f781bdb24ac108d26612931', 1, 'Emails weekly topic &amp; forum digest emails', 1, 'weeklydigest', 0);";
?>
$SQL[] = "INSERT INTO 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 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 &amp; Forum Digest', 'dailydigest.php', 1086912600, -1, -1, 0, 10, '723cab2aae32dd5d04898b1151038846', 1, 'Emails out daily topic &amp; forum digest emails', 1, 'dailydigest', 0);";
$SQL[] = "INSERT INTO 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 &amp; Forum Digest', 'weeklydigest.php', 1087096200, 0, -1, 3, 10, '7e7fccd07f781bdb24ac108d26612931', 1, 'Emails weekly topic &amp; forum digest emails', 1, 'weeklydigest', 0);";
@@ -1,34 +1,32 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.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]');";
?>
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.1.2
| ========================================
| 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 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]');";
@@ -1,27 +1,26 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
$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);";
?>
$SQL[] = "INSERT INTO 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 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 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 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 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 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 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 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 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 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 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);";
@@ -1,24 +1,23 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# 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);";
$SQL[] = "DELETE FROM skin_macro WHERE macro_value='PRO_ICQ' and macro_set=1";
$SQL[] = "INSERT INTO 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'";
?>
$SQL[] = "ALTER TABLE members change temp_ban temp_ban varchar(100) default '0'";
@@ -1,31 +1,30 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# 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";
$SQL[] = "ALTER TABLE members change msg_total msg_total smallint(5) default '0'";
$SQL[] = "ALTER TABLE members change new_msg new_msg smallint(5) default '0'";
$SQL[] = "UPDATE members SET new_msg=0";
# Add WIZZY Blog hook
//$SQL[] = "ALTER TABLE ibf_members add has_blog TINYINT(1) NOT NULL default '0'";
//$SQL[] = "ALTER TABLE 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)";
$SQL[] = "ALTER TABLE members_converge ADD INDEX converge_email(converge_email)";
$SQL[] = "ALTER TABLE polls ADD INDEX tid(tid)";
?>
@@ -1,845 +0,0 @@
<?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>
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -18,7 +18,7 @@
// $SQL[] = "";
$SQL[] = "CREATE TABLE ibf_components (
$SQL[] = "CREATE TABLE components (
com_id INT(10) NOT NULL auto_increment,
com_title VARCHAR(255) NOT NULL default '',
com_author VARCHAR(255) NOT NULL default '',
@@ -38,12 +38,12 @@ $SQL[] = "CREATE TABLE ibf_components (
);";
$SQL[] = "CREATE TABLE ibf_topic_views (
$SQL[] = "CREATE TABLE topic_views (
views_tid int(10) NOT NULL default '0'
);";
$SQL[] = "CREATE TABLE ibf_topic_ratings (
$SQL[] = "CREATE TABLE 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',
@@ -53,7 +53,7 @@ $SQL[] = "CREATE TABLE ibf_topic_ratings (
KEY rating_tid (rating_tid, rating_member_id)
);";
$SQL[] = "CREATE TABLE ibf_topic_markers (
$SQL[] = "CREATE TABLE 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',
@@ -64,7 +64,7 @@ $SQL[] = "CREATE TABLE ibf_topic_markers (
KEY marker_member_id (marker_member_id)
);";
$SQL[] = "CREATE TABLE ibf_rss_import (
$SQL[] = "CREATE TABLE 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 '',
@@ -83,7 +83,7 @@ $SQL[] = "CREATE TABLE ibf_rss_import (
PRIMARY KEY ( rss_import_id )
);";
$SQL[] = "CREATE TABLE ibf_rss_imported (
$SQL[] = "CREATE TABLE 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',
@@ -91,7 +91,7 @@ $SQL[] = "CREATE TABLE ibf_rss_imported (
KEY (rss_imported_impid)
);";
$SQL[] = "CREATE TABLE ibf_rss_export (
$SQL[] = "CREATE TABLE 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 '',
@@ -108,7 +108,7 @@ $SQL[] = "CREATE TABLE ibf_rss_export (
PRIMARY KEY (rss_export_id)
);";
$SQL[] = "CREATE TABLE ibf_cal_events (
$SQL[] = "CREATE TABLE 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',
@@ -128,7 +128,7 @@ $SQL[] = "CREATE TABLE ibf_cal_events (
KEY approved ( event_calendar_id, event_approved )
);";
$SQL[] = "CREATE TABLE ibf_members_partial (
$SQL[] = "CREATE TABLE 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',
@@ -136,7 +136,7 @@ $SQL[] = "CREATE TABLE ibf_members_partial (
KEY partial_member_id ( partial_member_id )
);";
$SQL[] = "CREATE TABLE ibf_dnames_change (
$SQL[] = "CREATE TABLE 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',
@@ -148,7 +148,7 @@ $SQL[] = "CREATE TABLE ibf_dnames_change (
KEY date_id ( dname_member_id, dname_date )
);";
$SQL[] = "CREATE TABLE ibf_cal_calendars (
$SQL[] = "CREATE TABLE 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',
@@ -165,7 +165,7 @@ $SQL[] = "CREATE TABLE ibf_cal_calendars (
PRIMARY KEY ( cal_id )
);";
$SQL[] = "CREATE TABLE ibf_login_methods (
$SQL[] = "CREATE TABLE login_methods (
login_id INT(10) NOT NULL auto_increment,
login_title VARCHAR(255) NOT NULL default '',
login_description VARCHAR(255) NOT NULL default '',
@@ -184,14 +184,14 @@ $SQL[] = "CREATE TABLE ibf_login_methods (
PRIMARY KEY (login_id)
);";
$SQL[] = "CREATE TABLE ibf_admin_permission_rows (
$SQL[] = "CREATE TABLE admin_permission_rows (
row_member_id INT(8) NOT NULL,
row_perm_cache MEDIUMTEXT NULL,
row_updated INT(10) NOT NULL DEFAULT '0',
PRIMARY KEY (row_member_id)
);";
$SQL[] = "CREATE TABLE ibf_admin_permission_keys (
$SQL[] = "CREATE TABLE admin_permission_keys (
perm_key VARCHAR(255) NOT NULL,
perm_main VARCHAR(255) NOT NULL,
perm_child VARCHAR(255) NOT NULL,
@@ -201,7 +201,7 @@ $SQL[] = "CREATE TABLE ibf_admin_permission_keys (
KEY perm_child (perm_child)
);";
$SQL[] = "CREATE TABLE ibf_templates_diff_import (
$SQL[] = "CREATE TABLE templates_diff_import (
diff_key VARCHAR(255) NOT NULL,
diff_func_group VARCHAR(150) NOT NULL,
diff_func_name VARCHAR(250) NOT NULL,
@@ -213,7 +213,7 @@ $SQL[] = "CREATE TABLE ibf_templates_diff_import (
KEY diff_func_name (diff_func_name)
);";
$SQL[] = "CREATE TABLE ibf_template_diff_session (
$SQL[] = "CREATE TABLE 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',
@@ -223,7 +223,7 @@ $SQL[] = "CREATE TABLE ibf_template_diff_session (
PRIMARY KEY (diff_session_id)
);";
$SQL[] = "CREATE TABLE ibf_template_diff_changes (
$SQL[] = "CREATE TABLE 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,
@@ -235,4 +235,3 @@ $SQL[] = "CREATE TABLE ibf_template_diff_changes (
KEY diff_change_type (diff_change_type)
);";
?>
@@ -1,38 +1,37 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# Nothing of interest!
$SQL[] = "ALTER TABLE ibf_members ADD members_auto_dst TINYINT(1) NOT NULL default '1';";
$SQL[] = "ALTER TABLE 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',
$SQL[] = "ALTER TABLE members CHANGE new_msg new_msg tinyint(2) default '0',
CHANGE msg_total msg_total smallint(5) default '0',
ADD members_cache MEDIUMTEXT NULL,
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 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 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 members ADD members_editor_choice VARCHAR(3) NOT NULL default 'std';";
$SQL[] = "ALTER TABLE ibf_members ADD members_markers TEXT NULL;";
$SQL[] = "ALTER TABLE members ADD members_markers TEXT NULL;";
$SQL[] = "ALTER TABLE ibf_message_text ADD msg_ip_address VARCHAR(16) NOT NULL default '0';";
$SQL[] = "ALTER TABLE message_text ADD msg_ip_address VARCHAR(16) NOT NULL default '0';";
$SQL[] = "UPDATE ibf_members SET members_display_name=name;";
$SQL[] = "UPDATE members SET members_display_name=name;";
?>
@@ -1,30 +1,29 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# 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';";
$SQL[] = "ALTER TABLE topics CHANGE approved approved tinyint(1) NOT NULL default '0';";
$SQL[] = "ALTER TABLE topics DROP INDEX last_post;";
$SQL[] = "ALTER TABLE topics DROP INDEX forum_id;";
$SQL[] = "alter table topics add index forum_id( forum_id, pinned, approved);";
$SQL[] = "ALTER TABLE topics add index last_post(forum_id, pinned, last_post);";
$SQL[] = "ALTER TABLE topics ADD topic_rating_total SMALLINT UNSIGNED NOT NULL default '0';";
$SQL[] = "ALTER TABLE topics ADD topic_rating_hits SMALLINT UNSIGNED NOT NULL default '0';";
$SQL[] = "ALTER TABLE topics DROP rating;";
$SQL[] = "alter table topics ADD topic_open_time INT(10) NOT NULL default '0';";
$SQL[] = "alter table topics ADD topic_close_time INT(10) NOT NULL default '0';";
?>
@@ -1,44 +1,42 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# Nothing of interest!
$SQL[] = "ALTER TABLE ibf_sessions ADD location_1_type char(10) NOT NULL default '',
$SQL[] = "ALTER TABLE 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 sessions ADD INDEX location1(location_1_type, location_1_id);";
$SQL[] = "ALTER TABLE sessions ADD INDEX location2(location_2_type, location_2_id);";
$SQL[] = "ALTER TABLE sessions ADD INDEX location3(location_3_type, location_3_id);";
$SQL[] = "ALTER TABLE 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',
$SQL[] = "ALTER TABLE forums ADD forum_last_deletion INT(10) NOT NULL default '0';";
$SQL[] = "ALTER TABLE forums ADD forum_allow_rating TINYINT(1) NOT NULL default '0';";
$SQL[] = "ALTER TABLE groups ADD g_topic_rate_setting SMALLINT(2) NOT NULL default '0';";
$SQL[] = "alter table validating ADD user_verified tinyint(1) NOT NULL default '0';";
$SQL[] = "alter table moderators ADD mod_can_set_open_time tinyint(1) NOT NULL default '0';";
$SQL[] = "alter table moderators ADD mod_can_set_close_time tinyint(1) NOT NULL default '0';";
$SQL[] = "alter table task_manager ADD task_locked INT(10) NOT NULL default '0';";
$SQL[] = "alter table 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);";
?>
$SQL[] = "ALTER TABLE search_results ADD PRIMARY KEY(id);";
$SQL[] = "ALTER TABLE search_results ADD INDEX search_date(search_date);";
@@ -1,55 +1,54 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# Nothing of interest!
$SQL = array();
$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 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 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 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 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 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 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 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 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 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', '', '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', '', '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', '', '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', '', '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[] = "INSERT INTO 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', '', '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 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', '', '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 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', '', '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 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', '', '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',
$SQL[] = "DELETE FROM 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";
?>
$SQL[] = "UPDATE conf_settings_titles SET conf_title_keyword='general' WHERE conf_title_id=1";
$SQL[] = "UPDATE conf_settings_titles SET conf_title_keyword='boardoffline' WHERE conf_title_id=15";
$SQL[] = "UPDATE conf_settings_titles SET conf_title_keyword='calendar' WHERE conf_title_id=9";
$SQL[] = "UPDATE conf_settings_titles SET conf_title_keyword='converge' WHERE conf_title_id=18";
$SQL[] = "UPDATE conf_settings_titles SET conf_title_keyword='coppa' WHERE conf_title_id=8";
$SQL[] = "UPDATE conf_settings_titles SET conf_title_keyword='cpusaving' WHERE conf_title_id=2";
$SQL[] = "UPDATE conf_settings_titles SET conf_title_keyword='date' WHERE conf_title_id=3";
$SQL[] = "UPDATE conf_settings_titles SET conf_title_keyword='email' WHERE conf_title_id=12";
$SQL[] = "UPDATE conf_settings_titles SET conf_title_keyword='searchsetup' WHERE conf_title_id=19";
@@ -2,15 +2,15 @@
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
@@ -154,9 +154,14 @@ class version_upgrade
$output .= preg_replace( "/\s{1,}/", " ", $query ) . "\n\n";
}
else
{
{
if( ! $query )
{
continue;
}
$this->DB->query( $query );
if ( $this->DB->error )
{
$this->registry->output->addError( $query."<br /><br />".$this->DB->error );
@@ -168,7 +173,7 @@ class version_upgrade
}
}
$this->registry->output->addMessage("$this->sqlcount запросов выполнено....");
$this->registry->output->addMessage("{$this->sqlcount} запросов выполнено....");
}
//--------------------------------
@@ -189,7 +194,13 @@ class version_upgrade
if ( IPSSetUp::getSavedData('man') AND $output )
{
$this->_output = $this->registry->output->template()->upgrade_manual_queries( $output );
/* Create source file */
if ( $this->registry->dbFunctions()->getDriverType() == 'mysql' )
{
$sourceFile = IPSSetUp::createSqlSourceFile( $output, '21003', $id );
}
$this->_output = $this->registry->output->template()->upgrade_manual_queries( $output, $sourceFile );
}
}
@@ -1,845 +0,0 @@
<?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>
@@ -1,29 +1,28 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# 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 '';";
$SQL[] = "DELETE FROM admin_permission_keys WHERE perm_main='tools' and perm_child='login';";
$SQL[] = "DELETE FROM conf_settings WHERE conf_key='max_poll_questions' AND conf_group='';";
$SQL[] = "DELETE FROM conf_settings WHERE conf_key IN( 'poll_disable_noreply', 'chat04_who_save', 'chat04_whodat_server_addr' );";
$SQL[] = "UPDATE conf_settings SET conf_group=12 WHERE conf_key='smtp_pass';";
$SQL[] = "UPDATE conf_settings SET conf_group=21 WHERE conf_key='chat04_default_lang';";
$SQL[] = "UPDATE conf_settings SET conf_group=5, conf_position=43 WHERE conf_key='max_h_flash';";
$SQL[] = "DELETE FROM components WHERE com_filename='registration';";
$SQL[] = "UPDATE components SET com_section='chatpara', com_filename='chatpara' where com_filename='chat';";
$SQL[] = "ALTER TABLE member_extra CHANGE icq_number icq_number varchar(40) NOT NULL default '';";
?>
@@ -1,22 +1,21 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# 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';";
$SQL[] = "ALTER TABLE sessions CHANGE browser browser VARCHAR(200) NOT NULL default '';";
$SQL[] = "ALTER TABLE rss_import ADD rss_import_allow_html TINYINT(1) NOT NULL default '0';";
?>
@@ -2,15 +2,15 @@
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -1,26 +1,25 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# 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[] = "UPDATE conf_settings SET conf_value='self' WHERE conf_key='chat_display'";
$SQL[] = "UPDATE conf_settings SET conf_value='self' WHERE conf_key='chat04_display'";
$SQL[] = "UPDATE 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', '', '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);";
$SQL[] = "DELETE FROM components WHERE com_filename='chatsigma'";
$SQL[] = "INSERT INTO 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);";
?>
@@ -1,49 +1,47 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
$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[] = "UPDATE task_manager SET task_log=1 WHERE task_key='rssimport'";
$SQL[] = "ALTER TABLE forums ADD topicfilter VARCHAR( 32 ) DEFAULT 'all' NOT NULL AFTER prune";
$SQL[] = "UPDATE 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 message_topics ADD mt_addtosent TINYINT( 1 ) DEFAULT '0' NOT NULL AFTER mt_tracking";
$SQL[] = "UPDATE 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 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 ,
$SQL[] = "ALTER TABLE 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 \'\' you would enter \'\' 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 \'\' look for \'\' or \'\'\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&amp;do=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 &amp; 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";
$UPDATES[] = "UPDATE 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 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.test.ru/forums/index.php\' you would enter \'test.ru\' 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.test.ru/forums/index.php\' look for \'test.ru\' or \'www.test.ru\'\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 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&amp;do=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 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 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 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 faq SET title='Contacting the moderating team &amp; 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 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 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 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 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 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 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 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 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 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";
?>
@@ -1,22 +1,21 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
$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'";
$SQL[] = "DELETE FROM conf_settings WHERE conf_key='csite_skinchange_show'";
$SQL[] = "DELETE FROM conf_settings WHERE conf_key='csite_pm_show'";
$SQL[] = "DELETE FROM conf_settings WHERE conf_key='csite_search_show'";
$SQL[] = "UPDATE conf_settings SET conf_end_group=1 WHERE conf_key='recent_topics_discuss_number'";
?>
@@ -1,21 +1,20 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
$SQL[] = "ALTER TABLE ibf_members CHANGE email email varchar( 150 ) NOT NULL default ''";
$SQL[] = "ALTER TABLE 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";
$SQL[] = "ALTER TABLE subscription_currency CHANGE `subcurrency_exchange` `subcurrency_exchange` DECIMAL( 16, 8 ) DEFAULT '0.00000000' NOT NULL";
?>
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -18,17 +18,17 @@
// $SQL[] = "";
$SQL[] = "TRUNCATE TABLE ibf_search_results;";
$SQL[] = "TRUNCATE TABLE 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 NULL;";
$SQL[] ="ALTER TABLE conf_settings_titles ADD conf_title_module varchar(200) NOT NULL default '';";
$SQL[] ="ALTER TABLE conf_settings_titles change conf_title_desc conf_title_desc TEXT NULL;";
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_value conf_value text NULL;";
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_default conf_default text NULL;";
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_extra conf_extra text NULL;";
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_evalphp conf_evalphp text NULL;";
$SQL[] ="ALTER TABLE conf_settings change conf_value conf_value text NULL;";
$SQL[] ="ALTER TABLE conf_settings change conf_default conf_default text NULL;";
$SQL[] ="ALTER TABLE conf_settings change conf_extra conf_extra text NULL;";
$SQL[] ="ALTER TABLE conf_settings change conf_evalphp conf_evalphp text NULL;";
$SQL[] = "CREATE TABLE ibf_converge_local (
$SQL[] = "CREATE TABLE 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',
@@ -41,7 +41,7 @@ $SQL[] = "CREATE TABLE ibf_converge_local (
KEY converge_active (converge_active)
);";
$SQL[] = "CREATE TABLE ibf_admin_login_logs (
$SQL[] = "CREATE TABLE 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 '',
@@ -53,7 +53,7 @@ $SQL[] = "CREATE TABLE ibf_admin_login_logs (
KEY admin_time (admin_time)
);";
$SQL[] = "CREATE TABLE ibf_profile_friends (
$SQL[] = "CREATE TABLE 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',
@@ -64,7 +64,7 @@ $SQL[] = "CREATE TABLE ibf_profile_friends (
KEY friends_member_id ( friends_member_id )
);";
$SQL[] = "CREATE TABLE ibf_profile_comments (
$SQL[] = "CREATE TABLE 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',
@@ -76,7 +76,7 @@ $SQL[] = "CREATE TABLE ibf_profile_comments (
KEY my_comments( comment_for_member_id )
);";
$SQL[] = "CREATE TABLE ibf_profile_ratings (
$SQL[] = "CREATE TABLE 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',
@@ -88,7 +88,7 @@ $SQL[] = "CREATE TABLE ibf_profile_ratings (
);";
$SQL[] = "CREATE TABLE ibf_profile_portal (
$SQL[] = "CREATE TABLE 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 NULL,
@@ -97,7 +97,6 @@ $SQL[] = "CREATE TABLE ibf_profile_portal (
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',
@@ -116,10 +115,9 @@ $SQL[] = "CREATE TABLE ibf_profile_portal (
PRIMARY KEY ( pp_member_id )
);";
$SQL[] = "CREATE TABLE ibf_profile_portal_views (
$SQL[] = "CREATE TABLE profile_portal_views (
views_member_id int(10) NOT NULL default '0'
);";
$SQL[] = "DROP TABLE ibf_calendar_events;";
$SQL[] = "DROP TABLE calendar_events;";
?>
@@ -1,49 +1,48 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# 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 members ADD members_profile_views INT(10) UNSIGNED NOT NULL default '0';";
$SQL[]="ALTER TABLE 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 NULL;";
$SQL[]="alter table ibf_members change ignored_users ignored_users text NULL;";
$SQL[]="alter table ibf_members change members_markers members_markers text NULL;";
$SQL[]="alter table members ADD members_l_display_name VARCHAR(255) NOT NULL default '0';";
$SQL[]="alter table members ADD members_l_username VARCHAR(255) NOT NULL default '0';";
$SQL[]="alter table members DROP INDEX name;";
$SQL[]="alter table members DROP INDEX members_display_name;";
$SQL[]="alter table member_extra change interests interests text NULL;";
$SQL[]="alter table members change ignored_users ignored_users text NULL;";
$SQL[]="alter table members change members_markers members_markers text NULL;";
$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 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 NULL;";
$SQL[]="ALTER TABLE ibf_members ADD failed_login_count SMALLINT( 3 ) DEFAULT '0' NOT NULL;";
$SQL[]="ALTER TABLE members ADD failed_logins TEXT NULL;";
$SQL[]="ALTER TABLE 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 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',
$SQL[] ="ALTER TABLE 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',
$SQL[] ="ALTER TABLE 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,
$SQL[] ="ALTER TABLE 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);";
?>
@@ -1,25 +1,24 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# 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 NULL;";
$SQL[]="ALTER TABLE ibf_topics ADD INDEX starter_id (starter_id, forum_id, approved);";
$SQL[]="ALTER TABLE posts DROP INDEX topic_id, ADD INDEX topic_id ( topic_id , queued , pid , post_date );";
$SQL[]="ALTER TABLE posts ADD INDEX post_key (post_key), ADD INDEX ip_address (ip_address);";
$SQL[]="ALTER TABLE posts ADD post_edit_reason VARCHAR(255) NOT NULL default '';";
$SQL[]="ALTER TABLE posts CHANGE post post MEDIUMTEXT NULL;";
$SQL[]="ALTER TABLE topics ADD INDEX starter_id (starter_id, forum_id, approved);";
?>
@@ -1,64 +1,63 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# Nothing of interest!
$SQL[] ="ALTER TABLE ibf_groups DROP g_calendar_post;";
$SQL[] ="ALTER TABLE groups DROP g_calendar_post;";
$SQL[] ="ALTER TABLE ibf_validating ADD prev_email VARCHAR(150) NOT NULL DEFAULT '0';";
$SQL[] ="ALTER TABLE 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 ) NULL , ADD newest_id INT( 10 ) NOT NULL default '0' ;";
$SQL[] ="ALTER TABLE ibf_forums ADD password_override VARCHAR( 255 ) AFTER password;";
$SQL[] ="ALTER TABLE forums CHANGE position position INT(5) UNSIGNED default '0';";
$SQL[] ="ALTER TABLE forums ADD newest_title VARCHAR( 128 ) NULL , ADD newest_id INT( 10 ) NOT NULL default '0' ;";
$SQL[] ="ALTER TABLE forums ADD password_override VARCHAR( 255 ) AFTER password;";
$SQL[] ="ALTER TABLE ibf_search_results CHANGE topic_id topic_id text NULL;";
$SQL[] ="ALTER TABLE ibf_search_results CHANGE post_id post_id text NULL;";
$SQL[] ="ALTER TABLE ibf_search_results CHANGE query_cache query_cache text NULL;";
$SQL[] ="ALTER TABLE search_results CHANGE topic_id topic_id text NULL;";
$SQL[] ="ALTER TABLE search_results CHANGE post_id post_id text NULL;";
$SQL[] ="ALTER TABLE search_results CHANGE query_cache query_cache text NULL;";
$SQL[] ="ALTER TABLE ibf_cache_store change cs_value cs_value mediumtext NULL;";
$SQL[] ="ALTER TABLE cache_store change cs_value cs_value mediumtext NULL;";
$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 login_methods ADD login_user_id VARCHAR(255) NOT NULL default 'username';";
$SQL[] ="ALTER TABLE login_methods ADD login_logout_url VARCHAR(255) NOT NULL default '';";
$SQL[] ="ALTER TABLE 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 sessions CHANGE id id VARCHAR(60) DEFAULT '0' NOT NULL;";
$SQL[] ="ALTER TABLE ibf_voters ADD INDEX ( tid );";
$SQL[] ="ALTER TABLE voters ADD INDEX ( tid );";
$SQL[] ="ALTER TABLE ibf_faq ADD position SMALLINT( 3 ) DEFAULT '0' NOT NULL;";
$SQL[] ="ALTER TABLE faq ADD position SMALLINT( 3 ) DEFAULT '0' NOT NULL;";
$SQL[] ="ALTER TABLE ibf_polls ADD poll_only TINYINT( 1 ) DEFAULT '0' NOT NULL;";
$SQL[] ="ALTER TABLE 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 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 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 attachments SET attach_rel_id=attach_pid, attach_rel_module='post' where attach_pid > 0;";
$SQL[] ="UPDATE 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[] ="UPDATE login_methods SET login_settings = '1', login_installed = '1' WHERE login_folder_name='ldap';";
$SQL[] ="UPDATE 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', 'Для внутреннего использования', 'ipconverge', '', '', 'passthrough', '', 0, 0, 0, 1, 1, 0, 1);";
$SQL[] ="UPDATE ibf_forums SET permission_showtopic=1 WHERE parent_id='-1';";
$SQL[] ="INSERT INTO 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 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);";
$SQL[] = "UPDATE members SET members_l_display_name=LOWER(members_display_name);";
$SQL[] = "UPDATE members SET members_l_username=LOWER(name);";
?>
@@ -2,15 +2,15 @@
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -195,7 +195,13 @@ class version_upgrade
if ( IPSSetUp::getSavedData('man') AND $output )
{
$this->_output = $this->registry->output->template()->upgrade_manual_queries( $output );
/* Create source file */
if ( $this->registry->dbFunctions()->getDriverType() == 'mysql' )
{
$sourceFile = IPSSetUp::createSqlSourceFile( $output, '22005', $id );
}
$this->_output = $this->registry->output->template()->upgrade_manual_queries( $output, $sourceFile );
}
}
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -18,10 +18,9 @@
// $SQL[] = "";
$SQL[] = "ALTER TABLE ibf_custom_bbcode ADD bbcode_switch_option INT(1) NOT NULL default '0',
$SQL[] = "ALTER TABLE 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');";
?>
$SQL[] = "DELETE FROM conf_settings WHERE conf_key IN ('rte_width', 'rte_pm_width');";
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -18,8 +18,6 @@
// $SQL[] = "";
$SQL[] = "DELETE FROM ibf_conf_settings_titles WHERE conf_title_keyword='httpapi';";
$SQL[] = "DELETE FROM ibf_conf_settings WHERE conf_key='emo_per_row';";
$SQL[] = "DELETE FROM conf_settings_titles WHERE conf_title_keyword='httpapi';";
$SQL[] = "DELETE FROM conf_settings WHERE conf_key='emo_per_row';";
?>
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -18,20 +18,19 @@
// $SQL[] = "";
$SQL[] = "DELETE FROM ibf_conf_settings WHERE conf_key='converge_login_method';";
$SQL[] = "DELETE FROM conf_settings WHERE conf_key='converge_login_method';";
$SQL[] = "ALTER TABLE ibf_member_extra CHANGE avatar_location avatar_location varchar(255) NOT NULL default '';";
$SQL[] = "ALTER TABLE member_extra CHANGE avatar_location avatar_location varchar(255) NOT NULL default '';";
$SQL[] = "ALTER TABLE ibf_skin_sets CHANGE set_css set_css mediumtext NULL,
$SQL[] = "ALTER TABLE skin_sets CHANGE set_css set_css mediumtext NULL,
CHANGE set_cache_macro set_cache_macro mediumtext NULL,
CHANGE set_wrapper set_wrapper mediumtext NULL,
CHANGE set_cache_css set_cache_css mediumtext NULL,
CHANGE set_cache_wrapper set_cache_wrapper mediumtext NULL;";
$SQL[] = "ALTER TABLE ibf_forums CHANGE rules_text rules_text TEXT NULL;";
$SQL[] = "ALTER TABLE forums CHANGE rules_text rules_text TEXT NULL;";
$SQL[] = "ALTER TABLE ibf_cal_events ADD event_all_day TINYINT( 1 ) NOT NULL DEFAULT '0';";
$SQL[] = "ALTER TABLE cal_events ADD event_all_day TINYINT( 1 ) NOT NULL DEFAULT '0';";
?>
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -18,8 +18,7 @@
// $SQL[] = "";
$SQL[] = "ALTER TABLE ibf_forums CHANGE last_title last_title varchar(128) NOT NULL default '';";
$SQL[] = "ALTER TABLE ibf_forums CHANGE last_id last_id int(10) NOT NULL default '0';";
$SQL[] = "UPDATE ibf_components SET com_title='AddOnChat' WHERE com_section='chatsigma';";
$SQL[] = "ALTER TABLE forums CHANGE last_title last_title varchar(128) NOT NULL default '';";
$SQL[] = "ALTER TABLE forums CHANGE last_id last_id int(10) NOT NULL default '0';";
$SQL[] = "UPDATE components SET com_title='AddOnChat' WHERE com_section='chatsigma';";
?>
@@ -1,28 +1,27 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
+---------------------------------------------------------------------------
*/
$SQL[] = "ALTER TABLE ibf_attachments_type ADD index(atype_extension);";
$SQL[] = "DELETE FROM ibf_admin_permission_keys WHERE perm_key='content:mem:add';";
$SQL[] = "ALTER TABLE ibf_upgrade_history CHANGE upgrade_notes upgrade_notes TEXT NULL;";
$SQL[] = "ALTER TABLE ibf_attachments_type ADD INDEX atype ( atype_post , atype_photo );";
$SQL[] = "ALTER TABLE ibf_moderator_logs CHANGE query_string query_string TEXT NULL;";
$SQL[] = "ALTER TABLE ibf_rss_import CHANGE rss_import_url rss_import_url TEXT NULL;";
?>
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.1.2
| ========================================
| 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
+---------------------------------------------------------------------------
*/
$SQL[] = "ALTER TABLE attachments_type ADD index(atype_extension);";
$SQL[] = "DELETE FROM admin_permission_keys WHERE perm_key='content:mem:add';";
$SQL[] = "ALTER TABLE upgrade_history CHANGE upgrade_notes upgrade_notes TEXT NULL;";
$SQL[] = "ALTER TABLE attachments_type ADD INDEX atype ( atype_post , atype_photo );";
$SQL[] = "ALTER TABLE moderator_logs CHANGE query_string query_string TEXT NULL;";
$SQL[] = "ALTER TABLE rss_import CHANGE rss_import_url rss_import_url TEXT NULL;";
@@ -1,43 +1,42 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
+---------------------------------------------------------------------------
*/
$SQL[] = "ALTER TABLE ibf_forums CHANGE last_title last_title VARCHAR( 250 ) NULL DEFAULT NULL ,
CHANGE newest_title newest_title VARCHAR( 250 ) NULL DEFAULT NULL ;";
$SQL[] = "CREATE TABLE ibf_skin_url_mapping (
map_id INT(10) NOT NULL auto_increment,
map_title VARCHAR(200) NOT NULL default '',
map_match_type VARCHAR(10) NOT NULL default 'contains',
map_url VARCHAR(200) NOT NULL default '',
map_skin_set_id INT(10) UNSIGNED NOT NULL default '0',
map_date_added INT(10) UNSIGNED NOT NULL default '0',
PRIMARY KEY (map_id)
);";
$SQL[] = "ALTER TABLE ibf_mail_queue ADD mail_html_on INT(1) NOT NULL default '0';";
$SQL[] = "ALTER TABLE ibf_skin_templates ADD group_names_secondary TEXT NULL;";
$SQL[] = "CREATE TABLE ibf_skin_template_links (
link_id INT(10) UNSIGNED NOT NULL auto_increment,
link_set_id INT(10) UNSIGNED NOT NULL default '0',
link_group_name VARCHAR(255) NOT NULL default '',
link_template_name VARCHAR(255) NOT NULL default '',
link_used_in VARCHAR(255) NOT NULL default '',
PRIMARY KEY (link_id)
);";
?>
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.1.2
| ========================================
| 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
+---------------------------------------------------------------------------
*/
$SQL[] = "ALTER TABLE forums CHANGE last_title last_title VARCHAR( 250 ) NULL DEFAULT NULL ,
CHANGE newest_title newest_title VARCHAR( 250 ) NULL DEFAULT NULL ;";
$SQL[] = "CREATE TABLE skin_url_mapping (
map_id INT(10) NOT NULL auto_increment,
map_title VARCHAR(200) NOT NULL default '',
map_match_type VARCHAR(10) NOT NULL default 'contains',
map_url VARCHAR(200) NOT NULL default '',
map_skin_set_id INT(10) UNSIGNED NOT NULL default '0',
map_date_added INT(10) UNSIGNED NOT NULL default '0',
PRIMARY KEY (map_id)
);";
$SQL[] = "ALTER TABLE mail_queue ADD mail_html_on INT(1) NOT NULL default '0';";
$SQL[] = "ALTER TABLE skin_templates ADD group_names_secondary TEXT NULL;";
$SQL[] = "CREATE TABLE skin_template_links (
link_id INT(10) UNSIGNED NOT NULL auto_increment,
link_set_id INT(10) UNSIGNED NOT NULL default '0',
link_group_name VARCHAR(255) NOT NULL default '',
link_template_name VARCHAR(255) NOT NULL default '',
link_used_in VARCHAR(255) NOT NULL default '',
PRIMARY KEY (link_id)
);";
@@ -1,22 +1,22 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
$SQL[] = "alter table ibf_topics add index last_post_sorting(last_post,forum_id);";
$SQL[] = "alter table ibf_profile_comments drop index my_comments;";
$SQL[] = "alter table ibf_profile_comments add index my_comments (comment_for_member_id,comment_date);";
$SQL[] = "ALTER TABLE ibf_sessions ADD INDEX ( running_time );";
$SQL[] = "alter table topics add index last_post_sorting(last_post,forum_id);";
$SQL[] = "alter table profile_comments drop index my_comments;";
$SQL[] = "alter table profile_comments add index my_comments (comment_for_member_id,comment_date);";
$SQL[] = "ALTER TABLE sessions ADD INDEX ( running_time );";
$SQL[] = "ALTER TABLE ibf_conf_settings DROP conf_help_key;";
$SQL[] = "ALTER TABLE conf_settings DROP conf_help_key;";
@@ -1,20 +1,19 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
$SQL[] = "ALTER TABLE ibf_skin_sets ADD set_key VARCHAR( 32 ) NULL ;";
$SQL[] = "ALTER TABLE ibf_skin_sets ADD INDEX ( set_key ) ;";
$SQL[] = "ALTER TABLE skin_sets ADD set_key VARCHAR( 32 ) NULL ;";
$SQL[] = "ALTER TABLE skin_sets ADD INDEX ( set_key ) ;";
?>
@@ -1,50 +1,44 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
+---------------------------------------------------------------------------
*/
$SQL[] = "delete from ibf_conf_settings where conf_key='csite_search_show';";
$SQL[] = "delete from ibf_conf_settings where conf_key='csite_skinchange_show';";
$SQL[] = "ALTER TABLE ibf_forums CHANGE last_poster_name last_poster_name VARCHAR( 255 ) NULL DEFAULT NULL;";
$SQL[] = "ALTER TABLE ibf_announcements ADD announce_nlbr_enabled TINYINT( 1 ) NOT NULL DEFAULT '0';";
$SQL[] = "ALTER TABLE ibf_subscription_trans CHANGE subtrans_start_date subtrans_start_date VARCHAR( 13 ) NOT NULL DEFAULT '0', CHANGE subtrans_end_date subtrans_end_date VARCHAR( 13 ) NOT NULL DEFAULT '0';";
$SQL[] = "CREATE TABLE ibf_api_log (
api_log_id int(10) unsigned NOT NULL auto_increment,
api_log_key VARCHAR(32) NOT NULL,
api_log_ip VARCHAR(16) NOT NULL,
api_log_date INT(10) NOT NULL,
api_log_query TEXT NOT NULL,
api_log_allowed TINYINT(1) unsigned NOT NULL,
PRIMARY KEY (api_log_id)
);";
$SQL[] = "CREATE TABLE ibf_api_users (
api_user_id INT(4) unsigned NOT NULL auto_increment,
api_user_key CHAR(32) NOT NULL,
api_user_name VARCHAR(32) NOT NULL,
api_user_perms TEXT NOT NULL,
api_user_ip VARCHAR(16) NOT NULL,
PRIMARY KEY (api_user_id)
);";
$SQL[] = "ALTER TABLE ibf_skin_sets ADD set_protected TINYINT( 1 ) NOT NULL DEFAULT '0';";
?>
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.1.2
| ========================================
| 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
+---------------------------------------------------------------------------
*/
$SQL[] = "delete from conf_settings where conf_key='csite_search_show';";
$SQL[] = "delete from conf_settings where conf_key='csite_skinchange_show';";
$SQL[] = "ALTER TABLE forums CHANGE last_poster_name last_poster_name VARCHAR( 255 ) NULL DEFAULT NULL;";
$SQL[] = "ALTER TABLE announcements ADD announce_nlbr_enabled TINYINT( 1 ) NOT NULL DEFAULT '0';";
$SQL[] = "ALTER TABLE subscription_trans CHANGE subtrans_start_date subtrans_start_date VARCHAR( 13 ) NOT NULL DEFAULT '0', CHANGE subtrans_end_date subtrans_end_date VARCHAR( 13 ) NOT NULL DEFAULT '0';";
$SQL[] = "CREATE TABLE api_log (
api_log_id int(10) unsigned NOT NULL auto_increment,
api_log_key VARCHAR(32) NOT NULL,
api_log_ip VARCHAR(16) NOT NULL,
api_log_date INT(10) NOT NULL,
api_log_query TEXT NOT NULL,
api_log_allowed TINYINT(1) unsigned NOT NULL,
PRIMARY KEY (api_log_id)
);";
$SQL[] = "CREATE TABLE api_users (
api_user_id INT(4) unsigned NOT NULL auto_increment,
api_user_key CHAR(32) NOT NULL,
api_user_name VARCHAR(32) NOT NULL,
api_user_perms TEXT NOT NULL,
api_user_ip VARCHAR(16) NOT NULL,
PRIMARY KEY (api_user_id)
);";
$SQL[] = "ALTER TABLE skin_sets ADD set_protected TINYINT( 1 ) NOT NULL DEFAULT '0';";
@@ -1,25 +1,22 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
$SQL[] = "ALTER TABLE ibf_profile_portal ADD pp_about_me MEDIUMTEXT NULL;";
$SQL[] = "ALTER TABLE profile_portal ADD pp_about_me MEDIUMTEXT NULL;";
$SQL[] = "ALTER TABLE ibf_moderator_logs CHANGE topic_title topic_title VARCHAR( 255 ) NULL DEFAULT NULL ,
$SQL[] = "ALTER TABLE moderator_logs CHANGE topic_title topic_title VARCHAR( 255 ) NULL DEFAULT NULL ,
CHANGE query_string query_string VARCHAR( 255 ) NULL DEFAULT NULL ;";
$SQL[] = "UPDATE ibf_cal_events SET event_unix_from= (event_unix_from - (event_tz * 2)) WHERE event_timeset != 0;";
?>
$SQL[] = "UPDATE cal_events SET event_unix_from= (event_unix_from - (event_tz * 2)) WHERE event_timeset != 0;";
@@ -1,20 +1,17 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
$SQL[] = "DELETE FROM ibf_conf_settings WHERE conf_key='bot_antispam' OR conf_key='guest_captcha';";
?>
$SQL[] = "DELETE FROM conf_settings WHERE conf_key='bot_antispam' OR conf_key='guest_captcha';";
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -60,3 +60,7 @@ ADD pp_status_update VARCHAR( 13 ) NOT NULL DEFAULT '0';";
$SQL[] = "UPDATE groups SET g_icon=REPLACE(g_icon,'style_images/<#IMG_DIR#>/folder_team_icons/admin.gif','public/style_extra/team_icons/admin.png');";
$SQL[] = "UPDATE groups SET g_icon=REPLACE(g_icon,'style_images/<#IMG_DIR#>/folder_team_icons/','public/style_extra/team_icons/');";
/* Adding this here so permsBbcode section doesn't throw error */
$SQL[] = "ALTER TABLE bbcode_mediatag ADD mediatag_position SMALLINT NOT NULL DEFAULT '0';";
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -1,22 +1,22 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
# INSERTS AND UPDATES
$SQL[] = <<<EOF
INSERT INTO core_sys_lang VALUES(1, 'ru_RU.UTF-8', 'Русский (RU)', 'USD', '$', '.', ',', 1, 0)
INSERT INTO core_sys_lang VALUES(1, 'ru_RU.UTF-8', 'Русский (RU)', 'USD', '$', '.', ',', 1, 0);
EOF;
$SQL[] = <<<EOF
@@ -71,7 +71,7 @@ EOF;
$SQL[] = <<<EOF
INSERT INTO pfields_data (pf_id, pf_title, pf_desc, pf_content, pf_type, pf_not_null, pf_member_hide, pf_max_input, pf_member_edit, pf_position, pf_show_on_reg, pf_input_format, pf_admin_only, pf_topic_format, pf_group_id, pf_icon, pf_key) VALUES
(NULL, 'AIM', '', '', 'input', 0, 0, 0, 0, 0, 0, '', 0, '', 1, 'style_extra/cprofile_icons/profile_aim.gif', 'aim'),
(NULL, 'AIM', '', '', 'input', 0, 0, 0, 1, 0, 0, '', 0, '', 1, 'style_extra/cprofile_icons/profile_aim.gif', 'aim'),
(NULL, 'MSN', '', '', 'input', 0, 0, 0, 1, 0, 0, '', 0, '', 1, 'style_extra/cprofile_icons/profile_msn.gif', 'msn'),
(NULL, 'Сайт', '', '', 'input', 0, 0, 0, 1, 0, 0, '', 0, '', 1, 'style_extra/cprofile_icons/profile_website.gif', 'website'),
(NULL, 'ICQ', '', '', 'input', 0, 0, 0, 1, 0, 0, '', 0, '', 1, 'style_extra/cprofile_icons/profile_icq.gif', 'icq'),
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -1,20 +1,22 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.2
* Upgrade Class
*
* Class to add options and notices for IP.Board upgrade
* Last Updated: $Date: 2009-02-13 17:09:43 +0000 (Fri, 13 Feb 2009) $
* Last Updated: $Date: 2010-05-03 19:34:02 -0400 (Mon, 03 May 2010) $
* </pre>
*
* @author Matt Mecham <matt@invisionpower.com>
* @version $Rev: 3957 $
* @version $Rev: 6205 $
* @since 3.0
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @link http://www.iinvisionpower.com
* @package Invision Power Board
* @license http://www.invisionpower.com/community/board/license.html
* @link http://www.invisionpower.com
* @package IP.Board
*/
class version_class_30001
@@ -142,6 +144,22 @@ EOF;
return $notices;
}
/**
* Return any pre-installation notices
*
* @access public
* @return array Array of notices
*/
public function preInstallNotices()
{
$notices = array();
$notices[] = "Skins made for prior versions will not be compatible with this version. The default skin will be restored.";
return $notices;
}
}
?>
@@ -2,15 +2,15 @@
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -362,8 +362,8 @@ class version_upgrade
$apps['ips']['portal']['_currentLong'] = '30003';
$apps['ips']['portal']['_currentHuman'] = '3.0.0';
$apps['ips']['chat']['_currentLong'] = '30003';
$apps['ips']['chat']['_currentHuman'] = '3.0.0';
//$apps['ips']['chat']['_currentLong'] = '30003';
//$apps['ips']['chat']['_currentHuman'] = '3.0.0';
$apps['ips']['calendar']['_currentLong'] = '30003';
$apps['ips']['calendar']['_currentHuman'] = '3.0.0';
@@ -1278,6 +1278,9 @@ class version_upgrade
'msg_is_first_post' => 1 ) );
$postID = $this->DB->getInsertId();
/* Update attachments */
$this->DB->update( 'attachments', array( 'attach_rel_id' => $postID ), "attach_rel_module='msg' AND attach_rel_id=".$post['msg_id'] );
/* Define some stuff. "To" member is added last in IPB 2 */
$_tmp = $oldTopics;
ksort( $_tmp );
@@ -1408,7 +1411,7 @@ class version_upgrade
$this->DB->build( array( 'select' => '*',
'from' => 'members',
'where' => $this->DB->buildLength('ignored_users') . ' > 0',
'where' => method_exists( $this->DB, 'setTableIdentityInsert' ) ? 'ignored_users NOT LIKE \'\'' : $this->DB->buildLength('ignored_users') . ' > 0',
'order' => 'member_id ASC',
'limit' => array( $start, $pergo ) ) );
@@ -1545,7 +1548,8 @@ class version_upgrade
}
$this->registry->output->addMessage( "Обновление опросов завершено." );
$this->request['workact'] = 'finish';
$this->request['workact'] = 'finish';
$this->request['st'] = 0;
}
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
@@ -2,15 +2,15 @@
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2004 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| 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
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
@@ -1,15 +1,15 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.0.5
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.iinvisionpower.com
| ========================================
| Web: http://www.iinvisionboard.com
| Email: matt@iinvisionpower.com
| Licence Info: http://www.iinvisionboard.com/?license
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
@@ -0,0 +1,484 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
# 3.1.0 Beta 1
$PRE = trim(ipsRegistry::dbFunctions()->getPrefix());
$DB = ipsRegistry::DB();
$SQL[] = "ALTER TABLE members CHANGE language language MEDIUMINT( 4 ) NULL DEFAULT NULL;";
$has_right_index = false;
$has_wrong_index = false;
$DB->query( "SHOW INDEX FROM {$PRE}rss_import;" );
while ( $row = $DB->fetch() )
{
if ( $row['Key_name'] == 'rss_grab' )
{
$has_right_index = true;
}
if ( $row['Key_name'] == 'rss_import_enabled' )
{
$has_wrong_index = true;
}
}
if ( $has_wrong_index )
{
$SQL[] = "ALTER TABLE rss_import DROP INDEX rss_import_enabled;";
}
if ( !$has_right_index )
{
$SQL[] = "ALTER TABLE rss_import ADD INDEX rss_grab ( rss_import_enabled , rss_import_last_import );";
}
$SQL[] = "ALTER TABLE core_item_markers ADD item_is_deleted INT(1) NOT NULL DEFAULT '0';";
$SQL[] = "ALTER TABLE core_item_markers DROP INDEX item_member_id;";
$SQL[] = "ALTER TABLE core_item_markers ADD INDEX item_member_id (item_member_id, item_is_deleted);";
$SQL[] = "ALTER TABLE pfields_data ADD pf_search_type varchar(5) NOT NULL default 'loose';";
$SQL[] = "UPDATE pfields_data SET pf_search_type = 'loose';";
$SQL[] = "DELETE FROM core_sys_conf_settings WHERE conf_key='photo_ext';";
$SQL[] = "delete from core_sys_conf_settings where conf_key='seo_r301';";
$SQL[] = "DELETE from core_sys_settings_titles WHERE conf_title_keyword='searchenginespiders';";
$SQL[] = "ALTER TABLE sessions CHANGE login_type login_type tinyint(1) default '0';";
$SQL[] = "ALTER TABLE sessions CHANGE location_1_type location_1_type VARCHAR( 255 ) NOT NULL;";
$SQL[] = "ALTER TABLE sessions CHANGE location_2_type location_2_type VARCHAR( 255 ) NOT NULL;";
$SQL[] = "ALTER TABLE sessions CHANGE location_3_type location_3_type VARCHAR( 255 ) NOT NULL;";
$SQL[] = "ALTER TABLE core_sys_cp_sessions ADD INDEX ( session_running_time );";
$SQL[] = "ALTER TABLE core_sys_cp_sessions ADD INDEX ( session_member_id );";
$SQL[] = "ALTER TABLE upgrade_history ADD INDEX upgrades ( upgrade_app , upgrade_version_id );";
$SQL[] = "ALTER TABLE validating ADD INDEX ( lost_pass );";
$SQL[] = "ALTER TABLE members ADD INDEX ( failed_login_count );";
$SQL[] = "ALTER TABLE validating ADD INDEX ( coppa_user );";
$SQL[] = "ALTER TABLE api_log ADD INDEX ( api_log_date );";
$SQL[] = "ALTER TABLE core_applications ADD INDEX ( app_directory );";
$SQL[] = "ALTER TABLE bulk_mail ADD INDEX ( mail_start );";
$SQL[] = "ALTER TABLE skin_collections ADD INDEX ( set_is_default );";
$SQL[] = "ALTER TABLE members ADD INDEX ( joined );";
$SQL[] = "ALTER TABLE rc_classes ADD INDEX ( onoff , mod_group_perm );";
//-----------------------------------------
// @link http://community.invisionpower.com/tracker/issue-22903-error-on-upgrade-305-to-310/
//-----------------------------------------
$_tasks = array();
$DB->build( array( 'select' => 'task_id, task_key, task_application', 'from' => 'task_manager' ) );
$DB->execute();
while( $_r = $DB->fetch() )
{
$_tasks[ $_r['task_key'] . $_r['task_application'] ] = $_r['task_id'];
}
$SQL[] = "DELETE FROM task_manager WHERE task_key='' OR task_key IS NULL;";
$SQL[] = "DELETE FROM task_manager WHERE task_application='' OR task_application IS NULL;";
if( is_array($_tasks) AND count($_tasks) )
{
$SQL[] = "DELETE FROM task_manager WHERE task_id NOT IN(" . implode( ',', $_tasks ) . ");";
}
$SQL[] = "ALTER TABLE task_manager ADD UNIQUE task_key ( task_application , task_key );";
$SQL[] = "ALTER TABLE reputation_index ADD INDEX member_rep ( member_id , rep_rating , rep_date );";
$SQL[] = "ALTER TABLE announcements ADD INDEX ( announce_end );";
if ( $DB->checkForTable( 'cal_events' ) )
{
$SQL[] = "ALTER TABLE cal_events DROP INDEX daterange;";
$SQL[] = "ALTER TABLE cal_events ADD INDEX daterange ( event_approved , event_unix_from , event_unix_to );";
$SQL[] = "ALTER TABLE cal_calendars ADD INDEX ( cal_rss_export );";
}
$SQL[] = "ALTER TABLE core_sys_conf_settings ADD INDEX conf_group ( conf_group , conf_position , conf_title );";
$SQL[] = "ALTER TABLE core_uagent_groups ADD INDEX ( ugroup_title );";
$SQL[] = "ALTER TABLE core_uagents ADD INDEX ordering ( uagent_position , uagent_key );";
$SQL[] = "ALTER TABLE core_sys_conf_settings ADD INDEX ( conf_add_cache );";
$SQL[] = "ALTER TABLE emoticons ADD INDEX ( emo_set );";
$SQL[] = "ALTER TABLE skin_templates ADD INDEX ( template_set_id );";
$SQL[] = "ALTER TABLE skin_css ADD INDEX ( css_set_id );";
$SQL[] = "ALTER TABLE message_topic_user_map DROP INDEX map_user;";
$SQL[] = "ALTER TABLE message_topic_user_map ADD INDEX map_user ( map_user_id , map_folder_id , map_last_topic_reply );";
$SQL[] = "ALTER TABLE validating ADD spam_flag TINYINT NOT NULL DEFAULT '0';";
$SQL[] = "ALTER TABLE validating ADD INDEX ( spam_flag );";
$SQL[] = "ALTER TABLE validating ADD INDEX ( member_id );";
$SQL[] = "ALTER TABLE core_sys_lang ADD lang_protected tinyint(1) NOT NULL DEFAULT '0';";
$SQL[] = "CREATE TABLE member_status_actions (
action_id int(10) NOT NULL AUTO_INCREMENT,
action_status_id int(10) unsigned NOT NULL DEFAULT '0',
action_reply_id int(10) unsigned NOT NULL DEFAULT '0',
action_member_id int(10) unsigned NOT NULL DEFAULT '0',
action_date int(10) unsigned NOT NULL DEFAULT '0',
action_key varchar(200) NOT NULL DEFAULT '',
action_status_owner int(10) unsigned NOT NULL DEFAULT '0',
action_app varchar(255) NOT NULL DEFAULT 'members',
action_custom_text text,
action_custom int(1) NOT NULL DEFAULT '0',
action_custom_url text,
PRIMARY KEY (action_id),
KEY action_status_id (action_status_id),
KEY action_member_id ( action_member_id , action_date ),
KEY action_date (action_date),
KEY action_custom ( action_custom , action_date )
);";
$SQL[] = "CREATE TABLE member_status_replies (
reply_id int(10) NOT NULL AUTO_INCREMENT,
reply_status_id int(10) unsigned NOT NULL DEFAULT '0',
reply_member_id int(10) unsigned NOT NULL DEFAULT '0',
reply_date int(10) unsigned NOT NULL DEFAULT '0',
reply_content text,
PRIMARY KEY (reply_id),
KEY reply_status_id (reply_status_id),
KEY reply_member_id (reply_member_id),
KEY reply_status_count (reply_status_id,reply_member_id),
KEY reply_date (reply_date)
);";
$SQL[] = "CREATE TABLE member_status_updates (
status_id int(10) NOT NULL AUTO_INCREMENT,
status_member_id int(10) unsigned NOT NULL DEFAULT '0',
status_date int(10) unsigned NOT NULL DEFAULT '0',
status_content text,
status_replies int(10) unsigned NOT NULL DEFAULT '0',
status_last_ids text,
status_is_latest int(1) NOT NULL DEFAULT '0',
status_is_locked int(1) NOT NULL DEFAULT '0',
status_hash varchar(32) NOT NULL DEFAULT '',
status_imported int(1) NOT NULL DEFAULT '0',
status_creator varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (status_id),
KEY status_member_id (status_member_id),
KEY status_date (status_date),
KEY status_is_latest ( status_is_latest , status_date ),
KEY s_hash (status_member_id,status_hash,status_imported)
);";
$SQL[] = "CREATE TABLE inline_notifications (
notify_id INT NOT NULL AUTO_INCREMENT ,
notify_to_id INT NOT NULL DEFAULT '0',
notify_sent INT(10) NOT NULL DEFAULT '0',
notify_read INT(10) NOT NULL DEFAULT '0',
notify_title text NULL ,
notify_text TEXT NULL DEFAULT NULL ,
notify_from_id INT NOT NULL DEFAULT '0',
notify_type_key VARCHAR( 255 ) NULL DEFAULT NULL ,
notify_url text null,
PRIMARY KEY (notify_id),
KEY notify_to_id ( notify_to_id , notify_sent ),
KEY grabber (notify_to_id, notify_read, notify_sent)
);";
$SQL[] = "CREATE TABLE core_soft_delete_log (
sdl_id int(10) NOT NULL AUTO_INCREMENT,
sdl_obj_id int(10) NOT NULL DEFAULT '0',
sdl_obj_key varchar(20) NOT NULL DEFAULT '',
sdl_obj_member_id int(10) NOT NULL DEFAULT '0',
sdl_obj_date int(10) NOT NULL DEFAULT '0',
sdl_obj_reason text,
sdl_locked int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (sdl_id),
KEY look_up (sdl_obj_id,sdl_obj_key)
);";
$SQL[] = "CREATE TABLE twitter_connect (
t_key VARCHAR(32) NOT NULL default '',
t_token VARCHAR(255) NOT NULL default '',
t_secret VARCHAR(255) NOT NULL default '',
t_time INT(10) NOT NULL default '0'
);";
$SQL[] = "CREATE TABLE core_share_links (
share_id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
share_title VARCHAR(255) NOT NULL DEFAULT '',
share_url TEXT,
share_key VARCHAR(50) NOT NULL DEFAULT '',
share_enabled INT(1) NOT NULL DEFAULT '0',
share_position INT(3) NOT NULL DEFAULT '0',
share_markup TEXT,
share_canonical INT(1) NOT NULL DEFAULT '1',
PRIMARY KEY share_id (share_id)
);";
$SQL[] = "CREATE TABLE core_share_links_log (
log_id INT(10) NOT NULL auto_increment,
log_date INT(10) NOT NULL default '0',
log_member_id INT(10) NOT NULL default '0',
log_url TEXT,
log_title TEXT,
log_share_key VARCHAR(50) NOT NULL default '',
log_data_app VARCHAR(50) NOT NULL default '',
log_data_type VARCHAR(50) NOT NULL default '',
log_data_primary_id INT(10) NOT NULL default '0',
log_data_secondary_id INT(10) NOT NULL default '0',
log_ip_address VARCHAR(16) NOT NULL DEFAULT '',
PRIMARY KEY log_id (log_id),
KEY findstuff (log_data_app, log_data_type, log_data_primary_id),
KEY log_date (log_date),
KEY log_member_id (log_member_id),
KEY log_share_key (log_share_key),
KEY log_ip_address (log_ip_address)
);";
$SQL[] = "CREATE TABLE core_share_links_caches (
cache_id INT(10) NOT NULL auto_increment,
cache_key VARCHAR(255) NOT NULL default '',
cache_data MEDIUMTEXT,
cache_date INT(10) NOT NULL default '0',
PRIMARY KEY cache_id( cache_id )
);";
$SQL[] = "CREATE TABLE core_incoming_emails (
rule_id INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
rule_criteria_field VARCHAR( 4 ) NOT NULL ,
rule_criteria_type VARCHAR( 4 ) NOT NULL ,
rule_criteria_value TEXT NOT NULL ,
rule_app VARCHAR( 255 ) NOT NULL ,
rule_added_by MEDIUMINT( 8 ) NOT NULL ,
rule_added_date INT( 10 ) NOT NULL
);";
$SQL[] = "CREATE TABLE search_sessions (
session_id VARCHAR(32) NOT NULL DEFAULT '',
session_created INT(10) NOT NULL DEFAULT '0',
session_updated INT(10) NOT NULL DEFAULT '0',
session_member_id INT(10) NOT NULL DEFAULT '0',
session_data MEDIUMTEXT,
KEY session_updated (session_updated),
PRIMARY KEY (session_id)
);";
$SQL[] = "CREATE TABLE skin_merge_session (
merge_id INT(10) NOT NULL auto_increment,
merge_date INT(10) NOT NULL DEFAULT '0',
merge_set_id INT(10) NOT NULL DEFAULT '0',
merge_master_key VARCHAR(200) NOT NULL DEFAULT '',
merge_old_version VARCHAR(200) NOT NULL DEFAULT '',
merge_new_version VARCHAR(200) NOT NULL DEFAULT '',
merge_templates_togo INT(10) NOT NULL DEFAULT '0',
merge_css_togo INT(10) NOT NULL DEFAULT '0',
merge_templates_done INT(10) NOT NULL DEFAULT '0',
merge_css_done INT(10) NOT NULL DEFAULT '0',
merge_m_templates_togo INT(10) NOT NULL DEFAULT '0',
merge_m_css_togo INT(10) NOT NULL DEFAULT '0',
merge_m_templates_done INT(10) NOT NULL DEFAULT '0',
merge_m_css_done INT(10) NOT NULL DEFAULT '0',
merge_diff_done INT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (merge_id)
);";
$SQL[] = "CREATE TABLE skin_merge_changes (
change_id INT(10) NOT NULL auto_increment,
change_key VARCHAR(255) NOT NULL DEFAULT '',
change_session_id INT(10) NOT NULL DEFAULT '0',
change_updated INT(10) NOT NULL DEFAULT '0',
change_data_group VARCHAR(255) NOT NULL DEFAULT '',
change_data_title VARCHAR(255) NOT NULL DEFAULT '',
change_data_content MEDIUMTEXT,
change_data_type VARCHAR(10) NOT NULL DEFAULT 'template',
change_is_new INT(1) NOT NULL DEFAULT '0',
change_is_diff INT(1) NOT NULL DEFAULT '0',
change_can_merge INT(1) NOT NULL DEFAULT '0',
change_merge_content MEDIUMTEXT,
change_is_conflict INT(1) NOT NULL DEFAULT '0',
change_final_content MEDIUMTEXT,
change_changes_applied INT(1) NOT NULL DEFAULT '0',
change_original_content MEDIUMTEXT,
PRIMARY KEY (change_id),
KEY (change_key, change_data_type)
);";
$SQL[] = "CREATE TABLE facebook_oauth_temp (
f_key VARCHAR(32) NOT NULL default '',
f_token VARCHAR(255) NOT NULL default '',
f_time INT(10) NOT NULL default '0'
);";
$SQL[] = "INSERT INTO member_status_updates (status_member_id, status_date, status_content, status_replies, status_is_latest ) SELECT pp_member_id, pp_status_update, pp_status, 0, 1 FROM `{$PRE}profile_portal` WHERE LENGTH(pp_status) > 0;";
$SQL[] = "ALTER TABLE members ADD twitter_id VARCHAR(255) NOT NULL DEFAULT '';";
$SQL[] = "ALTER TABLE members ADD twitter_token VARCHAR(255) NOT NULL DEFAULT '';";
$SQL[] = "ALTER TABLE members ADD twitter_secret VARCHAR(255) NOT NULL DEFAULT '';";
$SQL[] = "ALTER TABLE members ADD notification_cnt MEDIUMINT NOT NULL DEFAULT '0';";
$SQL[] = "ALTER TABLE members ADD tc_lastsync INT(10) NOT NULL default '0';";
$SQL[] = "ALTER TABLE members ADD fb_session VARCHAR(200) NOT NULL default '';";
$SQL[] = "ALTER TABLE members DROP fb_emailallow;";
$SQL[] = "ALTER TABLE members ADD fb_token TEXT NULL;";
$SQL[] = "ALTER TABLE members ADD INDEX fb_uid (fb_uid);";
$SQL[] = "ALTER TABLE members ADD INDEX twitter_id (twitter_id);";
$SQL[] = "ALTER TABLE profile_portal ADD tc_last_sid_import BIGINT(20) UNSIGNED NOT NULL default '0';";
$SQL[] = "ALTER TABLE profile_portal ADD tc_photo text;";
$SQL[] = "ALTER TABLE profile_portal ADD tc_bwoptions int(10) unsigned NOT NULL default '0';";
$SQL[] = "ALTER TABLE profile_portal ADD pp_customization mediumtext;";
$SQL[] = "ALTER TABLE groups ADD g_max_notifications MEDIUMINT NOT NULL DEFAULT '0';";
$SQL[] = "ALTER TABLE groups ADD g_max_bgimg_upload INT(10) NOT NULL default '0';";
$SQL[] = "ALTER TABLE rc_classes ADD app VARCHAR( 32 ) NOT NULL;";
$SQL[] = "ALTER TABLE forums ADD disable_sharelinks INT(1) NOT NULL default '0';";
$SQL[] = "ALTER TABLE topics ADD topic_deleted_posts INT(10) NOT NULL default '0';";
$SQL[] = "ALTER TABLE forums ADD deleted_posts INT(10) NOT NULL default '0';";
$SQL[] = "ALTER TABLE forums ADD deleted_topics INT(10) NOT NULL default '0';";
$SQL[] = "ALTER TABLE forums ADD rules_raw_html tinyint(1) NOT NULL default '0';";
$SQL[] = "UPDATE rc_classes SET app='core' WHERE my_class='default';";
$SQL[] = "UPDATE rc_classes SET app='forums' WHERE my_class='post';";
$SQL[] = "UPDATE rc_classes SET app='blog' WHERE my_class='blog';";
$SQL[] = "UPDATE rc_classes SET app='gallery' WHERE my_class='gallery';";
$SQL[] = "UPDATE rc_classes SET app='downloads' WHERE my_class='downloads';";
$SQL[] = "UPDATE rc_classes SET app='members' WHERE my_class='messages';";
$SQL[] = "UPDATE rc_classes SET app='members' WHERE my_class='profiles';";
$SQL[] = "UPDATE rc_classes SET app='calendar' WHERE my_class='calendar';";
$SQL[] = "INSERT INTO core_share_links VALUES(1, 'Twitter', 'http://twitter.com/home?status={title}%20{url}', 'twitter', 1, 1, '',1);";
$SQL[] = "INSERT INTO core_share_links VALUES(2, 'Facebook', 'http://www.facebook.com/share.php?u={url}', 'facebook', 1, 2, '',1);";
$SQL[] = "INSERT INTO core_share_links VALUES(3, 'Digg', 'http://digg.com/submit?phase=2&amp;url={url}&amp;title={title}', 'digg', 1, 3, '',1);";
$SQL[] = "INSERT INTO core_share_links VALUES(4, 'Del.icio.us', 'http://del.icio.us/post?v=2&amp;url={url}&amp;title={title}', 'delicious', 1, 4, '',1);";
$SQL[] = "INSERT INTO core_share_links VALUES(5, 'Вконтакте', 'http://vkontakte.ru/share.php?url={url}&amp;title={title}', 'vkontakte', 1, 5, '',1);";
$SQL[] = "INSERT INTO core_share_links VALUES(6, 'Мемори', 'http://memori.ru/link/?sm=1&u_data[url]={url}&u_data[name]={title}', 'memori', 1, 6, '',1);";
$SQL[] = "INSERT INTO core_share_links VALUES(7, 'БобрДобр', 'http://bobrdobr.ru/addext.html?url={url}&title={title}', 'bobrdobr', 1, 7, '',1);";
$SQL[] = "INSERT INTO core_share_links VALUES(8, 'Email', '', 'email', 1, 8, '',1);";
$SQL[] = "INSERT INTO core_share_links VALUES(9, 'Buzz', '', 'buzz', 1, 3, '', 1);";
$SQL[] = "INSERT INTO core_share_links VALUES(10, 'Печать', '', 'print', 1, 10, '', 0);";
$SQL[] = "INSERT INTO core_share_links VALUES(11, 'Скачать', '', 'download', 1, 11, '', 0);";
/* Grab stuff */
$DB->build( array( 'select' => '*',
'from' => 'skin_collections' ) );
$DB->execute();
$skins = array();
while( $row = $DB->fetch() )
{
if ( in_array( $row['set_key'], array( 'default', 'lofi', 'xmlskin' ) ) )
{
$skins[ $row['set_key'] ] = $row['set_id'];
}
}
$ids = implode( ',', array_values( $skins ) );
/* Do we have a master skin? */
if ( ! $skins['default'] )
{
/* Insert it */
$DB->insert( 'skin_collections', array( 'set_name' => 'IP.Board',
'set_key' => 'default',
'set_parent_id' => 0,
'set_parent_array' => 'a:0:{}',
'set_child_array' => 'a:0:{}',
'set_permissions' => '*',
'set_is_default' => 0,
'set_author_name' => "Invision Power Services, Inc",
'set_author_url' => 'http://bestcms.ws',
'set_image_dir' => 'master',
'set_emo_dir' => 'default',
'set_hide_from_list' => 1,
'set_css_groups' => '<![CDATA[a:20:{s:6:"1.5832";a:2:{s:9:"css_group";s:15:"calendar_select";s:12:"css_position";s:1:"1";}s:6:"1.5846";a:2:{s:9:"css_group";s:6:"ipblog";s:12:"css_position";s:1:"1";}s:6:"1.5833";a:2:{s:9:"css_group";s:12:"ipb_calendar";s:12:"css_position";s:1:"1";}s:6:"1.5834";a:2:{s:9:"css_group";s:10:"ipb_common";s:12:"css_position";s:1:"1";}s:6:"1.5835";a:2:{s:9:"css_group";s:10:"ipb_editor";s:12:"css_position";s:1:"1";}s:6:"0.5836";a:2:{s:9:"css_group";s:8:"ipb_help";s:12:"css_position";s:1:"0";}s:6:"0.5837";a:2:{s:9:"css_group";s:6:"ipb_ie";s:12:"css_position";s:1:"0";}s:6:"1.5838";a:2:{s:9:"css_group";s:18:"ipb_login_register";s:12:"css_position";s:1:"1";}s:6:"1.5839";a:2:{s:9:"css_group";s:13:"ipb_messenger";s:12:"css_position";s:1:"1";}s:6:"1.5840";a:2:{s:9:"css_group";s:9:"ipb_mlist";s:12:"css_position";s:1:"1";}s:6:"1.5841";a:2:{s:9:"css_group";s:9:"ipb_print";s:12:"css_position";s:1:"1";}s:6:"1.5842";a:2:{s:9:"css_group";s:11:"ipb_profile";s:12:"css_position";s:1:"1";}s:6:"2.5843";a:2:{s:9:"css_group";s:10:"ipb_search";s:12:"css_position";s:1:"2";}s:6:"1.5844";a:2:{s:9:"css_group";s:10:"ipb_styles";s:12:"css_position";s:1:"1";}s:6:"1.5845";a:2:{s:9:"css_group";s:7:"ipb_ucp";s:12:"css_position";s:1:"1";}s:6:"1.5847";a:2:{s:9:"css_group";s:6:"ipchat";s:12:"css_position";s:1:"1";}s:6:"1.5848";a:2:{s:9:"css_group";s:9:"ipcontent";s:12:"css_position";s:1:"1";}s:6:"1.5849";a:2:{s:9:"css_group";s:11:"ipdownloads";s:12:"css_position";s:1:"1";}s:6:"1.5850";a:2:{s:9:"css_group";s:9:"ipgallery";s:12:"css_position";s:1:"1";}s:6:"1.5851";a:2:{s:9:"css_group";s:19:"ipgallery_slideshow";s:12:"css_position";s:1:"1";}}]]>',
'set_output_format' => 'html' ) );
}
/* Do we have a lofi skin? */
if ( ! $skins['lofi'] )
{
/* Insert it */
$DB->insert( 'skin_collections', array( 'set_name' => 'IP.Board Lofi',
'set_key' => 'lofi',
'set_parent_id' => 0,
'set_parent_array' => 'a:0:{}',
'set_child_array' => 'a:0:{}',
'set_permissions' => '*',
'set_is_default' => 0,
'set_author_name' => "Invision Power Services, Inc",
'set_author_url' => 'http://bestcms.ws',
'set_image_dir' => 'master',
'set_emo_dir' => 'default',
'set_hide_from_list' => 1,
'set_css_groups' => '<![CDATA[a:20:{s:6:"1.5832";a:2:{s:9:"css_group";s:15:"calendar_select";s:12:"css_position";s:1:"1";}s:6:"1.5846";a:2:{s:9:"css_group";s:6:"ipblog";s:12:"css_position";s:1:"1";}s:6:"1.5833";a:2:{s:9:"css_group";s:12:"ipb_calendar";s:12:"css_position";s:1:"1";}s:6:"1.5834";a:2:{s:9:"css_group";s:10:"ipb_common";s:12:"css_position";s:1:"1";}s:6:"1.5835";a:2:{s:9:"css_group";s:10:"ipb_editor";s:12:"css_position";s:1:"1";}s:6:"0.5836";a:2:{s:9:"css_group";s:8:"ipb_help";s:12:"css_position";s:1:"0";}s:6:"0.5837";a:2:{s:9:"css_group";s:6:"ipb_ie";s:12:"css_position";s:1:"0";}s:6:"1.5838";a:2:{s:9:"css_group";s:18:"ipb_login_register";s:12:"css_position";s:1:"1";}s:6:"1.5839";a:2:{s:9:"css_group";s:13:"ipb_messenger";s:12:"css_position";s:1:"1";}s:6:"1.5840";a:2:{s:9:"css_group";s:9:"ipb_mlist";s:12:"css_position";s:1:"1";}s:6:"1.5841";a:2:{s:9:"css_group";s:9:"ipb_print";s:12:"css_position";s:1:"1";}s:6:"1.5842";a:2:{s:9:"css_group";s:11:"ipb_profile";s:12:"css_position";s:1:"1";}s:6:"2.5843";a:2:{s:9:"css_group";s:10:"ipb_search";s:12:"css_position";s:1:"2";}s:6:"1.5844";a:2:{s:9:"css_group";s:10:"ipb_styles";s:12:"css_position";s:1:"1";}s:6:"1.5845";a:2:{s:9:"css_group";s:7:"ipb_ucp";s:12:"css_position";s:1:"1";}s:6:"1.5847";a:2:{s:9:"css_group";s:6:"ipchat";s:12:"css_position";s:1:"1";}s:6:"1.5848";a:2:{s:9:"css_group";s:9:"ipcontent";s:12:"css_position";s:1:"1";}s:6:"1.5849";a:2:{s:9:"css_group";s:11:"ipdownloads";s:12:"css_position";s:1:"1";}s:6:"1.5850";a:2:{s:9:"css_group";s:9:"ipgallery";s:12:"css_position";s:1:"1";}s:6:"1.5851";a:2:{s:9:"css_group";s:19:"ipgallery_slideshow";s:12:"css_position";s:1:"1";}}]]>',
'set_output_format' => 'html' ) );
}
/* Make sure we have a HTML default... */
$skin = $DB->buildAndFetch( array( 'select' => 'set_id',
'from' => 'skin_collections',
'where' => 'set_output_format=\'html\' AND set_is_default=1' ) );
if ( ! $skin['set_id'] )
{
$DB->update( 'skin_collections', array( 'set_is_default' => 1, 'set_hide_from_list' => 0 ), "set_key='default'" );
}
$SQL[] = "ALTER TABLE custom_bbcode ADD bbcode_custom_regex TEXT NULL DEFAULT NULL;";
$SQL[] = "ALTER TABLE skin_templates ADD template_master_key VARCHAR(100) NOT NULL DEFAULT '';";
$SQL[] = "ALTER TABLE skin_templates ADD INDEX template_master_key (template_master_key);";
$SQL[] = "ALTER TABLE skin_css ADD css_master_key VARCHAR(100) NOT NULL DEFAULT '';";
$SQL[] = "ALTER TABLE skin_collections ADD set_master_key VARCHAR(100) NOT NULL DEFAULT '';";
# will need to sort children out too
$uagents = 'a:2:{s:6:"groups";a:0:{}s:7:"uagents";a:10:{s:10:"blackberry";s:0:"";s:6:"iphone";s:0:"";s:9:"ipodtouch";s:0:"";s:12:"sonyericsson";s:0:"";s:5:"nokia";s:0:"";s:8:"motorola";s:0:"";s:7:"samsung";s:0:"";s:3:"htc";s:0:"";s:2:"lg";s:0:"";s:4:"palm";s:0:"";}}';
$SQL[] = "UPDATE skin_collections SET set_master_key='root' WHERE set_key='default';";
$SQL[] = "UPDATE skin_collections SET set_name='IP.Board Mobile', set_master_key='mobile', set_key='mobile', set_image_dir='mobile', set_locked_uagent='{$uagents}' WHERE set_key='lofi';";
$SQL[] = "UPDATE skin_collections SET set_master_key='xmlskin' WHERE set_key='xmlskin';";
$SQL[] = "UPDATE skin_templates SET template_master_key='root' WHERE template_set_id=0;";
$SQL[] = "UPDATE skin_css SET css_master_key='root' WHERE css_set_id=0;";
if ( trim($ids) )
{
$SQL[] = "DELETE FROM skin_templates WHERE template_set_id IN (" . $ids . ");";
$SQL[] = "DELETE FROM skin_css WHERE css_set_id IN (" . $ids . ");";
}
$SQL[] = "ALTER TABLE skin_collections ADD set_order INT( 10 ) NOT NULL;";
$SQL[] = "ALTER TABLE skin_collections ADD INDEX ( set_order );";
$SQL[] = "ALTER TABLE skin_replacements ADD replacement_master_key VARCHAR(100) NOT NULL DEFAULT '';";
$SQL[] = "UPDATE skin_replacements SET replacement_master_key='root' WHERE replacement_set_id=0;";
# Optimizations
$SQL[] = "ALTER TABLE forum_tracker DROP INDEX member_id;";
$SQL[] = "ALTER TABLE forum_tracker ADD INDEX member_id ( member_id , last_sent );";
$SQL[] = "ALTER TABLE tracker DROP INDEX tm_id;";
$SQL[] = "ALTER TABLE tracker ADD INDEX tm_id ( member_id , topic_id , last_sent );";
$SQL[] = "ALTER TABLE forum_tracker ADD INDEX ( forum_track_type );";
$SQL[] = "ALTER TABLE tracker ADD INDEX ( topic_track_type );";
$SQL[] = "ALTER TABLE skin_templates ADD INDEX ( template_name(100) , template_group(100) );";
$SQL[] = "ALTER TABLE members ADD INDEX ( email );";
@@ -0,0 +1,35 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
# 3.1.0 Beta 1
$PRE = trim(ipsRegistry::dbFunctions()->getPrefix());
$DB = ipsRegistry::DB();
if ( ! $DB->checkForField( 'replacement_master_key', 'skin_replacements' ) )
{
$SQL[] = "ALTER TABLE skin_replacements ADD replacement_master_key VARCHAR(100) NOT NULL DEFAULT '';";
$SQL[] = "UPDATE skin_replacements SET replacement_master_key='root' WHERE replacement_set_id=0;";
}
$SQL[] = "CREATE TABLE vkontakte_connect (
v_key varchar(32) NOT NULL default '',
v_user varchar(255) NOT NULL default '',
v_data varchar(255) NOT NULL default '',
v_id bigint(20) NOT NULL
);";
$SQL[] = "ALTER TABLE members ADD vk_uid bigint(20) unsigned NOT NULL default '0';";
$SQL[] = "ALTER TABLE members ADD INDEX vk_uid (vk_uid);";
@@ -0,0 +1,50 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
$DB = ipsRegistry::DB();
$SQL[] = "CREATE TABLE mobile_notifications (
id int(10) unsigned NOT NULL AUTO_INCREMENT,
notify_title text NOT NULL,
notify_date int(10) unsigned NOT NULL,
member_id mediumint(8) unsigned NOT NULL,
notify_sent tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (id),
UNIQUE KEY id (id)
);";
$SQL[] = "ALTER TABLE members ADD ips_mobile_token VARCHAR( 64 ) NULL;";
if ( ! method_exists( $DB, 'checkForIndex' ) )
{
print "Your ips_kernel/classDbMysql.php is out of date! Please update it from the download zip and refresh this browser window";
exit();
}
if ( $DB->checkForIndex( 'group_perms', 'rc_classes' ) )
{
$SQL[] = "ALTER TABLE rc_classes DROP INDEX group_perms;";
}
else if ( $DB->checkForIndex( 'onoff', 'rc_classes' ) )
{
$SQL[] = "ALTER TABLE rc_classes DROP INDEX onoff;";
}
$SQL[] = "ALTER TABLE rc_classes CHANGE group_can_report group_can_report TEXT NULL DEFAULT NULL";
$SQL[] = "ALTER TABLE rc_classes CHANGE mod_group_perm mod_group_perm TEXT NULL DEFAULT NULL;";
$SQL[] = "ALTER TABLE rc_classes ADD INDEX onoff ( onoff , mod_group_perm ( 255 ) );";
$SQL[] = "ALTER TABLE pfields_content DROP updated;";
@@ -0,0 +1,27 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
$DB = ipsRegistry::DB();
$SQL[] = "ALTER TABLE core_item_markers DROP INDEX item_member_id;";
$SQL[] = "ALTER TABLE core_item_markers ADD INDEX item_member_id (item_is_deleted,item_member_id);";
$SQL[] = "UPDATE custom_bbcode SET bbcode_desc='[html]<div class=\"outer\">\n<p>Hello World</p>\n</div>[/html]' where bbcode_tag='html';";
/* Have to add this into 3.0.0 upgrader now, so check here if we're upgrade > 3.0.0 */
if ( ! $DB->checkForField( 'mediatag_position', 'bbcode_mediatag' ) )
{
$SQL[] = "ALTER TABLE bbcode_mediatag ADD mediatag_position SMALLINT NOT NULL DEFAULT '0';";
}
@@ -0,0 +1,10 @@
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -0,0 +1,361 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.1.3
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
$DB = ipsRegistry::DB();
$SQL[] = "CREATE TABLE core_like (
like_id binary(16) NOT NULL default '\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0',
like_lookup_id binary(16) default NULL,
like_app varchar(150) NOT NULL default '',
like_area varchar(200) NOT NULL default '',
like_rel_id bigint(20) unsigned NOT NULL default '0',
like_member_id int(10) unsigned NOT NULL default '0',
like_is_anon int(1) NOT NULL default '0',
like_added int(10) unsigned NOT NULL default '0',
like_notify_do int(1) NOT NULL default '0',
like_notify_meta text,
like_notify_freq varchar(200) NOT NULL default '',
like_notify_sent int(10) unsigned NOT NULL default '0',
PRIMARY KEY (like_id),
KEY find_rel_favs (like_lookup_id,like_is_anon,like_added),
KEY like_member_id (like_member_id,like_added)
)";
$SQL[] = "CREATE TABLE core_like_cache (
like_cache_id binary(16) NOT NULL default '\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0',
like_cache_app varchar(150) NOT NULL default '',
like_cache_area varchar(200) NOT NULL default '',
like_cache_rel_id bigint(20) unsigned NOT NULL default '0',
like_cache_data text,
like_cache_expire int(10) NOT NULL default '0',
PRIMARY KEY (like_cache_id)
);";
$SQL[] = "ALTER TABLE pfields_data ADD pf_filtering TINYINT( 1 ) NOT NULL DEFAULT '0'";
if ( $DB->checkForTable('cal_events') )
{
$SQL[] = "ALTER TABLE cal_events CHANGE event_tz event_tz VARCHAR( 4 ) NOT NULL DEFAULT '0'";
}
$SQL[] = "ALTER TABLE mobile_notifications DROP INDEX id;";
$SQL[] = "ALTER TABLE profile_friends DROP INDEX friends_member_id;";
$SQL[] = "ALTER TABLE member_status_updates DROP INDEX status_member_id;";
$SQL[] = "ALTER TABLE profile_friends_flood DROP INDEX friends_member_id;";
$SQL[] = "ALTER TABLE moderator_logs CHANGE topic_title topic_title TEXT NULL DEFAULT NULL;";
$SQL[] = "ALTER TABLE moderator_logs CHANGE query_string query_string TEXT NULL DEFAULT NULL;";
$SQL[] = "ALTER TABLE moderator_logs CHANGE http_referer http_referer TEXT NULL DEFAULT NULL;";
$SQL[] = "ALTER TABLE moderator_logs CHANGE action action TEXT NULL DEFAULT NULL;";
$SQL[] = "ALTER TABLE profile_portal_views ADD INDEX ( views_member_id );";
$SQL[] = "ALTER TABLE topic_views ADD INDEX ( views_tid );";
$SQL[] = "ALTER TABLE attachments DROP INDEX attach_where;";
$SQL[] = "DELETE FROM core_sys_conf_settings WHERE conf_key='acp_tutorial_mode';";
$SQL[] = "UPDATE skin_templates SET template_data='\$required_output=\'\',\$optional_output=\'\',\$day=\'\',\$mon=\'\',\$year=\'\'' WHERE template_name='membersProfileForm';";
//-----------------------------------------
// Remove unused tables
//-----------------------------------------
if( $DB->checkForTable('facebook_oauth_temp') )
{
$SQL[] = "DROP TABLE facebook_oauth_temp;";
}
if( $DB->checkForTable('search_index') )
{
$SQL[] = "DROP TABLE search_index;";
}
// Tracker is using this apparently
//if( $DB->checkForTable('search_results') )
//{
// $SQL[] = "DROP TABLE search_results;";
//}
if( $DB->checkForTable('templates_diff_import') )
{
$SQL[] = "DROP TABLE templates_diff_import;";
}
if( $DB->checkForTable('template_diff_changes') )
{
$SQL[] = "DROP TABLE template_diff_changes;";
}
if( $DB->checkForTable('template_diff_session') )
{
$SQL[] = "DROP TABLE template_diff_session;";
}
//-----------------------------------------
// And unused columns *sigh*
// Fun fact:
// Matt said: YES - and all below apart from that massive ALTER list and Im not touching that. :p so there
//-----------------------------------------
if( $DB->checkForField( 'attach_approved', 'attachments' ) )
{
$SQL[] = "ALTER TABLE attachments DROP attach_approved;";
}
if( $DB->checkForField( 'attach_temp', 'attachments' ) )
{
$SQL[] = "ALTER TABLE attachments DROP attach_temp;";
}
if( $DB->checkForField( 'mail_honor', 'bulk_mail' ) )
{
$SQL[] = "ALTER TABLE bulk_mail DROP mail_honor;";
}
//if( $DB->checkForField( 'cs_extra', 'cache_store' ) )
//{
// $SQL[] = "ALTER TABLE cache_store DROP cs_extra;";
//}
if( $DB->checkForField( 'rss_foreign_id', 'core_rss_imported' ) )
{
$SQL[] = "ALTER TABLE core_rss_imported DROP rss_foreign_id;";
}
if( $DB->checkForField( 'share_url', 'core_share_links' ) )
{
$SQL[] = "ALTER TABLE core_share_links DROP share_url;";
}
if( $DB->checkForField( 'share_markup', 'core_share_links' ) )
{
$SQL[] = "ALTER TABLE core_share_links DROP share_markup;";
}
if( $DB->checkForField( 'conf_end_group', 'core_sys_conf_settings' ) )
{
$SQL[] = "ALTER TABLE core_sys_conf_settings DROP conf_end_group;";
}
if( $DB->checkForField( 'lang_currency_symbol', 'core_sys_lang' ) )
{
$SQL[] = "ALTER TABLE core_sys_lang DROP lang_currency_symbol;";
}
if( $DB->checkForField( 'lang_decimal', 'core_sys_lang' ) )
{
$SQL[] = "ALTER TABLE core_sys_lang DROP lang_decimal;";
}
if( $DB->checkForField( 'lang_comma', 'core_sys_lang' ) )
{
$SQL[] = "ALTER TABLE core_sys_lang DROP lang_comma;";
}
if( $DB->checkForField( 'sys_login_skin', 'core_sys_login' ) )
{
$SQL[] = "ALTER TABLE core_sys_login DROP sys_login_skin;";
}
if( $DB->checkForField( 'sys_login_language', 'core_sys_login' ) )
{
$SQL[] = "ALTER TABLE core_sys_login DROP sys_login_language;";
}
if( $DB->checkForField( 'sys_login_last_visit', 'core_sys_login' ) )
{
$SQL[] = "ALTER TABLE core_sys_login DROP sys_login_last_visit;";
}
if( $DB->checkForField( 'conf_title_module', 'core_sys_settings_titles' ) )
{
$SQL[] = "ALTER TABLE core_sys_settings_titles DROP conf_title_module;";
}
if( $DB->checkForField( 'bbcode_parse', 'custom_bbcode' ) )
{
$SQL[] = "ALTER TABLE custom_bbcode DROP bbcode_parse;";
}
if( $DB->checkForField( 'topic_id', 'email_logs' ) )
{
$SQL[] = "ALTER TABLE email_logs DROP topic_id;";
}
if( $DB->checkForField( 'redirect_loc', 'forums' ) )
{
$SQL[] = "ALTER TABLE forums DROP redirect_loc;";
}
if( $DB->checkForField( 'topic_mm_id', 'forums' ) )
{
$SQL[] = "ALTER TABLE forums DROP topic_mm_id;";
}
if( $DB->checkForField( 'permission_array', 'forums' ) )
{
$SQL[] = "ALTER TABLE forums DROP permission_array;";
}
if( $DB->checkForField( 'g_invite_friend', 'groups' ) )
{
$SQL[] = "ALTER TABLE groups DROP g_invite_friend;";
}
if( $DB->checkForField( 'g_can_remove', 'groups' ) )
{
$SQL[] = "ALTER TABLE groups DROP g_can_remove;";
}
if( $DB->checkForField( 'login_date', 'login_methods' ) )
{
$SQL[] = "ALTER TABLE login_methods DROP login_date;";
}
if( $DB->checkForField( 'mail_type', 'mail_queue' ) )
{
$SQL[] = "ALTER TABLE mail_queue DROP mail_type;";
}
if( $DB->checkForField( 'edit_user', 'moderators' ) )
{
$SQL[] = "ALTER TABLE moderators DROP edit_user;";
}
if( $DB->checkForField( 'rating_added', 'profile_ratings' ) )
{
$SQL[] = "ALTER TABLE profile_ratings DROP rating_added;";
}
if( $DB->checkForField( 'misc', 'reputation_index' ) )
{
$SQL[] = "ALTER TABLE reputation_index DROP misc;";
}
if( $DB->checkForField( 'pp_profile_update', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP pp_profile_update;";
}
if( $DB->checkForField( 'pp_bio_content', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP pp_bio_content;";
}
if( $DB->checkForField( 'pp_comment_count', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP pp_comment_count;";
}
if( $DB->checkForField( 'pp_setting_notify_comments', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP pp_setting_notify_comments;";
}
if( $DB->checkForField( 'pp_setting_notify_friend', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP pp_setting_notify_friend;";
}
if( $DB->checkForField( 'pp_friend_count', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP pp_friend_count;";
}
if( $DB->checkForField( 'pp_gender', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP pp_gender;";
}
if( $DB->checkForField( 'pp_profile_views', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP pp_profile_views;";
}
if( $DB->checkForField( 'links', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP links;";
}
if( $DB->checkForField( 'bio', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP bio;";
}
if( $DB->checkForField( 'ta_size', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP ta_size;";
}
if( $DB->checkForField( 'fb_status', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP fb_status;";
}
if( $DB->checkForField( 'pp_status', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP pp_status;";
}
if( $DB->checkForField( 'pp_status_update', 'profile_portal' ) )
{
$SQL[] = "ALTER TABLE profile_portal DROP pp_status_update;";
}
if( $DB->checkForField( 'max_points', 'rc_modpref' ) )
{
$SQL[] = "ALTER TABLE rc_modpref DROP max_points;";
}
if( $DB->checkForField( 'reports_pp', 'rc_modpref' ) )
{
$SQL[] = "ALTER TABLE rc_modpref DROP reports_pp;";
}
if( $DB->checkForField( 'by_pm', 'rc_modpref' ) )
{
$SQL[] = "ALTER TABLE rc_modpref DROP by_pm;";
}
if( $DB->checkForField( 'by_email', 'rc_modpref' ) )
{
$SQL[] = "ALTER TABLE rc_modpref DROP by_email;";
}
if( $DB->checkForField( 'by_alert', 'rc_modpref' ) )
{
$SQL[] = "ALTER TABLE rc_modpref DROP by_alert;";
}
//if( $DB->checkForField( 'location', 'sessions' ) )
//{
// $SQL[] = "ALTER TABLE sessions DROP location;";
//}
if( $DB->checkForField( 'misc', 'tags_index' ) )
{
$SQL[] = "ALTER TABLE tags_index DROP misc;";
}
if( $DB->checkForField( 'total_votes', 'topics' ) )
{
$SQL[] = "ALTER TABLE topics DROP total_votes;";
}
if( $DB->checkForField( 'email_pm', 'members' ) )
{
$SQL[] = "ALTER TABLE members DROP email_pm;";
}
if( $DB->checkForField( 'view_pop', 'members' ) )
{
$SQL[] = "ALTER TABLE members DROP view_pop;";
}
@@ -0,0 +1,10 @@
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -0,0 +1,56 @@
<?php
/*
+--------------------------------------------------------------------------
| IP.Board v3.1.4
| ========================================
| by Matthew Mecham
| (c) 2001 - 2009 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
*/
$DB = ipsRegistry::DB();
if ( $DB->checkForTable('core_like_cache') )
{
$SQL[] = "DROP TABLE core_like_cache;";
}
if ( $DB->checkForTable('core_like') )
{
$SQL[] = "DROP TABLE core_like;";
}
$SQL[] = "CREATE TABLE core_like_cache (
like_cache_id VARCHAR(32),
like_cache_app VARCHAR(150) NOT NULL DEFAULT '',
like_cache_area VARCHAR(200) NOT NULL DEFAULT '',
like_cache_rel_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
like_cache_data TEXT,
like_cache_expire INT(10) NOT NULL DEFAULT '0',
PRIMARY KEY (like_cache_id)
);";
$SQL[] = "CREATE TABLE core_like (
like_id VARCHAR(32),
like_lookup_id VARCHAR(32),
like_app VARCHAR(150) NOT NULL DEFAULT '',
like_area VARCHAR(200) NOT NULL DEFAULT '',
like_rel_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
like_member_id INT(10) UNSIGNED NOT NULL DEFAULT 0,
like_is_anon INT(1) NOT NULL DEFAULT 0,
like_added INT(10) UNSIGNED NOT NULL DEFAULT 0,
like_notify_do INT(1) NOT NULL DEFAULT 0,
like_notify_meta TEXT,
like_notify_freq VARCHAR(200) NOT NULL DEFAULT '',
like_notify_sent INT(10) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (like_id),
KEY find_rel_favs ( like_lookup_id, like_is_anon, like_added),
KEY like_member_id (like_member_id,like_added)
);";