Version 2.2.0 RC-1

This commit is contained in:
Neo committed 2025-12-19 00:22:37 -08:00
1 parent f73f8bff6d
commit 22f1b963ee
1034 files changed
+178610 -70897

No files matched your search

+1 -1
View File
@@ -474,7 +474,7 @@ ul#help{
.wrapmini{
float: left;
line-height: 1.5em;
width: 30%;
width: 25%;
}
.pagelinks{
+1 -1
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="WINDOWS-1251"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<permsexport exported="1123061157" versionid="2.1.0" type="master">
<permsgroup>
<perm>
File diff suppressed because it is too large. Load diff
+13 -34
View File
@@ -2,25 +2,25 @@
# Nothing of interest!
$SQL[] = "INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('portal', 'a:6:{s:5:\"blogs\";a:5:{s:8:\"pc_title\";s:30:\"Invision Community Blog\";s:7:\"pc_desc\";s:40:\"Ïîêàç èíôîðìàöèè îò áëîãà â ïîðòàëå\";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 Êàëåíäàðü\";s:7:\"pc_desc\";s:46:\"Îòîáðàæàåò ìèíè-êàëåíäàðü äëÿ òåêóùåãî ìåñÿöà\";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:\"Ïîêàçûâàåò êàëåíäàðü íà òåêóùèé ìåñÿö\";}}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:\"Îòîáðàæàåò íà ïîðòàëå èíôîðìàöèþ ñ ãàëåðåè\";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:\"Ïîêàçûâàåòñÿ ñëó÷àéíîå èçîáðàæåíèå èç ïîëüçîâàòåëüñêîé ãàëåðåè\";}}s:6:\"pc_key\";s:7:\"gallery\";}s:12:\"online_users\";a:5:{s:8:\"pc_title\";s:33:\"Invision Power Board Àêòèâíûå Ïîëüçîâàòåëè\";s:7:\"pc_desc\";s:49:\"Ïîêàçûâàå èìåíà òåêóùèõ ïîëüçîâàòåëåé â îíëàéíå\";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:\"Ïîêàçûâàåò àêòèâíûõ ïîëüçîâàòåëåé\";}}s:6:\"pc_key\";s:12:\"online_users\";}s:4:\"poll\";a:5:{s:8:\"pc_title\";s:25:\"Invision Power Board Îïðîñ\";s:7:\"pc_desc\";s:23:\"Ïîêàçûâàåò âûáðàííûé îïðîñ\";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 Ïîñëåäíèå Òåìû\";s:7:\"pc_desc\";s:47:\"Ïîêàçûâàåò ïîñëåäíèå òåìû ñ ïåðâûì ñîîáùåíèåì â íèõ\";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:\"Ïîêàçûâàåò X ïîñëåäíèõ òåì ñ ïåðâûì ñîîáùåíèåì â íèõ èç âûáðàííûõ ôîðóìîâ\";}s:32:\"recent_topics_discussions_last_x\";a:2:{i:0;s:32:\"recent_topics_discussions_last_x\";i:1;s:54:\"Ïîêàçûâàåò X çàãîëîâêîâ òåì èç âñåõ âèäèìûõ ôîðóìîâ\";}}s:6:\"pc_key\";s:13:\"recent_topics\";}}', '', 1);";
$SQL[] = "INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('portal', 'a:6:{s:5:\"blogs\";a:5:{s:8:\"pc_title\";s:30:\"Invision Power Community Blogs\";s:7:\"pc_desc\";s:40:\"Shows IPB Blog information on the portal\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:25:\"blogs_show_last_updated_x\";a:2:{i:0;s:25:\"blogs_show_last_updated_x\";i:1;s:30:\"Shows the last X updated blogs\";}}s:6:\"pc_key\";s:5:\"blogs\";}s:8:\"calendar\";a:5:{s:8:\"pc_title\";s:29:\"Invision Power Board Calendar\";s:7:\"pc_desc\";s:46:\"Displays a mini calendar for the current month\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:27:\"calendar_show_current_month\";a:2:{i:0;s:27:\"calendar_show_current_month\";i:1;s:38:\"Shows a calendar for the current month\";}}s:6:\"pc_key\";s:8:\"calendar\";}s:7:\"gallery\";a:5:{s:8:\"pc_title\";s:22:\"Invision Power Gallery\";s:7:\"pc_desc\";s:54:\"Shows Invision Power Gallery information on the portal\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:25:\"gallery_show_random_image\";a:2:{i:0;s:25:\"gallery_show_random_image\";i:1;s:44:\"Shows a random image from a member\'s gallery\";}}s:6:\"pc_key\";s:7:\"gallery\";}s:12:\"online_users\";a:5:{s:8:\"pc_title\";s:33:\"Invision Power Board Online Users\";s:7:\"pc_desc\";s:49:\"Shows the current name and number of online users\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:17:\"online_users_show\";a:2:{i:0;s:17:\"online_users_show\";i:1;s:22:\"Shows the online users\";}}s:6:\"pc_key\";s:12:\"online_users\";}s:4:\"poll\";a:5:{s:8:\"pc_title\";s:25:\"Invision Power Board Poll\";s:7:\"pc_desc\";s:23:\"Shows the selected poll\";s:19:\"pc_settings_keyword\";s:11:\"portal_poll\";s:18:\"pc_exportable_tags\";a:1:{s:14:\"poll_show_poll\";a:2:{i:0;s:14:\"poll_show_poll\";i:1;s:22:\"Shows the request poll\";}}s:6:\"pc_key\";s:4:\"poll\";}s:13:\"recent_topics\";a:5:{s:8:\"pc_title\";s:34:\"Invision Power Board Recent Topics\";s:7:\"pc_desc\";s:47:\"Shows IPB recent topics with topic\'s first post\";s:19:\"pc_settings_keyword\";s:20:\"portal_recent_topics\";s:18:\"pc_exportable_tags\";a:2:{s:20:\"recent_topics_last_x\";a:2:{i:0;s:20:\"recent_topics_last_x\";i:1;s:63:\"Shows the last X topics with full post from the selected forums\";}s:32:\"recent_topics_discussions_last_x\";a:2:{i:0;s:32:\"recent_topics_discussions_last_x\";i:1;s:54:\"Shows the last X topic titles from ALL viewable forums\";}}s:6:\"pc_key\";s:13:\"recent_topics\";}}', '', 1);";
$SQL[] ="INSERT INTO ibf_cal_calendars (cal_id, cal_title, cal_moderate, cal_position, cal_event_limit, cal_bday_limit, cal_rss_export, cal_rss_export_days, cal_rss_export_max, cal_rss_update, cal_rss_update_last, cal_rss_cache, cal_permissions) VALUES (1, 'Îñíîâíîé êàëåíäàðü', 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_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', '', '', '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 Àâòîðèçàöèÿ', 'LDAP / Àâòîðèçàöèÿ Active Directory', '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', '', '', '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 (1, 'IPB Internal', 'The standard method of authentication', 'internal', '', '', 'passthrough', '', <%time%>, 0, 1, 1, 1, 0, 1);";
$SQL[] ="INSERT INTO ibf_login_methods (login_id, login_title, login_description, login_folder_name, login_maintain_url, login_register_url, login_type, login_alt_login_html, login_date, login_settings, login_enabled, login_safemode, login_installed, login_replace_form, login_allow_create) VALUES (2, 'LDAP Authentication', 'LDAP / Active Directory Authentication', 'ldap', '', '', 'passthrough', '', <%time%>, 0, 0, 1, 0, 0, 1);";
$SQL[] ="INSERT INTO ibf_login_methods (login_id, login_title, login_description, login_folder_name, login_maintain_url, login_register_url, login_type, login_alt_login_html, login_date, login_settings, login_enabled, login_safemode, login_installed, login_replace_form, login_allow_create) VALUES (3, 'External Database', 'Authentication via an external database', 'external', '', '', 'passthrough', '', <%time%>, 0, 0, 1, 0, 0, 1);";
$SQL[] ="INSERT INTO ibf_task_manager VALUES ('', 'Îáíîâëåíèå ñ÷åò÷èêà ïðîñìîòðîâ òåì', 'updateviews.php', <%time%>, -1, -1, 3, -1, 'ddce954b5ba1c163bc627ca20725b595', 0, 'Èñïîëüçóåòñÿ, êîãäà ïðîñìîòðû òåì íå îáíîâëÿþòñÿ â ðåàëüíîì âðåìåíè', 1, 'updateviews', 0, 0);";
$SQL[] ="INSERT INTO ibf_task_manager VALUES ('', 'Óâåäîìëåíèå îá èñòå÷åíèè ïîäïèñîê', 'expiresubs.php', <%time%>, -1, -1, 1, 0, '21fa5f52cf9122c6fe940e1c6dac0b5a', 1, 'Îòïðàâëÿåò ïèñüìî ïîëüçîâàòåëÿì, ó êîòîðûõ çàêîí÷èëàñü ïîäïèñêà', 1, 'expiresubs', 0, 0);";
$SQL[] ="INSERT INTO ibf_task_manager VALUES ('', 'Îáíîâëåíèå RSS Èìïîðòà', 'rssimport.php', <%time%>, -1, -1, -1, 30, '8f17dc0ba334e5f18e762f154365a578', 0, 'Èìïîðò íîâûõ RSS çàïèñåé', 1, 'rssimport', 1, 0);";
$SQL[] ="INSERT INTO ibf_task_manager VALUES ('', 'Update Topic Views Counter', 'updateviews.php', <%time%>, -1, -1, 3, -1, 'ddce954b5ba1c163bc627ca20725b595', 0, 'Used when topic views are not incremented immediately', 1, 'updateviews', 0, 0);";
$SQL[] ="INSERT INTO ibf_task_manager VALUES ('', 'Subscription Expiration Notification', 'expiresubs.php', <%time%>, -1, -1, 1, 0, '21fa5f52cf9122c6fe940e1c6dac0b5a', 1, 'Sends out an email to all members who have a subscription due to expire', 1, 'expiresubs', 0, 0);";
$SQL[] ="INSERT INTO ibf_task_manager VALUES ('', 'RSS Import Update', 'rssimport.php', <%time%>, -1, -1, -1, 30, '8f17dc0ba334e5f18e762f154365a578', 0, 'Imports any new RSS articles', 1, 'rssimport', 1, 0);";
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Îòïèñêà îò çàêàçîâ (íå äëÿ Ðîññèè)', 'doexpiresubs.php', 1121212800, -1, -1, 0, 0, 'bb57399ea05eb9240b42d5d5f53575fb', 1, 'Îòïèñàòü ïîëüçîâàòåëåé îò çàêàçàííûõ ïàêåòîâ', 1, 'doexpiresubs', 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 ('Expire Paid Subscriptions', 'doexpiresubs.php', 1121212800, -1, -1, 0, 0, 'bb57399ea05eb9240b42d5d5f53575fb', 1, 'Unsubscribes members from their subscribed packages', 1, 'doexpiresubs', 1)";
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (1, 'Invision Gallery', 'Invision Power Services', 'http://www.invisiongallery.com', '1.3.0', 1113309894, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:9:\"Ïîäðîáíåå\";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', 'Ãàëåðåÿ äëÿ ôîðóìà', '{ipb.lang[\'gallery\']}', '{ipb.base_url}act=module&module=gallery', 1);";
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (2, 'Invision Community Blog', 'Invision Power Services', 'http://www.invisionblog.com', '1.1.2', 1113310263, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:9:\"Ïîäðîáíåå\";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', 'Ñèñòåìà áëîãîâ äëÿ ôîðóìà', '{ipb.lang[\'blog\']}', '{ipb.base_url}automodule=blog', -1);";
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (3, 'Invision Chat (ParaChat)', 'Invision Power Services', 'http://chat.invisionsitetools.com', '2.1', 1113313895, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:9:\"Ïîäðîáíåå\";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', 'Ìîäóëü ÷àòà äëÿ ôîðóìà', '{ipb.lang[\'live_chat\']}', '{ipb.base_url}autocom=chatpara', 2);";
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (4, 'Invision Copyright Removal', 'Invision Power Services', 'http://www.invisionboard.com', '2.1', 1113314009, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:9:\"Ïîäðîáíåå\";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', 'Ðàçðåøåíèå íà óäàëåíèå êîïèðàéòà', '', '', 3);";
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (1, 'Invision Gallery', 'Invision Power Services', 'http://www.invisiongallery.com', '1.3.0', 1113309894, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:24:\"Purchase and Information\";s:8:\"menu_url\";s:9:\"code=show\";s:13:\"menu_redirect\";i:0;s:12:\"menu_permbit\";s:0:\"\";s:13:\"menu_permlang\";s:0:\"\";}}', 0, 1, 'gallery', 'gallery', 'Complete gallery system for your members', '{ipb.lang[\'gallery\']}', '{ipb.base_url}act=module&module=gallery', 1);";
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (2, 'Invision Community Blog', 'Invision Power Services', 'http://www.invisionblog.com', '1.1.2', 1113310263, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:24:\"Purchase and Information\";s:8:\"menu_url\";s:9:\"code=show\";s:13:\"menu_redirect\";i:0;s:12:\"menu_permbit\";s:0:\"\";s:13:\"menu_permlang\";s:0:\"\";}}', 0, 1, 'blog', 'blog', 'Blogging addition for your members', '{ipb.lang[\'blog\']}', '{ipb.base_url}automodule=blog', -1);";
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (3, 'Invision Chat (ParaChat)', 'Invision Power Services', 'http://chat.invisionsitetools.com', '2.1', 1113313895, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:24:\"Purchase and Information\";s:8:\"menu_url\";s:9:\"code=show\";s:13:\"menu_redirect\";i:0;s:12:\"menu_permbit\";s:0:\"\";s:13:\"menu_permlang\";s:0:\"\";}}', 0, 1, 'chatpara', 'chatpara', 'Full real-time chat system for your members', '{ipb.lang[\'live_chat\']}', '{ipb.base_url}autocom=chatpara', 2);";
$SQL[] ="INSERT INTO ibf_components (com_id, com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES (4, 'Invision Copyright Removal', 'Invision Power Services', 'http://www.invisionboard.com', '2.1', 1113314009, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:24:\"Purchase and Information\";s:8:\"menu_url\";s:9:\"code=show\";s:13:\"menu_redirect\";i:0;s:12:\"menu_permbit\";s:0:\"\";s:13:\"menu_permlang\";s:0:\"\";}}', 1, 1, 'copyright', 'copyright', 'Allows the copyright notices to be removed from the board\'s output', '', '', 3);";
$SQL[] ="DELETE FROM ibf_conf_settings WHERE conf_key IN ( 'csite_article_forum' , 'csite_article_max', 'csite_article_recent_on',
'csite_article_recent_max', 'csite_article_len', 'csite_discuss_on',
@@ -38,25 +38,4 @@ $SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='date' WHERE co
$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";
// IBResource added
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='userprofiles' WHERE conf_title_id=4";
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='topicspostsandpolls' WHERE conf_title_id=5";
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='securityandprivacy' WHERE conf_title_id=6";
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='cookies' WHERE conf_title_id=7";
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='newssetup' WHERE conf_title_id=10";
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='personalmessagesetup' WHERE conf_title_id=11";
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='warnsetup' WHERE conf_title_id=13";
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='trashcansetup' WHERE conf_title_id=14";
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='searchenginespiders' WHERE conf_title_id=16";
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_keyword='boardguidelines' WHERE conf_title_id=17";
//IBResource added
$SQL[] = "UPDATE ibf_conf_settings SET conf_group='19' WHERE conf_key='min_search_word'";
$SQL[] = "UPDATE ibf_conf_settings SET conf_type='dropdown', conf_extra='0=Íåò\n1=Äà ( Ñåãîäíÿ è Â÷åðà )\n2=Äà ( Ïîñëåäíèå X ìèíóò, Ñåãîäíÿ è Â÷åðà)\n3=Äà ( Ïîëíîñòüþ — ìèíóòû, ÷àñû è äíè )' WHERE conf_key='time_use_relative'";
// already fixed in upg/21005
//$SQL[] = "UPDATE ibf_conf_settings SET conf_position='15' WHERE conf_key='max_h_flash'";
$SQL[] = "UPDATE ibf_conf_settings SET conf_end_group='1' WHERE conf_key='startpoll_cutoff'";
$SQL[] = "UPDATE ibf_conf_settings SET conf_evalphp='if ( \$show )\n{\n \$d_date = \$this->ipsclass->get_date(time(), \'LONG\',1);\n\$r[\'conf_description\'] = str_replace( \'<-T->\', \$d_date, \$r[\'conf_description\'] );\n}' WHERE conf_key='time_adjust'";
?>
+53 -37
View File
@@ -2,23 +2,17 @@
/*
+--------------------------------------------------------------------------
| Invision Power Board 2.1.7
| =============================================
| Invision Power Board v<{%dyn.down.var.human.version%}>
| ========================================
| by Matthew Mecham
| (c) 2001 - 2005 Invision Power Services, Inc.
| (c) 2001 - 2004 Invision Power Services
| http://www.invisionpower.com
| =============================================
| ========================================
| Web: http://www.invisionboard.com
| http://www.ibresource.ru/products/invisionpowerboard/
| Time: Tuesday 18th of July 2006 05:56:00 PM
| Release: 52f408a29988b02f45b5e6f4ba5af0ae
| Time: <{%dyn.down.var.time%}>
| Release: <{%dyn.down.var.md5%}>
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
| http://www.ibresource.ru/license
+---------------------------------------------------------------------------
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
+---------------------------------------------------------------------------
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
+---------------------------------------------------------------------------
|
| > IPB UPGRADE MODULE:: IPB 2.0.2 -> IPB 2.0.3
@@ -31,7 +25,7 @@
if ( ! defined( 'IN_IPB' ) )
{
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
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();
}
@@ -39,10 +33,11 @@ class version_upgrade
{
var $this_version = '21003';
var $upgrade_from = '20014';
var $first_step = 'îáíîâèò âàøó áàçó äàííûõ äëÿ âñòàâêè íîâûõ ïîëåé è òàáëèö, à òàêæå ñêîíâåðòèðóåò îïðîñû è êàëåíäàðíûå ñîáûòèÿ.';
var $first_step = 'update your database to include the new schematic modifications and convert polls and calendar events.';
var $md5_check = '';
var $base_url = '';
var $mod_to_run = '';
var $error = array();
/*-------------------------------------------------------------------------*/
// CONSTRUCTOR
@@ -141,7 +136,7 @@ class version_upgrade
//-----------------------------------------
$this->ipsclass->DB->do_insert( 'skin_sets', array(
'set_name' => 'IPB 2.1 Ñòàíäàðòíûé ñòèëü',
'set_name' => 'IPB 2.1 Default',
'set_image_dir' => 1,
'set_hidden' => 0,
'set_default' => 1,
@@ -170,7 +165,7 @@ class version_upgrade
//-----------------------------------------
$this->ipsclass->core->redirect( "index.php?act=done&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}",
"Ñòèëü äîáàâëåí, ïåðåõîä ê ñëåäóþùåìó ýòàïó..." );
"Skin added, proceeding to the next step..." );
}
/*-------------------------------------------------------------------------*/
@@ -260,14 +255,14 @@ class version_upgrade
$this->ipsclass->DB->do_insert( 'cal_events', $new_event );
}
$msg = "<b>Êàëåíäàðíûå ñîáûòèÿ: îò $start äî $end çàâåðøåíî....</b>";
$msg = "<b>Calendar events: $start to $end completed....</b>";
$this->ipsclass->core->redirect( "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}&workact=calevents&st={$end}",
$msg );
}
else
{
$msg = "<b>Êàëåíäàðíûå ñîáûòèÿ ñêîíâåðòèðîâàíû. Ñîçäàíèå íîâîãî IPB 2.1 ñòèëÿ...</b>";
$msg = "<b>Calendar events converted. Creating new IPB 2.1 skin...</b>";
$this->ipsclass->core->redirect( "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}&workact=skin",
$msg );
@@ -399,14 +394,14 @@ class version_upgrade
if ( ! $done )
{
$msg = "<b>Îïðîñû: îò $start äî $end çàâåðøåíî....</b>";
$msg = "<b>Polls: $start to $end completed....</b>";
$this->ipsclass->core->redirect( "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}&workact=polls&st={$end}&max={$max}".'&conv='.$converted,
$msg );
}
else
{
$msg = "<b>Îïðîñû ñêîíâåðòèðîâàíû, ïåðåõîäèì ê ñëåäóþùåìó ýòàïó...</b>";
$msg = "<b>Polls converted, proceeding to the next step...</b>";
$this->ipsclass->core->redirect( "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}&workact=calevents&st=0",
$msg );
@@ -429,6 +424,8 @@ class version_upgrade
{
require_once( THIS_PATH . 'upg_' . $this->ipsclass->current_upgrade . '/' . strtolower($this->ipsclass->vars['sql_driver']) . $file );
$this->ipsclass->DB->return_die = 1;
foreach( $SQL as $q )
{
$q = str_replace( "<%time%>", time(), $q );
@@ -444,6 +441,11 @@ class version_upgrade
else
{
$this->ipsclass->DB->query( $q );
if ( $this->ipsclass->DB->error )
{
$this->error[] = $this->ipsclass->DB->error;
}
}
$cnt++;
@@ -467,14 +469,14 @@ class version_upgrade
{
$this->ipsclass->template->content .= "
<div class='tableborder'>
<div class='maintitle'>SQL çàïðîñ: Øàã $nextid</div>
<div class='maintitle'>SQL Queries: Step $nextid</div>
<div class='tdrow1' style='padding:6px'>
<strong>ÏÎÆÀËÓÉÑÒÀ ÇÀÏÓÑÒÈÒÅ ÝÒÈ ÇÀÏÐÎÑÛ, ÏÐÅÆÄÅ ×ÅÌ ÏÐÎÄÎËÆÈÒÜ</strong>
<strong>PLEASE RUN THESE QUERIES BEFORE CONTINUING</strong>
<br /><br />
<textarea style='width:100%;height:400px' rows='50' cols='50'>$output</textarea>
<br />
<br />
<div align='center'><span style='font-weight:bold;font-size:14px'>&raquo; <a href='{$url}'>Ïîêàçàòü äàëåå...</a></span></div>
<div align='center'><span style='font-weight:bold;font-size:14px'>&raquo; <a href='{$url}'>Show next...</a></span></div>
</div>
</div>
";
@@ -483,13 +485,27 @@ class version_upgrade
}
else
{
$this->ipsclass->core->redirect( $url, "$cnt çàïðîñîâ âûïîëíåíî...." );
if ( count($this->error) )
{
$this->ipsclass->core->show_error( implode( "<br />", $this->error ), "work&man={$man}&workact=sql".$nextid );
}
else
{
$this->ipsclass->core->redirect( $url, "$cnt queries run...." );
}
}
}
else
{
$this->ipsclass->core->redirect( "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}&workact=polls&st=0",
"$cnt çàïðîñîâ âûïîëíåíî...." );
if ( count($this->error) )
{
$this->ipsclass->core->show_error( implode( "<br />", $this->error ), "work&workact=polls&st=0" );
}
else
{
$this->ipsclass->core->redirect( "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}&workact=polls&st=0",
"$cnt queries run...." );
}
}
}
@@ -501,26 +517,26 @@ class version_upgrade
{
$this->ipsclass->template->content .= "
<div class='tableborder'>
<div class='maintitle'>Äîáðî ïîæàëîâàòü â ñèñòåìó îáíîâëåíèÿ IPB</div>
<div class='tdrow1' style='padding:6px'>Ýòîò ìîäóëü îáíîâèò âàø ôîðóì ñ <b>{$this->ipsclass->versions[$this->upgrade_from]}</b> äî <b>{$this->ipsclass->versions[$this->this_version]}</b>
<br /><br />Ýòîò ïåðâûé ýòàï {$this->first_step}
<div class='maintitle'>Welcome to the IPB Upgrade System</div>
<div class='tdrow1' style='padding:6px'>This upgrade module will upgrade you from <b>{$this->ipsclass->versions[$this->upgrade_from]}</b> to <b>{$this->ipsclass->versions[$this->this_version]}</b>
<br /><br />This first step will {$this->first_step}
<br /><br />
<span style='font-weight:bold;color:red'>Åñëè âû èìååòå áîëüøóþ áàçó äàííûõ, æåëàòåëüíî çàïóòèòü SQL çàïðîñû âðó÷íóþ (äëÿ ïðåäîòâðàùåíèÿ îøèáîê â PHP),
ïîæàëóéñòà <a href='{$this->base_url}&workact=sql&man=1'>íàæìèòå ñþäà</a> äëÿ ïîäðîáíîñòåé.</span>
<span style='font-weight:bold;color:red'>If you have a large database and would prefer to run the SQL queries manually (to overcome PHP timeouts),
please <a href='{$this->base_url}&workact=sql&man=1'>click here</a> to proceed.</span>
<br />
<br />
<div align='center'><span style='font-weight:bold;font-size:14px'>&raquo; <a href='{$this->base_url}&workact=sql'>Äàëåå (ñ àâòîìàòè÷åñêèì âûïîëíåíèåì SQL çàïðîñîâ)...</a></span></div>
<div align='center'><span style='font-weight:bold;font-size:14px'>&raquo; <a href='{$this->base_url}&workact=sql'>Proceed (with auto SQL insertion)...</a></span></div>
</div>
</div>
<br />
<div align='center'>Ïîñëå ýòîãî ìîäóëÿ áóäåò çàïóùåíî: {$this->mod_to_run}</div>
<div align='center'>Modules to run after this module: {$this->mod_to_run}</div>
";
if ( ! is_writeable( CACHE_PATH . 'cache/skin_cache' ) )
{
$this->ipsclass->template->content .= "<div class='warnbox'><strong>ÂÍÈÌÀÍÈÅ: Ïàïêà cache/skin_cache íåäîñòóïíà äëÿ çàïèñè</strong><br />
Ïîæàëóéñòà, ïðîâåðüòå CHMOD äëÿ ýòîé ïàïêè. Åñëè âû ïðîèãíîðèðóåòå ýòî ïðåäóïðåæäåíèå, òî ôàéëû ñòèëåé
ìîãóò íåêîððåêòíî óñòàíîâèòüñÿ.</div>";
$this->ipsclass->template->content .= "<div class='warnbox'><strong>WARNING: cache/skin_cache is not writeable</strong><br />
Please check the CHMOD value on this folder before continuing. Failure to do so could mean that
your skin files will not be installed correctly.</div>";
}
$this->ipsclass->template->output();