Version 2.2.2
This commit is contained in:
1 parent
22f1b963ee
commit
a3bb603c96
858 files changed
+479463
-188140
No files matched your search
@@ -1,4 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.2.2
|
||||
| Invision Power Board INSTALLER
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Monday 05th of March 2007 10:10:55 PM
|
||||
| Release: e3790216629e5a2aaf37070b32237f06
|
||||
| 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
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+----------------------------------------------------------------------------
|
||||
| Action controller for done page
|
||||
+----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/**
|
||||
* Invision Power Board
|
||||
* Action controller for done page
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.2.2
|
||||
| Invision Power Board INSTALLER
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Monday 05th of March 2007 10:10:55 PM
|
||||
| Release: e3790216629e5a2aaf37070b32237f06
|
||||
| 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
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+----------------------------------------------------------------------------
|
||||
| Action controller for EULA page
|
||||
+----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/**
|
||||
* Invision Power Board
|
||||
* Action controller for EULA page
|
||||
@@ -15,6 +41,11 @@ class action_eula
|
||||
|
||||
function run()
|
||||
{
|
||||
if( isset($this->install->ipsclass->input['mysql_codepage']) AND $this->install->ipsclass->input['mysql_codepage'] != 'none' )
|
||||
{
|
||||
$this->install->saved_data['mysql_codepage'] = $this->install->ipsclass->input['mysql_codepage'];
|
||||
}
|
||||
|
||||
/* Page Output */
|
||||
$this->install->template->append( $this->install->template->eula_page( nl2br($this->install->product_license) ) );
|
||||
$this->install->template->next_action = '?p=install';
|
||||
|
||||
+1008
-887
File diff suppressed because it is too large.
Load diff
@@ -11,6 +11,24 @@ class action_login
|
||||
function action_login( & $install )
|
||||
{
|
||||
$this->install =& $install;
|
||||
|
||||
$this->install->ipsclass->login_type = 'username';
|
||||
|
||||
if( $this->install->ipsclass->DB->field_exists( "conf_id", "conf_settings" ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->build_query( array( 'select' => '*', 'from' => 'conf_settings', 'where' => "conf_key IN('ipbli_usertype','converge_login_method')", 'order' => 'conf_key ASC' ) );
|
||||
$this->install->ipsclass->DB->exec_query();
|
||||
|
||||
while( $r = $this->install->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$r['conf_value'] = $r['conf_value'] ? $r['conf_value'] : $r['conf_default'];
|
||||
|
||||
if( $r['conf_value'] )
|
||||
{
|
||||
$this->install->ipsclass->login_type = $r['conf_value'];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function run()
|
||||
|
||||
@@ -11,6 +11,24 @@ class action_overview
|
||||
function action_overview( & $install )
|
||||
{
|
||||
$this->install =& $install;
|
||||
|
||||
$this->install->ipsclass->login_type = 'username';
|
||||
|
||||
if( $this->install->ipsclass->DB->field_exists( "conf_id", "conf_settings" ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->build_query( array( 'select' => '*', 'from' => 'conf_settings', 'where' => "conf_key IN('ipbli_usertype','converge_login_method')", 'order' => 'conf_key ASC' ) );
|
||||
$this->install->ipsclass->DB->exec_query();
|
||||
|
||||
while( $r = $this->install->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$r['conf_value'] = $r['conf_value'] ? $r['conf_value'] : $r['conf_default'];
|
||||
|
||||
if( $r['conf_value'] )
|
||||
{
|
||||
$this->install->ipsclass->login_type = $r['conf_value'];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function run()
|
||||
@@ -22,109 +40,118 @@ class action_overview
|
||||
|
||||
if ( empty($this->install->ipsclass->input['username']) )
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "You must enter a username before proceeding" ) );
|
||||
$this->install->template->append( $this->install->template->login_page( "Íåîáõîäèìî óêàçàòü èìÿ ïîëüçîâàòåëÿ" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
|
||||
$this->install->ipsclass->input['username'] = str_replace( '|', '|', $this->install->ipsclass->input['username'] );
|
||||
|
||||
if ( empty($this->install->ipsclass->input['password']) )
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "You must enter a password before proceeding" ) );
|
||||
$this->install->template->append( $this->install->template->login_page( "Íåîáõîäèìî óêàçàòü ïàðîëü" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
|
||||
//----------------------------------
|
||||
// Attempt to get the details from the
|
||||
// DB
|
||||
//----------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->query("SELECT m.*, g.* FROM ibf_members m LEFT JOIN ibf_groups g ON (g.g_id=m.mgroup) WHERE LOWER(name)='".strtolower($this->install->ipsclass->input['username'])."'");
|
||||
$mem = $this->install->ipsclass->DB->fetch_row();
|
||||
//----------------------------------
|
||||
// Attempt to get the details from the
|
||||
// DB
|
||||
//----------------------------------
|
||||
|
||||
if( $this->install->ipsclass->login_type == 'username' )
|
||||
{
|
||||
$this->install->ipsclass->DB->query("SELECT m.*, g.* FROM ibf_members m LEFT JOIN ibf_groups g ON (g.g_id=m.mgroup) WHERE LOWER(name)='".strtolower($this->install->ipsclass->input['username'])."'");
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->ipsclass->DB->query("SELECT m.*, g.* FROM ibf_members m LEFT JOIN ibf_groups g ON (g.g_id=m.mgroup) WHERE LOWER(email)='".strtolower($this->install->ipsclass->input['username'])."'");
|
||||
}
|
||||
|
||||
$mem = $this->install->ipsclass->DB->fetch_row();
|
||||
|
||||
//----------------------------------
|
||||
// Get perms
|
||||
//----------------------------------
|
||||
if ( empty($mem['id']) )
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "Could not find a record matching that username, please check the spelling" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
|
||||
//----------------------------------
|
||||
// Load converge member
|
||||
//----------------------------------
|
||||
|
||||
if( !$this->install->ipsclass->DB->field_exists( 'converge_id', 'members_converge' ) OR
|
||||
( isset($this->install->saved_data['vid']) AND $this->install->saved_data['vid'] < 10003 ) )
|
||||
{
|
||||
$pass = md5( $this->install->ipsclass->input['password'] );
|
||||
|
||||
if ( $pass != $mem['password'] AND $pass != $mem['legacy_password'] )
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "The password you entered is not correct" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($mem['g_access_cp'] != 1)
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "You do not have access to the administrative CP" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->ipsclass->member = $mem;
|
||||
$this->install->saved_data['loginkey'] = $mem['password'] ? md5($mem['password']) : md5($mem['legacy_password']);
|
||||
$this->install->saved_data['securekey'] = $this->install->ipsclass->return_md5_check();
|
||||
$this->install->saved_data['mid'] = $mem['id'];
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->ipsclass->converge->converge_load_member($mem['email']);
|
||||
|
||||
if ( ! $this->install->ipsclass->converge->member['converge_id'] )
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "Could not find a record matching that username, please check the spelling" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
//----------------------------------
|
||||
// Get perms
|
||||
//----------------------------------
|
||||
if ( empty($mem['id']) )
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "Ïîëüçîâàòåëü ñ óêàçàííûìè èìåíåì íå ñóùåñòâóåò â ñèñòåìå" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
|
||||
//----------------------------------
|
||||
// Load converge member
|
||||
//----------------------------------
|
||||
|
||||
if( !$this->install->ipsclass->DB->field_exists( 'converge_id', 'members_converge' ) OR
|
||||
( isset($this->install->saved_data['vid']) AND $this->install->saved_data['vid'] < 10003 ) )
|
||||
{
|
||||
$pass = md5( $this->install->ipsclass->input['password'] );
|
||||
|
||||
if ( $pass != $mem['password'] AND $pass != $mem['legacy_password'] )
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "Ââåäåííûé ïàðîëü íåâåðåí" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($mem['g_access_cp'] != 1)
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "Âû íå îáëàäàåòå ïðàâàìè àäìèíèñòðàòîðà" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->ipsclass->member = $mem;
|
||||
$this->install->saved_data['loginkey'] = $mem['password'] ? md5($mem['password']) : md5($mem['legacy_password']);
|
||||
$this->install->saved_data['securekey'] = $this->install->ipsclass->return_md5_check();
|
||||
$this->install->saved_data['mid'] = $mem['id'];
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->ipsclass->converge->converge_load_member($mem['email']);
|
||||
|
||||
if ( ! $this->install->ipsclass->converge->member['converge_id'] )
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "Ïîëüçîâàòåëü ñ óêàçàííûìè email íå ñóùåñòâóåò â ñèñòåìå" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
|
||||
//----------------------------------
|
||||
// Check converge pass
|
||||
//----------------------------------
|
||||
//----------------------------------
|
||||
// Check converge pass
|
||||
//----------------------------------
|
||||
|
||||
$pass = md5( $this->install->ipsclass->input['password'] );
|
||||
|
||||
if ( $this->install->ipsclass->converge->converge_authenticate_member( $pass ) != TRUE )
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "The password you entered is not correct" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($mem['g_access_cp'] != 1)
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "You do not have access to the administrative CP" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->ipsclass->member = $mem;
|
||||
$this->install->saved_data['loginkey'] = $mem['member_login_key'];
|
||||
$this->install->saved_data['securekey'] = $this->install->ipsclass->return_md5_check();
|
||||
$this->install->saved_data['mid'] = $mem['id'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$pass = md5( $this->install->ipsclass->input['password'] );
|
||||
|
||||
if ( $this->install->ipsclass->converge->converge_authenticate_member( $pass ) != TRUE )
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "Ââåäåííûé ïàðîëü íåâåðåí" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($mem['g_access_cp'] != 1)
|
||||
{
|
||||
$this->install->template->append( $this->install->template->login_page( "Âû íå îáëàäàåòå ïðàâàìè àäìèíèñòðàòîðà" ) );
|
||||
$this->install->template->next_action = '?p=overview';
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->ipsclass->member = $mem;
|
||||
$this->install->saved_data['loginkey'] = $mem['member_login_key'];
|
||||
$this->install->saved_data['securekey'] = $this->install->ipsclass->return_md5_check();
|
||||
$this->install->saved_data['mid'] = $mem['id'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$this->install->get_version_latest();
|
||||
@@ -132,19 +159,19 @@ class action_overview
|
||||
$error = array();
|
||||
if ( ! $this->install->last_poss_id )
|
||||
{
|
||||
$error[] = "An error has occured, we are unable to determine the current version or if there are any required upgrade files left to run";
|
||||
$error[] = "Íå óäàëîñü îïðåäåëèòü ïîñëåäíþþ äîñòóïíóþ âåðñèþ ïðîäóêòà.";
|
||||
}
|
||||
if ( count($this->install->versions) == 0 )
|
||||
{
|
||||
$error[] = "Could not locate the required upgrade script: 'upg_{$this->install->last_poss_id}/version_history.php'";
|
||||
$error[] = "Íå óäàëîñü íàéòè ñêðèïò äëÿ îáíîâëåíèÿ: 'upg_{$this->install->last_poss_id}/version_history.php'";
|
||||
}
|
||||
if ( ! $this->install->current_version )
|
||||
{
|
||||
$error[] = "An error has occured, we are unable to determine the current version or if there are any required upgrade files left to run";
|
||||
$error[] = "Íå óäàëîñü îïðåäåëèòü âåðñèþ óñòàíîâëåííîãî ïðîäóêòà";
|
||||
}
|
||||
if ( $this->install->last_poss_id <= $this->install->current_version )
|
||||
if ( $this->install->last_poss_id AND $this->install->last_poss_id <= $this->install->current_version )
|
||||
{
|
||||
$error[] = "Your installation is up to date; no upgrade required";
|
||||
$error[] = "Ó âàñ óñòàíîâëåíà ïîñëåäíÿÿ äîñòóïíàÿ âåðñèÿ ïðîäóêòà. Îáíîâëåíèå íå òðåáóåòñÿ.";
|
||||
}
|
||||
|
||||
$checkfiles = array( ROOT_PATH ."resources/ipb_templates.xml",
|
||||
@@ -181,7 +208,7 @@ class action_overview
|
||||
{
|
||||
if ( ! file_exists($cf) )
|
||||
{
|
||||
$error[] = "Cannot locate the file '$cf'.";
|
||||
$error[] = "Ìàñòåð íå ñìîã íàéòè íåîáõîäèìûé äëÿ ðàáîòû ôàéë '$cf'.";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -189,7 +216,7 @@ class action_overview
|
||||
{
|
||||
if ( ! is_writeable($cf) )
|
||||
{
|
||||
$error[] = "Cannot write to the file or folder '$cf'. Please CHMOD to 0777.";
|
||||
$error[] = "Ðåñóðñ (ôàéë èëè äèðåêòîðèÿ) '$cf' íå äîñòóïåí äëÿ çàïèñè. Ïîæàëóéñòà èçìåíèòå CHMOD íà 0777.";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,7 +228,7 @@ class action_overview
|
||||
return;
|
||||
}
|
||||
|
||||
$current_version = $this->install->current_version == '00000' ? 'not installed' : $this->install->versions[ $this->install->current_version ];
|
||||
$current_version = $this->install->current_version == '00000' ? 'íå óñòàíîâëåí' : $this->install->versions[ $this->install->current_version ];
|
||||
|
||||
if ( $this->install->current_version == '00000' )
|
||||
{
|
||||
@@ -209,14 +236,14 @@ class action_overview
|
||||
}
|
||||
else
|
||||
{
|
||||
$summary .= "Upgrade from ".$this->install->versions[ $this->install->current_version ]." to ".$this->install->versions[ $this->install->last_poss_id ];
|
||||
$summary .= "îáíîâëåíèå ".$this->install->versions[ $this->install->current_version ]." äî âåðñèè ".$this->install->versions[ $this->install->last_poss_id ];
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Time check...
|
||||
//-----------------------------------------
|
||||
|
||||
$summary .= "<br /><br /><strong>Checking 'resources' directory files</strong>";
|
||||
$summary .= "<br /><br /><strong>Ïðîâåðêà âàëèäíîñòè ðåñóðñ-ôàéëîâ</strong>";
|
||||
$_flag = 0;
|
||||
|
||||
foreach ( $timecheck as $cf )
|
||||
@@ -226,19 +253,35 @@ class action_overview
|
||||
if ( $time_to_check AND $_time AND ( ( $time_to_check - (86400 * 7) ) > $_time ) )
|
||||
{
|
||||
$_flag = 1;
|
||||
$summary .= "<div style='color:red'>·" . str_replace( ROOT_PATH, '', $cf ) . ' may be out of date</div>';
|
||||
$summary .= "<div style='color:red'>·" . str_replace( ROOT_PATH, '', $cf ) . ' ìîæåò áûòü óñòàðåâøèì</div>';
|
||||
}
|
||||
}
|
||||
|
||||
if ( $_flag )
|
||||
{
|
||||
$summary .= "<br /><div>Please check the above files to make sure they have been uploaded from the ".$this->install->versions[ $this->install->last_poss_id ]." download";
|
||||
$summary .= "<br /><div>Ïîæàëóéñòà óáåäèòåñü, ÷òî ôàéëû èç ñïèñêà çàêà÷àíû èç äèñòðèáóòèâà ".$this->install->versions[ $this->install->last_poss_id ]." âåðñèè";
|
||||
}
|
||||
else
|
||||
{
|
||||
$summary .= "<div style='color:green'>All files checked OK</div>";
|
||||
$summary .= "<div style='color:green'>Âñå ðåñóðñ-ôàéëû âàëèäíû</div>";
|
||||
}
|
||||
|
||||
if ( $cp = $this->install->get_db_codepage() )
|
||||
{
|
||||
$summary .= "
|
||||
<br />
|
||||
<strong>Êîäèðîâêà òàáëèö â MySQL</strong>
|
||||
<table width='100%' cellspacing='0' cellpadding='0' align='left' border='0'>
|
||||
<tr>
|
||||
<td class='title'><div style='color:gray; font-weight:normal;'>Íå èçìåíÿéòå, åñëè íå óâåðåíû.</div></td>
|
||||
<td class='content'><input type='text' name='mysql_codepage' class='sql_form' value='" . $cp . "'></td>
|
||||
</tr>
|
||||
</table>";
|
||||
|
||||
} else {
|
||||
$summary .= "<input type='hidden' name='mysql_codepage' value='none'>";
|
||||
}
|
||||
|
||||
/* Page Output */
|
||||
$this->install->template->append( $this->install->template->overview_page( $current_version, $summary ) );
|
||||
$this->install->template->next_action = '?p=eula';
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.2.2
|
||||
| Invision Power Board INSTALLER
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Monday 05th of March 2007 10:10:55 PM
|
||||
| Release: e3790216629e5a2aaf37070b32237f06
|
||||
| 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
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+----------------------------------------------------------------------------
|
||||
| Invision Installer Framework
|
||||
+----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/**
|
||||
* Invision Power Board
|
||||
* Invision Installer Framework
|
||||
@@ -105,7 +131,7 @@ class class_installer
|
||||
|
||||
if ( PHP_VERSION < $this->version_php_min )
|
||||
{
|
||||
$errors[] = 'Your PHP installation is too old to run this product, please upgrade before continuing.';
|
||||
$errors[] = 'Âåðñèÿ PHP, óñòàíîâëåííàÿ íà âàøåì ñåðâåðå, íå óäîâëåòâîðÿåò ñèñòåìíûì òðåáîâàíèÿì ïðîäóêòà. Äëÿ ïðîäîëæåíèÿ óñòàíîâêè íåîáõîäèìî îáíîâèòü PHP.';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -121,7 +147,7 @@ class class_installer
|
||||
{
|
||||
if( ! ( is_dir( $_d) && is_readable( $_d ) ) )
|
||||
{
|
||||
$errors[] = 'A required directory could not be located: "' . $_d . '"';
|
||||
$errors[] = 'Íå âîçìîæíî íàéòè òðåáóåìóþ äèðåêòîðèþ: "' . $_d . '"';
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -132,7 +158,7 @@ class class_installer
|
||||
{
|
||||
if( ! ( file_exists( $_f) && is_readable( $_f ) ) )
|
||||
{
|
||||
$errors[] = 'A required file could not be located: "' . $_f . '"';
|
||||
$errors[] = 'Íå âîçìîæíî íàéòè òðåáóåìûé ôàéë: "' . $_f . '"';
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -146,7 +172,7 @@ class class_installer
|
||||
{
|
||||
if( ! is_writeable( $_d ) )
|
||||
{
|
||||
$errors[] = 'Can not write to directory: "' . $_d . '", please CHMOD to 777';
|
||||
$errors[] = 'Äèðåêòîðèÿ: "' . str_replace( INS_DOC_ROOT_PATH, '', $_d ) . '" íå äîñòóïíà äëÿ çàïèñè, ïîæàëóéñòà èçìåíèòå ïðàâà äîñòóïà (CHMOD) íà 777';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -154,7 +180,7 @@ class class_installer
|
||||
{
|
||||
if( ! is_writeable( $_f ) )
|
||||
{
|
||||
$errors[] = 'Can not write to file: "' . $_f . '", please CHMOD to 777';
|
||||
$errors[] = 'Ôàéë: "' . str_replace( INS_DOC_ROOT_PATH, '', $_f ) . '" íå äîñòóïåí äëÿ çàïèñè, ïîæàëóéñòà èçìåíèòå ïðàâà äîñòóïà (CHMOD) íà 777';
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -177,11 +203,11 @@ class class_installer
|
||||
$config = $xml->xml_parse_document( $config );
|
||||
|
||||
// Set Info
|
||||
$this->product_name = $xml->xml_array['installdata']['package']['name']['VALUE'];
|
||||
$this->product_license = $xml->xml_array['installdata']['package']['license']['VALUE'];
|
||||
$this->product_version = $xml->xml_array['installdata']['package']['version']['VALUE'];
|
||||
$this->product_long_version = $xml->xml_array['installdata']['package']['versionlong']['VALUE'];
|
||||
$this->build_id = $xml->xml_array['installdata']['package']['build']['VALUE'];
|
||||
$this->product_name = $this->ipsclass->txt_convert_charsets($xml->xml_array['installdata']['package']['name']['VALUE'], 'UTF-8');
|
||||
$this->product_license = $this->ipsclass->txt_convert_charsets($xml->xml_array['installdata']['package']['license']['VALUE'], 'UTF-8');
|
||||
$this->product_version = $this->ipsclass->txt_convert_charsets($xml->xml_array['installdata']['package']['version']['VALUE'], 'UTF-8');
|
||||
$this->product_long_version = $this->ipsclass->txt_convert_charsets($xml->xml_array['installdata']['package']['versionlong']['VALUE'], 'UTF-8');
|
||||
$this->build_id = $this->ipsclass->txt_convert_charsets($xml->xml_array['installdata']['package']['build']['VALUE'], 'UTF-8');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -199,6 +225,22 @@ class class_installer
|
||||
@fclose( $fh );
|
||||
}
|
||||
|
||||
/**
|
||||
* class_installer::read_file
|
||||
*
|
||||
* Simple method for reading a file
|
||||
*
|
||||
* @param string $name Full name, including path, of file to read
|
||||
* @return string $content file's body
|
||||
*/
|
||||
function read_file( $name )
|
||||
{
|
||||
$fh = @fopen( $name, "r" );
|
||||
$content = @fread( $fh, filesize( $name ) );
|
||||
@fclose( $fh );
|
||||
|
||||
return $content;
|
||||
}
|
||||
/**
|
||||
* class_installer::create_admin_converge
|
||||
*
|
||||
@@ -238,7 +280,7 @@ class class_installer
|
||||
/* Open directory */
|
||||
$dh = @opendir( $path );
|
||||
|
||||
while( $f = @readdir( $dh ) )
|
||||
while( false !== ( $f = @readdir( $dh ) ) )
|
||||
{
|
||||
if( $f != '.' && $f != '..' )
|
||||
{
|
||||
@@ -346,7 +388,11 @@ class class_installer
|
||||
{
|
||||
if( !md5($member['legacy_password']) == $this->loginkey )
|
||||
{
|
||||
$member = array();
|
||||
$this->ipsclass->DB->query( "SELECT m.*, g.* FROM ibf_members m
|
||||
LEFT JOIN ibf_groups g ON ( m.mgroup=g.g_id )
|
||||
WHERE m.member_login_key='{$this->loginkey}' and m.id='{$this->member_id}'" );
|
||||
|
||||
$member = $this->ipsclass->DB->fetch_row();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* the full path
|
||||
* @since 2.0.0.2005-01-01
|
||||
*/
|
||||
define( 'INS_ROOT_PATH', str_replace( "//", "/", str_replace( "/core", "", str_replace( "\\", "/", dirname( __FILE__ ) ) ) ) . "/" );
|
||||
define( 'INS_ROOT_PATH', str_replace( "//", "/", preg_replace( "#/core$#is", "", str_replace( "\\", "/", dirname( __FILE__ ) ) ) ) . "/" );
|
||||
|
||||
/**
|
||||
* DOC ROOT PATH
|
||||
|
||||
@@ -1,720 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board v<{%dyn.down.var.human.version%}>
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Time: <{%dyn.down.var.time%}>
|
||||
| Release: <{%dyn.down.var.md5%}>
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE LOADER
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 21st April 2004
|
||||
| > Interesting fact: Radiohead rock (still)
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class core_functions
|
||||
{
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function core_functions()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// FINISH _EVERYTHING_
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function upgrade_complete()
|
||||
{
|
||||
$this->ipsclass->template->content .= "
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>IPB Upgrade Complete!</div>
|
||||
<div class='tdrow1' style='padding:6px'>You have now been upgraded!
|
||||
<br /><br />
|
||||
You may want to disable permissions on the script 'upgrade/index.php' to increase security or rename the 'upgrade' directory.
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$this->ipsclass->template->output();
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Continue with error
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function show_error( $msg, $nextact )
|
||||
{
|
||||
$this->ipsclass->template->content .= "
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>Error!</div>
|
||||
<div class='tdrow1' style='padding:6px'>The following database error(s) were returned:</b>
|
||||
<br /><br />$msg
|
||||
<div align='center'><span style='font-weight:bold;font-size:14px'>» <a href='index.php?act={$nextact}&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}'>Continue regardless?</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$this->ipsclass->template->output();
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// REBUILD TEMPLATES
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function rebuild_templates_cache()
|
||||
{
|
||||
//-----------------------------------
|
||||
// Get ACP library
|
||||
//-----------------------------------
|
||||
|
||||
require_once( ROOT_PATH.'sources/lib/admin_cache_functions.php' );
|
||||
$acp = new admin_cache_functions();
|
||||
$acp->ipsclass =& $this->ipsclass;
|
||||
|
||||
$justdone = intval($this->ipsclass->input['justdone']);
|
||||
$justdone = $justdone ? $justdone : 1;
|
||||
|
||||
//-----------------------------------
|
||||
// Get skins
|
||||
//-----------------------------------
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => '*',
|
||||
'from' => 'skin_sets',
|
||||
'where' => 'set_skin_set_id > '.$justdone,
|
||||
'order' => 'set_skin_set_id',
|
||||
'limit' => array( 0, 1 )
|
||||
) );
|
||||
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
//-----------------------------------
|
||||
// Got a biggun?
|
||||
//-----------------------------------
|
||||
|
||||
$r = $this->ipsclass->DB->fetch_row();
|
||||
|
||||
if ( $r['set_skin_set_id'] )
|
||||
{
|
||||
$acp->_rebuild_all_caches( array($r['set_skin_set_id']) );
|
||||
|
||||
$extra = implode( "<br />", $acp->messages );
|
||||
|
||||
$this->ipsclass->core->redirect( "index.php?act=templatescache&justdone={$r['set_skin_set_id']}&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}", "Rebuild cache for skin set {$r['set_name']}<br />{$extra}<br />Proceeding to the next skin..." );
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->core->redirect( "index.php?act=finish&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}", "No more skins to rebuild..." );
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// REBUILD TEMPLATES
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function rebuild_templates()
|
||||
{
|
||||
//-----------------------------------
|
||||
// Get XML
|
||||
//-----------------------------------
|
||||
|
||||
require_once( KERNEL_PATH.'class_xml.php' );
|
||||
|
||||
$xml = new class_xml();
|
||||
$xml->lite_parser = 1;
|
||||
|
||||
//-----------------------------------
|
||||
// Get XML file (TEMPLATES)
|
||||
//-----------------------------------
|
||||
|
||||
$xmlfile = ROOT_PATH.'ipb_templates.xml';
|
||||
|
||||
$setting_content = implode( "", file($xmlfile) );
|
||||
|
||||
//-------------------------------
|
||||
// Unpack the datafile (TEMPLATES)
|
||||
//-------------------------------
|
||||
|
||||
$xml->xml_parse_document( $setting_content );
|
||||
|
||||
//-------------------------------
|
||||
// (TEMPLATES)
|
||||
//-------------------------------
|
||||
|
||||
if ( ! is_array( $xml->xml_array['templateexport']['templategroup']['template'] ) )
|
||||
{
|
||||
install_error("Error with ipb_templates.xml - could not process XML properly");
|
||||
}
|
||||
|
||||
foreach( $xml->xml_array['templateexport']['templategroup']['template'] as $id => $entry )
|
||||
{
|
||||
|
||||
$row = $this->ipsclass->DB->simple_exec_query( array( 'select' => 'suid',
|
||||
'from' => 'skin_templates',
|
||||
'where' => "group_name='{$entry[ 'group_name' ]['VALUE']}' AND func_name='{$entry[ 'func_name' ]['VALUE']}' and set_id=1"
|
||||
) );
|
||||
|
||||
if ( $row['suid'] )
|
||||
{
|
||||
$this->ipsclass->DB->do_update( 'skin_templates', array( 'func_data' => $entry[ 'func_data' ]['VALUE'],
|
||||
'section_content' => $entry[ 'section_content' ]['VALUE'],
|
||||
'updated' => time()
|
||||
)
|
||||
, 'suid='.$row['suid'] );
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->DB->do_insert( 'skin_templates', array( 'func_data' => $entry[ 'func_data' ]['VALUE'],
|
||||
'func_name' => $entry[ 'func_name' ]['VALUE'],
|
||||
'section_content' => $entry[ 'section_content' ]['VALUE'],
|
||||
'group_name' => $entry[ 'group_name' ]['VALUE'],
|
||||
'updated' => time(),
|
||||
'set_id' => 1
|
||||
) );
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------
|
||||
// Boink..
|
||||
//-----------------------------------
|
||||
|
||||
$this->ipsclass->core->redirect( "index.php?act=templatescache&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}", "Master templates rebuilt, proceeding to recache templates..." );
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// REBUILD CACHES
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function rebuild_caches()
|
||||
{
|
||||
//-------------------------------------------------------------
|
||||
// BBCODE
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$this->ipsclass->cache['bbcode'] = array();
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'custom_bbcode' ) );
|
||||
$bbcode = $this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row($bbcode) )
|
||||
{
|
||||
$this->ipsclass->cache['bbcode'][] = $r;
|
||||
}
|
||||
|
||||
$this->ipsclass->update_cache( array( 'name' => 'bbcode', 'array' => 1, 'deletefirst' => 1 ) );
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// Forum cache
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$this->ipsclass->update_forum_cache();
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// Group Cache
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$this->ipsclass->cache['group_cache'] = array();
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => "*",
|
||||
'from' => 'groups'
|
||||
) );
|
||||
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $i = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->cache['group_cache'][ $i['g_id'] ] = $i;
|
||||
}
|
||||
|
||||
$this->ipsclass->update_cache( array( 'name' => 'group_cache', 'array' => 1, 'deletefirst' => 1 ) );
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// Systemvars
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$this->ipsclass->cache['systemvars'] = array();
|
||||
|
||||
$result = $this->ipsclass->DB->simple_exec_query( array( 'select' => 'count(*) as cnt', 'from' => 'mail_queue' ) );
|
||||
|
||||
$this->ipsclass->cache['systemvars']['mail_queue'] = intval( $result['cnt'] );
|
||||
$this->ipsclass->cache['systemvars']['task_next_run'] = time() + 3600;
|
||||
|
||||
$this->ipsclass->update_cache( array( 'name' => 'systemvars', 'array' => 1, 'deletefirst' => 1 ) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Moderators
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->cache['moderators'] = array();
|
||||
|
||||
require_once( ROOT_PATH.'sources/action_admin/moderator.php' );
|
||||
$mod = new ad_moderator();
|
||||
$mod->ipsclass =& $this->ipsclass;
|
||||
|
||||
$mod->rebuild_moderator_cache();
|
||||
|
||||
//-----------------------------------------
|
||||
// Cal events / Birthdays
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/calendars.php' );
|
||||
$calendars = new ad_calendars();
|
||||
$calendars->ipsclass =& $this->ipsclass;
|
||||
|
||||
$calendars->calendar_rebuildcache( 0 );
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// Ranks
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$this->ipsclass->cache['ranks'] = array();
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'id, title, pips, posts',
|
||||
'from' => 'titles',
|
||||
'order' => "posts DESC",
|
||||
) );
|
||||
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ($i = $this->ipsclass->DB->fetch_row())
|
||||
{
|
||||
$this->ipsclass->cache['ranks'][ $i['id'] ] = array(
|
||||
'TITLE' => $i['title'],
|
||||
'PIPS' => $i['pips'],
|
||||
'POSTS' => $i['posts'],
|
||||
);
|
||||
}
|
||||
|
||||
$this->ipsclass->update_cache( array( 'name' => 'ranks', 'array' => 1, 'deletefirst' => 1 ) );
|
||||
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// SETTINGS
|
||||
//-------------------------------------------------------------
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/settings.php' );
|
||||
$settings = new ad_settings();
|
||||
$settings->ipsclass =& $this->ipsclass;
|
||||
|
||||
$settings->setting_rebuildcache();
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// EMOTICONS
|
||||
//-------------------------------------------------------------
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/emoticons.php' );
|
||||
$emoticons = new ad_emoticons();
|
||||
$emoticons->ipsclass =& $this->ipsclass;
|
||||
|
||||
$emoticons->emoticon_rebuildcache();
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// LANGUAGES
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$this->ipsclass->cache['languages'] = array();
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'ldir,lname', 'from' => 'languages' ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->cache['languages'][] = $r;
|
||||
}
|
||||
|
||||
$this->ipsclass->update_cache( array( 'name' => 'languages', 'array' => 1, 'deletefirst' => 1 ) );
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// ATTACHMENT TYPES
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$this->ipsclass->cache['attachtypes'] = array();
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'atype_extension,atype_mimetype,atype_post,atype_photo,atype_img', 'from' => 'attachments_type', 'where' => "atype_photo=1 OR atype_post=1" ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->cache['attachtypes'][ $r['atype_extension'] ] = $r;
|
||||
}
|
||||
|
||||
$this->ipsclass->update_cache( array( 'name' => 'attachtypes', 'array' => 1, 'deletefirst' => 1 ) );
|
||||
|
||||
$this->ipsclass->core->redirect( "index.php?act=templates&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}", "Caches rebuilt, proceeding to rebuild templates..." );
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// MODULE RUN - Look for next, or finish up...
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function module_complete()
|
||||
{
|
||||
$message = array();
|
||||
|
||||
//--------------------------------
|
||||
// Upgrade templates
|
||||
//--------------------------------
|
||||
|
||||
if ( @file_exists( THIS_PATH.'upg_'.$this->ipsclass->current_upgrade.'/components.php' ) )
|
||||
{
|
||||
require_once( THIS_PATH.'upg_'.$this->ipsclass->current_upgrade.'/components.php' );
|
||||
|
||||
$this->ipsclass->DB->do_update( 'skin_sets', array( 'set_css' => $CSS,
|
||||
'set_cache_css' => $CSS,
|
||||
'set_wrapper' => $WRAPPER,
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
), 'set_skin_set_id=1' );
|
||||
|
||||
$message[] = "Template components updated...";
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
// ACP Perms
|
||||
//--------------------------------
|
||||
|
||||
if ( @file_exists( THIS_PATH.'upg_'.$this->ipsclass->current_upgrade.'/ipb_acpperms.xml' ) )
|
||||
{
|
||||
//-------------------------------
|
||||
// Load module...
|
||||
//-------------------------------
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/acppermissions.php' );
|
||||
$settings = new ad_acppermissions();
|
||||
$settings->ipsclass =& $this->ipsclass;
|
||||
|
||||
//-------------------------------
|
||||
// Set location
|
||||
//-------------------------------
|
||||
|
||||
$this->ipsclass->input['file_location'] = UPGRADE_DIR.'/upg_'.$this->ipsclass->current_upgrade.'/ipb_acpperms.xml';
|
||||
|
||||
//-------------------------------
|
||||
// Run it
|
||||
//-------------------------------
|
||||
|
||||
$settings->acpperms_xml_import( 1 );
|
||||
|
||||
$message[] = $this->ipsclass->main_msg;
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
// Settings
|
||||
//--------------------------------
|
||||
|
||||
if ( @file_exists( THIS_PATH.'upg_'.$this->ipsclass->current_upgrade.'/ipb_settings_partial.xml' ) )
|
||||
{
|
||||
//-------------------------------
|
||||
// Load module...
|
||||
//-------------------------------
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/settings.php' );
|
||||
$settings = new ad_settings();
|
||||
$settings->ipsclass =& $this->ipsclass;
|
||||
|
||||
//-------------------------------
|
||||
// Set location
|
||||
//-------------------------------
|
||||
|
||||
$this->ipsclass->input['file_location'] = UPGRADE_DIR.'/upg_'.$this->ipsclass->current_upgrade.'/ipb_settings_partial.xml';
|
||||
|
||||
//-------------------------------
|
||||
// Run it
|
||||
//-------------------------------
|
||||
|
||||
$settings->settings_do_import( 1 );
|
||||
|
||||
$message[] = $this->ipsclass->main_msg;
|
||||
}
|
||||
|
||||
//------------------------------------------
|
||||
// Update DB
|
||||
//------------------------------------------
|
||||
|
||||
$this->ipsclass->DB->do_insert( 'upgrade_history', array( 'upgrade_version_id' => $this->ipsclass->current_upgrade,
|
||||
'upgrade_version_human' => $this->ipsclass->versions[ $this->ipsclass->current_upgrade ],
|
||||
'upgrade_date' => time(),
|
||||
'upgrade_mid' => $this->ipsclass->input['mid']
|
||||
) );
|
||||
|
||||
//------------------------------------------
|
||||
// Anymore to run?
|
||||
//------------------------------------------
|
||||
|
||||
if ( $this->ipsclass->last_poss_id != $this->ipsclass->current_upgrade )
|
||||
{
|
||||
$this->ipsclass->core->redirect( "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}",
|
||||
implode( "<br />", $message ) . "<br />Upgrade module complete, moving on to the next upgrade module...." );
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->template->content .= "
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>IPB Upgrade Complete</div>
|
||||
<div class='tdrow1' style='padding:6px'>".implode( "<br />", $message ) . "<br />
|
||||
You have now been upgraded from {$this->ipsclass->versions[$this->ipsclass->current_version]} to {$this->ipsclass->versions[$this->ipsclass->current_upgrade]}
|
||||
<br /><br />
|
||||
The next few final steps will check for updated settings and recache your cached data (forums, groups, moderators, etc) and rebuild your master templates to ensure
|
||||
that all the template additions and modifications are updated.
|
||||
<br /><br />
|
||||
<div align='center'><span style='font-weight:bold;font-size:14px'>» <a href='index.php?act=recache&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}'>Proceed...</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$this->ipsclass->template->output();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Redirect
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function redirect($url, $text, $time=2)
|
||||
{
|
||||
$this->ipsclass->template->content .= "<meta http-equiv='refresh' content=\"{$time}; url={$url}\">
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>Redirecting</div>
|
||||
<div class='tdrow1' style='padding:8px'>
|
||||
<div style='font-size:12px'>$text
|
||||
<br />
|
||||
<br />
|
||||
<center><a href='{$url}'>Click here if not redirected...</a></center>
|
||||
</div>
|
||||
</div>
|
||||
</div>";
|
||||
|
||||
$this->ipsclass->template->output("Redirecting...");
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SHOW LOG IN SCREEN
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function login_screen($msg='')
|
||||
{
|
||||
$alert = "";
|
||||
|
||||
if ( ! file_exists( ROOT_PATH.'ipb_templates.xml' ) )
|
||||
{
|
||||
$alert .= "<div class='warnbox'><b>Cannot locate XML templates</b><br />This should be located in 'ipb_templates.xml' please ensure this file is uploaded (recreating the file structure if needed) before continuing.
|
||||
<br /><strong>Failure to upload this file will mean that your templates will not be updated.</strong></div>";
|
||||
}
|
||||
|
||||
if ( ! is_writeable( CACHE_PATH . 'cache/skin_cache' ) )
|
||||
{
|
||||
$alert .= "<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>";
|
||||
}
|
||||
|
||||
if ( $alert )
|
||||
{
|
||||
$this->ipsclass->template->content .= "{$alert}";
|
||||
$this->ipsclass->template->output("WARNING");
|
||||
exit();
|
||||
}
|
||||
|
||||
if ( $msg != "" )
|
||||
{
|
||||
$msg = "<div class='warnbox'>$msg</div><br />";
|
||||
}
|
||||
|
||||
$this->ipsclass->template->content .= "
|
||||
<form action='index.php?act=login' method='post' name='theAdminForm'>
|
||||
{$msg}
|
||||
<div>
|
||||
<strong>You must log in with your forums administrative log in details to access the upgrade system.
|
||||
<br />Upgrading from {$this->ipsclass->versions[$this->ipsclass->current_version]} to {$this->ipsclass->versions[$this->ipsclass->current_upgrade]}</strong>
|
||||
</div>
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>Verification Required - Please Log In</div>
|
||||
<table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'>
|
||||
<tr>
|
||||
<td class='tdrow1' width='40%' valign='middle'>Your Forums Username:</td>
|
||||
<td class='tdrow2' width='60%' valign='middle'><input type='text' style='width:100%' name='username' value=''></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='tdrow1' width='40%' valign='middle'>Your Forums Password:</td>
|
||||
<td class='tdrow2' width='60%' valign='middle'><input type='password' style='width:100%' name='password' value=''></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformstrip' colspan='2'><div align='center'><input type='submit' value='Log in' id='button' accesskey='s'></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>";
|
||||
|
||||
$this->ipsclass->template->output("Log In");
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Authorise da membah
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function get_member()
|
||||
{
|
||||
$member = array( 'id' => 0 );
|
||||
|
||||
$this->ipsclass->loginkey = $this->check_md5( isset($this->ipsclass->input['loginkey']) ? $this->ipsclass->input['loginkey'] : '' );
|
||||
$this->ipsclass->securekey = $this->check_md5( isset($this->ipsclass->input['securekey']) ? $this->ipsclass->input['securekey'] : '' );
|
||||
$this->ipsclass->member_id = trim(intval( isset($this->ipsclass->input['mid']) ? $this->ipsclass->input['mid'] : 0 ) );
|
||||
|
||||
if ( ! $this->ipsclass->loginkey or ! $this->ipsclass->securekey )
|
||||
{
|
||||
return $member;
|
||||
}
|
||||
|
||||
$this->ipsclass->DB->build_query( array( 'select' => 'm.*,g.*',
|
||||
'from' => array( 'members' => 'm' ),
|
||||
'where' => "m.member_login_key='{$this->ipsclass->loginkey}' and m.id='{$this->ipsclass->member_id}'",
|
||||
'limit' => array( 0, 1 ),
|
||||
'add_join' => array( 1 => array( 'type' => 'left',
|
||||
'from' => array( 'groups' => 'g' ),
|
||||
'where' => 'g.g_id=m.mgroup',
|
||||
) )
|
||||
) );
|
||||
$this->ipsclass->DB->exec_query();
|
||||
|
||||
$member = $this->ipsclass->DB->fetch_row();
|
||||
|
||||
return $member;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Get the current version and the next version to upgrade to..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function get_version_latest()
|
||||
{
|
||||
$this->ipsclass->current_version = '';
|
||||
$this->ipsclass->current_upgrade = '';
|
||||
|
||||
//------------------------------------------
|
||||
// Copy & pop DB array and get next
|
||||
// upgrade script
|
||||
//------------------------------------------
|
||||
|
||||
$tmp = $this->ipsclass->db_contents;
|
||||
|
||||
$this->ipsclass->current_version = array_pop( $tmp );
|
||||
|
||||
//------------------------------------------
|
||||
// Get the next upgrade script
|
||||
//------------------------------------------
|
||||
|
||||
ksort( $this->ipsclass->dir_contents );
|
||||
|
||||
foreach( $this->ipsclass->dir_contents as $i => $a )
|
||||
{
|
||||
if ( $a > $this->ipsclass->current_version )
|
||||
{
|
||||
if ( ! $this->ipsclass->current_upgrade )
|
||||
{
|
||||
$this->ipsclass->current_upgrade = $a;
|
||||
}
|
||||
|
||||
$this->ipsclass->modules_to_run[] = $this->ipsclass->versions[ $a ];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// GET INFO FROM THE DERTABASTIC
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function get_db_structure()
|
||||
{
|
||||
$vers = array();
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'upgrade_history', 'order' => 'upgrade_version_id ASC' ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$vers[ $r['upgrade_version_id'] ] = $r['upgrade_version_id'];
|
||||
}
|
||||
|
||||
return $vers;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Get dir structure..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function get_dir_structure()
|
||||
{
|
||||
$return = array();
|
||||
|
||||
//------------------------------------------
|
||||
// Get the folder names
|
||||
//------------------------------------------
|
||||
|
||||
$dh = opendir( THIS_PATH );
|
||||
|
||||
while ( $file = readdir( $dh ) )
|
||||
{
|
||||
if ( is_dir( THIS_PATH."/".$file ) )
|
||||
{
|
||||
if ( $file != "." && $file != ".." )
|
||||
{
|
||||
if ( strstr( $file, 'upg_' ) )
|
||||
{
|
||||
$tmp = str_replace( "upg_", "", $file );
|
||||
$return[ $tmp ] = $tmp;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
closedir( $dh );
|
||||
|
||||
sort($return);
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Check to see if its a 'real' MD5
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function check_md5($t)
|
||||
{
|
||||
$t = preg_replace( "#[^a-z0-9]#", "", trim($t) );
|
||||
|
||||
if ( strlen($t) != 32 )
|
||||
{
|
||||
return '';
|
||||
}
|
||||
else
|
||||
{
|
||||
return $t;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -57,11 +57,11 @@ class install_template
|
||||
|
||||
foreach( $_pages as $position => $data )
|
||||
{
|
||||
$this->install_pages[ $data['file'] ] = $data['menu'];
|
||||
$this->install_pages[ $data['file'] ] = $this->ipsclass->txt_convert_charsets( $data['menu'], 'UTF-8' );
|
||||
}
|
||||
}
|
||||
|
||||
$this->install_pages['done'] = 'Finish';
|
||||
$this->install_pages['done'] = 'Çàâåðøåíèå';
|
||||
|
||||
/* Set Current Page */
|
||||
$this->page_current = ( $this->ipsclass->input['p'] ) ? $this->ipsclass->input['p'] : 'login';
|
||||
@@ -146,7 +146,8 @@ echo <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>IPS Upgrader</title>
|
||||
<meta http-equiv=Content-Type content="text/html; charset=windows-1251">
|
||||
<title>Ìàñòåð îáíîâëåíèÿ ïðîäóêòîâ Invision Power Services </title>
|
||||
<style type='text/css' media='all'>
|
||||
@import url('install.css');
|
||||
</style>
|
||||
@@ -168,7 +169,7 @@ echo <<<EOF
|
||||
<div id='ipswrapper'>
|
||||
<div class='main_shell'>
|
||||
|
||||
<h1><img src='images/package_icon.gif' align='absmiddle' /> Welcome to the IPB Upgrader</h1>
|
||||
<h1><img src='images/package_icon.gif' align='absmiddle' /> Èíñòðóìåíò îáíîâëåíèÿ Invision Power Services</h1>
|
||||
<div class='content_shell'>
|
||||
<div class='package'>
|
||||
<div>
|
||||
@@ -195,7 +196,7 @@ echo <<<EOF
|
||||
</div>
|
||||
|
||||
<div style='vertical-align: middle'>
|
||||
<h2>{$this->product_name} Upgrade</h2>
|
||||
<h2>Îáíîâëåíèå {$this->product_name}</h2>
|
||||
<!--<strong>{$this->product_version}</strong>-->
|
||||
</div>
|
||||
</div>
|
||||
@@ -210,7 +211,7 @@ echo <<<EOF
|
||||
<div class='hr'></div>
|
||||
<div style='padding-top: 17px; padding-right: 15px; padding-left: 15px'>
|
||||
<div style='float: left'>
|
||||
<input type='button' class='nav_button' value='Cancel Upgrade' onclick="window.location='index.php';return false;">
|
||||
<input type='button' class='nav_button' value='Ïðåêðàòèòü îáíîâëåíèå' onclick="window.location='index.php';return false;">
|
||||
</div>
|
||||
|
||||
<div style='float: right'>
|
||||
@@ -221,19 +222,19 @@ if( ! $this->hide_next )
|
||||
if( $this->next_action == 'disabled' )
|
||||
{
|
||||
echo <<<EOF
|
||||
<input type='submit' class='nav_button' value='Upgrade can not continue...' disabled='disabled'>
|
||||
<input type='submit' class='nav_button' value='Îáíîâëåíèå íå çàâåðøåíî...' disabled='disabled'>
|
||||
EOF;
|
||||
}
|
||||
else if( $this->in_error == 1 )
|
||||
{
|
||||
echo <<<EOF
|
||||
<input type='submit' class='nav_button' value='Continue regardless?'>
|
||||
<input type='submit' class='nav_button' value='Âñå ðàâíî ïðîäîëæèòü'>
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo <<<EOF
|
||||
<input type='submit' class='nav_button' value='Next >'>
|
||||
<input type='submit' class='nav_button' value='Äàëüøå >'>
|
||||
EOF;
|
||||
}
|
||||
}
|
||||
@@ -247,7 +248,7 @@ echo <<<EOF
|
||||
EOF;
|
||||
echo date("Y");
|
||||
echo <<<EOF
|
||||
Invision Power Services, Inc.
|
||||
Invision Power Services, Inc. & IBResource, LTD
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -267,6 +268,7 @@ EOF;
|
||||
// ------------------------------------------------------------
|
||||
function login_page( $msg='' )
|
||||
{
|
||||
$output = "";
|
||||
if ( $msg )
|
||||
{
|
||||
$extra = "<div class='warning'>
|
||||
@@ -276,31 +278,49 @@ EOF;
|
||||
}
|
||||
|
||||
|
||||
return <<<EOF
|
||||
$output .= <<<EOF
|
||||
<br />
|
||||
<div>
|
||||
<div style='float: left; margin-right: 7px; margin-left: 5px;'>
|
||||
<img src='images/wizard.gif' align='absmiddle' />
|
||||
</div>
|
||||
<div>
|
||||
Welcome to the upgrade routine for {$this->product_name}. This wizard will guide you through the upgrade process.
|
||||
Âàñ ïðèâåòñòâóåò ìàñòåð îáíîâëåíèÿ {$this->product_name}. Îí ïîìîæåò âàì îáíîâèòü óñòàíîâëåííûé ïðîäóêò äî ïîñëåäíåé âåðñèè.
|
||||
</div>
|
||||
</div>
|
||||
<br/>{$extra}
|
||||
<h3>Verification Required - Please Log In</h3>
|
||||
You must log in with your forums administrative log in details to access the upgrade system.<br />
|
||||
<h3>Îáÿçàòåëüíàÿ ïðîâåðêà — àâòîðèçàöèÿ</h3>
|
||||
Äëÿ ðàáîòû ñ ìàñòåðîì âàì íåîáõîäèìî âîéòè â ñèñòåìó ïîä ó÷åòíîé çàïèñüþ ñ ïðàâàìè àäìèíèñòðàòîðà.<br />
|
||||
<br />
|
||||
<table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'>
|
||||
<tr>
|
||||
<td width='40%' valign='middle'>Your Forum Username:</td>
|
||||
<td width='40%' valign='middle'>Âàø
|
||||
EOF;
|
||||
|
||||
if( $this->ipsclass->login_type == 'username' )
|
||||
{
|
||||
$output .= <<<EOF
|
||||
ëîãèí
|
||||
EOF;
|
||||
}
|
||||
else
|
||||
{
|
||||
$output .= <<<EOF
|
||||
e-mail
|
||||
EOF;
|
||||
}
|
||||
$output .= <<<EOF
|
||||
:</td>
|
||||
<td width='60%' valign='middle'><input type='text' style='width:100%' name='username' value='' class='sql_form'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%' valign='middle'>Your Forum Password:</td>
|
||||
<td width='40%' valign='middle'>Âàø ïàðîëü:</td>
|
||||
<td width='60%' valign='middle'><input type='password' style='width:100%' name='password' value='' class='sql_form'></td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------
|
||||
@@ -315,14 +335,15 @@ return <<<EOF
|
||||
<img src='images/wizard.gif' align='absmiddle' />
|
||||
</div>
|
||||
<div>
|
||||
Welcome to the upgrader for {$this->product_name}. This wizard will guide you through the upgrade process.
|
||||
Âàñ ïðèâåòñòâóåò ìàñòåð îáíîâëåíèÿ {$this->product_name}. Îí ïîìîæåò âàì îáíîâèòü óñòàíîâëåííûé ïðîäóêò äî ïîñëåäíåé âåðñèè.
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<h3>Upgrade summary</h3>
|
||||
Current version: $current_version.<br />
|
||||
This script will: $summary<br />
|
||||
<h3>Èíôîðìàöèÿ</h3>
|
||||
Òåêóùàÿ âåðñèÿ: $current_version.<br />
|
||||
Ìàñòåð îñóùåñòâèò $summary<br />
|
||||
<br />
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -343,7 +364,7 @@ check_eula = function()
|
||||
}
|
||||
else
|
||||
{
|
||||
alert( 'You must agree to the license before continuing' );
|
||||
alert( 'Âû äîëæíû ïðèíÿòü ïîëüçîâàòåëüñêîå ñîãëàøåíèå, ïðåæäå ÷åì ïðîäîëæèòü îáíîâëåíèå' );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -352,13 +373,13 @@ document.getElementById( 'install-form' ).onsubmit = check_eula;
|
||||
|
||||
</script>
|
||||
|
||||
Please read and agree to the End User License Agreement before continuing.<br /><br />
|
||||
Ïîæàëóéñòà ïðî÷èòàéòå è ïðèìèòå ïîëüçîâàòåëüñêîå ñîãëàøåíèå.<br /><br />
|
||||
|
||||
|
||||
<div class='eula'>
|
||||
$eula
|
||||
</div>
|
||||
<input type='checkbox' name='eula' id='eula'><strong> I agree to the license agreement</strong>
|
||||
<input type='checkbox' name='eula' id='eula'><strong> ß ïðèíèìàþ</strong>
|
||||
|
||||
|
||||
EOF;
|
||||
@@ -368,23 +389,35 @@ EOF;
|
||||
// ------------------------------------------------------------
|
||||
// Install Page Splash Template
|
||||
// ------------------------------------------------------------
|
||||
function install_page()
|
||||
function install_page( $show_manual=0 )
|
||||
{
|
||||
return <<<EOF
|
||||
$output = "";
|
||||
|
||||
$output = <<<EOF
|
||||
<br />
|
||||
The upgrader is now ready to complete the upgrade of your {$this->product_name}. Click <strong>Start</strong> to
|
||||
begin the automatic process!<br /><br />
|
||||
Ìàñòåð ñîáðàë âñå äàííûå è ãîòîâ íà÷àòü îáíîâëåíèå {$this->product_name}. Íàæìèòå <strong>Çàïóñòèòü îáíîâëåíèå</strong> äëÿ çàïóñêà àâòîìàòè÷åñêîãî ïðîöåññà îáíîâëåíèÿ ïðîäóêòà!<br /><br />
|
||||
<ul id='links'>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='checkbox' name='helpfile' id='helpfile' value='1' checked='checked' /> Update my help files if changes are found</li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='checkbox' name='man' id='man' value='1' /> Show me manual upgrade steps for SQL queries to prevent timeouts</li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='checkbox' name='helpfile' id='helpfile' value='1' checked='checked' /> Îáíîâèòü ðàçäåëû ïîìîùè, åñëè áóäóò íàéäåíû ðàçëè÷èÿ.</li>
|
||||
EOF;
|
||||
|
||||
if( $show_manual == 1 )
|
||||
{
|
||||
$output .= <<<EOF
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='checkbox' name='man' id='man' value='1' /> Ïîêàçûâàòü SQL çàïðîñû äëÿ ðó÷íîãî îáíîâëåíèÿ (äëÿ áîëüøèõ ôîðóìîâ). <b>Âíèìàíèå:</b> âàì áóäåò íåîáõîäèìî âûïîëíèòü âñå SQL çàïðîñû, âûâîäèìûå ìàñòåðîì, â mysql shell (êîììàíäíîé ñòðîêå). Åñëè âû ïëîõî ïðåäñòàâëÿåòå ñåáå ÷òî ýòî, ïîæàëóéñòà îáðàòèòåñü â <a href="http://www.ibresource.ru/clientarea/" target="blank">íàøó ñëóæáó ïîääåðæêè</a>.</li>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$output .= <<<EOF
|
||||
</ul>
|
||||
|
||||
<br /><br />
|
||||
|
||||
<div style='float: right'>
|
||||
<input type='submit' class='nav_button' value='Start upgrade...'>
|
||||
<input type='submit' class='nav_button' value='Çàïóñòèòü îáíîâëåíèå...'>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------
|
||||
@@ -417,7 +450,7 @@ $HTML .= <<<EOF
|
||||
</ul>
|
||||
<br />
|
||||
<div style='float: right'>
|
||||
<input type='submit' class='nav_button' value='Click here if not forwarded' />
|
||||
<input type='submit' class='nav_button' value='Íàæìèòå ñþäà, åñëè âàñ íå ïåðåìåñòèëî àâòîìàòè÷åñêè' />
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
@@ -454,20 +487,20 @@ EOF;
|
||||
function install_template_skinrevert( $skin_name="" )
|
||||
{
|
||||
$HTML = <<<EOF
|
||||
<br /><h3><b>Revert skin changes?</b></h3><br />
|
||||
During upgrades, there are often changes to the skin templates to fix bugs or add new features.<br /><br />
|
||||
If you do not revert changes you have made to your skin templates, you will not see the changes we have made, however if you have modified
|
||||
your skin templates reverting the skin changes will cause you to <i><b>lose</b></i> the customizations you have made.<br /><br />
|
||||
If you have not made many customizations to your skins, it is recommended that you choose to revert your skin changes.<br /><br />
|
||||
If you have custom skins installed, or have heavily modified your skin templates, it is recommended that you use the skin difference tool
|
||||
available in your admin control panel after the upgrade is complete to apply new changes to your templates instead.<br /><br />
|
||||
<br /><h3><b>Óäàëåíèå èçìåíåíèé â ñòèëÿõ</b></h3><br />
|
||||
Âî âðåìÿ îáíîâëåíèÿ ÷àñòî âîçíèêàåò íåîáõîäèìîñòü âíîñèòü èçìåíåíèÿ â øàáëîíû ñòèëÿ ÷òîáû èñïðàâèòü îøèáêè è äîáàâèòü íîâûå âîçìîæíîñòè.<br /><br />
|
||||
Åñëè âû íå çàõîòèòå óäàëÿòü èçìåíåíèÿ â øàáëîíàõ ñòèëÿ, ìàñòåð îáíîâëåíèÿ íå ñìîæåò âíåñòè èçìåíåíèÿ. Îäíàêî åñëè âû óäàëèòå èçìåíåíèÿ â ñòèëÿõ
|
||||
âû <i><b>ïîòåðÿåòå</b></i> âñþ ïðîäåëàííóþ ðàáîòó ïî èçìåíåíèþ ñòàíäàðòíîãî ñòèëÿ.<br /><br />
|
||||
Ïî-ýòîìó ìû ðåêîììåíäóåì âàì óäàëÿòü èçìåíåíèÿ â ñòèëå òîëüêî â òîì ñëó÷àå, åñëè èçìåíåíèé áûëî ìàëî. Åñëè æå ó âàñ ñîáñòâåííûé ñòèëü èëè áîëüøîå êîëè÷åñòâî
|
||||
èçìåíåíèé â øàáëîíàõ îò ìîäèôèêàöèé ìû ðåêîììåíäóåì îòêëþ÷èòü îïöèþ óäàëåíèÿ èçìåíåíèé è âîñïîëüçîâàòüñÿ èíñòðóìåíòîì ñðàâíåíèÿ ñòèëåé äëÿ äîáàâëåíèÿ èçìåíåíèé
|
||||
â ðó÷íóþ.<br /><br />
|
||||
|
||||
<h3>Do you wish to revert changes made to '<b>{$skin_name}</b>'?</h3>
|
||||
<h3>Âû æåëàåòå óäàëèòü èçìåíåíèÿ â øàáëîíàõ ñòèëÿ «<b>{$skin_name}</b>»?</h3>
|
||||
<ul id='links'>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='radio' name='do' value='all' /> Revert changes to all of my skins</li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='radio' name='do' value='1' /> Revert changes to '{$skin_name}'</li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='radio' name='do' value='none' /> Do not revert changes to any of my skins</li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='radio' name='do' value='0' /> Do not revert changes to '{$skin_name}'</li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='radio' name='do' value='all' /> Óäàëèòü èçìåíåíèÿ â øàáëîíàõ âñåõ ñòèëåé</li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='radio' name='do' value='1' /> Óäàëèòü èçìåíåíèÿ â øàáëîíàõ ñòèëÿ «{$skin_name}»</li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='radio' name='do' value='none' /> Íå óäàëÿòü èçìåíåíèÿ â øàáëîíàõ âñåõ ñòèëåé</li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <input type='radio' name='do' value='0' /> Íå óäàëÿòü èçìåíåíèÿ â øàáëîíàõ ñòèëÿ «{$skin_name}»</li>
|
||||
</ul>
|
||||
EOF;
|
||||
|
||||
@@ -481,14 +514,18 @@ EOF;
|
||||
{
|
||||
$HTML .= <<<EOF
|
||||
<br />
|
||||
<img src='images/install_done.gif' align='absmiddle' /> <span class='done_text'>Upgrade complete!</span><br /><br />
|
||||
Congratulations, your <a href='$url'>{$this->product_name}</a> is now up to date and ready to use! Below are some
|
||||
links you may find useful.<br /><br /><br />
|
||||
<h3>Useful Links</h3>
|
||||
<img src='images/install_done.gif' align='absmiddle' /> <span class='done_text'>Îáíîâëåíèå çàâåðøåíî!</span><br /><br />
|
||||
Ïîçäðàâëÿåì, îáíîâëåíèå <a href='$url'>{$this->product_name}</a> çàâåðøåíî!<br /><br />
|
||||
Âû ñåé÷àñ äîëæíû çàéòè â àäìèíöåíòð è çàïóñòèòü óòèëèòû «Îáíîâëåíèå ñîäåðæèìîãî ñîîáùåíèé» è «Îáíîâëåíèå èíôîðìàöèè î ïðèêðåïëåííûõ ôàéëàõ» â ìåíþ ÍÀÑÒÐÎÉÊÈ -> Ïåðåñ÷åò è îáíîâëåíèå.
|
||||
Ïî æåëàíèþ âû òàêæå ìîæåòå çàïóñòèòü óòèëèòû ìåæäó 2.1 è 2.2 â ðàçäåëå «Èíñòðóìåíòû î÷èñòêè».
|
||||
<br /><br />Íèæå ïðèâåäåíû íåñêîëüêî ïîëåçíûõ ññûëîê, êîòîðûå ïîìîãóò â âàøåé ðàáîòå.<br /><br /><br />
|
||||
<h3>Ïîëåçíûå ññûëêè</h3>
|
||||
<ul id='links'>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://www.invisionpower.com/landing/?p=clientarea'>Client area</a></li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://www.invisionpower.com/landing/?p=docs-ipd'>Documentation</a></li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://www.invisionpower.com/landing/?p=forums'>IPS Company Forum</a></li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.iblink.ru/clientarea'>Êëèåíò-öåíòð</a></li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.iblink.ru/docs-ipb'>Äîêóìåíòàöèÿ</a></li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://www.ibresource.ru/forums/'>Ôîðóìû êîìïàíèè</a></li>
|
||||
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.iblink.ru/wiki'>Invison Power Book</a></li>
|
||||
587 <li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.ipslink.com/ipboard22/landing/?p=forums'>Ôîðóìû êîìïàíèè IPS</a></li>
|
||||
</ul>
|
||||
EOF;
|
||||
return $HTML;
|
||||
|
||||
@@ -28,19 +28,19 @@ class application_installer extends class_installer
|
||||
if ( ! $this->ipsclass->member['id'] )
|
||||
{
|
||||
$this->template->page_current = 'login';
|
||||
$this->template->message = "You do not have access to this tool.";
|
||||
$this->template->message = "Âû íå èìååòå ïðàâ äîñòóïà ê ìàñòåðó îáíîâëåíèÿ.";
|
||||
}
|
||||
|
||||
if ( $this->ipsclass->return_md5_check() != $this->saved_data['securekey'] )
|
||||
{
|
||||
$this->template->page_current = 'login';
|
||||
$this->template->message = "You do not have access to this tool.";
|
||||
$this->template->message = "Âû íå èìååòå ïðàâ äîñòóïà ê ìàñòåðó îáíîâëåíèÿ.";
|
||||
}
|
||||
|
||||
if ( ! $this->ipsclass->member['g_access_cp'] )
|
||||
{
|
||||
$this->template->page_current = 'login';
|
||||
$this->template->message = "You must be an admin to access this upgrade script.";
|
||||
$this->template->message = "Äëÿ èñïîëüçîâàíèÿ ìàñòåðà îáíîâëåíèÿ âû äîëæíû îáëàäàòü ïðàâàìè àäìèíèñòðàòîðà ôîðóìà.";
|
||||
}
|
||||
|
||||
if( $this->ipsclass->DB->field_exists( 'converge_id', 'members_converge' ) )
|
||||
@@ -161,6 +161,35 @@ class application_installer extends class_installer
|
||||
return $vers;
|
||||
}
|
||||
|
||||
function get_db_codepage()
|
||||
{
|
||||
if ( $this->ipsclass->vars['sql_driver'] == 'mysql' )
|
||||
{
|
||||
$this->ipsclass->DB->sql_get_version();
|
||||
|
||||
if ( $this->ipsclass->DB->mysql_version >= 40101 )
|
||||
{
|
||||
$table_scheme = $this->ipsclass->DB->sql_get_table_schematic ( "topics" );
|
||||
|
||||
$q = $table_scheme['Create Table'];
|
||||
|
||||
$match = array();
|
||||
|
||||
if ( preg_match("/CHARSET=([a-zA-Z0-9]+)/", $q, $match) )
|
||||
{
|
||||
return $match[1];
|
||||
}
|
||||
|
||||
if ( preg_match("/CHARACTER SET ([a-zA-Z0-9]+)/", $q, $match) )
|
||||
{
|
||||
return $match[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Get dir structure..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -175,7 +204,7 @@ class application_installer extends class_installer
|
||||
|
||||
$dh = opendir( INS_ROOT_PATH.'installfiles' );
|
||||
|
||||
while ( $file = readdir( $dh ) )
|
||||
while ( false !== ( $file = readdir( $dh ) ) )
|
||||
{
|
||||
if ( is_dir( INS_ROOT_PATH.'installfiles/'.$file ) )
|
||||
{
|
||||
@@ -210,7 +239,7 @@ class application_installer extends class_installer
|
||||
// BBCODE
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$output[] = "Rebuilding bbcode cache...";
|
||||
$output[] = "Ñîçäàíèå êåøà BB-êîäîâ...";
|
||||
|
||||
$this->ipsclass->cache['bbcode'] = array();
|
||||
|
||||
@@ -228,7 +257,7 @@ class application_installer extends class_installer
|
||||
// Forum cache
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$output[] = "Rebuilding forum cache...";
|
||||
$output[] = "Ñîçäàíèå êåøà ôîðóìîâ...";
|
||||
|
||||
$this->ipsclass->update_forum_cache();
|
||||
|
||||
@@ -236,7 +265,7 @@ class application_installer extends class_installer
|
||||
// Group Cache
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$output[] = "Rebuilding group cache...";
|
||||
$output[] = "Ñîçäàíèå êåøà ãðóïï...";
|
||||
|
||||
$this->ipsclass->cache['group_cache'] = array();
|
||||
|
||||
@@ -257,7 +286,7 @@ class application_installer extends class_installer
|
||||
// Systemvars
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$output[] = "Rebuilding system cache...";
|
||||
$output[] = "Ñîçäàíèå êåøà ñèñòåìíûõ ïåðåìåííûõ";
|
||||
|
||||
$this->ipsclass->cache['systemvars'] = array();
|
||||
|
||||
@@ -272,7 +301,7 @@ class application_installer extends class_installer
|
||||
// Moderators
|
||||
//-----------------------------------------
|
||||
|
||||
$output[] = "Rebuilding moderator cache...";
|
||||
$output[] = "Ñîçäàíèå êåøà ìîäåðàòîðîâ ôîðóìîâ";
|
||||
|
||||
$this->ipsclass->cache['moderators'] = array();
|
||||
|
||||
@@ -286,7 +315,7 @@ class application_installer extends class_installer
|
||||
// Cal events / Birthdays
|
||||
//-----------------------------------------
|
||||
|
||||
$output[] = "Rebuilding calendar events/birthdays cache...";
|
||||
$output[] = "Ñîçäàíèå êåøà äíåé ðîæäåíèé/ñîáûòèé...";
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/calendars.php' );
|
||||
$calendars = new ad_calendars();
|
||||
@@ -299,7 +328,7 @@ class application_installer extends class_installer
|
||||
// Ranks
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$output[] = "Rebuilding ranks cache...";
|
||||
$output[] = "Ñîçäàíèå êåøà çâàíèé ïîëüçîâàòåëåé...";
|
||||
|
||||
$this->ipsclass->cache['ranks'] = array();
|
||||
|
||||
@@ -326,7 +355,7 @@ class application_installer extends class_installer
|
||||
// SETTINGS
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$output[] = "Rebuilding settings cache...";
|
||||
$output[] = "Ñîçäàíèå êåøà íàñòðîåê ôîðóìà...";
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/settings.php' );
|
||||
$settings = new ad_settings();
|
||||
@@ -338,7 +367,7 @@ class application_installer extends class_installer
|
||||
// EMOTICONS
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$output[] = "Rebuilding emoticons cache...";
|
||||
$output[] = "Ñîçäàíèå êåøà ñìàéëèêîâ...";
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/emoticons.php' );
|
||||
$emoticons = new ad_emoticons();
|
||||
@@ -350,7 +379,7 @@ class application_installer extends class_installer
|
||||
// LANGUAGES
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$output[] = "Rebuilding languages cache...";
|
||||
$output[] = "Ñîçäàíèå ÿçûêîâîãî êåøà...";
|
||||
|
||||
$this->ipsclass->cache['languages'] = array();
|
||||
|
||||
@@ -368,7 +397,7 @@ class application_installer extends class_installer
|
||||
// ATTACHMENT TYPES
|
||||
//-------------------------------------------------------------
|
||||
|
||||
$output[] = "Rebuilding attachment types cache...";
|
||||
$output[] = "Ñîçäàíèå êåøà òèïîâ ôàéëîâ...";
|
||||
|
||||
$this->ipsclass->cache['attachtypes'] = array();
|
||||
|
||||
@@ -384,6 +413,29 @@ class application_installer extends class_installer
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* application_installer::write_codepage_configuration
|
||||
*
|
||||
* Writes the configuration codepage for this app
|
||||
*
|
||||
*/
|
||||
function write_codepage_configuration()
|
||||
{
|
||||
$this->ipsclass->vars['mysql_codepage'] = $this->saved_data['mysql_codepage'];
|
||||
|
||||
$core_conf = $this->read_file( ROOT_PATH. "conf_global.php" );
|
||||
$cp = '$INFO['."'mysql_codepage'".']'."\t\t\t=\t'".$this->saved_data['mysql_codepage']."';\n";
|
||||
$core_conf = str_replace("\n".'?'.'>', $cp, $core_conf);
|
||||
$core_conf .= "\n".'?'.'>';
|
||||
|
||||
/* Write Configuration Files */
|
||||
$output = 'Îáíîâëåíèå êîíôèãóðàöèîííûõ ôàéëîâ...<br />';
|
||||
|
||||
$this->write_file( ROOT_PATH. "conf_global.php" , $core_conf );
|
||||
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Binary file not shown.
@@ -1,11 +1,10 @@
|
||||
<html>
|
||||
<head><title>Invision Power Board - Bulletin Board System</title></head>
|
||||
<body>
|
||||
<h1>403: Invision Power Board -> Forbidden</h1>
|
||||
<hr>
|
||||
You have reached this Page in error, please use
|
||||
your back button to return to Invision Board.
|
||||
<hr>
|
||||
<a href="http://www.invisionboard.com/">Invision Power Board</a>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>␍
|
||||
</html>
|
||||
+38
-10
@@ -1,7 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* Invision Power Board
|
||||
* Invision Installer Framework
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.2.2
|
||||
| Invision Power Board INSTALLER
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Monday 05th of March 2007 10:10:55 PM
|
||||
| Release: e3790216629e5a2aaf37070b32237f06
|
||||
| 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
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+--------------------------------------------------------------------------
|
||||
|
|
||||
| > Script written by Matthew Mecham
|
||||
| > Date started: 19th March 2004
|
||||
| > Updated for 2.1: 23 June 2005
|
||||
|
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@set_time_limit( 0 );
|
||||
@@ -38,6 +64,8 @@ $ipsclass->vars = $INFO;
|
||||
// Load the DB driver and such
|
||||
//--------------------------------
|
||||
|
||||
|
||||
|
||||
$ipsclass->init_db_connection();
|
||||
$ipsclass->DB->return_die = 1;
|
||||
$ipsclass->DB->obj['use_error_log'] = 0;
|
||||
@@ -67,6 +95,11 @@ $install = new application_installer();
|
||||
$install->ipsclass =& $ipsclass;
|
||||
$install->read_config();
|
||||
|
||||
if ( !isset($ipsclass->vars['mysql_codepage']) AND $cp = $install->get_db_codepage() )
|
||||
{
|
||||
$ipsclass->DB->obj['mysql_codepage'] = $cp;
|
||||
}
|
||||
|
||||
$install->template = new install_template( $ipsclass );
|
||||
$install->template->product_name = $install->product_name;
|
||||
$install->template->product_version = $install->product_version;
|
||||
@@ -75,12 +108,7 @@ $install->template->product_long_version = $install->product_long_version;
|
||||
//--------------------------------
|
||||
// Saved Data
|
||||
//--------------------------------
|
||||
$install->saved_data = unserialize( stripslashes( $_POST['saved_data'] ) );
|
||||
|
||||
if( $ipsclass->input['sub'] == "checkdb" AND !$install->saved_data )
|
||||
{
|
||||
$install->saved_data = unserialize( stripslashes( urldecode($_GET['saved_data']) ) );
|
||||
}
|
||||
$install->saved_data = unserialize( stripslashes( urldecode( $ipsclass->input['saved_data'] ) ) );
|
||||
|
||||
// -------------------------------
|
||||
// Run Install Step
|
||||
@@ -93,7 +121,7 @@ $install->post_process();
|
||||
// -------------------------------
|
||||
// Output
|
||||
// -------------------------------
|
||||
$install->template->saved_data = serialize( $install->saved_data );
|
||||
$install->template->saved_data = urlencode( serialize( $install->saved_data ) );
|
||||
$install->template->output( $install->product_name, $install->product_version );
|
||||
|
||||
?>
|
||||
@@ -67,6 +67,7 @@ TABLE {
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #000000;
|
||||
line-height: 150%;
|
||||
overflow: auto;
|
||||
overflow-y:auto;
|
||||
overflow-x:hidden;
|
||||
-moz-border-radius: 10px;
|
||||
@@ -210,4 +211,90 @@ TABLE .title {
|
||||
|
||||
TABLE .content {
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
/* ======================================== */
|
||||
/* For DB Index Checker
|
||||
/* ======================================== */
|
||||
|
||||
.tableborder
|
||||
{
|
||||
border: 1px solid #5D789C;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.tableheaderalt a:link,
|
||||
.tableheaderalt a:visited,
|
||||
.tableheaderalt a:active
|
||||
{
|
||||
text-decoration:none;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.tablefooter,
|
||||
.tablesubheader
|
||||
{
|
||||
background-color:#ACBFD9;
|
||||
font-size:10px;
|
||||
color: #3363A1;
|
||||
font-weight:bold;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
|
||||
.tablerowmedium
|
||||
{
|
||||
background-color:#999;
|
||||
}
|
||||
|
||||
.tablerow1 img,
|
||||
.tablerow2 img,
|
||||
.tablerow3 img
|
||||
{
|
||||
vertical-align:middle;
|
||||
border:0px;
|
||||
}
|
||||
|
||||
.tablerow1
|
||||
{
|
||||
background-color:#EAEDF0;
|
||||
padding:6px;
|
||||
border-bottom:1px solid #C1BEBE;
|
||||
border-right:1px solid #C1BEBE;
|
||||
border-top:1px solid #FFF;
|
||||
border-left:1px solid #FFF;
|
||||
}
|
||||
|
||||
.tablerow2
|
||||
{
|
||||
background-color:#F1F1F1;
|
||||
padding:6px;
|
||||
|
||||
border-bottom:1px solid #C1BEBE;
|
||||
border-right:1px solid #C1BEBE;
|
||||
border-top:1px solid #FFF;
|
||||
border-left:1px solid #FFF;
|
||||
}
|
||||
|
||||
.tablerow3
|
||||
{
|
||||
background-color:#D1DCEB;
|
||||
padding:6px;
|
||||
|
||||
border-bottom:1px solid #D1DCEB;
|
||||
border-right:1px solid #D1DCEB;
|
||||
border-top:1px solid #FFF;
|
||||
border-left:1px solid #FFF;
|
||||
}
|
||||
|
||||
.tablerow4
|
||||
{
|
||||
background-color:#C0CBDA;
|
||||
padding:6px;
|
||||
|
||||
border-bottom:1px solid #D1DCEB;
|
||||
border-right:1px solid #D1DCEB;
|
||||
border-top:1px solid #FFF;
|
||||
border-left:1px solid #FFF;
|
||||
}
|
||||
@@ -1,63 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<installdata>
|
||||
<package>
|
||||
<name>Invision Power Board</name>
|
||||
<version>2.2 ALPHA 2</version>
|
||||
<versionlong>22001</versionlong>
|
||||
<name>русской версии Invision Power Board</name>
|
||||
<version>2.2.1</version>
|
||||
<versionlong>22101</versionlong>
|
||||
<build>1134742970</build>
|
||||
<license>Invision Power Services, Inc.
|
||||
Invision Power Board Software
|
||||
End User License Agreement (Version 2.2.x)
|
||||
<license>Мы настоятельно рекомендуем вам внимательно ознакомиться с данным документом. В нем содержится информация о том, какие правила будут регламентировать права и обязанности сторон, подписавших данное соглашение. Обратите внимание на выполнение обязательных условий при использовании нашего продукта, как при самостоятельной установке, так и при обращении в службу технической поддержки.
|
||||
|
||||
LICENSE
|
||||
Invision Power Services (IPS) grants you a non-exclusive license to use the Software on one installation to be accessable by one URL (web address) subject to the provisions in all sections of this Agreement.
|
||||
Invision Power Services, Inc.
|
||||
Продукт: Invision Power Board
|
||||
Лицензионное соглашение (для версии 2.2.x)
|
||||
|
||||
TERM
|
||||
Invision Power Board is offered under yearly and lifetime licensing. Both license terms feature technical support and service plus access to upgrades to the software as they are available. In the event a one year license expires without being renewed, the software will remain completely functional but will be unsupported and no access to upgrades will be made available.
|
||||
ЛИЦЕНЗИЯ
|
||||
В рамках данного лицензионного соглашения покупатель (далее Заказчик) программного обеспечения Invision Power Board (далее Система) получает право на однократную установку Системы только на один URL адрес сайта (далее Адрес), указанный при заказе.
|
||||
Исключительные права на Систему остаются у компании Invision Power Services Inc. (далее Исполнитель).
|
||||
|
||||
SCOPE OF GRANT
|
||||
СРОКИ
|
||||
Invision Power Board имеет годовую лицензию. В нее входит техническая поддержка сроком на один год, а также доступ к дистрибутиву Системы и ее обновлениям (по мере их публикации) сроком на один год. После истечении срока действия лицензии Система останется полностью функциональной, но вы уже не будете иметь доступа к технической поддержке и обновлениям.
|
||||
|
||||
You may:
|
||||
Права и обязанности сторон
|
||||
|
||||
* customize the Software's design and operation to suit the internal needs of your web site except to the extent not permitted in this Agreement
|
||||
* produce and distribute modification instructions, Skin packs, or Language packs provided that they contain notification that the Skin and Language packs were exported from and originally created by Invision Power Board and/or IPS. The modifications instructions you personally create are not owned by IPS so long as they contain no proprietary coding from Invision Power Board.
|
||||
* create applications which interface with the operation of the Software provided said application is an original work
|
||||
Вы имеете право:
|
||||
|
||||
* изменять дизайн и структуру программного продукта, в соответствии с нуждами вашего сайта, но не нарушая других условий данного соглашения.
|
||||
* разрабатывать и распространять инструкции по созданным вами модификациям, стилям и другим дополнительным компонентам к Системе, но в них должно указываться на настоящего разработчика Системы до ваших модификаций, т.е. на Исполнителя. Модификации, произведенные вами самостоятельно, не являются собственностью Исполнителя, если не содержат исходный код Системы.
|
||||
* создавать приложения, интерфейс которых будет успешно работать с Системой, указав, что это ваш оригинальный продукт.
|
||||
|
||||
|
||||
You may not:
|
||||
Вы не имеете право:
|
||||
|
||||
* permit other individuals to use the Software except under the terms listed above
|
||||
* reverse engineer, disassemble, or create derivative works based on the Software for distribution or usage outside your web site
|
||||
* use the Software in such as way as to condone or encourage terrorism, promote or provide pirated Software, or any other form of illegal or damaging activity
|
||||
* modify and/or remove any copyright notices or labels on the Software on each page (unless copyright output removal license is purchased) and in the header of each script source file
|
||||
* distribute the Software
|
||||
* distribute individual copies of files, libraries, or other programming material in the Software package
|
||||
* distribute or modify proprietary graphics, HTML, or CSS packaged with the Software for use in Software applications other than Invision Power Board or web sites without written permission from IPS
|
||||
* modify the software to function in more than one instance or location (URL, domain, subdomain, etc.) from a single set of source program files unless each location is separately licensed
|
||||
* передавать права на использование Системы третьим лицам, кроме случаев перечисленных выше.
|
||||
* изменять структуру исходного кода, функции программы или создавать собственные продукты, базирующиеся на исходном коде Системы, либо использовать Систему вне вашего сайта.
|
||||
* использовать Систему для пропагандирования терроризма, развития пиратского программного обеспечения и других нелегальных материалов.
|
||||
* изменять или удалять любые упоминания об авторских правах (copyrights) в Системе, указываемые в нижней части каждой страницы форума (кроме случаев, когда вы приобрели разрешение на удаление этих строк), а также указанные в верхней части исходного кода каждого файла.
|
||||
* распространять Систему.
|
||||
* распространять индивидуальные копии файлов, библиотек и другого исходного кода Системы.
|
||||
* распространять или модифицировать любую графику, HTML, CSS Системы в вашем индивидуальном программном обеспечении, отличном от Системы, а также на вашем сайте.
|
||||
* модифицировать Систему для работы одного комплекта исходных файлов сразу на нескольких Адресах (URL, доменах, поддоменах, и т.д.). Для каждого форума требуется отдельная лицензия.
|
||||
|
||||
|
||||
DISCLAIMER OF WARRANTY
|
||||
The Software is provided on an "AS IS" basis, without warranty of any kind, including without limitation the warranties of merchantability, fitness for a particular purpose, and non-infringement. The entire risk as to the quality and performance of the Software is borne by you. Should the Software prove defective, you and not IPS assume the entire cost of any service and repair. In addition, the security mechanisms implemented by IPS Software have inherent limitations, and you must determine that the Software sufficiently meets your requirements. This disclaimer of warranty constitutes an essential part of the Agreement.
|
||||
ГАРАНТИЙНОЕ ОБЯЗАТЕЛЬСТВО
|
||||
Система распространяется в соответствии с условием «AS IS» (как есть), без гарантий любого рода, включая отсутствие ограничения гарантий на продажу, приобретение частей или целого не сертифицированного продукта. Весь риск за совершение данной сделки по отношению к качеству продукта ложится на вас. Если вы приобретаете Систему, то вы, а не Исполнитель, должны оплачивать техническую поддержку и исправление неполадок по работе вашего сервера и форума. В дополнение мы хотим отметить, что механизмы безопасности, установленные в Системе, имеют известные ограничения, и вы должны быть ознакомлены с отсутствием абсолютных гарантий от взлома вашего сайта или форума хакерами. Этот отказ от гарантий является одной из составных частей нашего лицензионного соглашения.
|
||||
|
||||
TITLE
|
||||
Title, ownership rights, and intellectual property rights in the Software shall remain with IPS. The Software is protected by copyright laws and treaties. Title and related rights in the content generated through the Software is the property of the applicable content owner and may be protected by applicable law. This License gives IPS no rights to such content.
|
||||
ЗАГОЛОВКИ
|
||||
Заголовки, права владельца и права на интеллектуальную собственность принадлежат Исполнителю. Система защищена законом об авторских правах. Заголовки и содержание страниц, создаваемых Системой, любые публикуемые оригинальные материалы и связанные с этим права на них, также как и материалы, создаваемые в результате использования Системы, являются собственностью покупателя Системы и защищены законом. Мы не несем никакой ответственности за содержание ваших сайтов и форумов. Данная лицензия не передает Invision Power Services Inc. права на вашу интеллектуальную собственность.
|
||||
|
||||
TERMINATION
|
||||
This Agreement will terminate automatically upon failure to comply with the limitations described herein or on written notice from an authorized representative of IPS. On termination, you must destroy all copies of the Software within 48 hours. Termination of the license due to noncompliance will not result in any refunds of license fees.
|
||||
РАСТОРЖЕНИЕ ЛИЦЕНЗИОННОГО СОГЛАШЕНИЯ
|
||||
Данное соглашение расторгается автоматически, если вы нарушаете его условия. После расторжения вы обязуетесь уничтожить все имеющиеся у вас Системы в течение 48 часов. Расторжение лицензионного соглашения лицензии из-за нарушения его условий не приводит к выплатам покупателю за лицензию.
|
||||
|
||||
MISCELLANEOUS
|
||||
IPS reserves the right to publish a selected list of users of the Software. IPS reserves the right to change the terms of this Agreement at any time. Changes to the Agreement will be announced via email using the IPS email notification list. Failure to receive notification of a change does not make those changes invalid. A current copy of this Agreement will be available on the Invision Power Board web site.
|
||||
СОДЕРЖАНИЕ
|
||||
Исполнитель оставляет за собой право публиковать списки избранных клиентов своих программных продуктов. Исполнитель оставляет за собой право в любое время изменять условия данного лицензионного соглашения, но данные действия не имеют и не будут иметь обратной силы. Изменения данного договора будут отправлены клиентам по электронной почте. Отсутствие у клиентов письма с уведомлением не является причиной невыполнения изменившихся условий использования наших программных продуктов. Копия данного лицензионного соглашения и его изменения будут доступны на сайте Исполнителя.
|
||||
|
||||
Skin packs and Language packs are defined as the group of code, text, and graphics that are exported from the Software using the provided functions of the Software Administration Control Panel. Integrated add-ons for Invision Power Board are released under this Agreement. Purchasing or downloading integrated add-ons constitute an additional, separate instance of this Agreement.
|
||||
Пакеты стилей и языковые пакеты также защищены договорами, как и наши программные коды, тексты файлов и графика, если вы получили их с нашего сайта.
|
||||
|
||||
Technical support will not be provided for third-party modifications to the Software including modifications to code, Skin packs, and Language packs to any license holder. If the Software is modified using a third-party modification instruction or otherwise, technical support may be refused to any license holder.
|
||||
Наши гарантии и техническая поддержка не распространяются на модификации, произведенные третьей стороной, включая изменения исходного кода Системы, стиля и языковых пакетов, как и на изменения перечисленных частей владельцем лицензии самостоятельно. Если Система изменена вами или третьей стороной, то Исполнитель вправе отказать вам в технической поддержке.
|
||||
|
||||
PROPRIETARY LABELS
|
||||
Authorization to remove or modify output of copyright notices can be obtained from IPS for a fee. This fee authorizes you to remove the output of copyright notices: it does not give you authorization to remove any copyright notices in the program source files or any other rights.
|
||||
УПОМИНАНИЕ ОБ АВТОРСКИХ ПРАВАХ
|
||||
Разрешение на удаление упоминаний об авторских правах может быть дано клиенту от Исполнителя за определенную плату. Это разрешение дает право на удаление упоминаний об авторских правах на страницах форума, но не дает право удалять их из файлов с исходным кодом.
|
||||
|
||||
GOVERNING LAW
|
||||
This Agreement shall be governed by the Laws of the Commonwealth of Virginia and the Laws of the United States of America. Any action in regard to this Agreement or arising out of its terms and conditions shall be instituted and litigated in the Circuit Court of Bedford County. Each of the parties consents to jurisdiction in such Court and agrees that service of process as provided by the states and rules of civil procedures of the Commonwealth of Virginia shall be sufficient. (FTB)
|
||||
ЗАКОН ОБ ИСПОЛЬЗОВАНИИ
|
||||
Данное лицензионное соглашение находится в полном соответствии с законами штата Virginia, США.
|
||||
Любые нарушения данного соглашения являются предметом судебного разбирательства, как авторских прав.
|
||||
|
||||
MANUFACTURER
|
||||
Invision Power Services, Inc., 1115 Vista Park Drive Suite C, Forest, VA 24551. For questions, write to the above address, email info@invisionpower.com, or call 434-316-7201.</license>
|
||||
ПРОИЗВОДИТЕЛЬ
|
||||
Invision Power Services, Inc., United States, 1115 Vista Park Drive Suite C, Forest, VA 24551.
|
||||
По всем вопросам, пишите на e-mail info@invisionpower.com, на наш адрес sales@ibresource.ru, или звоните +1-434-316-7201.</license>
|
||||
</package>
|
||||
</installdata>
|
||||
@@ -1,22 +1,22 @@
|
||||
<installdata>
|
||||
<action>
|
||||
<file>login</file>
|
||||
<menu>Login</menu>
|
||||
<menu><![CDATA[Авторизация]]></menu>
|
||||
<position>0</position>
|
||||
</action>
|
||||
<action>
|
||||
<file>overview</file>
|
||||
<menu>Overview</menu>
|
||||
<menu><![CDATA[Информация]]></menu>
|
||||
<position>1</position>
|
||||
</action>
|
||||
<action>
|
||||
<file>eula</file>
|
||||
<menu>EULA</menu>
|
||||
<menu><![CDATA[Cоглашение]]></menu>
|
||||
<position>2</position>
|
||||
</action>
|
||||
<action>
|
||||
<file>install</file>
|
||||
<menu>Upgrade</menu>
|
||||
<menu><![CDATA[Обновление]]></menu>
|
||||
<position>3</position>
|
||||
</action>
|
||||
</installdata>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -159,12 +159,19 @@ class version_upgrade
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
$this->install->ipsclass->DB->error = '';
|
||||
|
||||
if( $this->install->saved_data['man'] )
|
||||
if ( preg_match("/CREATE TABLE (\S+) \(/", $query) )
|
||||
{
|
||||
$output .= preg_replace("/\sibf_(\S+?)([\s\.,]|$)/", " ".$this->install->ipsclass->DB->obj['sql_tbl_prefix']."\\1\\2", preg_replace( "/\s{1,}/", " ", $query ) )."\n\n";
|
||||
//-----------------------------------
|
||||
// Pass to handler
|
||||
//-----------------------------------
|
||||
$extra_install = $this->install->extra_install;
|
||||
|
||||
if ( $extra_install AND method_exists( $extra_install, 'process_query_create' ) )
|
||||
{
|
||||
$query = $extra_install->process_query_create( $query );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
$this->install->ipsclass->DB->query( $query );
|
||||
|
||||
if ( $this->install->ipsclass->DB->error )
|
||||
@@ -176,7 +183,6 @@ class version_upgrade
|
||||
$this->sqlcount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Check...
|
||||
@@ -187,15 +193,15 @@ class version_upgrade
|
||||
|
||||
if ( intval( $count['count'] ) < 1 )
|
||||
{
|
||||
$this->install->error[] = "The back-up forums table has not been populated successfully. Continuing this convert WILL delete all forums permanently. Contact technical support immediately.";
|
||||
$this->install->error[] = "Íå óäàëîñü ñîçäàòü ðåçåðâíóþ êîïèþ òàáëèöû forums. Ïðè ïðîäîëæåíèè êîíâåðòàöèè âñå ôîðóìû áóäóò ïîòåðÿíû. Âàì ñðî÷íî íåîáõîäèìî ñâÿçàòüñÿ ñ <a href='https://www.ibresource.ru/clientarea/' target='_blank'>íàøåé</a> ñëóæáîé ïîääåðæêè.";
|
||||
}
|
||||
|
||||
$this->install->message = "Forums table backed up - creating new tables next....<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Ðåçåðâíàÿ êîïèÿ òàáëèö óñïåøíî ñîçäàíà, ïåðåõîäèì ê ñîçäàíèþ íîâûõ òàáëèö...<br /><br />Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
$this->install->saved_data['workact'] = 'step_2';
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
@@ -235,8 +241,8 @@ class version_upgrade
|
||||
$SQL[] = "CREATE TABLE ".SQL_PREFIX."message_text (
|
||||
msg_id int(10) NOT NULL auto_increment,
|
||||
msg_date int(10) default 0,
|
||||
msg_post text default '',
|
||||
msg_cc_users text default '',
|
||||
msg_post text NULL,
|
||||
msg_cc_users text NULL,
|
||||
msg_sent_to_count smallint(5) NOT NULL default '0',
|
||||
msg_deleted_count smallint(5) NOT NULL default '0',
|
||||
msg_post_key varchar(32) NOT NULL default '0',
|
||||
@@ -277,12 +283,12 @@ class version_upgrade
|
||||
set_author_email varchar(255) NOT NULL default '',
|
||||
set_author_name varchar(255) NOT NULL default '',
|
||||
set_author_url varchar(255) NOT NULL default '',
|
||||
set_css mediumtext NOT NULL default '',
|
||||
set_wrapper mediumtext NOT NULL default '',
|
||||
set_css mediumtext NULL,
|
||||
set_wrapper mediumtext NULL,
|
||||
set_css_updated int(10) NOT NULL default '0',
|
||||
set_cache_css mediumtext NOT NULL default '',
|
||||
set_cache_macro mediumtext NOT NULL default '',
|
||||
set_cache_wrapper mediumtext NOT NULL default '',
|
||||
set_cache_css mediumtext NULL,
|
||||
set_cache_macro mediumtext NULL,
|
||||
set_cache_wrapper mediumtext NULL,
|
||||
set_emoticon_folder varchar(60) NOT NULL default 'default',
|
||||
PRIMARY KEY(set_skin_set_id)
|
||||
);";
|
||||
@@ -290,7 +296,7 @@ class version_upgrade
|
||||
$SQL[] = "CREATE TABLE ".SQL_PREFIX."skin_templates_cache (
|
||||
template_id varchar(32) NOT NULL default '',
|
||||
template_group_name varchar(255) NOT NULL default '',
|
||||
template_group_content mediumtext NOT NULL default '',
|
||||
template_group_content mediumtext NULL,
|
||||
template_set_id int(10) NOT NULL default '0',
|
||||
primary key (template_id),
|
||||
KEY template_set_id (template_set_id),
|
||||
@@ -303,8 +309,8 @@ class version_upgrade
|
||||
mail_date int(10) NOT NULL default '0',
|
||||
mail_to varchar(255) NOT NULL default '',
|
||||
mail_from varchar(255) NOT NULL default '',
|
||||
mail_subject text NOT NULL default '',
|
||||
mail_content text NOT NULL default '',
|
||||
mail_subject text NULL,
|
||||
mail_content text NULL,
|
||||
mail_type varchar(200) NOT NULL default '',
|
||||
PRIMARY KEY (mail_id)
|
||||
);";
|
||||
@@ -320,7 +326,7 @@ class version_upgrade
|
||||
task_minute smallint(2) NOT NULL default '-1',
|
||||
task_cronkey varchar(32) NOT NULL default '',
|
||||
task_log tinyint(1) NOT NULL default '0',
|
||||
task_description text NOT NULL default '',
|
||||
task_description text NULL,
|
||||
task_enabled tinyint(1) NOT NULL default '1',
|
||||
task_key varchar(30) NOT NULL default '',
|
||||
task_safemode tinyint(1) NOT NULL default '0',
|
||||
@@ -333,32 +339,32 @@ class version_upgrade
|
||||
log_title varchar(255) NOT NULL default '',
|
||||
log_date int(10) NOT NULL default '0',
|
||||
log_ip varchar(16) NOT NULL default '0',
|
||||
log_desc text NOT NULL default '',
|
||||
log_desc text NULL,
|
||||
PRIMARY KEY(log_id)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ".SQL_PREFIX."custom_bbcode (
|
||||
bbcode_id int(10) NOT NULL auto_increment,
|
||||
bbcode_title varchar(255) NOT NULL default '',
|
||||
bbcode_desc text NOT NULL default '',
|
||||
bbcode_desc text NULL,
|
||||
bbcode_tag varchar(255) NOT NULL default '',
|
||||
bbcode_replace text NOT NULL default '',
|
||||
bbcode_replace text NULL,
|
||||
bbcode_useoption tinyint(1) NOT NULL default '0',
|
||||
bbcode_example text NOT NULL default '',
|
||||
bbcode_example text NULL,
|
||||
PRIMARY KEY (bbcode_id)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ".SQL_PREFIX."conf_settings (
|
||||
conf_id int(10) NOT NULL auto_increment,
|
||||
conf_title varchar(255) NOT NULL default '',
|
||||
conf_description text NOT NULL default '',
|
||||
conf_description text NULL,
|
||||
conf_group smallint(3) NOT NULL default '0',
|
||||
conf_type varchar(255) NOT NULL default '',
|
||||
conf_key varchar(255) NOT NULL default '',
|
||||
conf_value text NOT NULL default '',
|
||||
conf_default text NOT NULL default '',
|
||||
conf_extra text NOT NULL default '',
|
||||
conf_evalphp text NOT NULL default '',
|
||||
conf_value text NULL,
|
||||
conf_default text NULL,
|
||||
conf_extra text NULL,
|
||||
conf_evalphp text NULL,
|
||||
conf_protected tinyint(1) NOT NULL default '0',
|
||||
conf_position smallint(3) NOT NULL default '0',
|
||||
conf_start_group varchar(255) NOT NULL default '',
|
||||
@@ -371,7 +377,7 @@ class version_upgrade
|
||||
$SQL[] = "CREATE TABLE ".SQL_PREFIX."conf_settings_titles (
|
||||
conf_title_id smallint(3) NOT NULL auto_increment,
|
||||
conf_title_title varchar(255) NOT NULL default '',
|
||||
conf_title_desc text NOT NULL default '',
|
||||
conf_title_desc text NULL,
|
||||
conf_title_count smallint(3) NOT NULL default '0',
|
||||
conf_title_noshow tinyint(1) NOT NULL default '0',
|
||||
conf_title_keyword varchar(200) NOT NULL default '',
|
||||
@@ -388,7 +394,7 @@ class version_upgrade
|
||||
$SQL[] = "CREATE TABLE ".SQL_PREFIX."banfilters (
|
||||
ban_id int(10) NOT NULL auto_increment,
|
||||
ban_type varchar(10) NOT NULL default 'ip',
|
||||
ban_content text NOT NULL default '',
|
||||
ban_content text NULL,
|
||||
ban_date int(10) NOT NULL default '0',
|
||||
PRIMARY KEY (ban_id)
|
||||
);";
|
||||
@@ -399,7 +405,7 @@ class version_upgrade
|
||||
atype_mimetype varchar(255) NOT NULL default '',
|
||||
atype_post tinyint(1) NOT NULL default '1',
|
||||
atype_photo tinyint(1) NOT NULL default '0',
|
||||
atype_img text NOT NULL default '',
|
||||
atype_img text NULL,
|
||||
PRIMARY KEY (atype_id)
|
||||
);";
|
||||
|
||||
@@ -415,8 +421,8 @@ class version_upgrade
|
||||
$SQL[] = "CREATE TABLE ".SQL_PREFIX."announcements (
|
||||
announce_id int(10) UNSIGNED NOT NULL auto_increment,
|
||||
announce_title varchar(255) NOT NULL default '',
|
||||
announce_post text NOT NULL default '',
|
||||
announce_forum text NOT NULL default '',
|
||||
announce_post text NULL,
|
||||
announce_forum text NULL,
|
||||
announce_member_id mediumint(8) UNSIGNED NOT NULL default '0',
|
||||
announce_html_enabled tinyint(1) NOT NULL default '0',
|
||||
announce_views int(10) UNSIGNED NOT NULL default '0',
|
||||
@@ -433,19 +439,19 @@ class version_upgrade
|
||||
mlog_from varchar(250) NOT NULL default '',
|
||||
mlog_subject varchar(250) NOT NULL default '',
|
||||
mlog_content varchar(250) NOT NULL default '',
|
||||
mlog_msg text NOT NULL default '',
|
||||
mlog_msg text NULL,
|
||||
mlog_code varchar(200) NOT NULL default '',
|
||||
mlog_smtp_msg text NOT NULL default '',
|
||||
mlog_smtp_msg text NULL,
|
||||
PRIMARY KEY (mlog_id)
|
||||
);";
|
||||
|
||||
$SQL[] = "CREATE TABLE ".SQL_PREFIX."bulk_mail (
|
||||
mail_id int(10) NOT NULL auto_increment,
|
||||
mail_subject varchar(255) NOT NULL default '',
|
||||
mail_content mediumtext NOT NULL default '',
|
||||
mail_groups mediumtext NOT NULL default '',
|
||||
mail_content mediumtext NULL,
|
||||
mail_groups mediumtext NULL,
|
||||
mail_honor tinyint(1) NOT NULL default '1',
|
||||
mail_opts mediumtext NOT NULL default '',
|
||||
mail_opts mediumtext NULL,
|
||||
mail_start int(10) NOT NULL default '0',
|
||||
mail_updated int(10) NOT NULL default '0',
|
||||
mail_sentto int(10) NOT NULL default '0',
|
||||
@@ -460,7 +466,7 @@ class version_upgrade
|
||||
upgrade_version_human varchar(200) NOT NULL default '',
|
||||
upgrade_date int(10) NOT NULL default '0',
|
||||
upgrade_mid int(10) NOT NULL default '0',
|
||||
upgrade_notes text NOT NULL default '',
|
||||
upgrade_notes text NULL,
|
||||
PRIMARY KEY (upgrade_id)
|
||||
);";
|
||||
|
||||
@@ -474,7 +480,7 @@ class version_upgrade
|
||||
last_poster_id mediumint(8) NOT NULL default '0',
|
||||
last_poster_name varchar(32) default NULL,
|
||||
name varchar(128) NOT NULL default '',
|
||||
description text,
|
||||
description text NULL,
|
||||
position tinyint(2) default NULL,
|
||||
use_ibc tinyint(1) default NULL,
|
||||
use_html tinyint(1) default NULL,
|
||||
@@ -499,11 +505,11 @@ class version_upgrade
|
||||
redirect_hits int(10) NOT NULL default '0',
|
||||
redirect_loc varchar(250) default '',
|
||||
rules_title varchar(255) NOT NULL default '',
|
||||
rules_text text NOT NULL,
|
||||
rules_text text NULL,
|
||||
topic_mm_id varchar(250) NOT NULL default '',
|
||||
notify_modq_emails text default '',
|
||||
permission_custom_error text NOT NULL default '',
|
||||
permission_array mediumtext NOT NULL default '',
|
||||
notify_modq_emails text NULL,
|
||||
permission_custom_error text NULL,
|
||||
permission_array mediumtext NULL,
|
||||
permission_showtopic tinyint(1) NOT NULL default '0',
|
||||
queued_topics mediumint(6) NOT NULL default '0',
|
||||
queued_posts mediumint(6) NOT NULL default '0',
|
||||
@@ -514,7 +520,7 @@ class version_upgrade
|
||||
$SQL[] = "CREATE TABLE ".SQL_PREFIX."subscriptions (
|
||||
sub_id smallint(5) NOT NULL auto_increment,
|
||||
sub_title varchar(250) NOT NULL default '',
|
||||
sub_desc text,
|
||||
sub_desc text NULL,
|
||||
sub_new_group mediumint(8) NOT NULL default 0,
|
||||
sub_length smallint(5) NOT NULL default '1',
|
||||
sub_unit varchar(2) NOT NULL default 'm',
|
||||
@@ -530,11 +536,11 @@ class version_upgrade
|
||||
subextra_product_id varchar(250) NOT NULL default '0',
|
||||
subextra_can_upgrade tinyint(1) NOT NULL default '0',
|
||||
subextra_recurring tinyint(1) NOT NULL default '0',
|
||||
subextra_custom_1 text,
|
||||
subextra_custom_2 text,
|
||||
subextra_custom_3 text,
|
||||
subextra_custom_4 text,
|
||||
subextra_custom_5 text,
|
||||
subextra_custom_1 text NULL,
|
||||
subextra_custom_2 text NULL,
|
||||
subextra_custom_3 text NULL,
|
||||
subextra_custom_4 text NULL,
|
||||
subextra_custom_5 text NULL,
|
||||
PRIMARY KEY(subextra_id)
|
||||
) TYPE=MyISAM;";
|
||||
|
||||
@@ -562,8 +568,8 @@ class version_upgrade
|
||||
sublog_member_id mediumint(8) NOT NULL default '0',
|
||||
sublog_transid int(10) NOT NULL default '',
|
||||
sublog_ipaddress varchar(16) NOT NULL default '',
|
||||
sublog_data text,
|
||||
sublog_postdata text,
|
||||
sublog_data text NULL,
|
||||
sublog_postdata text NULL,
|
||||
PRIMARY KEY (sublog_id)
|
||||
) TYPE=MyISAM;";
|
||||
|
||||
@@ -572,16 +578,16 @@ class version_upgrade
|
||||
submethod_title varchar(250) NOT NULL default '',
|
||||
submethod_name varchar(20) NOT NULL default '',
|
||||
submethod_email varchar(250) NOT NULL default '',
|
||||
submethod_sid text,
|
||||
submethod_custom_1 text,
|
||||
submethod_custom_2 text,
|
||||
submethod_custom_3 text,
|
||||
submethod_custom_4 text,
|
||||
submethod_custom_5 text,
|
||||
submethod_sid text NULL,
|
||||
submethod_custom_1 text NULL,
|
||||
submethod_custom_2 text NULL,
|
||||
submethod_custom_3 text NULL,
|
||||
submethod_custom_4 text NULL,
|
||||
submethod_custom_5 text NULL,
|
||||
submethod_is_cc tinyint(1) NOT NULL default '0',
|
||||
submethod_is_auto tinyint(1) NOT NULL default '0',
|
||||
submethod_desc text,
|
||||
submethod_logo text,
|
||||
submethod_desc text NULL,
|
||||
submethod_logo text NULL,
|
||||
submethod_active tinyint(1) NOT NULL default '0',
|
||||
submethod_use_currency varchar(10) NOT NULL default 'USD',
|
||||
PRIMARY KEY (submethod_id)
|
||||
@@ -607,6 +613,19 @@ class version_upgrade
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
$this->install->ipsclass->DB->error = '';
|
||||
|
||||
if ( preg_match("/CREATE TABLE (\S+) \(/", $query) )
|
||||
{
|
||||
//-----------------------------------
|
||||
// Pass to handler
|
||||
//-----------------------------------
|
||||
$extra_install = $this->install->extra_install;
|
||||
|
||||
if ( $extra_install AND method_exists( $extra_install, 'process_query_create' ) )
|
||||
{
|
||||
$query = $extra_install->process_query_create( $query );
|
||||
}
|
||||
}
|
||||
|
||||
if( $this->install->saved_data['man'] )
|
||||
{
|
||||
$output .= preg_replace("/\sibf_(\S+?)([\s\.,]|$)/", " ".$this->install->ipsclass->DB->obj['sql_tbl_prefix']."\\1\\2", preg_replace( "/\s{1,}/", " ", $query ) )."\n\n";
|
||||
@@ -626,12 +645,12 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "New tables created. Altering tables (Part 1, section 1 - post table)<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Íîâûå òàáëèöû ñîçäàíû. Ìîäèôèêàöèÿ ïîëåé òàáëèö ýòàï 1 (òàáëèöà ñîîáùåíèé)<br /><br />Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
$this->install->saved_data['workact'] = 'step_3';
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br /><div class='eula'>".nl2br(htmlspecialchars($output))."</div>";
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
@@ -677,12 +696,12 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Post table altered, altering topic table next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Ïîëÿ â òàáëèöå ñîîáùåíèé èçìåíåíû, èçìåíÿåì òàáëèöó òåì...<br /><br />Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
$this->install->saved_data['workact'] = 'step_4';
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br /><div class='eula'>".nl2br(htmlspecialchars($output))."</div>";
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
@@ -726,12 +745,12 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Topic table altered, altering members table next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Ïîëÿ â òàáëèöå òåì èçìåíåíû, èçìåíÿåì òàáëèöó ïîëüçîâàòåëåé...<br /><br />Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
$this->install->saved_data['workact'] = 'step_5';
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br /><div class='eula'>".nl2br(htmlspecialchars($output))."</div>";
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
@@ -744,18 +763,18 @@ class version_upgrade
|
||||
function step_5()
|
||||
{
|
||||
$SQL[] = "alter table ".SQL_PREFIX."members add login_anonymous varchar(3) NOT NULL default '0&0';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."members add ignored_users text NOT NULL default '';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."members add ignored_users text NULL;";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."members add mgroup_others varchar(255) NOT NULL default '';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."member_extra
|
||||
ADD aim_name varchar(40) NOT NULL default '',
|
||||
ADD icq_number int(15) NOT NULL default '0',
|
||||
ADD website varchar(250) NOT NULL default '',
|
||||
ADD yahoo varchar(40) NOT NULL default '',
|
||||
ADD interests text NOT NULL default '',
|
||||
ADD interests text NULL,
|
||||
ADD msnname varchar(200) NOT NULL default '',
|
||||
ADD vdirs text NOT NULL default '',
|
||||
ADD vdirs text NULL,
|
||||
ADD location varchar(250) NOT NULL default '',
|
||||
ADD signature text NOT NULL default '',
|
||||
ADD signature text NULL,
|
||||
ADD avatar_location varchar(128) NOT NULL default '',
|
||||
ADD avatar_size varchar(9) NOT NULL default '',
|
||||
ADD avatar_type varchar(15) NOT NULL default 'local';";
|
||||
@@ -793,12 +812,12 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Members table altered, other tables next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Ïîëÿ â òàáëèöå ïîëüçîâàòåëåé èçìåíåíû, èçìåíÿåì îñòàâøèåñÿ òàáëèöû...<br /><br />Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
$this->install->saved_data['workact'] = 'step_6';
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br /><div class='eula'>".nl2br(htmlspecialchars($output))."</div>";
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
@@ -813,11 +832,11 @@ class version_upgrade
|
||||
$SQL[] = "alter table ".SQL_PREFIX."macro rename ibf_skin_macro;";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."skin_macro change can_remove macro_can_remove tinyint(1) default '0';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."groups add g_bypass_badwords tinyint(1) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."cache_store change cs_value cs_value mediumtext NOT NULL default '';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."cache_store change cs_value cs_value mediumtext NULL;";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."cache_store add cs_array tinyint(1) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."sessions add in_error tinyint(1) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."topic_mmod add mm_forums text NOT NULL default '';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."groups change g_icon g_icon text NOT NULL default '';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."topic_mmod add mm_forums text NULL;";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."groups change g_icon g_icon text NULL;";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."emoticons add emo_set varchar(64) NOT NULL default 'default';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."admin_sessions change ID session_id varchar(32) NOT NULL default '';";
|
||||
$SQL[] = "alter table ".SQL_PREFIX."admin_sessions change IP_ADDRESS session_ip_address varchar(32) NOT NULL default '';";
|
||||
@@ -855,7 +874,7 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Other tables altered, converting forums next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Èçìåíåíèå ïîëåé òàáëèö çàâåðøåíî, ïåðåõîäèì ê êîâåðòèðîâàíèþ ôîðóìîâ...<br /><br />Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
$this->install->saved_data['workact'] = 'step_7';
|
||||
}
|
||||
|
||||
@@ -975,8 +994,8 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Forums converted, converting attachments next...<br /><br />$fid forums converted....";
|
||||
$this->install->saved_data['workact'] = 'step_8';
|
||||
$this->install->message = "Êîíâåðòàöèÿ ôîðóìîâ çàâåðøåíà, ïåðåõîäèì ê êîíâåðòàöèè ïðèêðåïëåííûõ ôàéëîâ...<br /><br />Ôîðóìîâ ñêîíâåðòèðîâàíî: $fid...";
|
||||
$this->install->saved_data['workact'] = 'step_8';
|
||||
}
|
||||
|
||||
|
||||
@@ -1042,12 +1061,12 @@ class version_upgrade
|
||||
}
|
||||
|
||||
$this->install->saved_data['st'] = $end;
|
||||
$this->install->message = "Attachments $start to $end completed....";
|
||||
$this->install->message = "Ôàéëû ñ $start ïî $end ñêîíâåðòèðîâàíû...";
|
||||
$this->install->saved_data['workact'] = 'step_8';
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->message = "Attachments converted, converting members...";
|
||||
$this->install->message = "Âñå ïðèêðåïëåííûå ôàéëû ñêîíâåðòèðîâàíû, íà÷èíàåì êîíâåðòèðîâàíèå ïîëüçîâàòåëåé...";
|
||||
$this->install->saved_data['workact'] = 'step_9';
|
||||
$this->install->saved_data['st'] = 0;
|
||||
}
|
||||
@@ -1122,12 +1141,12 @@ class version_upgrade
|
||||
}
|
||||
|
||||
$this->install->saved_data['st'] = $end;
|
||||
$this->install->message = "Members adjusted $start to $end completed....";
|
||||
$this->install->message = "Ñêîíâåðòèðîâàíû ïîëüçîâàòåëè ñ $start ïî $end...";
|
||||
$this->install->saved_data['workact'] = 'step_9';
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->message = "Members converted, making members email addresses safe for converge...";
|
||||
$this->install->message = "Êîíâåðòàöèÿ ïîëüçîâàòåëåé çàâåðøåíà, ïîäãîòàâëèâàåì e-mail ïîëüçîâàòåëåé äëÿ ñèñòåìû converge...";
|
||||
$this->install->saved_data['workact'] = 'step_10';
|
||||
$this->install->saved_data['st'] = 0;
|
||||
}
|
||||
@@ -1202,12 +1221,12 @@ class version_upgrade
|
||||
}
|
||||
|
||||
$this->install->saved_data['st'] = $end;
|
||||
$this->install->message = "Members email addresses checked $start to $end completed....";
|
||||
$this->install->message = "Ïðîâåðåíû e-mail ïîëüçîâàòåëåé c $start ïî $end...";
|
||||
$this->install->saved_data['workact'] = 'step_10';
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->message = "Members email addresses checked, adding to converge...";
|
||||
$this->install->message = "Âñå ïîëüçîâàòåëüñêèå e-mail ïðîâåðåíû, ïåðåõîäèì ê èíèöèàëèçàöèè converge-ñèñòåìû...";
|
||||
$this->install->saved_data['workact'] = 'step_11';
|
||||
$this->install->saved_data['st'] = 0;
|
||||
}
|
||||
@@ -1258,7 +1277,18 @@ class version_upgrade
|
||||
'converge_pass_salt' => $salt
|
||||
) );
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'members', array( 'member_login_key' => $this->install->ipsclass->converge->generate_auto_log_in_key(), 'email' => strtolower($r['email']) ), 'id='.$r['id'] );
|
||||
$member_login_key = $this->install->ipsclass->converge->generate_auto_log_in_key();
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'members', array( 'member_login_key' => $member_login_key, 'email' => strtolower($r['email']) ), 'id='.$r['id'] );
|
||||
|
||||
if( $r['id'] == $this->install->saved_data['mid'] )
|
||||
{
|
||||
// Reset loginkey
|
||||
|
||||
$this->install->saved_data['loginkey'] = $member_login_key;
|
||||
$this->install->ipsclass->member['member_login_key'] = $member_login_key;
|
||||
$this->install->saved_data['securekey'] = $this->install->ipsclass->return_md5_check();
|
||||
}
|
||||
}
|
||||
|
||||
$found++;
|
||||
@@ -1266,14 +1296,14 @@ class version_upgrade
|
||||
|
||||
if ( ! $found and ! $max['id'] )
|
||||
{
|
||||
$this->install->message = "Converge completed, converting personal messages...";
|
||||
$this->install->message = "Converge-ñèñòåìà èíèöèàëèçîâàííà, íà÷èíàåì êîíâåðòèðîâàíèå ëè÷íûõ ñîîáùåíèé...";
|
||||
$this->install->saved_data['workact'] = 'step_12';
|
||||
$this->install->saved_data['st'] = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->saved_data['st'] = $end;
|
||||
$this->install->message = "Converge added: $start to $end completed....";
|
||||
$this->install->message = "Converge-ñèñòåìà èíèöèàëèçîâàííà äëÿ ïîëüçîâàòåëåé ñ $start ïî $end...";
|
||||
$this->install->saved_data['workact'] = 'step_11';
|
||||
}
|
||||
}
|
||||
@@ -1369,12 +1399,12 @@ class version_upgrade
|
||||
}
|
||||
|
||||
$this->install->saved_data['st'] = $end;
|
||||
$this->install->message = "Personal messages: $start to $end completed....";
|
||||
$this->install->message = "Îáðàáîòàíû ëè÷íûå ñîîáùåíèÿ ñ $start ïî $end...";
|
||||
$this->install->saved_data['workact'] = 'step_12';
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->message = "Personal messages converted, proceeding to update topic multi-moderation...";
|
||||
$this->install->message = "Ëè÷íûå ñîîáùåíèÿ ñêîíâåðòèðîâàíû, ïåðåõîäèì ê îáíîâëåíèþ ìóëüòè-ìîäåðàöèè òåì...";
|
||||
$this->install->saved_data['workact'] = 'step_13';
|
||||
$this->install->saved_data['st'] = 0;
|
||||
}
|
||||
@@ -1416,7 +1446,7 @@ class version_upgrade
|
||||
$this->install->ipsclass->DB->do_update( 'topic_mmod', array( 'mm_forums' => $ff ), 'mm_id='.$id );
|
||||
}
|
||||
|
||||
$this->install->message = "Topic multi-moderation converted, alterting tables, stage 2...";
|
||||
$this->install->message = "Ìóëüòè-ìîäåðàöèÿ òåì ñêîíâåðòèðîâàíà, íà÷èíàåì èçìåíåíèå òàáëèö - Ýòàï 2...";
|
||||
$this->install->saved_data['workact'] = 'step_14';
|
||||
}
|
||||
|
||||
@@ -1460,12 +1490,12 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Post table altered, altering topic table next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Ïîëÿ òàáëèöû ñîîáùåíèé èçìåíåíû, ïåðåõîäèì ê òàáëèöå òåì...<br /><br />Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
$this->install->saved_data['workact'] = 'step_15';
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br /><div class='eula'>".nl2br(htmlspecialchars($output))."</div>";
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
@@ -1510,12 +1540,12 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Topic table altered, altering members table next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Ïîëÿ òàáëèöû òåì èçìåíåíû, èçìåíÿåì òàáëèöó ïîëüçîâàòåëåé...<br /><br />Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
$this->install->saved_data['workact'] = 'step_16';
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br /><div class='eula'>".nl2br(htmlspecialchars($output))."</div>";
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
@@ -1567,12 +1597,12 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Members table altered, other tables next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Ïîëÿ òàáëèöû ïîëüçîâàòåëåé èçìåíåíû, ïåðåõîäèì ê èçìåíåíèþ îñòàâøèõñÿ òàáëèö...<br /><br />Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
$this->install->saved_data['workact'] = 'step_17';
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br /><div class='eula'>".nl2br(htmlspecialchars($output))."</div>";
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
@@ -1592,7 +1622,7 @@ class version_upgrade
|
||||
change fid pf_id smallint(5) NOT NULL auto_increment,
|
||||
change ftitle pf_title varchar(250) NOT NULL default '',
|
||||
change fdesc pf_desc varchar(250) NOT NULL default '',
|
||||
change fcontent pf_content text NOT NULL default '',
|
||||
change fcontent pf_content text NULL,
|
||||
change ftype pf_type varchar(250) NOT NULL default '',
|
||||
change freq pf_not_null tinyint(1) NOT NULL default '0',
|
||||
change fhide pf_member_hide tinyint(1) NOT NULL default '0',
|
||||
@@ -1600,9 +1630,9 @@ class version_upgrade
|
||||
change fedit pf_member_edit tinyint(1) NOT NULL default '0',
|
||||
change forder pf_position smallint(6) NOT NULL default '0',
|
||||
change fshowreg pf_show_on_reg tinyint(1) NOT NULL default '0',
|
||||
add pf_input_format text NOT NULL default '',
|
||||
add pf_input_format text NULL,
|
||||
add pf_admin_only tinyint(1) NOT NULL default '0',
|
||||
add pf_topic_format text NOT NULL default '';";
|
||||
add pf_topic_format text NULL;";
|
||||
|
||||
$this->install->error = array();
|
||||
$this->sqlcount = 0;
|
||||
@@ -1626,7 +1656,7 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Other tables altered, inserting data next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Îñòàâøèåñÿ òàáëèöû èçìåíåíû, íà÷èíàåì äîáàâëåíèå ñëóæåáíûõ äàííûõ...<br /><br />Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
$this->install->saved_data['workact'] = 'step_18';
|
||||
}
|
||||
|
||||
@@ -1637,22 +1667,24 @@ class version_upgrade
|
||||
|
||||
function step_18()
|
||||
{
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager VALUES (1, 'Hourly Clean Out', 'cleanout.php', 1076074920, -1, -1, -1, 59, '2a7d083832daa123b73a68f9c51fdb29', 1, 'Kill old sessions, reg images, searches',1,'',0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager VALUES (2, 'Daily Stats Rebuild', 'rebuildstats.php', 1076112000, -1, -1, 0, 0, '640b9a6c373ff207bc1b1100a98121af', 1, 'Rebuilds board statistics',1,'',0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager VALUES (3, 'Daily Clean Out', 'dailycleanout.php', 1076122800, -1, -1, 3, 0, 'e71b52f3ff9419abecedd14b54e692c4', 1, 'Prunes topic subscriptions',1,'',0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager VALUES (4, 'Birthday and Events Cache', 'calendarevents.php', 1076100960, -1, -1, 12, -1, '2c148c9bd754d023a7a19dd9b1535796', 1, 'Caches calendar events & birthdays',1,'',0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager (task_id, task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled) VALUES (9, 'Announcements Update', 'announcements.php', 1080747660, -1, -1, 4, -1, 'e82f2c19ab1ed57c140fccf8aea8b9fe', 1, 'Rebuilds cache and expires out of date announcements', 1);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."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 ".SQL_PREFIX."task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Daily Topic & Forum Digest', 'dailydigest.php', 1086912600, -1, -1, 0, 10, '723cab2aae32dd5d04898b1151038846', 1, 'Emails out daily topic & forum digest emails', 1, 'dailydigest', 0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Weekly Topic & Forum Digest', 'weeklydigest.php', 1087096200, 0, -1, 3, 10, '7e7fccd07f781bdb24ac108d26612931', 1, 'Emails weekly topic & forum digest emails', 1, 'weeklydigest', 0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager VALUES (1, 'Î÷èñòêà ôîðóìà (ðàç â ÷àñ)', 'cleanout.php', 1076074920, -1, -1, -1, 59, '2a7d083832daa123b73a68f9c51fdb29', 1, 'Óäàëåíèå ñòàðûõ ñåññèé, çàùèòíûõ ðåãèñòðàöèîííûõ êîäîâ, âðåìåííûõ ðåçóëüòàòîâ ïîèñêà',1,'',0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager VALUES (2, 'Ïåðåñ÷åò ñòàòèñòèêè (ðàç â äåíü)', 'rebuildstats.php', 1076112000, -1, -1, 0, 0, '640b9a6c373ff207bc1b1100a98121af', 1, 'Ïåðåñ÷åò ñòàòèñòèêè ôîðóìà',1,'',0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager VALUES (3, 'Î÷èñòêà ôîðóìà (ðàç â äåíü)', 'dailycleanout.php', 1076122800, -1, -1, 3, 0, 'e71b52f3ff9419abecedd14b54e692c4', 1, 'Óäàëåíèå ñòàðûõ ïîäïèñîê íà òåìû è ñòàðûõ ìåòîê ïðî÷òåíèÿ òåì',1,'',0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager VALUES (4, 'Êåøèðîâàíèå èìåíèííèêîâ è ñîáûòèé', 'calendarevents.php', 1076100960, -1, -1, 12, -1, '2c148c9bd754d023a7a19dd9b1535796', 1, 'Ñîçäàíèå êåøà êàëåíäàðíûõ ñîáûòèé è äíåé ðîæäåíèÿ',1,'',0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."task_manager (task_id, task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled) VALUES (9, 'Îáíîâëåíèå îáúÿâëåíèé', 'announcements.php', 1080747660, -1, -1, 4, -1, 'e82f2c19ab1ed57c140fccf8aea8b9fe', 1, 'Óäàëåíèå ñòàðûõ îáúÿâëåíèé è îáíîâëåíèå êåøà îáúÿâëåíèé', 1);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."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 ('Îòïðàâêà ðàññûëêè', 'bulkmail.php', 1086706080, -1, -1, -1, -1, '61359ac93eb93ebbd935a4e275ade2db', 0, 'Çàïóñêàåòñÿ àâòîìàòè÷åñêè ïðè ïîÿâëåíèè ðàññûëîê äëÿ îòïðàâêè. Íå èçìåíÿòü!', 0, 'bulkmail', 1);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."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 ('Îáçîð òåì è ôîðóìà (ðàç â äåíü)', 'dailydigest.php', 1086912600, -1, -1, 0, 10, '723cab2aae32dd5d04898b1151038846', 1, 'Îòïðàâêà åæåäíåâíîé ðàññûëêè òåì è îáçîðà ôîðóìà', 1, 'dailydigest', 0);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."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 ('Îáçîð òåì è ôîðóìà (ðàç â íåäåëþ)', 'weeklydigest.php', 1087096200, 0, -1, 3, 10, '7e7fccd07f781bdb24ac108d26612931', 1, 'Îòïðàâêà åæåíåäåëüíîé ðàññûëêè òåì è îáçîðà ôîðóìà', 1, 'weeklydigest', 0);";
|
||||
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Óêàçàòåëü ñîîáùåíèÿ', 'Ýòîò òåã ïîêàçûâàåò ìàëåíüêîå èçîáðàæåíèå, êîòîðîå ÿâëÿåòñÿ ññûëêîé íà öèòèðóåìîå ñîîáùåíèå — èñïîëüçóåòñÿ, êîãäà öèòèðóþòñÿ ñîîáùåíèÿ ñ ôîðóìà. Îòêðûâàåòñÿ ïî óìîë÷àíèþ â òîì æå îêíå.', 'snapback', '<a href=\"index.php?act=findpost&pid={content}\"><{POST_SNAPBACK}></a>', 0, '[snapback]100[/snapback]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Ïî ïðàâîìó êðàþ', 'Âûðàâíèâàíèå òåêñòà ïî ïðàâîìó êðàþ.', 'right', '<div align=\'right\'>{content}</div>', 0, '[right]Ëþáîé òåêñò çäåñü[/right]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Ïî ëåâîìó êðàþ', 'Âûðàâíèâàíèå òåêñòà ïî ëåâîìó êðàþ.', 'left', '<div align=\'left\'>{content}</div>', 0, '[left]Ýòîò òåêñò áóäåò èñïîëüçîâàòü âûðàâíèâàíèå ïî ëåâîìó êðàþ[/left]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Ïî öåíòðó', 'Âûðàâíèâàíèå òåêñòà ïî öåíòðó.', 'center', '<div align=\'center\'>{content}</div>', 0, '[center]Âûðàâíèâàíèå òåêñòà áóäåò ïî öåíòðó[/center]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Ññûëêà íà òåìó', 'Ýòîò òåã ïîçâîëÿåò ëåãêî îïóáëèêîâàòü ññûëêó íà òåìó, çíàÿ ëèøü åå íîìåð.', 'topic', '<a href=\'index.php?showtopic={option}\'>{content}</a>', 1, '[topic=100]Íàæìè çäåñü![/topic]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Ññûëêà íà ñîîáùåíèå', 'Ýòîò òåã ïîçâîëÿåò ëåãêî îïóáëèêîâàòü ññûëêó íà ñîîáùåíèå, çíàÿ ëèøü åãî íîìåð.', 'post', '<a href=\'index.php?act=findpost&pid={option}\'>{content}</a>', 1, '[post=100]Íàæìè çäåñü![/post]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Áëîê êîäà', 'Ýòîò òåã áóäåò ïîêàçûâàòü áëîê êîäà ñ ïîëîñîé ïðîêðóòêè. Ïðèìåíÿåòñÿ äëÿ áîëüøèõ áëîêîâ ñ èñõîäíûì êîäîì ïðîãðàììû.', '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]');";
|
||||
|
||||
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Post Snap Back', 'This tag displays a little linked image which links back to a post - used when quoting posts from the board. Opens in same window by default.', 'snapback', '<a href=\"index.php?act=findpost&pid={content}\"><{POST_SNAPBACK}></a>', 0, '[snapback]100[/snapback]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Right', 'Aligns content to the right of the posting area', 'right', '<div align=\'right\'>{content}</div>', 0, '[right]Some text here[/right]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Left', 'Aligns content to the left of the post', 'left', '<div align=\'left\'>{content}</div>', 0, '[left]Left aligned text[/left]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Center', 'Aligns content to the center of the posting area.', 'center', '<div align=\'center\'>{content}</div>', 0, '[center]Centered Text[/center]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Topic Link', 'This tag provides an easy way to link to a topic', 'topic', '<a href=\'index.php?showtopic={option}\'>{content}</a>', 1, '[topic=100]Click me![/topic]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Post Link', 'This tag provides an easy way to link to a post.', 'post', '<a href=\'index.php?act=findpost&pid={option}\'>{content}</a>', 1, '[post=100]Click me![/post]');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."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]');";
|
||||
|
||||
$SQL[] = "insert into ".SQL_PREFIX."subscription_currency SET subcurrency_code='USD', subcurrency_desc='United States Dollars', subcurrency_exchange='1.00', subcurrency_default=1;";
|
||||
$SQL[] = "insert into ".SQL_PREFIX."subscription_currency SET subcurrency_code='GBP', subcurrency_desc='United Kingdom Pounds', subcurrency_exchange=' 0.630776', subcurrency_default=0;";
|
||||
@@ -1716,35 +1748,35 @@ class version_upgrade
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('calendar', 'a:0:{}', '', 1);";
|
||||
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."skin_sets (set_skin_set_id, set_name, set_image_dir, set_hidden, set_default, set_css_method, set_skin_set_parent, set_author_email, set_author_name, set_author_url, set_css, set_cache_macro, set_wrapper, set_css_updated, set_cache_css, set_cache_wrapper, set_emoticon_folder) VALUES (1, 'IPB Master Skin Set', '1', 0, 0, '0', -1, '', '', '', '', '', '', 1079109298, '', '', 'default');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."skin_sets (set_skin_set_id, set_name, set_image_dir, set_hidden, set_default, set_css_method, set_skin_set_parent, set_author_email, set_author_name, set_author_url, set_css, set_cache_macro, set_wrapper, set_css_updated, set_cache_css, set_cache_wrapper, set_emoticon_folder) VALUES (2, 'IPB Default Skin', '1', 0, 1, '0', -1, 'ipbauto@invisionboard.com', 'Invision Power Services', 'www.invisionboard.com', '', '', '', 1074679074, '', '', 'default');";
|
||||
//$SQL[] = "INSERT INTO ".SQL_PREFIX."skin_sets (set_skin_set_id, set_name, set_image_dir, set_hidden, set_default, set_css_method, set_skin_set_parent, set_author_email, set_author_name, set_author_url, set_css, set_cache_macro, set_wrapper, set_css_updated, set_cache_css, set_cache_wrapper, set_emoticon_folder) VALUES (2, 'IPB Default Skin', '1', 0, 1, '0', -1, 'ipbauto@invisionboard.com', 'Invision Power Services', 'www.invisionboard.com', '', '', '', 1074679074, '', '', 'default');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."skin_sets (set_skin_set_id, set_name, set_image_dir, set_hidden, set_default, set_css_method, set_skin_set_parent, set_author_email, set_author_name, set_author_url, set_css, set_cache_macro, set_wrapper, set_css_updated, set_cache_css, set_cache_wrapper, set_emoticon_folder) VALUES (3, 'IPB Pre-2.0 Skins', '1', 0, 0, '0', -1, 'ipbauto@invisionboard.com', 'Invision Power Services', 'www.invisionboard.com', '', '', '', 1074679074, '', '', 'default');";
|
||||
|
||||
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (1, 'General Configuration', 'These settings control the basics of the board such as URLs and paths.', 17);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (2, 'CPU Saving & Optimization', 'This section allows certain features to be limited or removed to get more performance out of your board.', 16);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (3, 'Date & Time Formats', 'This section contains the date and time formats used throughout the board.', 7);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (4, 'User Profiles', 'This section allows you to adjust your member\'s global permissions and other options.', 22);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (5, 'Topics, Posts and Polls', 'These options control various elements when posting, reading topics and reading polls.', 32);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (6, 'Security and Privacy', 'These options allow you to adjust the security and privacy options for your board.', 18);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (7, 'Cookies', 'This section allows you to set the default cookie options.', 3);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (8, 'COPPA Set-up', 'This section allows you to comply with <a href=\'http://www.ftc.gov/ogc/coppa1.htm\'>COPPA</a>.', 3);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (9, 'Calendar & Birthdays', 'This section will allow you to set up the board calendar and its related options.', 8);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (10, 'News Set-up', 'This section will allow you to specify the forum you wish to export news topics from to be used with ssi.php and IPDynamic Lite.', 2);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (11, 'Personal Message Set-up', 'This section allows you to control the global PM options.', 3);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (12, 'Email Set-up', 'This section will allow you to change the incoming and outgoing email addresses as well as the email method.', 7);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (13, 'Warn Set-up', 'This section will allow you to set up the warning system.', 15);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (14, 'Trash Can Set-up', 'The trashcan is a special forum in which topics are moved into instead of being deleted.', 6);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (15, 'Board Offline / Online', 'Use this setting to turn switch your board online or offline and leave a message for your visitors.', 2);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (16, 'Search Engine Spiders', 'This section will allow you to set up and maintain your search engine bot spider recognition settings.', 7);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (17, 'Board Guidelines', 'This section allows you to maintain your board guidelines. If enabled, a link will be added to the board header linking to the board guidelines.', 4);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (18, 'Converge Set Up', 'Converge is Invision Power Services central authentication method for all IPS applications. This allows you to have a single log-in for all your IPS products.', 1);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (19, 'Full Text Search Set-Up', 'Full text searching is a very fast and very efficient way of searching large amounts of posts without maintaining a manual index. This may not be available for your system.', 2);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (20,'Invision Chat Settings (Legacy Version)', 'This will allow you to customize your Invision Chat integration settings for the legacy edition.', 14, 1, 'chat');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (21,'Invision Chat Settings', 'This will allow you to customize your Invision Chat integration settings for the new 2004 edition', 10, 1, 'chat04');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (22,'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 ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (23,'Subscriptions Manager', 'These settings control various subscription manager features.', 3, 0, 'subsmanager');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (24,'IPB Registration', 'This section will allow you to edit your IPB registered licence settings.', 3, 1, 'ipbreg');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (25,'IPB Copyright Removal', 'This section allows you to manage your copyright removal key.', 2, 1, 'ipbcopyright');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (1, 'Îñíîâíûå íàñòðîéêè ôîðóìà', 'Ãðóïïà îïöèé, ïîçâîëÿþùàÿ ìåíÿòü áàçîâûå íàñòðîéêè ñèñòåìû, òàêèå êàê: íàçâàíèå ôîðóìà, ñàéòà, ïóòè è ò. ä.', 17);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (2, 'Áûñòðîäåéñòâèå è îïòèìèçàöèÿ ñèñòåìû ', 'Óïðàâëåíèå ðåñóðñîåìêèìè ôóíêöèÿìè ñèñòåìû. Îïöèè ýòîé ãðóïïû ïîçâîëÿþò ñíèçèòü íàãðóçêó íà ñåðâåð.', 16);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (3, 'Ôîðìàò äàòû è âðåìåíè', 'Íàñòðîéêè ôîðìàòà îòîáðàæåíèÿ äàòû è âðåìåíè íà ôîðóìå.', 7);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (4, 'Ïîëüçîâàòåëüñêàÿ ôóíêöèîíàëüíîñòü', 'Ãëîáàëüíûå íàñòðîéêè ôóíêöèîíàëüíîñòè äîñòóïíîé ïîëüçîâàòåëÿì', 22);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (5, 'Òåìû, ñîîáùåíèÿ è îïðîñû', 'Ãðóïïà îïöèé äëÿ íàñòðîéêè ïàðàìåòðîâ îòîáðàæåíèÿ òåì, îãðàíè÷åíèé ïðè îòïðàâêå ñîîáùåíèé, îïðîñîâ.', 32);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (6, 'Áåçîïàñíîñòü ôîðóìà', 'Íàñòðîéêè óðîâíÿ áåçîïàñíîñòè ôîðóìà, çàùèòû îò áîòîâ, çàùèòû îò ïîäáîðà ïàðîëÿ.', 18);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (7, 'Ìåõàíèçì Cookies', 'Ãðóïïà îïöèé ïî íàñòðîéêå cookies. Ñëåäóåò èçìåíÿòü ïðè íåñòàáèëüíîé ðàáîòå àâòîðèçàöèè íà ôîðóìå.', 3);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow) VALUES (8, 'Ñèñòåìà COPPA', 'Ýòîò áëîê íåîáõîäèì, åñëè âû õîòèòå âêëþ÷èòü èñïîëüçîâàíèå <a href=\'http://www.ftc.gov/ogc/coppa1.htm\'>COPPA</a>.  Ðîññèè íå àêòóàëüíî.', 3, 1);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (9, 'Êàëåíäàðü è äíè ðîæäåíèÿ', 'Ãðóïïà îïöèé ïî íàñòðîéêå êàëåíäàðÿ è êàëåíäàðíûõ ñîáûòèé ôîðóìà.', 8);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (10, 'Íîâîñòè ôîðóìà', 'Íàñòðîéêè íîâîñòíîé ñèñòåìû ôîðóìà.', 2);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (11, 'Ëè÷íûå ñîîáùåíèÿ', 'Ãëîáàëüíûå íàñòðîéêè ñèñòåìû ëè÷íûõ ñîîáùåíèé ôîðóìà.', 3);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (12, 'Íàñòðîéêè e-mail', 'Ãðóïïà îïöèé äëÿ óïðàâëåíèÿ ïî÷òîâîé ñèñòåìû ôîðóìà (ñëóæåáíûå e-mail àäðåñà, ìåòîäû îòïðàâêè ïî÷òû ñ ôîðóìà).', 7);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (13, 'Ñèñòåìà ïðåäóïðåæäåíèé/ðåéòèíãà', 'Ãðóïïà îïöèé, ïîçâîëÿþùèå óïðàâëÿòü ñèñòåìîé ïðåäóïðåæäåíèé ïîëüçîâàòåëåé.', 15);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (14, 'Íàñòðîéêè êîðçèíû', 'Êîðçèíà — ñïåöèàëüíûé ôîðóì, â êîòîðûé ïåðåìåùàþòñÿ òåìû ïîñëå óäàëåíèÿ, òåì ñàìûì îñòàâëÿÿ âîçìîæíîñòü âîññòàíîâèòü òåìó ïðè åå ñëó÷àéíîì óäàëåíèè.', 6);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (15, 'Âêëþ÷åíèå/âûêëþ÷åíèå ôîðóìà', 'Ãðóïïà îïöèé äëÿ óïðàâëåíèÿ ñîñòîÿíèåì ôîðóìà. Åñëè ôîðóì íàõîäèòñÿ â âûêëþ÷åííîì ñîñòîÿíèè, òî äîñòóï ê íåìó áóäóò èìåòü òîëüêî àäìèíèñòðàòîðû. Ïîëåçíî ïðè ïðîâåäåíèè òåõíè÷åñêèõ ðàáîò íà ôîðóìå.', 2);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (16, 'Ñèñòåìà îòñëåæèâàíèÿ ïîèñêîâûõ ðîáîòîâ', 'Ãðóïïà îïöèé, îòâå÷àþùèõ çà íàñòðîéêó ñèñòåìû ñëåæåíèÿ çà ïîèñêîâûìè ðîáîòàìè. Ïîçâîëÿåò äîáàâëÿòü íîâûõ ðîáîòîâ, âêëþ÷àòü è îòêëþ÷àòü âåäåíèå æóðíàëà ïîñåùåíèé ðîáîòîâ.', 7);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (17, 'Ïðàâèëà ôîðóìà', 'Íàñòðîéêè, ïîçâîëÿþùèå ìåíÿòü òåêñòû ãëîáàëüíûõ ïðàâèë ôîðóìà è ïðàâèë, âûäàâàåìûõ ïðè ðåãèñòðàöèè.', 4);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (18, 'Êîíôèãóðàöèÿ IP.Converge', 'Óïðàâëåíèÿ ñèñòåìîé àâòîðèçàöèè IP.Converge.', 1);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (19, 'Ïîèñêîâàÿ ñèñòåìà ôîðóìà', 'Ãðóïïà îïöèé äëÿ òîíêîé íàñòðîéêè ïîèñêîâîé ñèñòåìû.', 2);";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (20,'Íàñòðîéêè Invision Chat (ëåãàëüíàÿ âåðñèÿ)', 'Ýòî ïîçâîëÿåò íàñòðîèòü èíòåãðàöèþ âàøåé ëåãàëüíîé âåðñèè Invision Chat.', 14, 1, 'chat');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (21,'Íàñòðîéêè Invision Chat', 'Ýòî ïîçâîëÿåò íàñòðîèòü èíòåãðàöèþ âàøåãî Invision Chat (âåðñèè 2004+)', 10, 1, 'chat04');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (22,'IPB Ïîðòàë', 'Íàñòðîéêà IPB Ïîðòàëà.', 20, 0, 'ipbportal');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (23,'Ïëàòíûå ïîäïèñêè', 'Óïðàâëåíèå ïëàòíûìè ïîäïèñêàìè. Äëÿ Ðîññèè íå àêòóàëüíî.', 3, 1, 'subsmanager');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (24,'Ëèöåíçèÿ', 'Èçìåíåíèå íàñòðîåê ëèöåíçèè.', 3, 1, 'ipbreg');";
|
||||
$SQL[] = "INSERT INTO ".SQL_PREFIX."conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (25,'Óäàëåíèå êîïèðàéòà', 'Ýòîò áëîê ïîçâîëÿåò àêòèâèðîâàòü óñëóãó óäàëåíèÿ êîïèðàéòà.', 2, 1, 'ipbcopyright');";
|
||||
|
||||
|
||||
$this->install->error = array();
|
||||
@@ -1769,7 +1801,7 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Inserts completed, dropping old tables next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Âñòàâêà äàííûõ çàâåðøåíà, äàëåå óäàëåíèå ñòàðûõ òàáëèö...<br /><br />$this->sqlcount çàïðîñîâ âûïîëíåíî....";
|
||||
$this->install->saved_data['workact'] = 'step_19';
|
||||
}
|
||||
|
||||
@@ -1807,7 +1839,7 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Old tables dropped, optimization next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Ñòàðûå òàáëèöû óäàëåíû, äàëåå îïòèìèçàöèÿ...<br /><br />$this->sqlcount çàïðîñîâ âûïîëíåíî....";
|
||||
$this->install->saved_data['workact'] = 'step_20';
|
||||
}
|
||||
|
||||
@@ -1856,12 +1888,12 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Optimization started...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Íà÷àëàñü îïòèìèçàöèÿ...<br /><br />$this->sqlcount çàïðîñîâ âûïîëíåíî....";
|
||||
$this->install->saved_data['workact'] = 'step_21';
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br /><div class='eula'>".nl2br(htmlspecialchars($output))."</div>";
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
@@ -1909,12 +1941,12 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "Optimization completed, new skins import next...<br /><br />$this->sqlcount queries run....";
|
||||
$this->install->message = "Îïòèìèçàöèÿ çàâåðøåíà, äàëåå èìïîðòèðîâàíèå íîâûõ ñòèëåé...<br /><br />$this->sqlcount çàïðîñîâ âûïîëíåíî....";
|
||||
$this->install->saved_data['workact'] = 'step_22';
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br /><div class='eula'>".nl2br(htmlspecialchars($output))."</div>";
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
@@ -2008,7 +2040,7 @@ class version_upgrade
|
||||
|
||||
if ( ! is_array( $xml->xml_array['templateexport']['templategroup']['template'] ) )
|
||||
{
|
||||
$this->install->error[] = "Error with ipb_templates.xml - could not process XML properly";
|
||||
$this->install->error[] = "Îøèáêà ñ ipb_templates.xml — íåâîçìîæíî ïðî÷èòàòü ýòîò ôàéë êîððåêòíî";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2056,7 +2088,7 @@ class version_upgrade
|
||||
|
||||
if ( ! is_array( $xml->xml_array['macroexport']['macrogroup']['macro'] ) )
|
||||
{
|
||||
$this->install->error[] = "Error with macro.xml - could not process XML properly";
|
||||
$this->install->error[] = "Îøèáêà ñ macro.xml — íåâîçìîæíî ïðî÷èòàòü ýòîò ôàéë êîððåêòíî";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2101,7 +2133,7 @@ class version_upgrade
|
||||
|
||||
if ( ! is_array( $xml->xml_array['export']['group']['row'] ) )
|
||||
{
|
||||
$this->install->error[] = "Error with skinsets.xml - could not process XML properly";
|
||||
$this->install->error[] = "Îøèáêà ñ skinsets.xml — íåâîçìîæíî ïðî÷èòàòü ýòîò ôàéë êîððåêòíî";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2136,7 +2168,7 @@ class version_upgrade
|
||||
|
||||
unset($xml);
|
||||
|
||||
$this->install->message = "Skins imported, importing settings...";
|
||||
$this->install->message = "Ñòèëè óñïåøíî èìïîðòèðîâàíû, âñòàâêà íàñòðîåê...";
|
||||
$this->install->saved_data['workact'] = 'step_23';
|
||||
}
|
||||
|
||||
@@ -2180,7 +2212,7 @@ class version_upgrade
|
||||
|
||||
if ( ! is_array( $xml->xml_array['settingexport']['settinggroup']['setting'] ) )
|
||||
{
|
||||
$this->install->error[] = "Error with settings.xml - could not process XML properly";
|
||||
$this->install->error[] = "Îøèáêà ñ settings.xml — íåâîçìîæíî ïðî÷èòàòü ýòîò ôàéë êîððåêòíî";
|
||||
}
|
||||
|
||||
foreach( $xml->xml_array['settingexport']['settinggroup']['setting'] as $entry )
|
||||
@@ -2238,7 +2270,7 @@ class version_upgrade
|
||||
|
||||
unset($xml);
|
||||
|
||||
$this->install->message = "Settings imported, recache & rebuild next...";
|
||||
$this->install->message = "Íàñòðîéêè âñòàâëåíû, äàëåå îáíîâëåíèå êåøåé...";
|
||||
$this->install->saved_data['workact'] = 'step_24';
|
||||
}
|
||||
|
||||
@@ -2429,7 +2461,7 @@ class version_upgrade
|
||||
|
||||
$this->install->ipsclass->update_cache( array( 'name' => 'attachtypes', 'array' => 1, 'deletefirst' => 1 ) );
|
||||
|
||||
$this->install->message = "Data recached...";
|
||||
$this->install->message = "Íîâûå êåøè ñîçäàíû...";
|
||||
unset($this->install->saved_data['workact']);
|
||||
unset($this->install->saved_data['st']);
|
||||
unset($this->install->saved_data['vid']);
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,126 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PDR1 -> PDR 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[]="create table ibf_announcements (
|
||||
announce_id int(10) UNSIGNED NOT NULL auto_increment,
|
||||
announce_title varchar(255) NOT NULL default '',
|
||||
announce_post text NOT NULL default '',
|
||||
announce_forum text NOT NULL default '',
|
||||
announce_member_id mediumint(8) UNSIGNED NOT NULL default '0',
|
||||
announce_html_enabled tinyint(1) NOT NULL default '0',
|
||||
announce_views int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_start int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_end int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_active tinyint(1) NOT NULL default '1',
|
||||
PRIMARY KEY (announce_id)
|
||||
);";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day,
|
||||
task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled)
|
||||
VALUES ('Announcements Update', 'announcements.php', 1080747660, -1, -1, 4, -1, 'e82f2c19ab1ed57c140fccf8aea8b9fe', 1,
|
||||
'Rebuilds cache and expires out of date announcements', 1);";
|
||||
|
||||
$SQL[]="CREATE TABLE ibf_bulk_mail (
|
||||
mail_id int(10) NOT NULL auto_increment,
|
||||
mail_subject varchar(255) NOT NULL default '',
|
||||
mail_content mediumtext NOT NULL default '',
|
||||
mail_groups mediumtext NOT NULL default '',
|
||||
mail_honor tinyint(1) NOT NULL default '1',
|
||||
mail_opts mediumtext NOT NULL default '',
|
||||
mail_start int(10) NOT NULL default '0',
|
||||
mail_updated int(10) NOT NULL default '0',
|
||||
mail_sentto int(10) NOT NULL default '0',
|
||||
mail_active tinyint(1) NOT NULL default '0',
|
||||
mail_pergo smallint(5) NOT NULL default '0',
|
||||
PRIMARY KEY (mail_id)
|
||||
);";
|
||||
|
||||
|
||||
$SQL[]="alter table ibf_task_manager add task_key varchar(30) NOT NULL default '', add task_safemode tinyint(1) NOT NULL default '';";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value,
|
||||
conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group,
|
||||
conf_end_group, conf_help_key, conf_add_cache) VALUES ('Add '<' and '>' to 'to' and 'from' addresses?',
|
||||
'Some SMTP mailers require that email addresses are in the following format \'<\' address \'>\' (no quotes).
|
||||
If you are getting errors in the mail error log, enabled this option', '12', 'yes_no', 'mail_wrap_brackets', '', '0', '', '', 1, 6, '', 0, '', 1);";
|
||||
|
||||
$SQL[]="create table ibf_mail_error_logs (
|
||||
mlog_id int(10) auto_increment NOT NULL,
|
||||
mlog_date int(10) NOT NULL default '0',
|
||||
mlog_to varchar(250) NOT NULL default '',
|
||||
mlog_from varchar(250) NOT NULL default '',
|
||||
mlog_subject varchar(250) NOT NULL default '',
|
||||
mlog_content varchar(250) NOT NULL default '',
|
||||
mlog_msg text NOT NULL default '',
|
||||
mlog_code varchar(200) NOT NULL default '',
|
||||
mlog_smtp_msg text NOT NULL default '',
|
||||
PRIMARY KEY (mlog_id)
|
||||
);";
|
||||
|
||||
|
||||
$SQL[]="alter table ibf_pfields_data
|
||||
change fid pf_id smallint(5) NOT NULL auto_increment,
|
||||
change ftitle pf_title varchar(250) NOT NULL default '',
|
||||
change fdesc pf_desc varchar(250) NOT NULL default '',
|
||||
change fcontent pf_content text NOT NULL default '',
|
||||
change ftype pf_type varchar(250) NOT NULL default '',
|
||||
change freq pf_not_null tinyint(1) NOT NULL default '0',
|
||||
change fhide pf_member_hide tinyint(1) NOT NULL default '0',
|
||||
change fmaxinput pf_max_input smallint(6) NOT NULL default '0',
|
||||
change fedit pf_member_edit tinyint(1) NOT NULL default '0',
|
||||
change forder pf_position smallint(6) NOT NULL default '0',
|
||||
change fshowreg pf_show_on_reg tinyint(1) NOT NULL default '0',
|
||||
add pf_input_format text NOT NULL default '',
|
||||
add pf_admin_only tinyint(1) NOT NULL default '0',
|
||||
add pf_topic_format text NOT NULL default '';";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_set) VALUES ( 'POST_SNAPBACK', \"<img src='style_images/<#IMG_DIR#>/post_snapback.gif' alt='*' border='0' />\", 1);";
|
||||
|
||||
$SQL[]="alter table ibf_forum_tracker add forum_track_type varchar(100) NOT NULL default 'delayed';";
|
||||
$SQL[]="alter table ibf_tracker add topic_track_type varchar(100) NOT NULL default 'delayed';";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Post Snap Back', 'This tag displays a little linked image which links back to a post - used when quoting posts from the board. Opens in same window by default.', 'snapback', '<a href=\"index.php?act=findpost&pid={content}\"><{POST_SNAPBACK}></a>', 0, '[snapback]100[/snapback]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Right', 'Aligns content to the right of the posting area', 'right', '<div align=\'right\'>{content}</div>', 0, '[right]Some text here[/right]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Left', 'Aligns content to the left of the post', 'left', '<div align=\'left\'>{content}</div>', 0, '[left]Left aligned text[/left]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Center', 'Aligns content to the center of the posting area.', 'center', '<div align=\'center\'>{content}</div>', 0, '[center]Centered Text[/center]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Topic Link', 'This tag provides an easy way to link to a topic', 'topic', '<a href=\'index.php?showtopic={option}\'>{content}</a>', 1, '[topic=100]Click me![/topic]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Post Link', 'This tag provides an easy way to link to a post.', 'post', '<a href=\'index.php?act=findpost&pid={option}\'>{content}</a>', 1, '[post=100]Click me![/post]');";
|
||||
|
||||
$SQL[]="alter table ibf_members change auto_track auto_track varchar(50) default '0';";
|
||||
|
||||
|
||||
$SQL[]="alter table ibf_conf_settings_titles
|
||||
add conf_title_noshow tinyint(1) NOT NULL default '0',
|
||||
add conf_title_keyword varchar(200) NOT NULL default '0'";
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -23,36 +23,25 @@
|
||||
|
||||
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.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('IPB Portal', 'These settings enable you to enable or disable IPB Portal and control the options IPB Portal offers.', 20, 0, 'ipbportal');";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('IPB Ïîðòàë', 'Ýòè íàñòðîéêè ïîçâîëÿò Âàì âêëþ÷èòü/îòêëþ÷èòü è íàñòðîèòü IPB Ïîðòàë.', 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 ('Âêëþ÷èòü IPB ïîðòàë?', 'Åñëè «Äà», IPB Ïîðòàë áóäåò äîñòóïåí, èñïîëüçóÿ ñëåäóþùóþ çàïèñü â URL ñòðîêå — 'index.php?act=home', èëè ÷åðåç ñïåöèàëüíûé php ôàéë, êîòîðûé ìîæíî âçÿòü èç äèðåêòîðèè /Tools_and_Scripts/ äèñòðèáóòèâà ñ ôîðóìîì.', '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 ('Çàãîëîâîê ñòðàíèöû ïîðòàëà', 'Ýòî íàçâàíèå áóäåò âûâîäèòüñÿ â òåãå <title>, òî åñòü, â çàãîëîâêå îêíà áðàóçåðà.', '22', 'input', 'csite_title', '', 'Ïîðòàë IPB', '', '', 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 ('Ôîðìàò âðåìåíè äëÿ íîâîñòåé', 'Ïîäðîáíåå î ôîðìàòå äàòû è âðåìåíè íà îôèöèàëüíîì ñàéòå PHP: <a href=\'http://www.php.net/date\'>ôóíêöèÿ date</a>', '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 ('Ïîêàçûâàòü ïàíåëü ïîëüçîâàòåëåé/ãîñòåé?', '', '22', 'yes_no', 'csite_pm_show', '', '1', '', '', 1, 12, 'Êîìïîíåíòû ïîðòàëà', 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 ('Ïîêàçûâàòü áëîê ñ ôîðìîé ïîèñêà?', '', '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 ('Ïîêàçûâàòü áëîê ñ ìåíþ âûáîðà ñòèëÿ?', '', '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 ('Ïîêàçûâàòü íàâèãàöèîííîå ìåíþ?', '', '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 ('Ññûëêè íàâèãàöèîííîãî ìåíþ', 'Èñïîëüçóéòå îäíó ññûëêó íà ñòðîêó, ââîäèòå â ñëåäóþùåì ôîðìàòå:<br />http://www.ibresource.ru [IBResource]<br /><br />Çàïèñü {board_url} áóäåò çàìåíåíà íà URL âàøåãî ôîðóìà', '22', 'textarea', 'csite_nav_contents', '', '{board_url} [Ôîðóìû]\r\n{board_url}act=Search&CODE=getactive [Àêòèâíûå òåìû]\r\n{board_url}act=Stats [Ëó÷øèå ñåãîäíÿ]\r\n{board_url}act=Stats&CODE=leaders [Àäìèíèñòðàöèÿ ôîðóìà]', '', '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 ('Ïîêàçûâàòü áëîê ñ ðåêîìåíäóåìûìè ññûëêàìè?', '', '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 ('Ñîäåðæàíèå áëîêà ñ ðåêîìåíäóåìûìè ññûëêàìè', 'Íàïðèìåð, ññûëêè íà ñàéòû âàøèõ ïàðòíåðîâ.', '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 ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('ENABLE IPB Portal?', 'If \'yes\', IPB Portal can be accessed via \'index.php?act=home\' or via the special \'index.php\' script (see documentation for more info).', '22', 'yes_no', 'csite_on', '', '1', '', '', 1, 1, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('IPB Portal Page Title?', 'This will appear inbetween the <title> elements on the page', '22', 'input', 'csite_title', '', 'IPB Portal', '', '', 1, 2, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Forums to export articles from', 'Separate <b>forum ids</b> with a comma for more than one', '22', 'input', 'csite_article_forum', '1,2,3,4,5,6', '', '', '', 1, 3, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Number of Articles to display in the main section', '', '22', 'input', 'csite_article_max', '', '15', '', '', 1, 4, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable Recent Articles?', 'This will show a list of recent topic titles on the IPB Portal page', '22', 'yes_no', 'csite_article_recent_on', '', '1', '', '', 1, 5, 'IPB Portal Recent Articles', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. no recent articles to show', '', '22', 'input', 'csite_article_recent_max', '', '5', '', '', 1, 6, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. length of topic titles', '', '22', 'input', 'csite_article_len', '', '30', '', '', 1, 7, '', 1, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Date format for articles', '<a href=\'http://www.php.net/date\'>Same as PHP\'s date function', '22', 'input', 'csite_article_date', '', 'm-j-y H:i', '', '', 1, 3, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable Recent Discussions', '', '22', 'yes_no', 'csite_discuss_on', '', '1', '', '', 1, 9, 'IPB Portal Recent Discussions', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. no recent discussions to show', '', '22', 'input', 'csite_discuss_max', '', '10', '', '', 1, 10, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. length of topic titles', '', '22', 'input', 'csite_discuss_len', '', '30', '', '', 1, 11, '', 1, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show User / Guest Info box?', '', '22', 'yes_no', 'csite_pm_show', '', '1', '', '', 1, 12, 'IPB Portal Components', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show online users?', '', '22', 'yes_no', 'csite_online_show', '', '1', '', '', 1, 13, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show search box?', '', '22', 'yes_no', 'csite_search_show', '', '1', '', '', 1, 14, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable skin selection choice dropdown?', '', '22', 'yes_no', 'csite_skinchange_show', '', '1', '', '', 1, 15, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enter URL to poll topic for inclusion', 'Leave blank to not show a poll or the poll box', '22', 'input', 'csite_poll_url', '', '', '', '', 1, 17, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show Site Navigation Menu?', '', '22', 'yes_no', 'csite_nav_show', '', '1', '', '', 1, 18, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Site Navigation Menu Links', 'One per line in this format<br>http://www.apple.com [Apple\'s Website]<br><br>{board_url} will convert into your board', '22', 'textarea', 'csite_nav_contents', '', '{board_url} [Forums]\r\n{board_url}act=Search&CODE=getactive [Today\'s Active Topics]\r\n{board_url}act=Stats [Today\'s Top 10 Posters]\r\n{board_url}act=Stats&CODE=leaders [Contact Staff]', '', 'if ( $show == 1)\r\n{\r\n $value = preg_replace( \"/&(middot|quot|copy|amp)/\", \"&\\\\1\", $value );\r\n}', 1, 19, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show Affiliates / Favoured Sites box?', '', '22', 'yes_no', 'csite_fav_show', '', '0', '', '', 1, 20, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show Affiliates / Favoured Sites box content', 'Raw HTML enabled', '22', 'textarea', 'csite_fav_contents', '', '', '', 'if ( $show == 1)\r\n{\r\n $value = preg_replace( \"/&(middot|quot|copy|amp)/\", \"&\\\\1\", $value );\r\n}', 1, 21, '', 1, '', 0);";
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -23,16 +23,16 @@
|
||||
|
||||
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.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Send Bulk Mail', 'bulkmail.php', 1086706080, -1, -1, -1, -1, '61359ac93eb93ebbd935a4e275ade2db', 0, 'Dynamically assigned, no need to edit or change', 0, 'bulkmail', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Daily Topic & Forum Digest', 'dailydigest.php', 1086912600, -1, -1, 0, 10, '723cab2aae32dd5d04898b1151038846', 1, 'Emails out daily topic & forum digest emails', 1, 'dailydigest', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Weekly Topic & Forum Digest', 'weeklydigest.php', 1087096200, 0, -1, 3, 10, '7e7fccd07f781bdb24ac108d26612931', 1, 'Emails weekly topic & forum digest emails', 1, 'weeklydigest', 0);";
|
||||
$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 ('Îòïðàâêà ðàññûëêè', 'bulkmail.php', 1086706080, -1, -1, -1, -1, '61359ac93eb93ebbd935a4e275ade2db', 0, 'Çàïóñêàåòñÿ àâòîìàòè÷åñêè ïðè ïîÿâëåíèè ðàññûëîê äëÿ îòïðàâêè. Íå èçìåíÿòü!', 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 ('Îáçîð òåì è ôîðóìà (ðàç â äåíü)', 'dailydigest.php', 1086912600, -1, -1, 0, 10, '723cab2aae32dd5d04898b1151038846', 1, 'Îòïðàâêà åæåäíåâíîé ðàññûëêè òåì è îáçîðà ôîðóìà', 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 ('Îáçîð òåì è ôîðóìà (ðàç â íåäåëþ)', 'weeklydigest.php', 1087096200, 0, -1, 3, 10, '7e7fccd07f781bdb24ac108d26612931', 1, 'Îòïðàâêà åæåíåäåëüíîé ðàññûëêè òåì è îáçîðà ôîðóìà', 1, 'weeklydigest', 0);";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,80 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PDR1 -> PDR 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "alter table ibf_members add subs_pkg_chosen smallint(3) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_topic_mmod add topic_approve tinyint(1) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_groups add g_attach_per_post int(10) NOT NULL default '0';";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('Subscriptions Manager', 'These settings control various subscription manager features.', 3, 0, 'subsmanager');";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('IPB Registration', 'This section will allow you to edit your IPB registered licence settings.', 3, 1, 'ipbreg');";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('IPB Copyright Removal', 'This section allows you to manage your copyright removal key.', 2, 1, 'ipbcopyright');";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('Invision Chat Settings (Legacy Version)', 'This will allow you to customize your Invision Chat integration settings for the legacy edition.', 14, 1, 'chat');";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES ('Invision Chat Settings', 'This will allow you to customize your Invision Chat integration settings for the new 2004 edition', 10, 1, 'chat04');";
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Add '<' and '>' to 'to' and 'from' addresses?', 'Some SMTP mailers require that email addresses are in the following format \'<\' address \'>\' (no quotes). If you are getting errors in the mail error log, enabled this option', '12', 'yes_no', 'mail_wrap_brackets', '', '0', '', '', 1, 6, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Account Number?', 'Removing this number will remove all links / chat functionality within IPB.\r\n', '20', 'input', 'chat_account_no', '', '', '', '', 1, 1, 'Account Specifics', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Server?', '<!--SERVER-->', '20', 'input', 'chat_server_addr', '', '', '', '', 1, 2, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable 'Who's Chatting?'', 'If enabled, this will show who\'s chatting in the chat room on your forums home page underneath the active users list.', '20', 'yes_no', 'chat_who_on', '', '1', '', '', 1, 3, 'Who's Chatting', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Hide Who's Chatting when no members are logged into chat?', '', '20', 'yes_no', 'chat_hide_whoschatting', '', '1', '', '', 1, 4, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Update local list no less than every:', 'The local list is updated from the master chat server by the frequency you set and cached locally.', '20', 'dropdown', '', '', '15', '5=5\r\n10=10\r\n15=15\r\n30=30', '', 1, 5, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Changed your IPChat control panel password?', 'If you have changed your IPChat control panel password, please add the new password here. Leave blank if it\'s not changed.', '20', 'input', 'chat_pass_md5', '', '', '', '', 1, 6, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('ENTER YOUR IPCHAT CONTROL PANEL PASSWORD', 'You must enter your IPChat control panel password to allow retrieval of the Who\'s Chatting list.', '20', 'input', 'chat_pass_md5_new', '', '', '', '', 1, 7, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Dimensions (WIDTH)?', '', '20', 'input', 'chat_width', '', '600', '', '', 1, 8, 'Showing the chat room', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Dimensions (HEIGHT)?', '', '20', 'input', 'chat_height', '', '350', '', '', 1, 9, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Pop-up Window Padding? (in px)', 'Allows window to open without scrollbars', '20', 'input', 'chat_poppad', '', '50', '', '', 1, 10, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Default Chat Room Interface Language?', '', '20', 'dropdown', 'chat_language', '', 'en', 'en=English\r\nar=Arabic\r\nde=German\r\nes=Spanish\r\nfr=French\r\nhr=Croation\r\nit=Italian\r\niw=Hebrew\r\nnl=Dutch\r\npl=Polish\r\npt=Portuguese', '', 1, 11, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Load the chat room in...?', '', '20', 'dropdown', 'chat_display', '', 'self', 'self=Normal IPB Page\r\nnew=New Pop Up Window', '', 1, 9, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Allow chat access to these groups', 'You may select more than one', '20', 'multi', 'chat_access_groups', '', '', '#show_groups#', 'if ( \$save == 1)\r\n{\r\n if ( is_array(\$POST[\'chat_access_groups\']) )\r\n {\r\n \$POST[\'chat_access_groups\'] = implode(\",\",\$POST[\'chat_access_groups\']);\r\n }\r\n else\r\n {\r\n \$POST[\'chat_access_groups\'] = '';\r\n }\r\n \r\n \$key = \'chat_access_groups\';\r\n}if ( \$show == 1 ) { \$key=\'chat_access_groups[]\'; }', 1, 13, 'Access Permissions', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Allow ADMIN access to these groups', 'You may select more than one - please choose carefully!', '20', 'multi', 'chat_admin_groups', '', '', '#show_groups#', 'if ( \$save == 1)\r\n{\r\n if ( is_array(\$POST[\'chat_admin_groups\']) )\r\n {\r\n \$POST[\'chat_admin_groups\'] = implode(\",\",\$POST[\'chat_admin_groups\']);\r\n }\r\n else\r\n {\r\n \$POST[\'chat_admin_groups\'] = '';\r\n }\r\n \r\n \$key = \'chat_admin_groups\';\r\n}if ( \$show == 1 ) { \$key=\'chat_admin_groups[]\'; }', 1, 14, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Account Number?', 'Removing this number will remove all links / chat functionality within IPB.\r\n', '21', 'input', 'chat04_account_no', '', '', '', '', 1, 1, 'Account Specifics', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room URL?', '<!--SERVER-->', '21', 'input', 'chat04_whodat_server_addr', '', 'http://invision.parachat.com/cgi-bin/userlist/test', '', '', 1, 2, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable 'Who's Chatting?'', 'If enabled, this will show who\'s chatting in the chat room on your forums home page underneath the active users list.', '21', 'yes_no', 'chat04_who_on', '', '1', '', '', 1, 3, 'Who's Chatting', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Hide Who's Chatting when no members are logged into chat?', '', '21', 'yes_no', 'chat04_hide_whoschatting', '', '1', '', '', 1, 4, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Update local list no less than every:', 'The local list is updated from the master chat server by the frequency you set and cached locally.', '21', 'dropdown', 'chat04_who_save', '', '1', '1=1\r\n5=5\r\n10=10\r\n15=15\r\n30=30', '', 1, 5, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Dimensions (WIDTH)?', '', '21', 'input', 'chat04_width', '', '600', '', '', 1, 8, 'Showing the chat room', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Dimensions (HEIGHT)?', '', '21', 'input', 'chat04_height', '', '350', '', '', 1, 9, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Chat Room Pop-up Window Padding? (in px)', 'Allows window to open without scrollbars', '21', 'input', 'chat04_poppad', '', '50', '', '', 1, 10, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Load the chat room in...?', '', '21', 'dropdown', 'chat04_display', '', 'self', 'self=Normal IPB Page\r\nnew=New Pop Up Window', '', 1, 9, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Allow chat access to these groups', 'You may select more than one', '21', 'multi', 'chat04_access_groups', '', '', '#show_groups#', 'if ( \$save == 1)\r\n{\r\n if ( is_array(\$POST[\'chat04_access_groups\']) )\r\n {\r\n \$POST[\'chat04_access_groups\'] = implode(\",\",\$POST[\'chat04_access_groups\']);\r\n }\r\n else\r\n {\r\n \$POST[\'chat04_access_groups\'] = '';\r\n }\r\n \r\n \$key = \'chat04_access_groups\';\r\n}', 1, 13, 'Access Permissions', 1, '', 1);";
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Allow poll creator to vote in own poll?', 'If set to \"yes\", the poll creator will have the option of voting in their own poll.', '5', 'yes_no', 'allow_creator_vote', '', '1', '', '', 1, 31, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Registration Terms & Rules', 'The content of this section will be displayed before a member can register a new account.\r\n<b>HTML ENABLED</b>', '17', 'textarea', 'reg_rules', '', '<b>Forum Terms & Rules</b>\r\n\r\nPlease take a moment to review these rules detailed below. If you agree with them and wish to proceed with the registration, simply click the \"Register\" button below. To cancel this registration, simply hit the \'back\' button on your browser.\r\n\r\nPlease remember that we are not responsible for any messages posted. We do not vouch for or warrant the accuracy, completeness or usefulness of any message, and are not responsible for the contents of any message.\r\n\r\nThe messages express the views of the author of the message, not necessarily the views of this bulletin board. Any user who feels that a posted message is objectionable is encouraged to contact us immediately by email. We have the ability to remove objectionable messages and we will make every effort to do so, within a reasonable time frame, if we determine that removal is necessary.\r\n\r\nYou agree, through your use of this service, that you will not use this bulletin board to post any material which is knowingly false and/or defamatory, inaccurate, abusive, vulgar, hateful, harassing, obscene, profane, sexually oriented, threatening, invasive of a person\'s privacy, or otherwise violative of any law.\r\n\r\nYou agree not to post any copyrighted material unless the copyright is owned by you or by this bulletin board.\r\n', '', '', 1, 5, 'Registration Terms & Rules', 1, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show subscription packages when registering?', 'If enabled, the subscription packages will be shown in the registration page and the registering member will be able to select one.', '23', 'yes_no', 'subsm_show_reg', '', '1', '', '', 1, 1, 'Optional Purchase Upon Registration', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Force every member to require a subscriptions package', 'If enabled, the member must choose a package upon registration to proceed past the validating group and current members must purchase a subscription to view the board.', '23', 'yes_no', 'subsm_enforce', '', '0', '', '', 1, 2, 'Force Package Purchase', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Member group to use after registration but before package purchase?', 'If you require that every member purchases a subscription, choose a group to move the member into once they have validated their registration prior to purchasing a subscriptions manager package.\r\nMembers in this group will see the \'Purchase Subscriptions\' page when logged in and if they don\'t already have a package.', '23', 'dropdown', 'subsm_nopkg_group', '', '1', '#show_groups#', '', 1, 3, '', 1, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Reported Post Notifications sent to', 'Where do you want reported post notifications to go?', '6', 'dropdown', 'reportpost_method', '', 'pm', 'email=Email\r\npm=Personal Message', '', 1, 19, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Display registered to line?', 'If enabled, you can optionally add a \"registered to\" line at the bottom of your board.', '24', 'yes_no', 'ipb_reg_show', '', '0', '', '', 1, 2, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show as registered to...', 'Examples: <em>Matthew Mecham</em>, <em>IPS, Inc.', '24', 'input', 'ipb_reg_name', '', '', '', '', 1, 3, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('IPB Registered Licence Key', 'This is the IPB registraton key NOT your customer code or client center password. To get your key, log into your client center and click on \'Invision Power Board\' under \'Purchased Services\'.\r\n<br />DO NOT REMOVE OR EDIT THIS KEY UNLESS YOU\'RE SURE OF WHAT YOU\'RE DOING!', '24', 'input', 'ipb_reg_number', '', '', '', '', 1, 1, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('IPB Copyright Removal Key', 'Your copyright removal key obtained from IPS.', '25', 'input', 'ipb_copy_number', '', '', '', '', 1, 1, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Copyright Purchased?', '', '25', 'yes_no', 'ips_cp_purchase', '', '0', '', '', 1, 2, '', 0, '', 1);";
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,34 +1,34 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PF1 -> PF 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('CODEBOX', 'Use this BBCode tag to show a scrolling codebox. Useful for long sections of code.', 'codebox', '<div class=\'codetop\'>CODE</div><div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\'>{content}</div>', 0, '[codebox]long_code_here = '';[/codebox]');";
|
||||
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PF1 -> PF 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Áëîê êîäà', 'Ýòîò òåã áóäåò ïîêàçûâàòü áëîê êîäà ñ ïîëîñîé ïðîêðóòêè. Ïðèìåíÿåòñÿ äëÿ áîëüøèõ áëîêîâ ñ èñõîäíûì êîäîì ïðîãðàììû.', '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,18 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,565 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1092402393">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>253</conf_id>
|
||||
<conf_title>Chat Room Type</conf_title>
|
||||
<conf_description>This is the type of chat service you purchased</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_servicetype</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>advanced=Advanced
|
||||
premium=Premium</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>252</conf_id>
|
||||
<conf_title>Default Chat Room</conf_title>
|
||||
<conf_description>This is the room that your chat users will be logged into first</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_default_room</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>203</conf_id>
|
||||
<conf_title>Chat Room URL?</conf_title>
|
||||
<conf_description><![CDATA[<!--SERVER-->]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_whodat_server_addr</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>--Not currently required--</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>204</conf_id>
|
||||
<conf_title><![CDATA[Enable 'Who's Chatting?']]></conf_title>
|
||||
<conf_description><![CDATA[If enabled, this will show who's chatting in the chat room on your forums home page underneath the active users list.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_who_on</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>4</conf_position>
|
||||
<conf_start_group><![CDATA[Who's Chatting]]></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>205</conf_id>
|
||||
<conf_title><![CDATA[Hide Who's Chatting when no members are logged into chat?]]></conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_hide_whoschatting</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>5</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>262</conf_id>
|
||||
<conf_title>Enable X_FORWARDED_FOR IP matching?</conf_title>
|
||||
<conf_description><![CDATA[If enabled, this will check the X_FORWARDED_FOR headers to match the user's IP address. This is useful in a intranet situation if the REMOTE_ADDR will be the same across the network. It will also help maintain AOL sessions but can be abused to forge incorrect headers to report an incorrect IP address. If unsure, leave off.]]></conf_description>
|
||||
<conf_group>6</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>xforward_matching</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>6</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>206</conf_id>
|
||||
<conf_title>Update local list no less than every:</conf_title>
|
||||
<conf_description>The local list is updated from the master chat server by the frequency you set and cached locally. In minutes.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_who_save</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>2</conf_default>
|
||||
<conf_extra>2=2
|
||||
5=5
|
||||
10=10
|
||||
15=15
|
||||
30=30</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>6</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>209</conf_id>
|
||||
<conf_title>Chat Room Dimensions (WIDTH)?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_width</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>600</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>8</conf_position>
|
||||
<conf_start_group>Showing the chat room</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>248</conf_id>
|
||||
<conf_title>Moderators can ban via warn panel?</conf_title>
|
||||
<conf_description><![CDATA[Applies to those moderators allowed to use the warning system<br />Admins can automatically do this via the warn panel.]]></conf_description>
|
||||
<conf_group>13</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>warn_mod_ban</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>8</conf_position>
|
||||
<conf_start_group>Forum Moderator Permissions</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>210</conf_id>
|
||||
<conf_title>Chat Room Dimensions (HEIGHT)?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_height</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>350</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>9</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>249</conf_id>
|
||||
<conf_title>Moderators can mod queue members via warn panel?</conf_title>
|
||||
<conf_description><![CDATA[Applies to those moderators allowed to use the warning system<br />Admins can automatically do this via the warn panel.]]></conf_description>
|
||||
<conf_group>13</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>warn_mod_modq</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>9</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>50</conf_id>
|
||||
<conf_title><![CDATA[Auto prune all topic subscriptions if the topic has no replies over [x] days]]></conf_title>
|
||||
<conf_description>Leave blank or enter 0 for no auto prune limit</conf_description>
|
||||
<conf_group>4</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>subs_autoprune</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>10</conf_position>
|
||||
<conf_start_group><![CDATA[Topic & Forum Subscriptions]]></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key>0</conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>254</conf_id>
|
||||
<conf_title>Default Chat Room Language</conf_title>
|
||||
<conf_description>This is the default language used for the chat user inteface (buttons and labels, etc)</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_default_lang</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>english.conf</conf_default>
|
||||
<conf_extra>english.conf=English
|
||||
spanish.conf=Spanish
|
||||
portuguese.conf=Portuguese
|
||||
italian.conf=Italian
|
||||
french.conf=French
|
||||
german.conf=German</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>10</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>250</conf_id>
|
||||
<conf_title>Moderators can remove post rights via warn panel?</conf_title>
|
||||
<conf_description><![CDATA[Applies to those moderators allowed to use the warning system<br />Admins can automatically do this via the warn panel.]]></conf_description>
|
||||
<conf_group>13</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>warn_mod_post</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>10</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>263</conf_id>
|
||||
<conf_title>Automatically subscribe to every forum</conf_title>
|
||||
<conf_description><![CDATA[Please choose which user groups you'd like to automatically be subscribed for email notification of <b>new</b> topics (not replies) in every forum available to them. This means that members having a selected PRIMARY group will be emailed everytime there is a new topic and they are not online to view it.<br /><b>Note</b> This will only send the email to those who have chosen to 'Allow emails from the administrators'.]]></conf_description>
|
||||
<conf_group>4</conf_group>
|
||||
<conf_type>multi</conf_type>
|
||||
<conf_key>autoforum_sub_groups</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>#show_groups#</conf_extra>
|
||||
<conf_evalphp><![CDATA[if ( $save == 1)
|
||||
{
|
||||
if ( is_array($_POST['autoforum_sub_groups']) )
|
||||
{
|
||||
$_POST['autoforum_sub_groups'] = implode(",",$_POST['autoforum_sub_groups']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$_POST['autoforum_sub_groups'] = "";
|
||||
}
|
||||
|
||||
$key = 'autoforum_sub_groups';
|
||||
}
|
||||
if ( $show == 1 )
|
||||
{
|
||||
$key='autoforum_sub_groups[]';
|
||||
}]]></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>11</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>255</conf_id>
|
||||
<conf_title><![CDATA[Enable "Plain Mode"?]]></conf_title>
|
||||
<conf_description><![CDATA["Plain mode" removes the colored chat text from your Invision Power Chat Advanced room(s), and implements single-colored (non-GUI) chat text. This will disable the graphic emoticons and click-able URLs.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_plainmode</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>11</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>251</conf_id>
|
||||
<conf_title>Number of times per day a moderator can warn a single member</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>13</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>warn_mod_day</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>3</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>11</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>213</conf_id>
|
||||
<conf_title>Load the chat room in...?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_display</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>self</conf_default>
|
||||
<conf_extra>self=Normal IPB Page
|
||||
new=New Pop Up Window</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>12</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>211</conf_id>
|
||||
<conf_title>Chat Room Pop-up Window Padding? (in px)</conf_title>
|
||||
<conf_description>Allows window to open without scrollbars</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_poppad</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>50</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>14</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>256</conf_id>
|
||||
<conf_title>Applet: Background Color</conf_title>
|
||||
<conf_description>To change your chat applet background color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_applet_bg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#BCD0ED</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>16</conf_position>
|
||||
<conf_start_group>Chat Room Style Options</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>257</conf_id>
|
||||
<conf_title>Applet: Foreground Color</conf_title>
|
||||
<conf_description>To change your chat applet foreground color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_applet_fg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#345487</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>17</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>258</conf_id>
|
||||
<conf_title>Chat Window: Background Color</conf_title>
|
||||
<conf_description>To change your chat window background color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_window_bg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#F5F9FD</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>17</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>259</conf_id>
|
||||
<conf_title>Chat Window: Foreground Color</conf_title>
|
||||
<conf_description>To change your chat window foreground color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_window_fg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#345487</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>17</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>261</conf_id>
|
||||
<conf_title>Additional PARAM information</conf_title>
|
||||
<conf_description><![CDATA[Use this field to enter any custom param tags for the chat applet.
|
||||
Example:<br />
|
||||
<param name="cmd.BeepEnter" value="true">
|
||||
<br /><param name="cmd.BeepLeave" value="true">
|
||||
<br />Please refer to the Invision Chat documentation for more info.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>textarea</conf_type>
|
||||
<conf_key>chat04_customparams</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>18</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>110</conf_id>
|
||||
<conf_title>Remove chr(0xCA) from input?</conf_title>
|
||||
<conf_description><![CDATA[Can be used as a 'hidden' space to emulate registered names - but can cause problems in non Western character sets.]]></conf_description>
|
||||
<conf_group>6</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>strip_space_chr</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>18</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>260</conf_id>
|
||||
<conf_title>Chat Room Font Size</conf_title>
|
||||
<conf_description><![CDATA[To customize your font size replace "10" to whatever numeric value you wish.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_font_size</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>10</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>19</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>214</conf_id>
|
||||
<conf_title>Allow chat access to these groups</conf_title>
|
||||
<conf_description>You may select more than one</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>multi</conf_type>
|
||||
<conf_key>chat04_access_groups</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>#show_groups#</conf_extra>
|
||||
<conf_evalphp><![CDATA[if ( $save == 1)
|
||||
{
|
||||
if ( is_array($_POST['chat04_access_groups']) )
|
||||
{
|
||||
$_POST['chat04_access_groups'] = implode(",",$_POST['chat04_access_groups']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$_POST['chat04_access_groups'] = "";
|
||||
}
|
||||
|
||||
$key = 'chat04_access_groups';
|
||||
}
|
||||
if ( $show == 1 )
|
||||
{
|
||||
$key = 'chat04_access_groups[]';
|
||||
}]]></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>25</conf_position>
|
||||
<conf_start_group>Access Permissions</conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,15 +1,15 @@
|
||||
<?php
|
||||
|
||||
$WRAPPER = <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="ru" lang="ru" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title><% TITLE %></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
||||
<% GENERATOR %>
|
||||
<% CSS %>
|
||||
<% JAVASCRIPT %>
|
||||
</head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<% GENERATOR %>
|
||||
<% CSS %>
|
||||
<% JAVASCRIPT %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="ipbwrapper">
|
||||
<% BOARD HEADER %>
|
||||
@@ -18,27 +18,27 @@ $WRAPPER = <<<EOF
|
||||
<!--IBF.NEWPMBOX-->
|
||||
<% BOARD %>
|
||||
<% BOARD FOOTER %>
|
||||
<% STATS %>
|
||||
<% STATS %>
|
||||
<% COPYRIGHT %>
|
||||
</div>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
|
||||
|
||||
$CSS = <<<EOF
|
||||
/*
|
||||
/*
|
||||
* Cascading Style Sheet(CSS 467), for Invision Power Board 2.0.0
|
||||
* Author: James A. Mathias, admin@leihu.com, http://www.1lotus.com
|
||||
* Copyright: 2004 Invision Power Services, all rights reserved
|
||||
* Author: James A. Mathias, admin@leihu.com, http://www.1lotus.com
|
||||
* Copyright: 2004 Invision Power Services, all rights reserved
|
||||
*
|
||||
* All style attributes in alpha-numeric order starting from 0
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* global element styles
|
||||
* global element styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -46,7 +46,7 @@ html{
|
||||
overflow-x: auto; /* fixes MSIE scrollbar bug DO NOT REMOVE, has no effect in Mozilla, or Opera */
|
||||
}
|
||||
|
||||
body{
|
||||
body{
|
||||
background: #FFF;
|
||||
color: #222;
|
||||
font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif;
|
||||
@@ -90,9 +90,9 @@ img{
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* global hyperlink styles
|
||||
* global hyperlink styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -109,25 +109,25 @@ a:hover{
|
||||
color: #34498B;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* Main wrapper, this controls the overall width of the board in you browser view window.
|
||||
* Main wrapper, this controls the overall width of the board in you browser view window.
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
#ipbwrapper{
|
||||
#ipbwrapper{
|
||||
margin: 20px auto 20px auto; /* centers the box, no matter the overall width, also applies a 20px gap at the top and bottom of the board */
|
||||
text-align: left; /* re_aligns text to left second part of two part MSIE centering workaround */
|
||||
/* EDIT THIS TO CHANGE THE WIDTH OF THE BOARD -> 750px is a common fixed resolution size */
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* styles for pagination links
|
||||
* styles for pagination links
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
|
||||
|
||||
.pagelink,
|
||||
.pagelinklast,
|
||||
@@ -193,9 +193,9 @@ a:hover{
|
||||
.forumdesc,
|
||||
.forumdesc a:link,
|
||||
.forumdesc a:visited,
|
||||
.forumdesc a:active{
|
||||
.forumdesc a:active{
|
||||
background: transparent;
|
||||
font-size: 10px;
|
||||
font-size: 10px;
|
||||
color: #666;
|
||||
line-height: 135%;
|
||||
margin: 2px 0 0 0;
|
||||
@@ -230,16 +230,16 @@ a:hover{
|
||||
border-bottom:1px dotted black;
|
||||
}
|
||||
|
||||
fieldset.search{
|
||||
fieldset.search{
|
||||
line-height: 150%;
|
||||
padding: 6px;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
label{
|
||||
cursor: pointer;
|
||||
label{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
img.attach{
|
||||
img.attach{
|
||||
background: #808080 url(<#IMG_DIR#>/click2enlarge.gif) no-repeat top right;
|
||||
border: 1px solid #808080;
|
||||
margin: 0 2px 0 0;
|
||||
@@ -265,13 +265,13 @@ img.attach{
|
||||
}
|
||||
|
||||
.thumbwrap h4,
|
||||
.thumbwrapp h4{
|
||||
.thumbwrapp h4{
|
||||
background: #DDE6F2;
|
||||
border: 0 !important;
|
||||
border-bottom: 1px solid #5176B5 !important;
|
||||
color: #5176B5;
|
||||
color: #5176B5;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -298,7 +298,7 @@ img.attach{
|
||||
background: #EFDFDF !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
|
||||
.thumbwrap img.galattach,
|
||||
.thumbwrapp img.galattach{
|
||||
background: #FFF url(<#IMG_DIR#>/img_larger.gif) no-repeat bottom right;
|
||||
@@ -307,119 +307,119 @@ img.attach{
|
||||
padding: 2px 2px 10px 2px;
|
||||
}
|
||||
|
||||
li.helprow{
|
||||
li.helprow{
|
||||
margin: 0 0 10px 0;
|
||||
padding: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul#help{
|
||||
padding: 0 0 0 15px;
|
||||
ul#help{
|
||||
padding: 0 0 0 15px;
|
||||
}
|
||||
|
||||
.warngood,
|
||||
.warnbad{
|
||||
.warnbad{
|
||||
color: #0B9500;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.warnbad{
|
||||
.warnbad{
|
||||
color: #DD0000;
|
||||
}
|
||||
|
||||
#padandcenter{
|
||||
#padandcenter{
|
||||
margin: 0 auto 0 auto;
|
||||
padding: 14px 0 14px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#profilename{
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
#profilename{
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#photowrap{
|
||||
padding: 6px;
|
||||
#photowrap{
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
#phototitle{
|
||||
border-bottom: 1px solid #000;
|
||||
font-size: 24px;
|
||||
#phototitle{
|
||||
border-bottom: 1px solid #000;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
#photoimg{
|
||||
#photoimg{
|
||||
margin: 15px 0 0 0;
|
||||
text-align: center;
|
||||
}
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#ucpmenu,
|
||||
#ucpcontent{
|
||||
#ucpcontent{
|
||||
background: #F5F9FD;
|
||||
border: 1px solid #345487;
|
||||
line-height: 150%;
|
||||
}
|
||||
|
||||
#ucpmenu p{
|
||||
margin: 0;
|
||||
#ucpmenu p{
|
||||
margin: 0;
|
||||
padding: 2px 5px 6px 9px;
|
||||
}
|
||||
|
||||
#ucpmenu a:link,
|
||||
#ucpmenu a:active,
|
||||
#ucpmenu a:visited{
|
||||
text-decoration: none;
|
||||
#ucpmenu a:link,
|
||||
#ucpmenu a:active,
|
||||
#ucpmenu a:visited{
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#ucpcontent{
|
||||
#ucpcontent{
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#ucpcontent p{
|
||||
#ucpcontent p{
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.activeuserstrip{
|
||||
.activeuserstrip{
|
||||
background: #BCD0ED;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
/* Topic View elements */
|
||||
.signature{
|
||||
.signature{
|
||||
background: transparent;
|
||||
color: #339;
|
||||
color: #339;
|
||||
font-size: 10px;
|
||||
line-height: 150%;
|
||||
}
|
||||
|
||||
.postdetails{
|
||||
.postdetails{
|
||||
font-size: 10px;
|
||||
line-height:140%;
|
||||
}
|
||||
|
||||
.postcolor{
|
||||
font-size: 12px;
|
||||
.postcolor{
|
||||
font-size: 12px;
|
||||
line-height: 160%;
|
||||
}
|
||||
|
||||
.normalname{
|
||||
.normalname{
|
||||
color: #003;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.normalname a:link,
|
||||
.normalname a:visited,
|
||||
.normalname a:active{
|
||||
.normalname a:link,
|
||||
.normalname a:visited,
|
||||
.normalname a:active{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.post1,
|
||||
.bg1{
|
||||
.bg1{
|
||||
background: #F5F9FD;
|
||||
}
|
||||
|
||||
.post2,
|
||||
.bg3{
|
||||
.bg3{
|
||||
background: #EEF2F7;
|
||||
}
|
||||
|
||||
@@ -428,42 +428,42 @@ ul#help{
|
||||
.row4shaded,
|
||||
.post2shaded { background-color: #E3DFE7 }
|
||||
|
||||
.row1{
|
||||
background: #DFE6EF;
|
||||
.row1{
|
||||
background: #DFE6EF;
|
||||
}
|
||||
|
||||
.row2{
|
||||
background: #E4EAF2;
|
||||
.row2{
|
||||
background: #E4EAF2;
|
||||
}
|
||||
|
||||
.darkrow1{
|
||||
.darkrow1{
|
||||
background: #BCD0ED;
|
||||
color: #3A4F6C;
|
||||
color: #3A4F6C;
|
||||
}
|
||||
|
||||
.darkrow3{
|
||||
background: #D1DCEB;
|
||||
color: #3A4F6C;
|
||||
.darkrow3{
|
||||
background: #D1DCEB;
|
||||
color: #3A4F6C;
|
||||
}
|
||||
|
||||
/* tableborders gives the white column / row lines effect */
|
||||
.plainborder,
|
||||
.tablefill,
|
||||
.tablepad{
|
||||
.tablepad{
|
||||
background: #F5F9FD;
|
||||
border: 1px solid #345487;
|
||||
}
|
||||
|
||||
.tablefill,
|
||||
.tablepad{
|
||||
padding: 6px;
|
||||
.tablepad{
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.tablepad{
|
||||
.tablepad{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
.wrapmini{
|
||||
.wrapmini{
|
||||
float: left;
|
||||
line-height: 1.5em;
|
||||
width: 25%;
|
||||
@@ -475,22 +475,22 @@ ul#help{
|
||||
width: 35%;
|
||||
}
|
||||
|
||||
.desc{
|
||||
font-size: 11px;
|
||||
.desc{
|
||||
font-size: 11px;
|
||||
color: #434951;
|
||||
}
|
||||
|
||||
.lastaction
|
||||
{
|
||||
font-size: 10px;
|
||||
font-size: 10px;
|
||||
color: #434951;
|
||||
}
|
||||
|
||||
.edit{
|
||||
.edit{
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.thin{
|
||||
.thin{
|
||||
border: 1px solid #FFF;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
@@ -503,17 +503,17 @@ ul#help{
|
||||
/* =================================================================================== */
|
||||
/* =================================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* calendar styles
|
||||
* calendar styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
.calmonths{
|
||||
|
||||
.calmonths{
|
||||
background: #F0F5FA;
|
||||
border: 1px solid #C2CFDF;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin: 5px 0 5px 0;
|
||||
padding: 8px;
|
||||
text-align: center;
|
||||
@@ -529,7 +529,7 @@ ul#help{
|
||||
}
|
||||
|
||||
.calday,
|
||||
.calweekday{
|
||||
.calweekday{
|
||||
background: #DFE6EF;
|
||||
color: #666;
|
||||
font-size: 11px;
|
||||
@@ -576,9 +576,9 @@ ul#help{
|
||||
border: 2px solid #8B0000;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* form styles
|
||||
* form styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -613,9 +613,9 @@ optgroup option{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.codebuttons{
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
font-size: 10px;
|
||||
.codebuttons{
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
font-size: 10px;
|
||||
vertical-align: middle;
|
||||
margin:2px;
|
||||
}
|
||||
@@ -632,7 +632,7 @@ optgroup option{
|
||||
padding: 2px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
.button{
|
||||
background: #DFE6EF;
|
||||
}
|
||||
@@ -647,16 +647,16 @@ optgroup option{
|
||||
|
||||
.radiobutton,
|
||||
.checkbox,
|
||||
.helpbox {
|
||||
.helpbox {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/*
|
||||
* class.formtable
|
||||
/*
|
||||
* class.formtable
|
||||
*
|
||||
* used for tabled forms
|
||||
* technically tables should not be used for form display
|
||||
* used for tabled forms
|
||||
* technically tables should not be used for form display
|
||||
* but, in the case of IPB a table is easier to work with
|
||||
* for the average webmaster, who has little to no CSS knowledge.
|
||||
*
|
||||
@@ -678,7 +678,7 @@ optgroup option{
|
||||
margin: 1px 0 0 0;
|
||||
padding: 6px;
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
.formtable td.wider,
|
||||
.pformleftw,
|
||||
@@ -691,19 +691,19 @@ optgroup option{
|
||||
border-right: 0;
|
||||
font-weight: normal;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.formtable td.formtitle,
|
||||
.formsubtitle{
|
||||
background: #D1DCEB;
|
||||
border: 1px solid #9FB9D4;
|
||||
border: 1px solid #9FB9D4;
|
||||
border-bottom: 0;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.formsubtitle{
|
||||
.formsubtitle{
|
||||
border: 0;
|
||||
color: #3A4F6C;
|
||||
font-weight: bold;
|
||||
@@ -718,9 +718,9 @@ optgroup option{
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* new style quote and code wrappers MATT's DESIGN
|
||||
* new style quote and code wrappers MATT's DESIGN
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -769,30 +769,30 @@ optgroup option{
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* old school quote and code styles - backwards compatibility
|
||||
* old school quote and code styles - backwards compatibility
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
#QUOTE,
|
||||
#CODE{
|
||||
background: #FAFCFE;
|
||||
border: 1px solid #000;
|
||||
color: #465584;
|
||||
font-family: Verdana, Arial;
|
||||
font-size: 11px;
|
||||
padding: 2px;
|
||||
#CODE{
|
||||
background: #FAFCFE;
|
||||
border: 1px solid #000;
|
||||
color: #465584;
|
||||
font-family: Verdana, Arial;
|
||||
font-size: 11px;
|
||||
padding: 2px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
#CODE{
|
||||
#CODE{
|
||||
font-family: Courier, Courier New, Verdana, Arial;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* All New Styles
|
||||
* All New Styles
|
||||
* ========================================
|
||||
*/
|
||||
.cleared{
|
||||
@@ -801,10 +801,10 @@ optgroup option{
|
||||
|
||||
.borderwrap,
|
||||
.borderwrapm{ /* this will affect the outlining border of all the tables and boxes through-out the skin. */
|
||||
background: #FFF;
|
||||
background: #FFF;
|
||||
border: 1px solid #072A66;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.borderwrapm{
|
||||
@@ -817,9 +817,9 @@ optgroup option{
|
||||
background: transparent url(<#IMG_DIR#>/tile_cat.gif);
|
||||
border: 1px solid #FFF;
|
||||
border-bottom: 1px solid #5176B5;
|
||||
color: #FFF;
|
||||
color: #FFF;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 8px;
|
||||
}
|
||||
@@ -845,19 +845,19 @@ optgroup option{
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.maintitle a:link,
|
||||
.maintitle a:link,
|
||||
.maintitle a:visited,
|
||||
.maintitlecollapse a:link,
|
||||
.maintitlecollapse a:visited{
|
||||
.maintitlecollapse a:link,
|
||||
.maintitlecollapse a:visited{
|
||||
background: transparent;
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.maintitle a:hover,
|
||||
.maintitle a:hover,
|
||||
.maintitle a:active,
|
||||
.maintitlecollapse a:hover,
|
||||
.maintitlecollapse a:active{
|
||||
.maintitlecollapse a:hover,
|
||||
.maintitlecollapse a:active{
|
||||
background: transparent;
|
||||
color: #F1F1F1;
|
||||
}
|
||||
@@ -866,15 +866,15 @@ table th,
|
||||
.borderwrap table th,
|
||||
.subtitle,
|
||||
.subtitlediv,
|
||||
.postlinksbar{
|
||||
.postlinksbar{
|
||||
background: transparent url(<#IMG_DIR#>/tile_sub.gif);
|
||||
border-bottom: 1px solid #5176B5;
|
||||
color: #3A4F6C;
|
||||
color: #3A4F6C;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.subtitlediv{
|
||||
@@ -887,17 +887,17 @@ table th,
|
||||
.subtitle a:link,
|
||||
.subtitlediv a:link,
|
||||
.borderwrap table th a:visited,
|
||||
.subtitle a:visited,
|
||||
.subtitlediv a:visited,
|
||||
.subtitle a:visited,
|
||||
.subtitlediv a:visited,
|
||||
.borderwrap table th a:active,
|
||||
.subtitle a:active,
|
||||
.subtitlediv a:active,
|
||||
.borderwrap table th a:hover,
|
||||
.subtitle a:hover,
|
||||
.subtitlediv a:hover{
|
||||
.subtitlediv a:hover{
|
||||
background: transparent;
|
||||
color: #3A4F6C;
|
||||
text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.borderwrap h4{
|
||||
@@ -905,9 +905,9 @@ table th,
|
||||
border: 1px solid #FFF;
|
||||
border-bottom: 1px solid #5176B5;
|
||||
border-top: 1px solid #5176B5;
|
||||
color: #5176B5;
|
||||
color: #5176B5;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -923,7 +923,7 @@ table th,
|
||||
td.formbuttonrow,
|
||||
.borderwrap p.formbuttonrow,
|
||||
.borderwrap p.formbuttonrow1{
|
||||
background: #D1DCEB !important;
|
||||
background: #D1DCEB !important;
|
||||
border: 1px solid #FFF;
|
||||
border-top: 1px solid #5176B5;
|
||||
margin: 0px !important;
|
||||
@@ -1047,9 +1047,9 @@ td.formbuttonrow{
|
||||
border: 1px solid #CCC;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
color: #444;
|
||||
color: #444;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -1074,9 +1074,9 @@ td.formbuttonrow{
|
||||
border: 1px solid #992A2A;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
color: #992A2A;
|
||||
color: #992A2A;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -1100,24 +1100,24 @@ td.formbuttonrow{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#pmnotewrap a:link,
|
||||
#pmnotewrap a:visited{
|
||||
background: transparent;
|
||||
color: #992A2A;
|
||||
#pmnotewrap a:link,
|
||||
#pmnotewrap a:visited{
|
||||
background: transparent;
|
||||
color: #992A2A;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#pmnotewrap a:hover,
|
||||
#pmnotewrap a:hover,
|
||||
#pmnotewrap a:active{
|
||||
background: transparent;
|
||||
color: #992A2A;
|
||||
background: transparent;
|
||||
color: #992A2A;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ruleswrap{
|
||||
background: #F2DDDD;
|
||||
border: 1px solid #992A2A;
|
||||
color: #992A2A;
|
||||
color: #992A2A;
|
||||
margin: 5px 0 5px 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -1169,7 +1169,7 @@ td.formbuttonrow{
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#logostrip{
|
||||
#logostrip{
|
||||
background: #3860BB url(<#IMG_DIR#>/tile_back.gif);
|
||||
border: 1px solid #FFF;
|
||||
height: 68px;
|
||||
@@ -1184,23 +1184,23 @@ td.formbuttonrow{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#submenu{
|
||||
#submenu{
|
||||
background: transparent url(<#IMG_DIR#>/tile_sub.gif);
|
||||
border: 1px solid #FFF;
|
||||
border-top: 0;
|
||||
color: #3A4F6C;
|
||||
margin: 0;
|
||||
color: #3A4F6C;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#userlinks,
|
||||
#userlinksguest{
|
||||
#userlinksguest{
|
||||
background: #F0F5FA;
|
||||
border: 1px solid #C2CFDF;
|
||||
margin: 5px 0 5px 0;
|
||||
padding: 0 5px 0 5px;
|
||||
}
|
||||
|
||||
#userlinksguest{
|
||||
#userlinksguest{
|
||||
background: #F4E7EA;
|
||||
border: 1px solid #986265;
|
||||
}
|
||||
@@ -1211,10 +1211,10 @@ td.formbuttonrow{
|
||||
background: transparent !important;
|
||||
border: 0 !important;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
margin: 0 !important;
|
||||
padding: 7px 0 7px 0;
|
||||
padding: 7px 0 7px 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@@ -1234,39 +1234,39 @@ td.formbuttonrow{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#submenu a:link,
|
||||
#submenu a:visited{
|
||||
background: transparent;
|
||||
color: #3A4F6C;
|
||||
#submenu a:link,
|
||||
#submenu a:visited{
|
||||
background: transparent;
|
||||
color: #3A4F6C;
|
||||
padding: 0 6px 0 6px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#submenu a:hover,
|
||||
#submenu a:hover,
|
||||
#submenu a:active{
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
}
|
||||
#navstrip{
|
||||
#navstrip{
|
||||
background: transparent;
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 8px 0 8px 0px;
|
||||
padding: 8px 0 8px 0px;
|
||||
}
|
||||
|
||||
#navstrip a:link,
|
||||
#navstrip a:visited{
|
||||
background: transparent;
|
||||
color: #222;
|
||||
#navstrip a:link,
|
||||
#navstrip a:visited{
|
||||
background: transparent;
|
||||
color: #222;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#navstrip a:hover,
|
||||
#navstrip a:hover,
|
||||
#navstrip a:active{
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
}
|
||||
|
||||
.toplinks{
|
||||
@@ -1288,16 +1288,16 @@ td.formbuttonrow{
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.copyright{
|
||||
.copyright{
|
||||
background: #EEE;
|
||||
font-size: 11px;
|
||||
font-size: 11px;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* print page styles
|
||||
* print page styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1094651620">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>218</conf_id>
|
||||
<conf_title>Forums to export articles from</conf_title>
|
||||
<conf_description>You may select more than one.</conf_description>
|
||||
<conf_group>22</conf_group>
|
||||
<conf_type>multi</conf_type>
|
||||
<conf_key>csite_article_forum</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>#show_forums#</conf_extra>
|
||||
<conf_evalphp><![CDATA[if ( $save == 1)
|
||||
{
|
||||
if ( is_array($_POST['csite_article_forum']) )
|
||||
{
|
||||
$_POST['csite_article_forum'] = implode(",",$_POST['csite_article_forum']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$_POST['csite_article_forum'] = "";
|
||||
}
|
||||
|
||||
$key = 'csite_article_forum';
|
||||
}
|
||||
if ( $show == 1 )
|
||||
{
|
||||
$key = 'csite_article_forum[]';
|
||||
}]]></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>265</conf_id>
|
||||
<conf_title>Caching PATH</conf_title>
|
||||
<conf_description><![CDATA[<b>This can be left blank</b>
|
||||
<br />This is useful for specifing a PATH for the IPB written files (skin_cache, style_avatars, style_emoticons, style_images) when dealing with load balanced/clustered servers. If you enter a PATH, please ensure that it ends with a trailing slash]]></conf_description>
|
||||
<conf_group>1</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_cache_path</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>8</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>264</conf_id>
|
||||
<conf_title>Image URL</conf_title>
|
||||
<conf_description><![CDATA[<b>This can be left blank</b>
|
||||
<br />This can be used if you wish to serve images from a different server or when using clustered servers. Please ensure that you use a trailing slash and that it starts with http(s):// if entering a URL]]></conf_description>
|
||||
<conf_group>1</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_img_url</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>8</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -1,15 +1,15 @@
|
||||
<?php
|
||||
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('P_UP', '<img src=\'style_images/<#IMG_DIR#>/p_up.gif\' border=\'0\' alt=\'Go to the top of the page\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('P_CARD', '<img src=\'style_images/<#IMG_DIR#>/p_card.gif\' border=\'0\' alt=\'Profile Card\' />', 1, 1);";
|
||||
$SQL[] = "INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_can_remove, macro_set) VALUES ('P_UP', '<img src=\'style_images/<#IMG_DIR#>/p_up.gif\' border=\'0\' alt=\'Âåðíóòüñÿ â íà÷àëî ñòðàíèöû\' />', 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=\'Êàðòî÷êà ïîëüçîâàòåëÿ\' />', 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_ITEM', '<img src=\'style_images/<#IMG_DIR#>/profile_item.gif\' border=\'0\' alt=\'Îïöèè ïðîôèëÿ\' />', 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 ('PRO_CONTACT', '<img src=\'style_images/<#IMG_DIR#>/icon_msg_nonew.gif\' border=\'0\' alt=\'Êîíòàêò\' />', 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 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=\'Ïåðåéòè ê ìåñÿöó\' />', 1, 1);";
|
||||
?>
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -23,23 +23,23 @@
|
||||
|
||||
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.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -49,20 +49,20 @@ class version_upgrade
|
||||
//--------------------------------
|
||||
// Upgrade templates
|
||||
//--------------------------------
|
||||
|
||||
|
||||
require_once( ROOT_PATH.'upgrade/installfiles/upg_20009/components.php' );
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'skin_sets', array( 'set_css' => $CSS,
|
||||
'set_cache_css' => $CSS,
|
||||
'set_wrapper' => $WRAPPER,
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
), 'set_skin_set_id=1' );
|
||||
|
||||
$this->install->message = "Wrapper and CSS updated...";
|
||||
|
||||
$this->install->message = "Îáùèé øàáëîí ôîðóìà è CSS îáíîâëåíû...";
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,15 +1,15 @@
|
||||
<?php
|
||||
|
||||
$WRAPPER = <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="ru" lang="ru" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title><% TITLE %></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
||||
<% GENERATOR %>
|
||||
<% CSS %>
|
||||
<% JAVASCRIPT %>
|
||||
</head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<% GENERATOR %>
|
||||
<% CSS %>
|
||||
<% JAVASCRIPT %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="ipbwrapper">
|
||||
<% BOARD HEADER %>
|
||||
@@ -18,27 +18,27 @@ $WRAPPER = <<<EOF
|
||||
<!--IBF.NEWPMBOX-->
|
||||
<% BOARD %>
|
||||
<% BOARD FOOTER %>
|
||||
<% STATS %>
|
||||
<% STATS %>
|
||||
<% COPYRIGHT %>
|
||||
</div>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
|
||||
|
||||
$CSS = <<<EOF
|
||||
/*
|
||||
/*
|
||||
* Cascading Style Sheet(CSS 467), for Invision Power Board 2.0.0
|
||||
* Author: James A. Mathias, admin@leihu.com, http://www.1lotus.com
|
||||
* Copyright: 2004 Invision Power Services, all rights reserved
|
||||
* Author: James A. Mathias, admin@leihu.com, http://www.1lotus.com
|
||||
* Copyright: 2004 Invision Power Services, all rights reserved
|
||||
*
|
||||
* All style attributes in alpha-numeric order starting from 0
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* global element styles
|
||||
* global element styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -46,7 +46,7 @@ html{
|
||||
overflow-x: auto; /* fixes MSIE scrollbar bug DO NOT REMOVE, has no effect in Mozilla, or Opera */
|
||||
}
|
||||
|
||||
body{
|
||||
body{
|
||||
background: #FFF;
|
||||
color: #222;
|
||||
font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif;
|
||||
@@ -90,9 +90,9 @@ img{
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* global hyperlink styles
|
||||
* global hyperlink styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -109,25 +109,25 @@ a:hover{
|
||||
color: #34498B;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* Main wrapper, this controls the overall width of the board in you browser view window.
|
||||
* Main wrapper, this controls the overall width of the board in you browser view window.
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
#ipbwrapper{
|
||||
#ipbwrapper{
|
||||
margin: 20px auto 20px auto; /* centers the box, no matter the overall width, also applies a 20px gap at the top and bottom of the board */
|
||||
text-align: left; /* re_aligns text to left second part of two part MSIE centering workaround */
|
||||
/* EDIT THIS TO CHANGE THE WIDTH OF THE BOARD -> 750px is a common fixed resolution size */
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* styles for pagination links
|
||||
* styles for pagination links
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
|
||||
|
||||
.pagelink,
|
||||
.pagelinklast,
|
||||
@@ -193,9 +193,9 @@ a:hover{
|
||||
.forumdesc,
|
||||
.forumdesc a:link,
|
||||
.forumdesc a:visited,
|
||||
.forumdesc a:active{
|
||||
.forumdesc a:active{
|
||||
background: transparent;
|
||||
font-size: 10px;
|
||||
font-size: 10px;
|
||||
color: #666;
|
||||
line-height: 135%;
|
||||
margin: 2px 0 0 0;
|
||||
@@ -230,16 +230,16 @@ a:hover{
|
||||
border-bottom:1px dotted black;
|
||||
}
|
||||
|
||||
fieldset.search{
|
||||
fieldset.search{
|
||||
line-height: 150%;
|
||||
padding: 6px;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
label{
|
||||
cursor: pointer;
|
||||
label{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
img.attach{
|
||||
img.attach{
|
||||
background: #808080 url(<#IMG_DIR#>/click2enlarge.gif) no-repeat top right;
|
||||
border: 1px solid #808080;
|
||||
margin: 0 2px 0 0;
|
||||
@@ -265,13 +265,13 @@ img.attach{
|
||||
}
|
||||
|
||||
.thumbwrap h4,
|
||||
.thumbwrapp h4{
|
||||
.thumbwrapp h4{
|
||||
background: #DDE6F2;
|
||||
border: 0 !important;
|
||||
border-bottom: 1px solid #5176B5 !important;
|
||||
color: #5176B5;
|
||||
color: #5176B5;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -298,7 +298,7 @@ img.attach{
|
||||
background: #EFDFDF !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
|
||||
.thumbwrap img.galattach,
|
||||
.thumbwrapp img.galattach{
|
||||
background: #FFF url(<#IMG_DIR#>/img_larger.gif) no-repeat bottom right;
|
||||
@@ -307,119 +307,119 @@ img.attach{
|
||||
padding: 2px 2px 10px 2px;
|
||||
}
|
||||
|
||||
li.helprow{
|
||||
li.helprow{
|
||||
margin: 0 0 10px 0;
|
||||
padding: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul#help{
|
||||
padding: 0 0 0 15px;
|
||||
ul#help{
|
||||
padding: 0 0 0 15px;
|
||||
}
|
||||
|
||||
.warngood,
|
||||
.warnbad{
|
||||
.warnbad{
|
||||
color: #0B9500;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.warnbad{
|
||||
.warnbad{
|
||||
color: #DD0000;
|
||||
}
|
||||
|
||||
#padandcenter{
|
||||
#padandcenter{
|
||||
margin: 0 auto 0 auto;
|
||||
padding: 14px 0 14px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#profilename{
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
#profilename{
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#photowrap{
|
||||
padding: 6px;
|
||||
#photowrap{
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
#phototitle{
|
||||
border-bottom: 1px solid #000;
|
||||
font-size: 24px;
|
||||
#phototitle{
|
||||
border-bottom: 1px solid #000;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
#photoimg{
|
||||
#photoimg{
|
||||
margin: 15px 0 0 0;
|
||||
text-align: center;
|
||||
}
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#ucpmenu,
|
||||
#ucpcontent{
|
||||
#ucpcontent{
|
||||
background: #F5F9FD;
|
||||
border: 1px solid #345487;
|
||||
line-height: 150%;
|
||||
}
|
||||
|
||||
#ucpmenu p{
|
||||
margin: 0;
|
||||
#ucpmenu p{
|
||||
margin: 0;
|
||||
padding: 2px 5px 6px 9px;
|
||||
}
|
||||
|
||||
#ucpmenu a:link,
|
||||
#ucpmenu a:active,
|
||||
#ucpmenu a:visited{
|
||||
text-decoration: none;
|
||||
#ucpmenu a:link,
|
||||
#ucpmenu a:active,
|
||||
#ucpmenu a:visited{
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#ucpcontent{
|
||||
#ucpcontent{
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#ucpcontent p{
|
||||
#ucpcontent p{
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.activeuserstrip{
|
||||
.activeuserstrip{
|
||||
background: #BCD0ED;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
/* Topic View elements */
|
||||
.signature{
|
||||
.signature{
|
||||
background: transparent;
|
||||
color: #339;
|
||||
color: #339;
|
||||
font-size: 10px;
|
||||
line-height: 150%;
|
||||
}
|
||||
|
||||
.postdetails{
|
||||
.postdetails{
|
||||
font-size: 10px;
|
||||
line-height:140%;
|
||||
}
|
||||
|
||||
.postcolor{
|
||||
font-size: 12px;
|
||||
.postcolor{
|
||||
font-size: 12px;
|
||||
line-height: 160%;
|
||||
}
|
||||
|
||||
.normalname{
|
||||
.normalname{
|
||||
color: #003;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.normalname a:link,
|
||||
.normalname a:visited,
|
||||
.normalname a:active{
|
||||
.normalname a:link,
|
||||
.normalname a:visited,
|
||||
.normalname a:active{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.post1,
|
||||
.bg1{
|
||||
.bg1{
|
||||
background: #F5F9FD;
|
||||
}
|
||||
|
||||
.post2,
|
||||
.bg3{
|
||||
.bg3{
|
||||
background: #EEF2F7;
|
||||
}
|
||||
|
||||
@@ -428,42 +428,42 @@ ul#help{
|
||||
.row4shaded,
|
||||
.post2shaded { background-color: #E3DFE7 }
|
||||
|
||||
.row1{
|
||||
background: #DFE6EF;
|
||||
.row1{
|
||||
background: #DFE6EF;
|
||||
}
|
||||
|
||||
.row2{
|
||||
background: #E4EAF2;
|
||||
.row2{
|
||||
background: #E4EAF2;
|
||||
}
|
||||
|
||||
.darkrow1{
|
||||
.darkrow1{
|
||||
background: #BCD0ED;
|
||||
color: #3A4F6C;
|
||||
color: #3A4F6C;
|
||||
}
|
||||
|
||||
.darkrow3{
|
||||
background: #D1DCEB;
|
||||
color: #3A4F6C;
|
||||
.darkrow3{
|
||||
background: #D1DCEB;
|
||||
color: #3A4F6C;
|
||||
}
|
||||
|
||||
/* tableborders gives the white column / row lines effect */
|
||||
.plainborder,
|
||||
.tablefill,
|
||||
.tablepad{
|
||||
.tablepad{
|
||||
background: #F5F9FD;
|
||||
border: 1px solid #345487;
|
||||
}
|
||||
|
||||
.tablefill,
|
||||
.tablepad{
|
||||
padding: 6px;
|
||||
.tablepad{
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.tablepad{
|
||||
.tablepad{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
.wrapmini{
|
||||
.wrapmini{
|
||||
float: left;
|
||||
line-height: 1.5em;
|
||||
width: 25%;
|
||||
@@ -475,22 +475,22 @@ ul#help{
|
||||
width: 35%;
|
||||
}
|
||||
|
||||
.desc{
|
||||
font-size: 11px;
|
||||
.desc{
|
||||
font-size: 11px;
|
||||
color: #434951;
|
||||
}
|
||||
|
||||
.lastaction
|
||||
{
|
||||
font-size: 10px;
|
||||
font-size: 10px;
|
||||
color: #434951;
|
||||
}
|
||||
|
||||
.edit{
|
||||
.edit{
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.thin{
|
||||
.thin{
|
||||
border: 1px solid #FFF;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
@@ -503,17 +503,17 @@ ul#help{
|
||||
/* =================================================================================== */
|
||||
/* =================================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* calendar styles
|
||||
* calendar styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
.calmonths{
|
||||
|
||||
.calmonths{
|
||||
background: #F0F5FA;
|
||||
border: 1px solid #C2CFDF;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin: 5px 0 5px 0;
|
||||
padding: 8px;
|
||||
text-align: center;
|
||||
@@ -529,7 +529,7 @@ ul#help{
|
||||
}
|
||||
|
||||
.calday,
|
||||
.calweekday{
|
||||
.calweekday{
|
||||
background: #DFE6EF;
|
||||
color: #666;
|
||||
font-size: 11px;
|
||||
@@ -576,9 +576,9 @@ ul#help{
|
||||
border: 2px solid #8B0000;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* form styles
|
||||
* form styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -613,9 +613,9 @@ optgroup option{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.codebuttons{
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
font-size: 10px;
|
||||
.codebuttons{
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
font-size: 10px;
|
||||
vertical-align: middle;
|
||||
margin:2px;
|
||||
}
|
||||
@@ -632,7 +632,7 @@ optgroup option{
|
||||
padding: 2px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
.button{
|
||||
background: #DFE6EF;
|
||||
}
|
||||
@@ -647,16 +647,16 @@ optgroup option{
|
||||
|
||||
.radiobutton,
|
||||
.checkbox,
|
||||
.helpbox {
|
||||
.helpbox {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/*
|
||||
* class.formtable
|
||||
/*
|
||||
* class.formtable
|
||||
*
|
||||
* used for tabled forms
|
||||
* technically tables should not be used for form display
|
||||
* used for tabled forms
|
||||
* technically tables should not be used for form display
|
||||
* but, in the case of IPB a table is easier to work with
|
||||
* for the average webmaster, who has little to no CSS knowledge.
|
||||
*
|
||||
@@ -678,7 +678,7 @@ optgroup option{
|
||||
margin: 1px 0 0 0;
|
||||
padding: 6px;
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
.formtable td.wider,
|
||||
.pformleftw,
|
||||
@@ -691,19 +691,19 @@ optgroup option{
|
||||
border-right: 0;
|
||||
font-weight: normal;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.formtable td.formtitle,
|
||||
.formsubtitle{
|
||||
background: #D1DCEB;
|
||||
border: 1px solid #9FB9D4;
|
||||
border: 1px solid #9FB9D4;
|
||||
border-bottom: 0;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.formsubtitle{
|
||||
.formsubtitle{
|
||||
border: 0;
|
||||
color: #3A4F6C;
|
||||
font-weight: bold;
|
||||
@@ -718,9 +718,9 @@ optgroup option{
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* new style quote and code wrappers MATT's DESIGN
|
||||
* new style quote and code wrappers MATT's DESIGN
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -769,30 +769,30 @@ optgroup option{
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* old school quote and code styles - backwards compatibility
|
||||
* old school quote and code styles - backwards compatibility
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
#QUOTE,
|
||||
#CODE{
|
||||
background: #FAFCFE;
|
||||
border: 1px solid #000;
|
||||
color: #465584;
|
||||
font-family: Verdana, Arial;
|
||||
font-size: 11px;
|
||||
padding: 2px;
|
||||
#CODE{
|
||||
background: #FAFCFE;
|
||||
border: 1px solid #000;
|
||||
color: #465584;
|
||||
font-family: Verdana, Arial;
|
||||
font-size: 11px;
|
||||
padding: 2px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
#CODE{
|
||||
#CODE{
|
||||
font-family: Courier, Courier New, Verdana, Arial;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* All New Styles
|
||||
* All New Styles
|
||||
* ========================================
|
||||
*/
|
||||
.cleared{
|
||||
@@ -801,10 +801,10 @@ optgroup option{
|
||||
|
||||
.borderwrap,
|
||||
.borderwrapm{ /* this will affect the outlining border of all the tables and boxes through-out the skin. */
|
||||
background: #FFF;
|
||||
background: #FFF;
|
||||
border: 1px solid #072A66;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.borderwrapm{
|
||||
@@ -817,9 +817,9 @@ optgroup option{
|
||||
background: transparent url(<#IMG_DIR#>/tile_cat.gif);
|
||||
border: 1px solid #FFF;
|
||||
border-bottom: 1px solid #5176B5;
|
||||
color: #FFF;
|
||||
color: #FFF;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 8px;
|
||||
}
|
||||
@@ -845,19 +845,19 @@ optgroup option{
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.maintitle a:link,
|
||||
.maintitle a:link,
|
||||
.maintitle a:visited,
|
||||
.maintitlecollapse a:link,
|
||||
.maintitlecollapse a:visited{
|
||||
.maintitlecollapse a:link,
|
||||
.maintitlecollapse a:visited{
|
||||
background: transparent;
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.maintitle a:hover,
|
||||
.maintitle a:hover,
|
||||
.maintitle a:active,
|
||||
.maintitlecollapse a:hover,
|
||||
.maintitlecollapse a:active{
|
||||
.maintitlecollapse a:hover,
|
||||
.maintitlecollapse a:active{
|
||||
background: transparent;
|
||||
color: #F1F1F1;
|
||||
}
|
||||
@@ -866,15 +866,15 @@ table th,
|
||||
.borderwrap table th,
|
||||
.subtitle,
|
||||
.subtitlediv,
|
||||
.postlinksbar{
|
||||
.postlinksbar{
|
||||
background: transparent url(<#IMG_DIR#>/tile_sub.gif);
|
||||
border-bottom: 1px solid #5176B5;
|
||||
color: #3A4F6C;
|
||||
color: #3A4F6C;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.subtitlediv{
|
||||
@@ -887,17 +887,17 @@ table th,
|
||||
.subtitle a:link,
|
||||
.subtitlediv a:link,
|
||||
.borderwrap table th a:visited,
|
||||
.subtitle a:visited,
|
||||
.subtitlediv a:visited,
|
||||
.subtitle a:visited,
|
||||
.subtitlediv a:visited,
|
||||
.borderwrap table th a:active,
|
||||
.subtitle a:active,
|
||||
.subtitlediv a:active,
|
||||
.borderwrap table th a:hover,
|
||||
.subtitle a:hover,
|
||||
.subtitlediv a:hover{
|
||||
.subtitlediv a:hover{
|
||||
background: transparent;
|
||||
color: #3A4F6C;
|
||||
text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.borderwrap h4{
|
||||
@@ -905,9 +905,9 @@ table th,
|
||||
border: 1px solid #FFF;
|
||||
border-bottom: 1px solid #5176B5;
|
||||
border-top: 1px solid #5176B5;
|
||||
color: #5176B5;
|
||||
color: #5176B5;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -923,7 +923,7 @@ table th,
|
||||
td.formbuttonrow,
|
||||
.borderwrap p.formbuttonrow,
|
||||
.borderwrap p.formbuttonrow1{
|
||||
background: #D1DCEB !important;
|
||||
background: #D1DCEB !important;
|
||||
border: 1px solid #FFF;
|
||||
border-top: 1px solid #5176B5;
|
||||
margin: 0px !important;
|
||||
@@ -1047,9 +1047,9 @@ td.formbuttonrow{
|
||||
border: 1px solid #CCC;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
color: #444;
|
||||
color: #444;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -1074,9 +1074,9 @@ td.formbuttonrow{
|
||||
border: 1px solid #992A2A;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
color: #992A2A;
|
||||
color: #992A2A;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -1100,24 +1100,24 @@ td.formbuttonrow{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#pmnotewrap a:link,
|
||||
#pmnotewrap a:visited{
|
||||
background: transparent;
|
||||
color: #992A2A;
|
||||
#pmnotewrap a:link,
|
||||
#pmnotewrap a:visited{
|
||||
background: transparent;
|
||||
color: #992A2A;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#pmnotewrap a:hover,
|
||||
#pmnotewrap a:hover,
|
||||
#pmnotewrap a:active{
|
||||
background: transparent;
|
||||
color: #992A2A;
|
||||
background: transparent;
|
||||
color: #992A2A;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ruleswrap{
|
||||
background: #F2DDDD;
|
||||
border: 1px solid #992A2A;
|
||||
color: #992A2A;
|
||||
color: #992A2A;
|
||||
margin: 5px 0 5px 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -1169,7 +1169,7 @@ td.formbuttonrow{
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#logostrip{
|
||||
#logostrip{
|
||||
background: #3860BB url(<#IMG_DIR#>/tile_back.gif);
|
||||
border: 1px solid #FFF;
|
||||
height: 68px;
|
||||
@@ -1177,23 +1177,23 @@ td.formbuttonrow{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#submenu{
|
||||
#submenu{
|
||||
background: transparent url(<#IMG_DIR#>/tile_sub.gif);
|
||||
border: 1px solid #FFF;
|
||||
border-top: 0;
|
||||
color: #3A4F6C;
|
||||
margin: 0;
|
||||
color: #3A4F6C;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#userlinks,
|
||||
#userlinksguest{
|
||||
#userlinksguest{
|
||||
background: #F0F5FA;
|
||||
border: 1px solid #C2CFDF;
|
||||
margin: 5px 0 5px 0;
|
||||
padding: 0 5px 0 5px;
|
||||
}
|
||||
|
||||
#userlinksguest{
|
||||
#userlinksguest{
|
||||
background: #F4E7EA;
|
||||
border: 1px solid #986265;
|
||||
}
|
||||
@@ -1204,10 +1204,10 @@ td.formbuttonrow{
|
||||
background: transparent !important;
|
||||
border: 0 !important;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
margin: 0 !important;
|
||||
padding: 7px 0 7px 0;
|
||||
padding: 7px 0 7px 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@@ -1227,39 +1227,39 @@ td.formbuttonrow{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#submenu a:link,
|
||||
#submenu a:visited{
|
||||
background: transparent;
|
||||
color: #3A4F6C;
|
||||
#submenu a:link,
|
||||
#submenu a:visited{
|
||||
background: transparent;
|
||||
color: #3A4F6C;
|
||||
padding: 0 6px 0 6px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#submenu a:hover,
|
||||
#submenu a:hover,
|
||||
#submenu a:active{
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
}
|
||||
#navstrip{
|
||||
#navstrip{
|
||||
background: transparent;
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 8px 0 8px 0px;
|
||||
padding: 8px 0 8px 0px;
|
||||
}
|
||||
|
||||
#navstrip a:link,
|
||||
#navstrip a:visited{
|
||||
background: transparent;
|
||||
color: #222;
|
||||
#navstrip a:link,
|
||||
#navstrip a:visited{
|
||||
background: transparent;
|
||||
color: #222;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#navstrip a:hover,
|
||||
#navstrip a:hover,
|
||||
#navstrip a:active{
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
}
|
||||
|
||||
.toplinks{
|
||||
@@ -1281,16 +1281,16 @@ td.formbuttonrow{
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.copyright{
|
||||
.copyright{
|
||||
background: #EEE;
|
||||
font-size: 11px;
|
||||
font-size: 11px;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* print page styles
|
||||
* print page styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -23,23 +23,23 @@
|
||||
|
||||
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.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -49,20 +49,20 @@ class version_upgrade
|
||||
//--------------------------------
|
||||
// Upgrade templates
|
||||
//--------------------------------
|
||||
|
||||
|
||||
require_once( ROOT_PATH.'upgrade/installfiles/upg_20010/components.php' );
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'skin_sets', array( 'set_css' => $CSS,
|
||||
'set_cache_css' => $CSS,
|
||||
'set_wrapper' => $WRAPPER,
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
), 'set_skin_set_id=1' );
|
||||
|
||||
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,16 +1,16 @@
|
||||
<?php
|
||||
|
||||
$WRAPPER = <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="ru" lang="ru" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=<% CHARSET %>" />
|
||||
<link rel="shortcut icon" href="favicon.ico" />
|
||||
<title><% TITLE %></title>
|
||||
<% GENERATOR %>
|
||||
<% CSS %>
|
||||
<% JAVASCRIPT %>
|
||||
</head>
|
||||
<% GENERATOR %>
|
||||
<% CSS %>
|
||||
<% JAVASCRIPT %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="ipbwrapper">
|
||||
<% BOARD HEADER %>
|
||||
@@ -19,27 +19,27 @@ $WRAPPER = <<<EOF
|
||||
<!--IBF.NEWPMBOX-->
|
||||
<% BOARD %>
|
||||
<% BOARD FOOTER %>
|
||||
<% STATS %>
|
||||
<% STATS %>
|
||||
<% COPYRIGHT %>
|
||||
</div>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
|
||||
# DONT FORGET TO SWAP url(1/ FOR url(<#IMG_DIR>/)
|
||||
$CSS = <<<EOF
|
||||
/*
|
||||
/*
|
||||
* Cascading Style Sheet(CSS 467), for Invision Power Board 2.1.0
|
||||
* Author: James A. Mathias, admin@leihu.com, http://www.1lotus.com
|
||||
* Copyright: 2005 Invision Power Services, all rights reserved
|
||||
* Author: James A. Mathias, admin@leihu.com, http://www.1lotus.com
|
||||
* Copyright: 2005 Invision Power Services, all rights reserved
|
||||
*
|
||||
* All style attributes in alpha-numeric order starting from 0
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* global element styles
|
||||
* global element styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -47,7 +47,7 @@ html{
|
||||
overflow-x: auto; /* fixes MSIE scrollbar bug DO NOT REMOVE, has no effect in Mozilla, or Opera */
|
||||
}
|
||||
|
||||
body{
|
||||
body{
|
||||
background: #FFF;
|
||||
color: #222;
|
||||
font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif;
|
||||
@@ -58,12 +58,12 @@ body{
|
||||
text-align: center; /* centers board in MSIE */
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* Set up IPB table
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
|
||||
.ipbtable { width:100% }
|
||||
|
||||
table.ipbtable,
|
||||
@@ -98,9 +98,9 @@ img{
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* global hyperlink styles
|
||||
* global hyperlink styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -117,25 +117,25 @@ a:hover{
|
||||
color: #34498B;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* Main wrapper, this controls the overall width of the board in you browser view window.
|
||||
* Main wrapper, this controls the overall width of the board in you browser view window.
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
#ipbwrapper{
|
||||
#ipbwrapper{
|
||||
margin: 20px auto 20px auto; /* centers the box, no matter the overall width, also applies a 20px gap at the top and bottom of the board */
|
||||
text-align: left; /* re_aligns text to left second part of two part MSIE centering workaround */
|
||||
/* EDIT THIS TO CHANGE THE WIDTH OF THE BOARD -> 750px is a common fixed resolution size */
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* styles for pagination links
|
||||
* styles for pagination links
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
|
||||
|
||||
.pagelink,
|
||||
.pagelinklast,
|
||||
@@ -201,9 +201,9 @@ a:hover{
|
||||
.forumdesc,
|
||||
.forumdesc a:link,
|
||||
.forumdesc a:visited,
|
||||
.forumdesc a:active{
|
||||
.forumdesc a:active{
|
||||
background: transparent;
|
||||
font-size: 10px;
|
||||
font-size: 10px;
|
||||
color: #666;
|
||||
line-height: 135%;
|
||||
margin: 2px 0 0 0;
|
||||
@@ -238,16 +238,16 @@ a:hover{
|
||||
border-bottom:1px dotted black;
|
||||
}
|
||||
|
||||
fieldset.search{
|
||||
fieldset.search{
|
||||
line-height: 150%;
|
||||
padding: 6px;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
label{
|
||||
cursor: pointer;
|
||||
label{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
img.attach{
|
||||
img.attach{
|
||||
background: #808080 url(<#IMG_DIR#>/click2enlarge.gif) no-repeat top right;
|
||||
border: 1px solid #808080;
|
||||
margin: 0 2px 0 0;
|
||||
@@ -273,13 +273,13 @@ img.attach{
|
||||
}
|
||||
|
||||
.thumbwrap h4,
|
||||
.thumbwrapp h4{
|
||||
.thumbwrapp h4{
|
||||
background: #DDE6F2;
|
||||
border: 0 !important;
|
||||
border-bottom: 1px solid #5176B5 !important;
|
||||
color: #5176B5;
|
||||
color: #5176B5;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -306,7 +306,7 @@ img.attach{
|
||||
background: #EFDFDF !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
|
||||
.thumbwrap img.galattach,
|
||||
.thumbwrapp img.galattach{
|
||||
background: #FFF url(<#IMG_DIR#>/img_larger.gif) no-repeat bottom right;
|
||||
@@ -315,119 +315,119 @@ img.attach{
|
||||
padding: 2px 2px 10px 2px;
|
||||
}
|
||||
|
||||
li.helprow{
|
||||
li.helprow{
|
||||
margin: 0 0 10px 0;
|
||||
padding: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul#help{
|
||||
padding: 0 0 0 15px;
|
||||
ul#help{
|
||||
padding: 0 0 0 15px;
|
||||
}
|
||||
|
||||
.warngood,
|
||||
.warnbad{
|
||||
.warnbad{
|
||||
color: #0B9500;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.warnbad{
|
||||
.warnbad{
|
||||
color: #DD0000;
|
||||
}
|
||||
|
||||
#padandcenter{
|
||||
#padandcenter{
|
||||
margin: 0 auto 0 auto;
|
||||
padding: 14px 0 14px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#profilename{
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
#profilename{
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#photowrap{
|
||||
padding: 6px;
|
||||
#photowrap{
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
#phototitle{
|
||||
border-bottom: 1px solid #000;
|
||||
font-size: 24px;
|
||||
#phototitle{
|
||||
border-bottom: 1px solid #000;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
#photoimg{
|
||||
#photoimg{
|
||||
margin: 15px 0 0 0;
|
||||
text-align: center;
|
||||
}
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#ucpmenu,
|
||||
#ucpcontent{
|
||||
#ucpcontent{
|
||||
background: #F5F9FD;
|
||||
border: 1px solid #345487;
|
||||
line-height: 150%;
|
||||
}
|
||||
|
||||
#ucpmenu p{
|
||||
margin: 0;
|
||||
#ucpmenu p{
|
||||
margin: 0;
|
||||
padding: 2px 5px 6px 9px;
|
||||
}
|
||||
|
||||
#ucpmenu a:link,
|
||||
#ucpmenu a:active,
|
||||
#ucpmenu a:visited{
|
||||
text-decoration: none;
|
||||
#ucpmenu a:link,
|
||||
#ucpmenu a:active,
|
||||
#ucpmenu a:visited{
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#ucpcontent{
|
||||
#ucpcontent{
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#ucpcontent p{
|
||||
#ucpcontent p{
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.activeuserstrip{
|
||||
.activeuserstrip{
|
||||
background: #BCD0ED;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
/* Topic View elements */
|
||||
.signature{
|
||||
.signature{
|
||||
background: transparent;
|
||||
color: #339;
|
||||
color: #339;
|
||||
font-size: 10px;
|
||||
line-height: 150%;
|
||||
}
|
||||
|
||||
.postdetails{
|
||||
.postdetails{
|
||||
font-size: 10px;
|
||||
line-height:140%;
|
||||
}
|
||||
|
||||
.postcolor{
|
||||
font-size: 12px;
|
||||
.postcolor{
|
||||
font-size: 12px;
|
||||
line-height: 160%;
|
||||
}
|
||||
|
||||
.normalname{
|
||||
.normalname{
|
||||
color: #003;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.normalname a:link,
|
||||
.normalname a:visited,
|
||||
.normalname a:active{
|
||||
.normalname a:link,
|
||||
.normalname a:visited,
|
||||
.normalname a:active{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.post1,
|
||||
.bg1{
|
||||
.bg1{
|
||||
background: #F5F9FD;
|
||||
}
|
||||
|
||||
.post2,
|
||||
.bg3{
|
||||
.bg3{
|
||||
background: #EEF2F7;
|
||||
}
|
||||
|
||||
@@ -436,42 +436,42 @@ ul#help{
|
||||
.row4shaded,
|
||||
.post2shaded { background-color: #E3DFE7 }
|
||||
|
||||
.row1{
|
||||
background: #DFE6EF;
|
||||
.row1{
|
||||
background: #DFE6EF;
|
||||
}
|
||||
|
||||
.row2{
|
||||
background: #E4EAF2;
|
||||
.row2{
|
||||
background: #E4EAF2;
|
||||
}
|
||||
|
||||
.darkrow1{
|
||||
.darkrow1{
|
||||
background: #BCD0ED;
|
||||
color: #3A4F6C;
|
||||
color: #3A4F6C;
|
||||
}
|
||||
|
||||
.darkrow3{
|
||||
background: #D1DCEB;
|
||||
color: #3A4F6C;
|
||||
.darkrow3{
|
||||
background: #D1DCEB;
|
||||
color: #3A4F6C;
|
||||
}
|
||||
|
||||
/* tableborders gives the white column / row lines effect */
|
||||
.plainborder,
|
||||
.tablefill,
|
||||
.tablepad{
|
||||
.tablepad{
|
||||
background: #F5F9FD;
|
||||
border: 1px solid #345487;
|
||||
}
|
||||
|
||||
.tablefill,
|
||||
.tablepad{
|
||||
padding: 6px;
|
||||
.tablepad{
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.tablepad{
|
||||
.tablepad{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
.wrapmini{
|
||||
.wrapmini{
|
||||
float: left;
|
||||
line-height: 1.5em;
|
||||
width: 25%;
|
||||
@@ -483,22 +483,22 @@ ul#help{
|
||||
width: 35%;
|
||||
}
|
||||
|
||||
.desc{
|
||||
font-size: 11px;
|
||||
.desc{
|
||||
font-size: 11px;
|
||||
color: #434951;
|
||||
}
|
||||
|
||||
.lastaction
|
||||
{
|
||||
font-size: 10px;
|
||||
font-size: 10px;
|
||||
color: #434951;
|
||||
}
|
||||
|
||||
.edit{
|
||||
.edit{
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.thin{
|
||||
.thin{
|
||||
border: 1px solid #FFF;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
@@ -511,17 +511,17 @@ ul#help{
|
||||
/* =================================================================================== */
|
||||
/* =================================================================================== */
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* calendar styles
|
||||
* calendar styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
.calmonths{
|
||||
|
||||
.calmonths{
|
||||
background: #F0F5FA;
|
||||
border: 1px solid #C2CFDF;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin: 5px 0 5px 0;
|
||||
padding: 8px;
|
||||
text-align: center;
|
||||
@@ -537,7 +537,7 @@ ul#help{
|
||||
}
|
||||
|
||||
.calday,
|
||||
.calweekday{
|
||||
.calweekday{
|
||||
background: #DFE6EF;
|
||||
color: #666;
|
||||
font-size: 11px;
|
||||
@@ -563,7 +563,7 @@ ul#help{
|
||||
.mcellblank,
|
||||
.mcelldate,
|
||||
.mcelltoday{
|
||||
background: #EEF2F7;
|
||||
background: #EEF2F7;
|
||||
height: 100px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -606,9 +606,9 @@ ul#help{
|
||||
padding:4px;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* form styles
|
||||
* form styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -677,9 +677,9 @@ optgroup option{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.codebuttons{
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
font-size: 10px;
|
||||
.codebuttons{
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
font-size: 10px;
|
||||
vertical-align: middle;
|
||||
margin:2px;
|
||||
}
|
||||
@@ -696,7 +696,7 @@ optgroup option{
|
||||
padding: 2px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
.button{
|
||||
background: #DFE6EF;
|
||||
}
|
||||
@@ -711,16 +711,16 @@ optgroup option{
|
||||
|
||||
.radiobutton,
|
||||
.checkbox,
|
||||
.helpbox {
|
||||
.helpbox {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/*
|
||||
* class.formtable
|
||||
/*
|
||||
* class.formtable
|
||||
*
|
||||
* used for tabled forms
|
||||
* technically tables should not be used for form display
|
||||
* used for tabled forms
|
||||
* technically tables should not be used for form display
|
||||
* but, in the case of IPB a table is easier to work with
|
||||
* for the average webmaster, who has little to no CSS knowledge.
|
||||
*
|
||||
@@ -742,7 +742,7 @@ optgroup option{
|
||||
margin: 1px 0 0 0;
|
||||
padding: 6px;
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
.formtable td.wider,
|
||||
.pformleftw,
|
||||
@@ -755,19 +755,19 @@ optgroup option{
|
||||
border-right: 0px;
|
||||
font-weight: normal;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.formtable td.formtitle,
|
||||
.formsubtitle{
|
||||
background: #D1DCEB;
|
||||
border: 1px solid #9FB9D4;
|
||||
border: 1px solid #9FB9D4;
|
||||
border-bottom: 0;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.formsubtitle{
|
||||
.formsubtitle{
|
||||
border: 0;
|
||||
color: #3A4F6C;
|
||||
font-weight: bold;
|
||||
@@ -782,9 +782,9 @@ optgroup option{
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* new style quote and code wrappers MATT's DESIGN
|
||||
* new style quote and code wrappers MATT's DESIGN
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -833,30 +833,30 @@ optgroup option{
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* old school quote and code styles - backwards compatibility
|
||||
* old school quote and code styles - backwards compatibility
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
#QUOTE,
|
||||
#CODE{
|
||||
background: #FAFCFE;
|
||||
border: 1px solid #000;
|
||||
color: #465584;
|
||||
font-family: Verdana, Arial;
|
||||
font-size: 11px;
|
||||
padding: 2px;
|
||||
#CODE{
|
||||
background: #FAFCFE;
|
||||
border: 1px solid #000;
|
||||
color: #465584;
|
||||
font-family: Verdana, Arial;
|
||||
font-size: 11px;
|
||||
padding: 2px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
#CODE{
|
||||
#CODE{
|
||||
font-family: Courier, Courier New, Verdana, Arial;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* All New Styles
|
||||
* All New Styles
|
||||
* ========================================
|
||||
*/
|
||||
.cleared{
|
||||
@@ -865,10 +865,10 @@ optgroup option{
|
||||
|
||||
.borderwrap,
|
||||
.borderwrapm{ /* this will affect the outlining border of all the tables and boxes through-out the skin. */
|
||||
background: #FFF;
|
||||
background: #FFF;
|
||||
border: 1px solid #072A66;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.borderwrapm{
|
||||
@@ -881,9 +881,9 @@ optgroup option{
|
||||
background: url(<#IMG_DIR#>/tile_cat.gif);
|
||||
border: 1px solid #FFF;
|
||||
border-bottom: 1px solid #5176B5;
|
||||
color: #FFF;
|
||||
color: #FFF;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0px;
|
||||
padding: 8px;
|
||||
}
|
||||
@@ -909,19 +909,19 @@ optgroup option{
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.maintitle a:link,
|
||||
.maintitle a:link,
|
||||
.maintitle a:visited,
|
||||
.maintitlecollapse a:link,
|
||||
.maintitlecollapse a:visited{
|
||||
.maintitlecollapse a:link,
|
||||
.maintitlecollapse a:visited{
|
||||
background: transparent;
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.maintitle a:hover,
|
||||
.maintitle a:hover,
|
||||
.maintitle a:active,
|
||||
.maintitlecollapse a:hover,
|
||||
.maintitlecollapse a:active{
|
||||
.maintitlecollapse a:hover,
|
||||
.maintitlecollapse a:active{
|
||||
background: transparent;
|
||||
color: #F1F1F1;
|
||||
}
|
||||
@@ -930,15 +930,15 @@ table th,
|
||||
.borderwrap table th,
|
||||
.subtitle,
|
||||
.subtitlediv,
|
||||
.postlinksbar{
|
||||
.postlinksbar{
|
||||
background: transparent url(<#IMG_DIR#>/tile_sub.gif);
|
||||
border-bottom: 1px solid #5176B5;
|
||||
color: #3A4F6C;
|
||||
color: #3A4F6C;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.subtitlediv{
|
||||
@@ -951,17 +951,17 @@ table th,
|
||||
.subtitle a:link,
|
||||
.subtitlediv a:link,
|
||||
.borderwrap table th a:visited,
|
||||
.subtitle a:visited,
|
||||
.subtitlediv a:visited,
|
||||
.subtitle a:visited,
|
||||
.subtitlediv a:visited,
|
||||
.borderwrap table th a:active,
|
||||
.subtitle a:active,
|
||||
.subtitlediv a:active,
|
||||
.borderwrap table th a:hover,
|
||||
.subtitle a:hover,
|
||||
.subtitlediv a:hover{
|
||||
.subtitlediv a:hover{
|
||||
background: transparent;
|
||||
color: #3A4F6C;
|
||||
text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.borderwrap h4{
|
||||
@@ -969,9 +969,9 @@ table th,
|
||||
border: 1px solid #FFF;
|
||||
border-bottom: 1px solid #5176B5;
|
||||
border-top: 1px solid #5176B5;
|
||||
color: #5176B5;
|
||||
color: #5176B5;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -987,7 +987,7 @@ table th,
|
||||
td.formbuttonrow,
|
||||
.borderwrap p.formbuttonrow,
|
||||
.borderwrap p.formbuttonrow1{
|
||||
background: #D1DCEB !important;
|
||||
background: #D1DCEB !important;
|
||||
border: 1px solid #FFF;
|
||||
border-top: 1px solid #5176B5;
|
||||
margin: 0px !important;
|
||||
@@ -1111,9 +1111,9 @@ td.formbuttonrow{
|
||||
border: 1px solid #CCC;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
color: #444;
|
||||
color: #444;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -1132,9 +1132,9 @@ td.formbuttonrow{
|
||||
border: 1px solid #992A2A;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
color: #992A2A;
|
||||
color: #992A2A;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -1151,7 +1151,7 @@ td.formbuttonrow{
|
||||
.ruleswrap{
|
||||
background: #F2DDDD;
|
||||
border: 1px solid #992A2A;
|
||||
color: #992A2A;
|
||||
color: #992A2A;
|
||||
margin: 5px 0 5px 0;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -1203,7 +1203,7 @@ td.formbuttonrow{
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#logostrip{
|
||||
#logostrip{
|
||||
background: #3860BB url(<#IMG_DIR#>/tile_back.gif);
|
||||
border: 1px solid #FFF;
|
||||
height: 68px;
|
||||
@@ -1218,23 +1218,23 @@ td.formbuttonrow{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#submenu{
|
||||
#submenu{
|
||||
background: transparent url(<#IMG_DIR#>/tile_sub.gif);
|
||||
border: 1px solid #FFF;
|
||||
border-top: 0;
|
||||
color: #3A4F6C;
|
||||
margin: 0;
|
||||
color: #3A4F6C;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#userlinks,
|
||||
#userlinksguest{
|
||||
#userlinksguest{
|
||||
background: #F0F5FA;
|
||||
border: 1px solid #C2CFDF;
|
||||
margin: 5px 0 5px 0;
|
||||
padding: 0 5px 0 5px;
|
||||
}
|
||||
|
||||
#userlinksguest{
|
||||
#userlinksguest{
|
||||
background: #F4E7EA;
|
||||
border: 1px solid #986265;
|
||||
}
|
||||
@@ -1245,10 +1245,10 @@ td.formbuttonrow{
|
||||
background: transparent !important;
|
||||
border: 0 !important;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
margin: 0 !important;
|
||||
padding: 7px 0 7px 0;
|
||||
padding: 7px 0 7px 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@@ -1268,40 +1268,40 @@ td.formbuttonrow{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#submenu a:link,
|
||||
#submenu a:visited{
|
||||
background: transparent;
|
||||
color: #3A4F6C;
|
||||
#submenu a:link,
|
||||
#submenu a:visited{
|
||||
background: transparent;
|
||||
color: #3A4F6C;
|
||||
padding: 0 6px 0 6px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#submenu a:hover,
|
||||
#submenu a:hover,
|
||||
#submenu a:active{
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
}
|
||||
|
||||
#navstrip{
|
||||
#navstrip{
|
||||
background: transparent;
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 14px 0px 8px 0px;
|
||||
padding: 14px 0px 8px 0px;
|
||||
}
|
||||
|
||||
#navstrip a:link,
|
||||
#navstrip a:visited{
|
||||
background: transparent;
|
||||
color: #222;
|
||||
#navstrip a:link,
|
||||
#navstrip a:visited{
|
||||
background: transparent;
|
||||
color: #222;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#navstrip a:hover,
|
||||
#navstrip a:hover,
|
||||
#navstrip a:active{
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
background: transparent;
|
||||
color: #5176B5;
|
||||
}
|
||||
|
||||
.toplinks{
|
||||
@@ -1323,16 +1323,16 @@ td.formbuttonrow{
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.copyright{
|
||||
.copyright{
|
||||
background: #EEE;
|
||||
font-size: 11px;
|
||||
font-size: 11px;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* ========================================
|
||||
* print page styles
|
||||
* print page styles
|
||||
* ========================================
|
||||
*/
|
||||
|
||||
@@ -1508,8 +1508,8 @@ td.formbuttonrow{
|
||||
border:0px;
|
||||
padding:3px;
|
||||
margin:0px;
|
||||
background: #D1DCEB;
|
||||
color: #3A4F6C;
|
||||
background: #D1DCEB;
|
||||
color: #3A4F6C;
|
||||
}
|
||||
|
||||
|
||||
@@ -1545,16 +1545,16 @@ td.formbuttonrow{
|
||||
margin-top:3px;
|
||||
}
|
||||
|
||||
.tabon a:link,
|
||||
.tabon a:visited,
|
||||
.tabon a:link,
|
||||
.tabon a:visited,
|
||||
.tabon a:active
|
||||
{
|
||||
text-decoration:none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.taboff a:link,
|
||||
.taboff a:visited,
|
||||
.taboff a:link,
|
||||
.taboff a:visited,
|
||||
.taboff a:active
|
||||
{
|
||||
text-decoration:none;
|
||||
@@ -1639,36 +1639,36 @@ td.formbuttonrow{
|
||||
}
|
||||
|
||||
|
||||
.popmenubutton a:link,
|
||||
.popmenubutton a:link,
|
||||
.popmenubutton a:visited,
|
||||
.popupmenu-item a:link,
|
||||
.popupmenu-item a:link,
|
||||
.popupmenu-item a:visited,
|
||||
.popupmenu-item-last a:link,
|
||||
.popupmenu-item-last a:link,
|
||||
.popupmenu-item-last a:visited
|
||||
{
|
||||
color: #3A4F6C;
|
||||
{
|
||||
color: #3A4F6C;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.popmenubutton a:hover,
|
||||
.popupmenu-item a:hover,
|
||||
.popmenubutton a:hover,
|
||||
.popupmenu-item a:hover,
|
||||
.popupmenu-item-last a:hover
|
||||
{
|
||||
color: #5176B5;
|
||||
{
|
||||
color: #5176B5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.popupmenu-category
|
||||
{
|
||||
{
|
||||
background: transparent url(<#IMG_DIR#>/tile_sub.gif);
|
||||
border-top: 1px solid #5176B5;
|
||||
border-bottom: 1px solid #5176B5;
|
||||
color: #3A4F6C;
|
||||
color: #3A4F6C;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
EOF;
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -11,7 +11,7 @@ $SQL[] = "CREATE TABLE ibf_components (
|
||||
com_url VARCHAR(255) NOT NULL default '',
|
||||
com_version VARCHAR(255) NOT NULL default '',
|
||||
com_date_added INT(10) NOT NULL default '0',
|
||||
com_menu_data MEDIUMTEXT NOT NULL default '',
|
||||
com_menu_data MEDIUMTEXT NULL,
|
||||
com_enabled TINYINT(1) NOT NULL default '1',
|
||||
com_safemode TINYINT(1) NOT NULL default '1',
|
||||
com_section VARCHAR(255) NOT NULL default '',
|
||||
@@ -44,7 +44,7 @@ $SQL[] = "CREATE TABLE ibf_topic_markers (
|
||||
marker_forum_id INT(10) NOT NULL default '0',
|
||||
marker_last_update INT(10) NOT NULL default '0',
|
||||
marker_unread SMALLINT(5) NOT NULL default '0',
|
||||
marker_topics_read TEXT NOT NULL default '',
|
||||
marker_topics_read TEXT NULL,
|
||||
marker_last_cleared INT(10) NOT NULL default '0',
|
||||
UNIQUE KEY marker_forum_id( marker_forum_id, marker_member_id ),
|
||||
KEY marker_member_id (marker_member_id)
|
||||
@@ -83,12 +83,12 @@ $SQL[] = "CREATE TABLE ibf_rss_export (
|
||||
rss_export_title varchar(255) NOT NULL default '',
|
||||
rss_export_desc varchar(255) NOT NULL default '',
|
||||
rss_export_image varchar(255) NOT NULL default '',
|
||||
rss_export_forums text,
|
||||
rss_export_forums text NULL,
|
||||
rss_export_include_post tinyint(1) NOT NULL default '0',
|
||||
rss_export_count smallint(3) NOT NULL default '0',
|
||||
rss_export_cache_time smallint(3) NOT NULL default '30',
|
||||
rss_export_cache_last int(10) NOT NULL default '0',
|
||||
rss_export_cache_content mediumtext,
|
||||
rss_export_cache_content mediumtext NULL,
|
||||
rss_export_sort varchar(4) NOT NULL default 'DESC',
|
||||
rss_export_order varchar(20) NOT NULL default 'start_date',
|
||||
PRIMARY KEY (rss_export_id)
|
||||
@@ -98,10 +98,10 @@ $SQL[] = "CREATE TABLE ibf_cal_events (
|
||||
event_id INT(10) UNSIGNED NOT NULL auto_increment,
|
||||
event_calendar_id INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
event_member_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||
event_content MEDIUMTEXT NOT NULL,
|
||||
event_content MEDIUMTEXT NULL,
|
||||
event_title VARCHAR(255) NOT NULL DEFAULT '',
|
||||
event_smilies TINYINT(1) NOT NULL DEFAULT '0',
|
||||
event_perms TEXT NOT NULL,
|
||||
event_perms TEXT NULL,
|
||||
event_private TINYINT(1) NOT NULL DEFAULT '0',
|
||||
event_approved TINYINT(1) NOT NULL DEFAULT '0',
|
||||
event_unixstamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
@@ -146,8 +146,8 @@ $SQL[] = "CREATE TABLE ibf_cal_calendars (
|
||||
cal_rss_export_max INT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||
cal_rss_update INT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||
cal_rss_update_last INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||
cal_rss_cache MEDIUMTEXT NOT NULL,
|
||||
cal_permissions MEDIUMTEXT NOT NULL,
|
||||
cal_rss_cache MEDIUMTEXT NULL,
|
||||
cal_permissions MEDIUMTEXT NULL,
|
||||
PRIMARY KEY ( cal_id )
|
||||
);";
|
||||
|
||||
@@ -159,7 +159,7 @@ $SQL[] = "CREATE TABLE ibf_login_methods (
|
||||
login_maintain_url VARCHAR(255) NOT NULL default '',
|
||||
login_register_url VARCHAR(255) NOT NULL default '',
|
||||
login_type VARCHAR(30) NOT NULL default '',
|
||||
login_alt_login_html TEXT,
|
||||
login_alt_login_html TEXT NULL,
|
||||
login_date INT(10) NOT NULL default '0',
|
||||
login_settings INT(1) NOT NULL default '0',
|
||||
login_enabled INT(1) NOT NULL default '0',
|
||||
@@ -172,7 +172,7 @@ $SQL[] = "CREATE TABLE ibf_login_methods (
|
||||
|
||||
$SQL[] = "CREATE TABLE ibf_admin_permission_rows (
|
||||
row_member_id INT(8) NOT NULL,
|
||||
row_perm_cache MEDIUMTEXT,
|
||||
row_perm_cache MEDIUMTEXT NULL,
|
||||
row_updated INT(10) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (row_member_id)
|
||||
);";
|
||||
@@ -191,8 +191,8 @@ $SQL[] = "CREATE TABLE ibf_templates_diff_import (
|
||||
diff_key VARCHAR(255) NOT NULL,
|
||||
diff_func_group VARCHAR(150) NOT NULL,
|
||||
diff_func_name VARCHAR(250) NOT NULL,
|
||||
diff_func_data TEXT,
|
||||
diff_func_content MEDIUMTEXT,
|
||||
diff_func_data TEXT NULL,
|
||||
diff_func_content MEDIUMTEXT NULL,
|
||||
diff_session_id INT(10) NOT NULL default '0',
|
||||
PRIMARY KEY (diff_key),
|
||||
KEY diff_func_group (diff_func_group),
|
||||
@@ -213,7 +213,7 @@ $SQL[] = "CREATE TABLE ibf_template_diff_changes (
|
||||
diff_change_key VARCHAR(255) NOT NULL,
|
||||
diff_change_func_group VARCHAR(150) NOT NULL,
|
||||
diff_change_func_name VARCHAR(250) NOT NULL,
|
||||
diff_change_content MEDIUMTEXT,
|
||||
diff_change_content MEDIUMTEXT NULL,
|
||||
diff_change_type INT(1) NOT NULL default '0',
|
||||
diff_session_id INT(10) NOT NULL default '0',
|
||||
PRIMARY KEY (diff_change_key),
|
||||
|
||||
@@ -6,7 +6,7 @@ $SQL[] = "ALTER TABLE ibf_members ADD members_auto_dst TINYINT(1) NOT NULL defau
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members CHANGE new_msg new_msg tinyint(2) default '0',
|
||||
CHANGE msg_total msg_total smallint(5) default '0',
|
||||
ADD members_cache MEDIUMTEXT default '',
|
||||
ADD members_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';";
|
||||
@@ -15,7 +15,7 @@ $SQL[] = "ALTER TABLE ibf_members ADD INDEX members_display_name( members_displa
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members ADD members_editor_choice VARCHAR(3) NOT NULL default 'std';";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_members ADD members_markers TEXT NOT NULL default '';";
|
||||
$SQL[] = "ALTER TABLE ibf_members ADD members_markers TEXT NULL;";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_message_text ADD msg_ip_address VARCHAR(16) NOT NULL default '0';";
|
||||
|
||||
|
||||
@@ -24,8 +24,7 @@ $SQL[] = "alter table ibf_moderators ADD mod_can_set_close_time tinyint(1) NOT N
|
||||
$SQL[] = "alter table ibf_task_manager ADD task_locked INT(10) NOT NULL default '0';";
|
||||
$SQL[] = "alter table ibf_groups ADD g_dname_changes INT(3) NOT NULL default '0',
|
||||
ADD g_dname_date INT(5) NOT NULL default '0';";
|
||||
$SQL[] = "
|
||||
ALTER TABLE ibf_search_results ADD PRIMARY KEY(id);";
|
||||
$SQL[] = "ALTER TABLE ibf_search_results ADD PRIMARY KEY(id);";
|
||||
$SQL[] = "ALTER TABLE ibf_search_results ADD INDEX search_date(search_date);";
|
||||
|
||||
?>
|
||||
@@ -2,25 +2,24 @@
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('portal', 'a:6:{s:5:\"blogs\";a:5:{s:8:\"pc_title\";s:30:\"Invision Power Community Blogs\";s:7:\"pc_desc\";s:40:\"Shows IPB Blog information on the portal\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:25:\"blogs_show_last_updated_x\";a:2:{i:0;s:25:\"blogs_show_last_updated_x\";i:1;s:30:\"Shows the last X updated blogs\";}}s:6:\"pc_key\";s:5:\"blogs\";}s:8:\"calendar\";a:5:{s:8:\"pc_title\";s:29:\"Invision Power Board Calendar\";s:7:\"pc_desc\";s:46:\"Displays a mini calendar for the current month\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:27:\"calendar_show_current_month\";a:2:{i:0;s:27:\"calendar_show_current_month\";i:1;s:38:\"Shows a calendar for the current month\";}}s:6:\"pc_key\";s:8:\"calendar\";}s:7:\"gallery\";a:5:{s:8:\"pc_title\";s:22:\"Invision Power Gallery\";s:7:\"pc_desc\";s:54:\"Shows Invision Power Gallery information on the portal\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:25:\"gallery_show_random_image\";a:2:{i:0;s:25:\"gallery_show_random_image\";i:1;s:44:\"Shows a random image from a member\'s gallery\";}}s:6:\"pc_key\";s:7:\"gallery\";}s:12:\"online_users\";a:5:{s:8:\"pc_title\";s:33:\"Invision Power Board Online Users\";s:7:\"pc_desc\";s:49:\"Shows the current name and number of online users\";s:19:\"pc_settings_keyword\";s:0:\"\";s:18:\"pc_exportable_tags\";a:1:{s:17:\"online_users_show\";a:2:{i:0;s:17:\"online_users_show\";i:1;s:22:\"Shows the online users\";}}s:6:\"pc_key\";s:12:\"online_users\";}s:4:\"poll\";a:5:{s:8:\"pc_title\";s:25:\"Invision Power Board Poll\";s:7:\"pc_desc\";s:23:\"Shows the selected poll\";s:19:\"pc_settings_keyword\";s:11:\"portal_poll\";s:18:\"pc_exportable_tags\";a:1:{s:14:\"poll_show_poll\";a:2:{i:0;s:14:\"poll_show_poll\";i:1;s:22:\"Shows the request poll\";}}s:6:\"pc_key\";s:4:\"poll\";}s:13:\"recent_topics\";a:5:{s:8:\"pc_title\";s:34:\"Invision Power Board Recent Topics\";s:7:\"pc_desc\";s:47:\"Shows IPB recent topics with topic\'s first post\";s:19:\"pc_settings_keyword\";s:20:\"portal_recent_topics\";s:18:\"pc_exportable_tags\";a:2:{s:20:\"recent_topics_last_x\";a:2:{i:0;s:20:\"recent_topics_last_x\";i:1;s:63:\"Shows the last X topics with full post from the selected forums\";}s:32:\"recent_topics_discussions_last_x\";a:2:{i:0;s:32:\"recent_topics_discussions_last_x\";i:1;s:54:\"Shows the last X topic titles from ALL viewable forums\";}}s:6:\"pc_key\";s:13:\"recent_topics\";}}', '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_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:39:\"Âûâîä èíôîðìàöèè èç IPB Blog íà ïîðòàëå\";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:54:\"Âûâåñòè áëîê ñ íàçâàíèÿìè ïîñëåäíèõ îáíîâëåííûõ áëîãîâ\";}}s:6:\"pc_key\";s:5:\"blogs\";}s:8:\"calendar\";a:5:{s:8:\"pc_title\";s:16:\"Êàëåíäàðü ôîðóìà\";s:7:\"pc_desc\";s:37:\"Âûâîä ìèíè-êàëåíäàðÿ íà òåêóùèé ìåñÿö\";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:42:\"Âûâåñòè áëîê ñ êàëåíäàðåì íà òåêóùèé ìåñÿö\";}}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:53:\"Âûâîä èíôîðìàöèè èç Invision Power Gallery íà ïîðòàëå\";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:63:\"Âûâåñòè áëîê ñî ñëó÷àéíûìè èçîáðàæåíèÿìè èç ãàëåðåé ïîëüçîâàòåé\";}}s:6:\"pc_key\";s:7:\"gallery\";}s:12:\"online_users\";a:5:{s:8:\"pc_title\";s:22:\"Ïîëüçîâàòåëè â îí-ëàéí\";s:7:\"pc_desc\";s:58:\"Âûâîä ÷èñëà ïîëüçîâàòåëåé è èõ èìåí, íàõîäÿùèõñÿ â îí-ëàéí\";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:36:\"Âûâåñòè áëîê ïîëüçîâàòåëåé â îí-ëàéí\";}}s:6:\"pc_key\";s:12:\"online_users\";}s:4:\"poll\";a:5:{s:8:\"pc_title\";s:14:\"Îïðîñ ñ ôîðóìà\";s:7:\"pc_desc\";s:43:\"Âûâîäèò âûáðàííûé ñ ôîðóìà îïðîñ íà ïîðòàëå\";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:\"Âûâåñòè áëîê ñ îïðîñîì\";}}s:6:\"pc_key\";s:4:\"poll\";}s:13:\"recent_topics\";a:5:{s:8:\"pc_title\";s:23:\"Ïîñëåäíèå òåìû ñ ôîðóìà\";s:7:\"pc_desc\";s:49:\"Âûâîäèò ïîñëåäíèå òåìû ñ ïåðâûì ñîîáùåíèåì èç íèõ\";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:56:\"Âûâåñòè áëîê ñ ïîñëåäíèìè òåìàìè èç îïðåäåëåííûõ ôîðóìîâ\";}s:32:\"recent_topics_discussions_last_x\";a:2:{i:0;s:32:\"recent_topics_discussions_last_x\";i:1;s:48:\"Âûâåñòè áëîê ñ ïîñëåäíèìè òåìàìè èç âñåõ ôîðóìîâ\";}}s:6:\"pc_key\";s:13:\"recent_topics\";}}', '', 1);"";
|
||||
|
||||
$SQL[] ="INSERT INTO ibf_cal_calendars (cal_id, cal_title, cal_moderate, cal_position, cal_event_limit, cal_bday_limit, cal_rss_export, cal_rss_export_days, cal_rss_export_max, cal_rss_update, cal_rss_update_last, cal_rss_cache, cal_permissions) VALUES (1, 'Community Calendar', 1, 0, 2, 1, 1, 14, 20, 1440, <%time%>, '', 'a:3:{s:9:\"perm_read\";s:1:\"*\";s:9:\"perm_post\";s:3:\"4,3\";s:10:\"perm_nomod\";s:0:\"\";}');";
|
||||
$SQL[] ="INSERT INTO ibf_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_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_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_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 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 (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_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_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[] ="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[] ="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',
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -23,23 +23,23 @@
|
||||
|
||||
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.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -75,13 +75,13 @@ class version_upgrade
|
||||
break;
|
||||
case 'skin':
|
||||
$this->add_skin();
|
||||
break;
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->upgrade_sql(1);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if ( $this->install->saved_data['workact'] )
|
||||
{
|
||||
return false;
|
||||
@@ -91,12 +91,12 @@ class version_upgrade
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SQL: 0
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function upgrade_sql( $id=1 )
|
||||
{
|
||||
$man = 0; // Manual upgrade ? intval( $this->install->ipsclass->input['man'] );
|
||||
@@ -104,32 +104,32 @@ class version_upgrade
|
||||
$SQL = array();
|
||||
$file = '_updates_'.$id.'.php';
|
||||
$output = "";
|
||||
|
||||
|
||||
if ( file_exists( ROOT_PATH . 'upgrade/installfiles/upg_21003/' . strtolower($this->install->ipsclass->vars['sql_driver']) . $file ) )
|
||||
{
|
||||
require_once( ROOT_PATH . 'upgrade/installfiles/upg_21003/' . strtolower($this->install->ipsclass->vars['sql_driver']) . $file );
|
||||
|
||||
|
||||
$this->install->error = array();
|
||||
$this->sqlcount = 0;
|
||||
$output = "";
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
|
||||
|
||||
foreach( $SQL as $query )
|
||||
{
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
$this->install->ipsclass->DB->error = '';
|
||||
|
||||
|
||||
$query = str_replace( "<%time%>", time(), $query );
|
||||
|
||||
|
||||
if( $this->install->saved_data['man'] AND !in_array( $id, array(3,4) ) )
|
||||
{
|
||||
$output .= preg_replace("/\sibf_(\S+?)([\s\.,]|$)/", " ".$this->install->ipsclass->DB->obj['sql_tbl_prefix']."\\1\\2", preg_replace( "/\s{1,}/", " ", $query ) )."\n\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
$this->install->ipsclass->DB->query( $query );
|
||||
|
||||
|
||||
if ( $this->install->ipsclass->DB->error )
|
||||
{
|
||||
$this->install->error[] = $query."<br /><br />".$this->install->ipsclass->DB->error;
|
||||
@@ -140,38 +140,38 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "$this->sqlcount queries run....";
|
||||
|
||||
$this->install->message = "Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------
|
||||
// Next page...
|
||||
//--------------------------------
|
||||
|
||||
|
||||
$this->install->saved_data['st'] = 0;
|
||||
|
||||
|
||||
if ( $id != 4 )
|
||||
{
|
||||
$nextid = $id + 1;
|
||||
$this->install->saved_data['workact'] = 'sql'.$nextid;
|
||||
$this->install->saved_data['workact'] = 'sql'.$nextid;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->saved_data['workact'] = 'polls';
|
||||
$this->install->saved_data['workact'] = 'polls';
|
||||
}
|
||||
|
||||
|
||||
if( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// POLLS
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function convert_polls()
|
||||
{
|
||||
$start = intval($this->install->saved_data['st']) > 0 ? intval($this->install->saved_data['st']) : 0;
|
||||
@@ -179,46 +179,55 @@ class version_upgrade
|
||||
$end = $start + $lend;
|
||||
$max = intval($this->install->saved_data['max']);
|
||||
$converted = intval($this->install->saved_data['conv']);
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// First off.. grab number of polls to convert
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( ! $max )
|
||||
{
|
||||
$total = $this->install->ipsclass->DB->build_and_exec_query( array( 'select' => 'COUNT(*) as max',
|
||||
'from' => 'topics',
|
||||
'where' => "poll_state IN ('open', 'close', 'closed')" ) );
|
||||
|
||||
|
||||
$max = $total['max'];
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// In steps...
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*',
|
||||
'from' => 'topics',
|
||||
'where' => "poll_state IN ('open', 'close', 'closed' )",
|
||||
'limit' => array( 0, $lend ) ) );
|
||||
$o = $this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Do it...
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( $this->install->ipsclass->DB->get_num_rows($o) )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Got some to convert!
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
while ( $r = $this->install->ipsclass->DB->fetch_row($o) )
|
||||
{
|
||||
$converted++;
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// All done?
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $converted >= $max )
|
||||
{
|
||||
$done = 1;
|
||||
}
|
||||
|
||||
$new_poll = array( 1 => array() );
|
||||
|
||||
|
||||
$poll_data = $this->install->ipsclass->DB->build_and_exec_query( array( 'select' => '*',
|
||||
'from' => 'polls',
|
||||
'where' => "tid=".$r['tid']
|
||||
@@ -227,154 +236,145 @@ class version_upgrade
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if ( ! $poll_data['poll_question'] )
|
||||
{
|
||||
$poll_data['poll_question'] = $r['title'];
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Kick start new poll
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$new_poll[1]['question'] = $poll_data['poll_question'];
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Get OLD polls
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$poll_answers = unserialize( stripslashes( $poll_data['choices'] ) );
|
||||
|
||||
|
||||
reset($poll_answers);
|
||||
|
||||
|
||||
foreach ( $poll_answers as $entry )
|
||||
{
|
||||
$id = $entry[0];
|
||||
$choice = $entry[1];
|
||||
$votes = $entry[2];
|
||||
|
||||
|
||||
$total_votes += $votes;
|
||||
|
||||
|
||||
if ( strlen($choice) < 1 )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
$new_poll[ 1 ]['choice'][ $id ] = $choice;
|
||||
$new_poll[ 1 ]['votes'][ $id ] = $votes;
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Got something?
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( count( $new_poll[1]['choice'] ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->do_update( 'polls' , array( 'choices' => serialize( $new_poll ) ), 'tid='.$r['tid'] );
|
||||
$this->install->ipsclass->DB->do_update( 'topics', array( 'poll_state' => 1 ), 'tid='.$r['tid'] );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// All done?
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $converted >= $max )
|
||||
{
|
||||
$done = 1;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$done = 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if ( ! $done )
|
||||
{
|
||||
$this->install->message = "Polls: $start to $end completed....";
|
||||
$this->install->saved_data['workact'] = 'polls';
|
||||
$this->install->message = "Îïðîñû: $start èç $end îáíîâëåíû...";
|
||||
$this->install->saved_data['workact'] = 'polls';
|
||||
$this->install->saved_data['st'] = $end;
|
||||
$this->install->saved_data['max'] = $max;
|
||||
$this->install->saved_data['conv'] = $converted;
|
||||
return FALSE;
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->message = "Polls converted, proceeding to calendar events...";
|
||||
$this->install->saved_data['workact'] = 'calevents';
|
||||
return FALSE;
|
||||
$this->install->message = "Îïðîñû îáíîâëåíû, ïåðåõîäèì ê îáíîâëåíèþ êàëåíäàðíûõ ñîáûòèé...";
|
||||
$this->install->saved_data['workact'] = 'calevents';
|
||||
$this->install->saved_data['st'] = '0';
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CALENDAR EVENTS
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function convert_calevents()
|
||||
{
|
||||
$start = intval($this->install->saved_data['st']) > 0 ? intval($this->install->saved_data['st']) : 0;
|
||||
$lend = 50;
|
||||
$end = $start + $lend;
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// In steps...
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*',
|
||||
'from' => 'calendar_events',
|
||||
'limit' => array( $start, $lend ) ) );
|
||||
$o = $this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Do it...
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( $this->install->ipsclass->DB->get_num_rows($o) )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Got some to convert!
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
while ( $r = $this->install->ipsclass->DB->fetch_row($o) )
|
||||
{
|
||||
$recur_remap = array( 'w' => 1,
|
||||
'm' => 2,
|
||||
'y' => 3 );
|
||||
|
||||
|
||||
$begin_date = $this->install->ipsclass->date_getgmdate( $r['unix_stamp'] );
|
||||
$end_date = $this->install->ipsclass->date_getgmdate( $r['end_unix_stamp'] );
|
||||
|
||||
|
||||
if ( ! $begin_date OR ! $end_date )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
$day = $begin_date['mday'];
|
||||
$month = $begin_date['mon'];
|
||||
$year = $begin_date['year'];
|
||||
|
||||
|
||||
$end_day = $end_date['mday'];
|
||||
$end_month = $end_date['mon'];
|
||||
$end_year = $end_date['year'];
|
||||
|
||||
|
||||
$_final_unix_from = gmmktime(0, 0, 0, $month, $day, $year );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Recur or ranged...
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( $r['event_repeat'] OR $r['event_ranged'] )
|
||||
{
|
||||
$_final_unix_to = gmmktime(23, 59, 59, $end_month, $end_day, $end_year);
|
||||
$_final_unix_to = gmmktime(11, 59, 59, $end_month, $end_day, $end_year);
|
||||
}
|
||||
else
|
||||
{
|
||||
$_final_unix_to = 0;
|
||||
}
|
||||
|
||||
|
||||
$new_event = array( 'event_calendar_id' => 1,
|
||||
'event_member_id' => $r['userid'],
|
||||
'event_content' => $r['event_text'],
|
||||
@@ -388,59 +388,64 @@ class version_upgrade
|
||||
'event_tz' => 0,
|
||||
'event_unix_from' => $_final_unix_from,
|
||||
'event_unix_to' => $_final_unix_to );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// INSERT
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_insert( 'cal_events', $new_event );
|
||||
}
|
||||
|
||||
$this->install->message = "Calendar events: $start to $end completed....";
|
||||
$this->install->saved_data['workact'] = 'calevents';
|
||||
|
||||
$this->install->message = "Êàëåíäàðíûå ñîáûòèÿ: $start èç $end îáíîâëåíû...";
|
||||
$this->install->saved_data['workact'] = 'calevents';
|
||||
$this->install->saved_data['st'] = $end;
|
||||
return FALSE;
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->message = "Calendar events converted, Creating new IPB 2.1 skin...";
|
||||
$this->install->saved_data['workact'] = 'skin';
|
||||
return FALSE;
|
||||
$this->install->message = "Êàëåíäàðíûå ñîáûòèÿ îáíîâëåíÿ, ïåðåõîäèì ê ñîçäàíèþ ãëàâíîåãî ñòèëÿ IPB 2.1 ...";
|
||||
$this->install->saved_data['workact'] = 'skin';
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CALENDAR EVENTS
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function add_skin()
|
||||
{
|
||||
$this->install->message = "Ïðîïóñêàåì ñîçäàíèå ñòèëÿ äëÿ âåðñèè 2.1 (îí áóäåò ñîçäàí ïîçæå)...";
|
||||
unset($this->install->saved_data['workact']);
|
||||
unset($this->install->saved_data['vid']);
|
||||
return TRUE;
|
||||
|
||||
//-----------------------------------------
|
||||
// Get default wrapper
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( file_exists( ROOT_PATH.'upgrade/installfiles/upg_21003/components.php' ) )
|
||||
{
|
||||
require_once( ROOT_PATH.'upgrade/installfiles/upg_21003/components.php' );
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Turn off all other skins
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'skin_sets', array( 'set_default' => 0 ) );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Insert new skin...
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_insert( 'skin_sets', array(
|
||||
'set_name' => 'IPB 2.1 Default',
|
||||
'set_name' => 'IPB Ãëàâíûé ñòèëü',
|
||||
'set_image_dir' => 1,
|
||||
'set_hidden' => 0,
|
||||
'set_default' => 1,
|
||||
@@ -455,31 +460,31 @@ class version_upgrade
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
'set_emoticon_folder' => 'default',
|
||||
) );
|
||||
|
||||
|
||||
$new_id = $this->install->ipsclass->DB->get_insert_id();
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Remove member's choice
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'members', array( 'skin' => '' ) );
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'members', array( 'skin' => '' ) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Done...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->message = "2.1 skin created...";
|
||||
|
||||
$this->install->message = "Ãëàâíûé ñòèëü IPB 2.1 ñîçäàí...";
|
||||
unset($this->install->saved_data['workact']);
|
||||
unset($this->install->saved_data['vid']);
|
||||
|
||||
return TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,27 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,28 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,108 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1126532516">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>340</conf_id>
|
||||
<conf_title><![CDATA[Allow "Display Names"]]></conf_title>
|
||||
<conf_description><![CDATA[If enabled, the member can choose a "Display Name" that is separate from their "Log in UserName". This is REQUIRED when using non-internal authentication methods.]]></conf_description>
|
||||
<conf_group>18</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>auth_allow_dnames</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group>Display Name Set-Up</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>converge</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>185</conf_id>
|
||||
<conf_title>Type of search to use?</conf_title>
|
||||
<conf_description><![CDATA[Choose between "full text" searching or "manual" searching.
|
||||
<!--FULLTEXT-->
|
||||
<br />
|
||||
<!--FULLCHECK-->]]></conf_description>
|
||||
<conf_group>19</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>search_sql_method</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>man</conf_default>
|
||||
<conf_extra>ftext=Full Text
|
||||
man=Manual</conf_extra>
|
||||
<conf_evalphp><![CDATA[if ( $show == 1 )
|
||||
{
|
||||
$this->ipsclass->admin->get_mysql_version();
|
||||
if ( $this->ipsclass->mysql_version < 32323 )
|
||||
{
|
||||
$full_text = "<span style='color:red'><b>FULL TEXT SEARCHING IS NOT AVAILABLE ON YOUR SERVER.</b></span>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$full_text = "<b>Full text available</b>";
|
||||
}
|
||||
|
||||
if ( ! $this->ipsclass->admin->get_fulltextindex_status() )
|
||||
{
|
||||
$index = "<span style='color:red'><b>NO FULL TEXT INDEXES FOUND</b></span>: <a href='{$this->ipsclass->base_url}§ion=tools&act=op&code=dofulltext'>Build indexes now!</a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$index = "<b>Full text indexes found</b>";
|
||||
}
|
||||
|
||||
$r['conf_description'] = str_replace( "<!--FULLTEXT-->", $full_text, $r['conf_description'] );
|
||||
$r['conf_description'] = str_replace( "<!--FULLCHECK-->", $index, $r['conf_description'] );
|
||||
}]]></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>searchsetup</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>343</conf_id>
|
||||
<conf_title>Prohibit Display Names from selecting Log In names</conf_title>
|
||||
<conf_description><![CDATA[If "yes", one is not able to choose a display name that is the same as another's display name OR another's log in name. If "no" one is not able to choose a display name that is the same as another's display name only.]]></conf_description>
|
||||
<conf_group>18</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>auth_dnames_nologinname</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>converge</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>converge</conf_title_keyword>
|
||||
<conf_title_title>Converge Set Up</conf_title_title>
|
||||
<conf_title_desc>Converge is Invision Power Services central authentication method for all IPS applications. This allows you to have a single log-in for all your IPS products.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>searchsetup</conf_title_keyword>
|
||||
<conf_title_title>Search Set-Up</conf_title_title>
|
||||
<conf_title_desc><![CDATA[This section contains settings for your IPB's search system]]></conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,142 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1127385330">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>245</conf_id>
|
||||
<conf_title>IPB Registered Licence Key</conf_title>
|
||||
<conf_description><![CDATA[This is the IPB registraton key NOT your customer code or client center password. To get your key, log into your client center and click on 'Invision Power Board' under 'Purchased Services'.
|
||||
<br />DO NOT REMOVE OR EDIT THIS KEY UNLESS YOU'RE SURE OF WHAT YOU'RE DOING!]]></conf_description>
|
||||
<conf_group>24</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_reg_number</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>243</conf_id>
|
||||
<conf_title>Display registered to line?</conf_title>
|
||||
<conf_description><![CDATA[If enabled, you can optionally add a "Licensed to" line at the bottom of your board.]]></conf_description>
|
||||
<conf_group>24</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>ipb_reg_show</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>244</conf_id>
|
||||
<conf_title>Show as licensed to...</conf_title>
|
||||
<conf_description><![CDATA[Examples: <em>Matthew Mecham</em>, <em>IPS, Inc.]]></conf_description>
|
||||
<conf_group>24</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_reg_name</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>330</conf_id>
|
||||
<conf_title>Allow members to use Rich Text Editing?</conf_title>
|
||||
<conf_description><![CDATA[If 'yes', members using IE 6, Mozilla and Firefox will be able to use Rich Text Editing (WYSIWYG).]]></conf_description>
|
||||
<conf_group>5</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>posting_allow_rte</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>100</conf_position>
|
||||
<conf_start_group>Editor Settings</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>348</conf_id>
|
||||
<conf_title><![CDATA[Post Editor's Width]]></conf_title>
|
||||
<conf_description><![CDATA[The width of the Rich Text Editor (WYIWYG) / Standard Text Editor when composing a new post. "px" and "%" allowed.]]></conf_description>
|
||||
<conf_group>5</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>rte_width</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>650px</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>101</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>349</conf_id>
|
||||
<conf_title><![CDATA[PM Editor's width]]></conf_title>
|
||||
<conf_description><![CDATA[The width of the Rich Text Editor (WYIWYG) / Standard Text Editor when composing a new Personal Message. "px" and "%" allowed.]]></conf_description>
|
||||
<conf_group>5</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>rte_pm_width</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>500px</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>102</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
<conf_title_title>IPB Licence Settings</conf_title_title>
|
||||
<conf_title_desc>This section will allow you to edit your IPB registered licence settings.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
<conf_title_title>Topics, Posts and Polls</conf_title_title>
|
||||
<conf_title_desc>These options control various elements when posting, reading topics and reading polls.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -1,30 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -23,23 +23,23 @@
|
||||
|
||||
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.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -49,15 +49,15 @@ class version_upgrade
|
||||
//-----------------------------------------
|
||||
// Remove dupe categories
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$title_id_to_keep = array();
|
||||
$title_id_to_delete = array();
|
||||
$title_deleted_count = 0;
|
||||
$msg = '';
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'conf_settings_titles', 'order' => 'conf_title_id DESC' ) );
|
||||
$this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
|
||||
while ( $r = $this->install->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
if ( $title_id_to_keep[ $r['conf_title_title'] ] )
|
||||
@@ -69,46 +69,46 @@ class version_upgrade
|
||||
$title_id_to_keep[ $r['conf_title_title'] ] = $r['conf_title_id'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( count( $title_id_to_delete ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->simple_exec_query( array( 'delete' => 'conf_settings_titles', 'where' => 'conf_title_id IN ('.implode( ',', $title_id_to_delete ).')' ) );
|
||||
}
|
||||
|
||||
|
||||
$title_deleted_count = intval( count($title_id_to_delete) );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Update this parachat component
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( $this->install->ipsclass->vars['chat04_account_no'] )
|
||||
{
|
||||
require_once( ROOT_PATH . 'sources/api/api_core.php' );
|
||||
require_once( ROOT_PATH . 'sources/api/api_components.php' );
|
||||
|
||||
|
||||
$api = new api_components();
|
||||
$api->ipsclass =& $this->install->ipsclass;
|
||||
|
||||
|
||||
$fields = array( 'com_enabled' => 1,
|
||||
'com_menu_data' => array( 0 => array( 'menu_text' => 'Chat Settings',
|
||||
'menu_url' => 'code=chatsettings',
|
||||
'menu_permbit' => 'edit' ) ) );
|
||||
|
||||
|
||||
$api->acp_component_update( 'chatpara', $fields );
|
||||
}
|
||||
|
||||
$this->install->message = "$title_deleted_count duplicate settings deleted";
|
||||
|
||||
|
||||
$this->install->message = "Óäàëåíî $title_deleted_count îäèíàêîâûõ íàñòðîåê";
|
||||
|
||||
if( $this->install->ipsclass->vars['chat04_account_no'] )
|
||||
{
|
||||
$this->install->message .= "<br /><br />Parachat component updated";
|
||||
$this->install->message .= "<br /><br />Êîìïîíåíò «Parachat» îáíîâëåí";
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,61 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1129047082">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>199</conf_id>
|
||||
<conf_title>Load the chat room in...?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>20</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat_display</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>self</conf_default>
|
||||
<conf_extra>self=Normal IPB Page</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>9</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>213</conf_id>
|
||||
<conf_title>Load the chat room in...?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_display</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>self</conf_default>
|
||||
<conf_extra>self=Normal IPB Page</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>12</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>chat</conf_title_keyword>
|
||||
<conf_title_title>Invision Chat Settings (Legacy Version)</conf_title_title>
|
||||
<conf_title_desc>This will allow you to customize your Invision Chat integration settings for the legacy edition.</conf_title_desc>
|
||||
<conf_title_noshow>1</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
<conf_title_title>Invision Chat Settings</conf_title_title>
|
||||
<conf_title_desc>This will allow you to customize your Invision Chat integration settings for the new 2004 edition</conf_title_desc>
|
||||
<conf_title_noshow>1</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -7,6 +7,6 @@ $SQL[] = "UPDATE ibf_conf_settings SET conf_value='self' WHERE conf_key='chat04_
|
||||
$SQL[] = "UPDATE ibf_conf_settings SET conf_title='Number of times per day moderators can warn a single member' WHERE conf_key='warn_mod_day'";
|
||||
|
||||
$SQL[] = "DELETE FROM ibf_components WHERE com_filename='chatsigma'";
|
||||
$SQL[] = "INSERT INTO ibf_components (com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES ('SigmaChat', 'Invision Power Services', 'http://www.invisionpower.com', '2.1', 1113313895, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s:24:\"Purchase and Information\";s:8:\"menu_url\";s:9:\"code=show\";s:13:\"menu_redirect\";i:0;s:12:\"menu_permbit\";s:0:\"\";s:13:\"menu_permlang\";s:0:\"\";}}', 0, 1, 'chatsigma', 'chatsigma', 'Full real-time chat system for your members', '{ipb.lang[\'live_chat\']}', '{ipb.base_url}autocom=chatsigma', 5);";
|
||||
$SQL[] = "INSERT INTO ibf_components (com_title, com_author, com_url, com_version, com_date_added, com_menu_data, com_enabled, com_safemode, com_section, com_filename, com_description, com_url_title, com_url_uri, com_position) VALUES ('SigmaChat', 'Invision Power Services', 'http://www.invisionpower.com', '2.1', 1113313895, 'a:1:{i:1;a:5:{s:9:\"menu_text\";s: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, 'chatsigma', 'chatsigma', 'Ìîäóëü ÷àòà äëÿ ôîðóìà', '{ipb.lang[\'live_chat\']}', '{ipb.base_url}autocom=chatsigma', 5);";
|
||||
|
||||
?>
|
||||
@@ -1,31 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -23,23 +23,23 @@
|
||||
|
||||
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.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -49,33 +49,33 @@ class version_upgrade
|
||||
//-----------------------------------------
|
||||
// Update this parachat component
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( $this->install->ipsclass->vars['chat04_account_no'] )
|
||||
{
|
||||
require_once( ROOT_PATH . 'sources/api/api_core.php' );
|
||||
require_once( ROOT_PATH . 'sources/api/api_components.php' );
|
||||
|
||||
|
||||
$api = new api_components();
|
||||
$api->ipsclass =& $this->install->ipsclass;
|
||||
|
||||
|
||||
$fields = array( 'com_enabled' => 1,
|
||||
'com_menu_data' => array( 0 => array( 'menu_text' => 'Chat Settings',
|
||||
'menu_url' => 'code=chatsettings',
|
||||
'menu_permbit' => 'edit' ) ) );
|
||||
|
||||
|
||||
$api->acp_component_update( 'chatpara', $fields );
|
||||
}
|
||||
|
||||
|
||||
if( $this->install->ipsclass->vars['chat04_account_no'] )
|
||||
{
|
||||
$this->install->message = "Parachat component updated";
|
||||
$this->install->message = "Êîìïîíåíò «Parachat» îáíîâëåí";
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1130446748">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>109</conf_id>
|
||||
<conf_title>IPB Registered License Key</conf_title>
|
||||
<conf_description><![CDATA[This is the IPB registraton key NOT your customer code or client center password. To get your key, log into your client center and click on 'Invision Power Board' under 'Your Purchases'.
|
||||
<br />DO NOT REMOVE OR EDIT THIS KEY UNLESS YOU'RE SURE OF WHAT YOU'RE DOING!]]></conf_description>
|
||||
<conf_group>15</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_reg_number</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
<conf_title_title>IPB License Settings</conf_title_title>
|
||||
<conf_title_desc>This section will allow you to edit your IPB registered license settings.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -5,31 +5,31 @@ $SQL[] = "ALTER TABLE ibf_forums ADD topicfilter VARCHAR( 32 ) DEFAULT 'all' NOT
|
||||
$SQL[] = "UPDATE ibf_forums SET topicfilter='all' WHERE topicfilter != 'all'";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_message_topics ADD mt_addtosent TINYINT( 1 ) DEFAULT '0' NOT NULL AFTER mt_tracking";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_title='IPB License Settings', conf_title_desc='This section will allow you to edit your IPB registered license settings.' WHERE conf_title_keyword='ipbreg'";
|
||||
$SQL[] = "UPDATE ibf_conf_settings_titles SET conf_title_title='IPB Лицензия', conf_title_desc='Позволяет редактировать настройки лицензии.' WHERE conf_title_keyword='ipbreg'";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_cal_events ADD event_timeset VARCHAR( 6 ) DEFAULT '0' NOT NULL AFTER event_tz";
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_rss_import ADD rss_import_auth TINYINT( 1 ) DEFAULT '0' NOT NULL ,
|
||||
ADD rss_import_auth_user VARCHAR( 255 ) DEFAULT 'Not Needed' NOT NULL,
|
||||
ADD rss_import_auth_pass VARCHAR( 255 ) DEFAULT 'Not Needed' NOT NULL";
|
||||
|
||||
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Registration benefits', text='To be able to use all the features on this board, the administrator will probably require that you register for a member account. Registration is free and only takes a moment to complete.\r<br />\r<br />During registration, the administrator requires that you supply a valid email address. This is important as the administrator may require that you validate your registration via an email. If this is the case, you will be notified when registering. If your e-mail does not arrive, then on the member bar at the top of the page, there will be a link that will allow you to re-send the validation e-mail. \r<br />\r<br />In some cases, the administrator will need to approve your registration before you can use your member account fully. If this is the case you will be notified during registration.\r<br />\r<br />Once you have registered and logged in, you will have access to your personal messenger and your control panel.\r<br />\r<br />For more information on these items, please see the relevant sections in this documentation.', description='How to register and the added benefits of being a registered member.' WHERE id=1";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Cookies and cookie usage', text='Using cookies is optional, but strongly recommended. Cookies are used to track topics, showing you which topics have new replies since your last visit and to automatically log you in when you return.\r<br />\r<br />If your computer is unable to use the cookie system to browse the board correctly, then the board will automatically add in a session ID to each link to track you around the board.\r<br />\r<br /><b>Clearing Cookies</b>\r<br />\r<br />You can clear the cookies at any time by clicking on the link found at the bottom of the main board page (the first page you see when returning to the board). If this does not work for you, you may need to remove the cookies manually.\r<br />\r<br /><u>Removing Cookies in Internet Explorer for Windows</u>\r<br />\r<br /><ul>\r<br /><li> Close all open Internet Explorer Windows\r<br /><li> Click on the \'start\' button\r<br /><li> Move up to \'Find\' and click on \'Files and Folders\'\r<br /><li> When the new window appears, type in the domain name of the board you are using into the \'containing text\' field. (If the boards address was \'http://www.invisionboard.com/forums/index.php\' you would enter \'invisionboard.com\' without the quotes)\r<br /><li> In the \'look in\' box, type in <b>C:WindowsCookies</b> and press \'Find Now\'\r<br /><li> After it has finished searching, highlight all files (click on a file then press CTRL+A) and delete them.\r<br /></ul>\r<br />\r<br /><u>Removing Cookies in Internet Explorer for Macintosh</u>\r<br />\r<br /><ul>\r<br /><li> With Internet Explorer active, choose \'Edit\' and then \'Preferences\' from the Macintosh menu bar at the top of the screen\r<br /><li> When the preferences panel opens, choose \'Cookies\' found in the \'Receiving Files\' section.\r<br /><li> When the cookie pane loads, look for the domain name of the board (If the boards address was \'http://www.invisionboard.com/forums/index.php\' look for \'invisionboard.com\' or \'www.invisionboard.com\'\r<br /><li> For each cookie, click on the entry and press the delete button.\r<br /></ul>\r<br />\r<br />Your cookies should now be removed. In some cases you may need to restart your computer for the changes to take effect.', description='The benefits of using cookies and how to remove cookies set by this board.' WHERE id=2";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Recovering lost or forgotten passwords', text='Security is a big feature on this board, and to that end, all passwords are encrypted when you register.\r<br />This means that we cannot email your password to you as we hold no record of your \'uncrypted\' password. You can however, apply to have your password reset.\r<br />\r<br />To do this, click on the <a href=\'index.php?act=Reg&CODE=10\'>Lost Password link</a> found on the log in page.\r<br />\r<br />Further instruction is available from there.', description='How to reset your password if you\'ve forgotten it.' WHERE id=3";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Your Control Panel (My Controls)', text='Your control panel is your own private board console. You can change how the board looks and feels as well as your own information from here.\r<br />\r<br /><b>Subscriptions</b>\r<br />\r<br />This is where you manage your topic and forums subscriptions. Please see the help file \'Email Notification of new messages\' for more information on how to subscribe to topics.\r<br />\r<br /><b>Edit Profile Info</b>\r<br />\r<br />This section allows you to add or edit your contact information and enter some personal information if you choose.\r<br />\r<br /><b>Edit Signature</b>\r<br />\r<br />A board \'signature\' is very similar to an email signature. This signature is attached to the foot of every message you post unless you choose to check the box that allows you to ommit the signature in the message you are posting. You may use BB Code if available and in some cases, pure HTML (if the board administrator allows it).\r<br />\r<br /><b>Edit Avatar Settings</b>\r<br />\r<br />An avatar is a little image that appears under your username when you view a topic or post you authored. If the administrator allows, you may either choose from the board gallery, enter a URL to an avatar stored on your server or upload an avatar to use. You may also set the width of the avatar to ensure that it\'s sized in proportion.\r<br />\r<br /><b>Change Personal Photo</b>\r<br />\r<br />This section will allow you to add a photograph to your profile. This will be displayed when a user clicks to view your profile, on the mini-profile screen and will also be linked to from the member list.\r<br />\r<br /><b>Email Settings</b>\r<br />\r<br /><u>Hide my email address</u> allows you to deny the ability for other users to send you an email from the board.\r<br /><u>Send me updates sent by the board administrator</u> will allow the administrator to include your email address in any mailings they send out - this is used mostly for important updates and community information.\r<br /><u>Include a copy of the post when emailing me from a subscribed topic</u>, this allows you to have the new post included in any reply to topic notifications.\r<br /><u>Send a confirmation email when I receive a new private message</u>, this will send you an e-mail notification to your registered e-mail address each time you receive a private message on the board.\r<br /><u>Enable \'Email Notification\' by default?</u>, this will automatically subscribe you to any topic that you make a reply to. You may unsubscribe from the \'Subscriptions\' section of My Controls if you wish.\r<br />\r<br /><b>Board Settings</b>\r<br />\r<br />From this section, you can set your time zone, choose to not see users signatures, avatars and posted images.\r<br />You can choose to get a pop up window informing you when you have a new message and choose to show or hide the \'Fast Reply\' box where it is enabled.\r<br />You are also able to choose display preferences for the number of topics/posts shown per page on the board.\r<br />\r<br /><b>Change Email Address</b>\r<br />\r<br />At any time, you can change the email address that is registered to your account. In some cases, you will need to revalidate your account after changing your email address. If this is the case, you will be notified before your email address change is processed.\r<br />\r<br /><b>Change Password</b>\r<br />\r<br />You may change your password from this section. Please note that you will need to know your current password before you can change your password.', description='Editing contact information, personal information, avatars, signatures, board settings, languages and style choices.' WHERE id=4";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Email Notification of new messages', text='This board can notify you when a new reply is added to a topic. Many users find this useful to keep up to date on topics without the need to view the board to check for new messages.\r<br />\r<br />There are three ways to subscribe to a topic:\r<br /><ul>\r<br /><li>Click the \'Track This Topic\' link at the top of the topic that you wish to track</li>\r<br /><li> On the posting screen when replying to or creating a topic, check the \'Enable email notification of replies?\' checkbox</li>\r<br /><li> From the E-Mail settings section of your User CP (My Controls) check the \'Enable Email Notification by default?\' option, this will automatically subscribe you to any topic that you make a reply to</li>\r<br /></ul>Please note that to avoid multiple emails being sent to your email address, you will only get one e-mail for each topic you are subscribed to until the next time you visit the board.\r<br />\r<br />You are also able to subscribe to each individual forum on the board, to be notified when a new topic is created in that particular forum. To enable this, click the \'Subscribe to this forum\' link at the bottom of the forum that you wish to subscribe to.\r<br />\r<br />To unsubscribe from any forums or topics that you are subscribed to - just go to the \'Subscriptions\' section of \'My Controls\' and you can do thi from there.', description='How to get emailed when a new reply is added to a topic.' WHERE id=5";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Your Personal Messenger', text='Your personal messenger acts much like an email account in that you can send and receive messages and store messages in folders.\r<br />\r<br /><b>Compose a New PM</b>\r<br />\r<br />This will allow you to send a message to another member. If you have names in your contact list, you can choose a name from it - or you may choose to enter a name in the relevant form field. This will be automatically filled in if you clicked a \'PM\' button on the board (from the member list or a post). If allowed, you may also be able to enter in multiple names in the box provided, will need to add one username per line.\r<br />If the administrator allows, you may use BB Code and HTML in your private message. If you choose to check the \'Add a copy of this message to you sent items folder\' box, a copy of the message will be saved for you for later reference. If you tick the \'Track this message?\' box, then the details of the message will be available in your \'Message Tracker\' where you will be able to see if/when it has been read.\r<br />\r<br /><bInbox</b>\r<br />\r<br />Your inbox is where all new messages are sent to. Clicking on the message title will show you the message in a similar format to the board topic view. You can also delete or move messages from your inbox.\r<br />\r<br /><b>Empty PM Folders</b>\r<br />\r<br />This option provides you with a quick and easy way to clear out all of your PM folders.\r<br />\r<br /><b>Edit Storage Folders</b>\r<br />\r<br />You may rename, add or remove folders to store messages is, allowing you to organise your messages to your preference. You cannot remove \'Sent Items\' or \'Inbox\'.\r<br />\r<br /><b>PM Buddies/Block List</b>\r<br />\r<br />You may add in users names in this section, or edit any saved entries. You can also use this as a ban list, denying the named member the ability to message you.\r<br />Names entered in this section will appear in the drop down list when sending a new PM, allowing you to quickly choose the members name when sending a message.\r<br />\r<br /><b>Archive Messages</b>\r<br />\r<br />If your messenger folders are full and you are unable to receive new messages, you can archive them off. This compiles the messages into a single HTML page or Microsoft © Excel Format. This page is then emailed to your registered email address for your convenience.\r<br />\r<br /><b>Saved (Unsent) PMs</b>\r<br />\r<br />This area will allow you to go back to any PM\'s that you have chosen to save to be sent later.\r<br />\r<br /><b>Message Tracker</B>\r<br />\r<br />This is the page that any messages that you have chosen to track will appear. Details of if and when they have been read by the recipient will appear here. This also gives you the chance to delete any messages that you have sent and not yet been read by the intended recipient.', description='How to send personal messages, track them, edit your messenger folders and archive stored messages.' WHERE id=6";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Contacting the moderating team & reporting posts', text='<b>Contacting the moderating team</b>\r<br />\r<br />If you need to contact a moderator or simply wish to view the complete administration team, you can click the link \'The moderating team\' found at the bottom of the main board page (the first page you see when visiting the board), or from \'My Assistant\'.\r<br />\r<br />This list will show you administrators (those who have administration control panel access), global moderators (those who can moderate in all forums) and the moderators of the individual forums.\r<br />\r<br />If you wish to contact someone about your member account, then contact an administrator - if you wish to contact someone about a post or topic, contact either a global moderator or the forum moderator.\r<br />\r<br /><b>Reporting a post</b>\r<br />\r<br />If the administrator has enabled this function on the board, you\'ll see a \'Report\' button in a post, next to the \'Quote\' button. This function will let you report the post to the forum moderator (or the administrator(s), if there isn\'t a specific moderator available). You can use this function when you think the moderator(s) should be aware of the existance of that post. However, <b>do not use this to chat with the moderator(s)!</b>. You can use the email function or the Personal Messenger function for that.', description='Where to find a list of the board moderators and administrators.' WHERE id=7";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Viewing members profile information', text='You can view a members profile at any time by clicking on their name when it is underlined (as a link) or by clicking on their name in a post within a topic.\r<br />\r<br />This will show you their profile page which contains their contact information (if they have entered some) and their \'active stats\'.\r<br />\r<br />You can also click on the \'Mini Profile\' button underneath their posts, this will show up a mini \'e-card\' with their contact information and a photograph if they have chosen to have one.', description='How to view members contact information.' WHERE id=8";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Viewing active topics and new posts', text='You can view which new topics have new replies today by clicking on the \'Today\'s Active Topics\' link found at the bottom of the main board page (the first page you see when visiting the board). You can set your own date criteria, choosing to view all topics with new replies during several date choices.\r<br />\r<br />The \'View New Posts\' link in the member bar at the top of each page, will allow you to view all of the topics which have new replies in since your last visit to the board.', description='How to view all the topics which have a new reply today and the new posts made since your last visit.' WHERE id=9";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Searching Topics and Posts', text='The search feature is designed to allow you to quickly find topics and posts that contain the keywords you enter.\r<br />\r<br />There are two types of search form available, simple search and advanced search. You may switch between the two using the \'More Options\' and \'Simple Mode\' buttons.\r<br />\r<br /><b>Simple Mode</b>\r<br />\r<br />All you need to do here is enter in a keyword into the search box, and select a forum(s) to search in. (to select multiple forums, hold down the control key on a PC, or the Shift/Apple key on a Mac) choose a sorting order and search.\r<br />\r<br /><b>Advanced Mode</b>\r<br />\r<br />The advanced search screen, will give you a much greater range of options to choose from to refine your search. In addition to searching by keyword, you are able to search by a members username or a combination of both. You can also choose to refine your search by selecting a date range, and there are a number of sorting options available. There are also two ways of displaying the search results, can either show the post text in full or just show a link to the topic, can choose this using the radio buttons available.\r<br />\r<br />If the administrator has enabled it, you may have a minimum amount of time to wait between searches, this is known as search flood control.\r<br />\r<br />There are also search boxes available at the bottom of each forum, to allow you to carry out a quick search of all of the topics within that particular forum.', description='How to use the search feature.' WHERE id=10";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Logging in and out', text='If you have chosen not to remember your log in details in cookies, or you are accessing the board on another computer, you will need to log into the board to access your member profile and post with your registered name.\r<br />\r<br />When you log in, you have the choice to save cookies that will log you in automatically when you return. Do not use this option on a shared computer for security.\r<br />\r<br />You can also choose to hide - this will keep your name from appearing in the active users list.\r<br />\r<br />Logging out is simply a matter of clicking on the \'Log Out\' link that is displayed when you are logged in. If you find that you are not logged out, you may need to manually remove your cookies. See the \'Cookies\' help file for more information.', description='How to log in and out from the board and how to remain anonymous and not be shown on the active users list.' WHERE id=11";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='My Assistant', text='This feature is sometimes referred to as a \'Browser Buddy\'. \r<br />\r<br />At the top it tells you how many posts have been made since you last visited the board.. Also underneath this the number of posts with replies that have been made in topics that the individual has also posted in.\r<br />Click on the \'View\' link on either of the two sentences to see the posts.\r<br />\r<br />The next section is five links to useful features:\r<br /><ul>\r<br /><li>The link to the moderating team is basically a quick link to see all those that either administrate or moderate certain forums on the message board.</li>\r<br /><li> The link to \'Today\'s Active Topics\' shows you all the topics that have been created in the last 24 hours on the board.</li>\r<br /><li>Today\'s Top 10 Posters link shows you exactly as the name suggests. It shows you the amount of posts by the members and also their total percentage of the total posts made that day.</li>\r<br /><li>The overall Top 10 Posters link shows you the top 10 posters for the whole time that the board has been installed.</li>\r<br /><li>My last 10 posts links to the latest topics that you have made on the board. These are shortened on the page, to save space, and are linked to if you require to read more of them.</li>\r<br /></ul>The two search features allow you to search the whole board for certain words in a whole topic. It isn\'t as featured as the normal search option so it is not as comprehensive.\r<br />\r<br />The Help Search is just as comprehensive as the normal help section\'s search function and allows for quick searching of all the help topics on the board.', description='A comprehensive guide to use this handy little feature.' WHERE id=12";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Posting', text='There are three different posting screens available. The new topic button, visible in forums and in topics allows you to add a new topic to that particular forum. The new poll button (if the admin has enabled it) will also be viewable in topics and forums allowing you to create a new poll in the forum. When viewing a topic, there will be an add reply button, allowing you to add a new reply onto that particular topic. \r\n<br />\r\n<br /><b>Posting new topics and replying</b>\r\n<br />\r\n<br />When making a post, you will most likely have the option to use IBF code when posting. This will allow you to add various types of formatting to your messages. For more information on this, click the \'BB Code Help\' link under the emoticon box to launch the help window.\r\n<br />\r\n<br />On the left of the text entry box, there is the clickable emoticons box - you can click on these to add them to the content of your message (these are sometimes known as \'smilies\').\r\n<br />\r\n<br />There are three options available when making a post or a reply. \'Enable emoticons?\' if this is unchecked, then any text that would normally be converted into an emoticon will not be. \'Enable signature?\' allows you to choose whether or not you would like your signature to appear on that individual post. \'Enable email notification of replies?\' ticking this box will mean that you will receive e-mail updates to the topic, see the \'Email Notification of new messages\' help topic for more information on this.\r\n<br />\r\n<br />You also have the option to choose a post icon for the topic/post when creating one. This icon will appear next to the topic name on the topic listing in that forum, or will appear next to the date/time of the message if making a reply to a topic.\r\n<br />\r\n<br />If the admin has enabled it, you will also see a file attachments option, this will allow you to attach a file to be uploaded when making a post. Click the browse button to select a file from your computer to be uploaded. If you upload an image file, it may be shown in the content of the post, all other file types will be linked to.\r\n<br />\r\n<br /><b>Poll Options</b>\r\n<br />\r\n<br />If you have chosen to post a new poll, there will be an extra two option boxes at the top of the help screen. The first input box will allow you to enter the question that you are asking in the poll. The text field underneath is where you will input the choices for the poll. Simply enter a different option on each line. The maximum number of choices is set by the board admin, and this figure is displayed on the left.\r\n<br />\r\n<br /><b>Quoting Posts</b>\r\n<br />\r\n<br />Displayed below each post in a topic, there is a \'Quote\' button. Pressing this button will allow you to reply to a topic, and have the text from a particular reply quoted in your own reply. When you choose to do this, an extra text field will appear below the main text input box to allow you to edit the content of the post being quoted.\r\n<br />\r\n<br /><b>Editing Posts</b>\r\n<br />\r\n<br />Above any posts that you have made, you may see an \'Edit\' button. Pressing this will allow you to edit the post that you had previously made. \r\n<br />\r\n<br />When editing you may see an option to \'Add the \'Edit by\' line in this post?\'. If you tick this then it will show up in the posts that it has been edited and the time at which it was edited. If this option does not appear, then the edit by line will always be added to the post.\r\n<br />\r\n<br />If you are unable to see the edit button displayed on each post that you have made, then the administrator may have prevented you from editing posts, or the time limit for editing may have expired.\r\n<br />\r\n<br /><b>Fast Reply</b>\r\n<br />\r\n<br />Where it has been enabled, there will be a fast reply button on each topic. Clicking this will open up a posting box on the topic view screen, cutting down on the time required to load the main posting screen. Click the fast reply button to expand the reply box and type the post inside of there. Although the fast reply box is not expanded by default, you can choose the option to have it expanded by default, from the board settings section of your control panel. Pressing the \'More Options\' button will take you to the normal posting screen.', description='A guide to the features avaliable when posting on the boards.' WHERE id=13";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Member List', text='The member list, accessed via the \'Members\' link at the top of each page, is basically a listing of all of the members that have registered on the board. \r\n<br />\r\n<br />If you are looking to search for a particular member by all/part of their username, then in the drop down box at the bottom of the page, change the selection from \'Search All Available\' to \'Name Begins With\' or \'Name Contains\' and input all/part of their name in the text input field and press the \'Go!\' button. \r\n<br />\r\n<br />Also, at the bottom of the member list page, there are a number of sorting options available to alter the way in which the list is displayed. \r\n<br />\r\n<br />If a member has chosen to add a photo to their profile information, then a camera icon will appear next to their name, and you may click this to view the photo.', description='Explaining the different ways to sort and search through the list of members.' WHERE id=14";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Topic Options', text='At the bottom of each topic, there is a \'Topic Options\' button. Pressing this button will expand the topic options box. \r<br />\r<br />From this box, you can select from the following options: \r<br /><ul>\r<br /><li>Track this topic - this option will allow you to receive e-mail updates for the topic, see the \'Email Notification of new messages\' help file for more information on this</li>\r<br /><li>Subscribe to this forum - will allow you to receive e-mail updates for any new topics posted in the forum, see the Notification of new messages\' help file for more information on this</li>\r<br /><li>Download / Print this Topic - will show the topic in a number of different formats. \'Printer Friendly Version\' will display a version of the topic that is suitable for printing out. \'Download HTML Version\' will download a copy of the topic to your hard drive, and this can then be viewed in a web browser, without having to visit the board. \'Download Microsoft Word Version\' will allow you to download the file to your hard drive and open it up in the popular word processing application, Microsoft Word, for viewing offline.</li>\r<br /></ul>', description='A guide to the options avaliable when viewing a topic.' WHERE id=15";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Calendar', text='This board features it\'s very own calendar feature, which can be accessed via the calendar link at the top of the board.\r<br />\r<br />You are able to add your own personal events to the calendar - and these are only viewable by yourself. To add a new event, use the \'Add New Event\' button to be taken to the event posting screen. There are three types of events that you can now add:\r<br /><ul>\r<br /><li>A single day/one off event can be added using the first option, by just selecting the date for it to appear on.</li>\r<br /><li>Ranged Event - is an event that spans across multiple days, to do this in addition to selecting the start date as above, will need to add the end date for the event. There are also options available to highlight the message on the calendar, useful if there is more than one ranged event being displayed at any one time.</li>\r<br /><li>Recurring Event - is a one day event, that you can set to appear at set intervals on the calendar, either weekly, monthly or yearly.</li>\r<br /></ul>If the admistrator allows you, you may also be able to add a public event, that will not just be shown to yourself, but will be viewable by everyone.\r<br />\r<br />Also, if the admistrator has chosen, there will be a link to all the birthdays happening on a particular day displayed on the calendar, and your birthday will appear if you have chosen to enter a date of birth in the Profile Info section of your control panel.', description='More information on the boards calendar feature.' WHERE id=16";
|
||||
|
||||
ADD rss_import_auth_pass VARCHAR( 255 ) DEFAULT 'Not Needed' NOT NULL";
|
||||
|
||||
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Преимущества регистрации', text='Для полноценного использования всех функций форума, администратор требует зарегистрироваться на форуме. Регистрация на форуме абсолютно бесплатна и отнимет у вас всего лишь пару минут. <br /> <br />При регистрации необходимо обязательно указать ваш реальный e-mail адрес. Администратор может потребовать от вас подтверждения Вашей регистрации по указанному вами e-mail адресу. Если данное требование администратора включено, вы будете извещены об этом во время регистрации. Если вы по какой-то причине не получили письма для активации, зайдите на форум и в правой верхней части форума, воспользуйтесь ссылкой «Выслать повторно письмо для активации». <br /><br />Также возможно, что администратор сам должен будет одобрить вашу регистрацию. Об этом вы также будете извещены во время регистрации. <br /> <br />После завершения регистрации и успешной авторизации на форуме, вы получите доступ к вашей панели управления и ящику личных сообщений форума.<br /><br />Для получения дополнительной информации по этим функциям и характеристикам форума, пожалуйста, смотрите соответствующие разделы помощи по форуму.', description='Как зарегистрироваться и получить дополнительные преимущества зарегистрированных пользователей.' WHERE id=1";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Cookies и их использование', text='Использование cookies не обязательно, но настоятельно рекомендуется. Cookies используются для осуществления отслеживания различной информации на форуме при каждом посещении форума, а так же возможность автоматического входа на форум при вашем возвращении.<br /><br />Если ваш компьютер не может использовать cookie при просмотре форума, то система автоматически будет добавлять ко всем ссылкам на форуме идентификатор сессии, что позволит форуму правильно отслеживать ваши действия.<br /><br /><br /><b>Очистка Cookies</b><br /><br />В любой момент вы можете очистить cookies, нажав на ссылку, находящуюся в нижней части главной страницы форума (это самая первая страница форума). Если это не сработало, то вам необходимо удалить cookies вручную.<br /><br /><i>Internet Explorer 7:</i><ul><li>Нажмите меню «Сервис» в вашем браузере.</li><li>Выберете пункт «Свойства обозревателя».</li><li>Под секцией «Журнал» нажмите кнопку «Удалить».</li><li>Выберете опцию удаления cookies.</li></ul><i>Internet Explorer 6:</i><ul><li>Нажмите меню «Сервис» в вашем браузере.</li><li>Выберете пункт «Свойства обозревателя».</li><li>Под секцией «Временные файлы Интернета» нажмите кнопку «Удалить Cookie».</li></ul><i>Firefox:</i><ul><li>Нажмите меню «Сервис» в вашем браузере.</li><li>Выберете пункт «Очистить личные данные».</li><li>Пункт «Cookies» должен быть выбран.</li><li>Нажмите «Очистить личные данные сейчас».</li></ul><i>Opera:</i><ul><li>Нажмите меню «Сервис» в вашем браузере.</li><li>Выберете пункт «Настройки».</li><li>Выберете опцию «Расширенные».</li><li>Выберете опцию «Cookies».</li><li>Выберете «Управление Cookies».</li><li>Выберете сайт, cookies которого вы хотите удалить.</li><li>Выберете опцию «Удалить».</li></ul><i>Safari:</i><ul><li>Из меню «Safari» выберете пункт «Настройки».</li><li>Из диалогового окна безопасности выберете «Закладки».</li><li>Нажмите «Показать Cookies».</li><li>Выберете cookie (или несколько) для удаления или нажмите кнопку «Удалить все».</li></ul>', description='Преимущества использования cookies и удаление cookies, установленных форумом.' WHERE id=2";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Восстановление утерянного или забытого пароля', text='Главной характеристикой форума является безопасность, и поэтому все пароли пользователей кодируются при регистрации.<br />Это означает, что мы не в состоянии выслать вам, ваш забытый пароль, <nobr>т.к.</nobr> «раскодировка» пароля невозможна. Но, тем не менее, вы можете восстановить свой пароль.<br /><br />Для восстановления пароля, зайдите по ссылке <a href='index.php?act=Reg&CODE=10'>Восстановление забытого пароля</a>, которая находится на странице авторизации.<br /><br />С дальнейшей инструкцией по восстановлению, вы можете ознакомиться уже там.', description='Как восстановить забытый пароль.' WHERE id=3";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Ваша панель управления (Личные данные)', text='В панели управления вы можете задать свои настройки для форума. Вы можете выбрать, как будет выглядеть, и работать форум для вас.<br /><br /><b>Личный ящик</b><br />Раздел помощи по использованию Личного ящика вы можете найти в соответствующем разделе помощи на форуме.<br /><br /><b>Подписки</b><br /><br /><i>Темы:</i><br />Здесь представлен список тем, на которые вы подписаны. Вы можете изменить тип уведомлений для каждой темы. Здесь же вы можете удалить подписки на выбранные темы.<br /><br /><i>Форумы:</i><br />Здесь представлен список форумов, на которые вы подписаны. Вы можете изменить тип уведомлений для каждого форума. Здесь же вы можете удалить подписки на выбранные форумы.<br /><br /><b>Ваш профиль</b><br /><br /><i>Изменить личные данные:</i><br />Здесь вы можете указать личную информацию, например дату вашего рождения и контактную информацию.<br /><br /><i>Изменить настройки анкеты:</i><br />Здесь вы можете изменить информацию о себе, установить опции уведомления и модерации комментариев и друзей.<br /><br /><i>Изменить подпись:</i><br />Здесь вы можете увидеть и изменить вашу подпись. У вас есть возможность использовать в подписи коды форума и зачастую <acronym title="HyperText Markup Language" lang="en">HTML</acronym> коды, если администратор форума поддерживает это.<br /><br /><i>Установка аватара:</i><br />Здесь вы можете увидеть и изменить свой аватар. В зависимости от установок форума, настроенных администратором, можно выбрать аватар в галерее аватаров форума, либо ввести ссылку на аватар, находящийся на другом сайте, либо загрузить личный аватар с вашего компьютера. Изображение, загружаемое с вашего компьютера, будет отмасштабировано до установленных администратором размеров.<br /><br /><i>Установка фотографии:</i><br />Если администратор форума разрешает вашей группе пользователей размещать персональную фотографию, то вы можете загрузить изображение, которые будет отображено в вашем профиле.<br /><br /><i>Изменить отображаемое имя:</i><br />Если поддерживается система отображаемых имен, то в этой секции вы можете задать имя для вашего отображения на форуме.<br /><br /><b>Настройки:</b><br /><br /><i>Покупка оплачиваемых рассылок:</i><br />В этой секции располагается система оплачиваемых подписок, если она поддерживается на форуме. Вы можете выбрать пакеты подписки и оплатить их или обновить существующие подписки.<br /><br /><i>Прикрепленные файлы (attach’и):</i><br />Здесь вы можете смотреть и удалять свои прикрепленные файлы.<br /><br /><i>Список друзей:</i><br />Здесь вы можете подтвердить запросы пользователей ожидающих добавления в ваш список друзей (при условии, что вы включили опцию модерации друзей в настройках вашей анкеты).<br /><br /><i>Игнорирование пользователей:</i><br />Здесь вы можете управлять списком игнорированных пользователей.<br /><br /><i>Настройки <nobr>e-mail</nobr>:</i><br />На этой странице доступно несколько параметров настроек.<ul><li><u>Скрытые настройки</u><ul><li><i>Скрыть мой адрес <nobr>e-mail</nobr> от других пользователей</i> — Вы можете запретить показывать ваш <nobr>e-mail</nobr> адрес пользователям форума.</li><li><i>Сообщать мне обо всех изменениях, проводимых администратором форума</i> — Администратор может периодически делать рассылки пользователям, чтобы сообщить об изменениях на форуме.</li></ul></li><li><u>Настройки Форума</u><ul><li><i>Добавлять копию сообщения из подписанных тем в отправляемое <nobr>письмо-уведомление</nobr></i> — Включив эту функцию, копия новой темы или сообщения будет выслана вам на <nobr>e-mail</nobr>.</li><li><i>Уведомлять меня по <nobr>e-mail</nobr> при получении новых личных сообщений</i> — Включив эту функцию, вы будете уведомлены на <nobr>e-mail</nobr> о получении личного сообщения.</li><li><i>Включить уведомления на <nobr>e-mail</nobr> по умолчанию?</i> — При включении этой опции вы будете автоматически подписаны на все новые и обновленные темы. Используйте выпадающее меню для выбора способа уведомления.</li></ul></li></ul><i>Настройки форума:</i><br />В этой секции вы можете управлять настройками по внешнему виду форума. Вы можете выбрать часовой пояс и различные опции отображения форума. Там же доступен выбор типа текстового редактора для публикации
Line truncated
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='E-mail уведомление о новых сообщениях', text='На форуме существует возможность уведомлять вас о новых сообщениях в темах. Многие пользователи с успехом используют эту функцию для своевременного извещения о том, что в теме имеются новые сообщения.<br /> <br />Существует три способа подписки на тему: <ul><li>Нажав на кнопку «Опции», которая находится в верхней части каждой темы, и выбрав пункт «Подписка на тему».</li><li>С помощью установки галочки в окошко «Включить уведомление на <nobr>e-mail</nobr> при ответах?», находящееся под формой ответа.</li><li>Через пункт «Настройки <nobr>e-mail</nobr>» в вашей панели управления (Личные данные), установив галочку на опции «Включить <nobr>E-mail</nobr> Уведомление по умолчанию?», после чего вы будете автоматически подписываться на все темы, в которые вы ответите.</li></ul>Так же существует четыре разных типов подписки:<br /><br /><b>Немедленное уведомление</b><br />Эта опция позволяет отправлять уведомление сразу же после того, как новая тема или ответ был создан, независимо от вашей активности.<br /><br /><b>Уведомление с задержкой</b><br />Эта опция позволяет отправлять уведомление о новой теме или сообщении, если вас не было на форуме.<br /><br /><b>Ежедневное уведомление</b><br />Эта опция включает ежедневную рассылку обзора новых тем и сообщений за день.<br /><br /><b>Еженедельное уведомление</b><br />Эта опция позволяет отправлять еженедельный обзор новых тем и сообщений за неделю.<br /><br /> <br />Вы также можете подписаться на любой из разделов форума и при появлении новой темы в этом разделе, вы будете уведомлены об этом. Для подписки на раздел, нажмите кнопку «Опции форума», находящуюся в верхней части каждого форума, и выбрав пункт «Подписаться на форум».<br /> <br />Чтобы удалить подписки на любые разделы или темы, вам нужно зайти в «Личные данные», затем в разделе «Подписки» отменить их.', description='Как подписаться на тему для получения уведомлений по e-mail о новых ответах.' WHERE id=5";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Личный ящик (PM)', text='Ваш личный ящик на форуме, действует аналогично <nobr>e-mail</nobr> ящику. Здесь вы можете получать и отправлять письма пользователям форума, хранить ваши письма в директориях, создавать, редактировать и удалять директории.<br /><br /><b>Новое личное сообщение</b><br />Отсюда вы можете отправить приватное сообщение пользователю форума. Если у вас есть пользователи в списке друзей, то вы можете выбрать имя получателя оттуда или ввести имя пользователя в соответствующем поле формы отправки сообщения. Это поле автоматически заполнится, если вы нажмете в <nobr>каком-либо</nobr> сообщении в темах или в списке пользователей на кнопку «Приват» рядом с пользователем.<br />Так же существует опция поиска имен пользователей, которая автоматически предлагает имена пользователей из базы данных для вставки в поле получателя сообщения.<br /><br />Если администратор форума разрешил отправлять письма нескольким пользователям одновременно, вы можете ввести имена сразу нескольких пользователей, — по одному имени на строку, в окне «Копия пользователям». Вы так же можете воспользоваться опцией скрытия получателей копии сообщения от других пользователей.<br /><br />В некоторых случаях, если это разрешено администратором, вы даже можете использовать коды форума и <acronym title="HyperText Markup Language" lang="en">HTML</acronym> в. тексте ваших писем. Вы также можете выбрать пункт «Добавить копию этого сообщения в директорию „Отправленные“» для сохранения копии письма в директории отправленных писем. При установке галочки в окошке «Проследить за этим сообщением?», вы сможете прослеживать через пункт меню «Слежение за сообщениями» состояние того, что прочитано ли ваше письмо адресатом.<br /><br />Наконец, если доступно, то вы можете добавить приложение к личному сообщению, например изображение или файл.<br /><br /><b>Входящие</b><br />Это директория для входящих личных сообщений, адресованных к вам. Нажав на заголовок сообщения, вы увидите содержание личного сообщения в привычном виде просмотра тем на форуме. Вы так же можете удалить или переместить сообщение из директории.<br /><br /><b>Отправленные</b><br />В этой директории хранятся копии отправленных сообщений, которые попадают сюда при выборе опции копирования сообщения при отправлении.<br /><br /><b>Неотправленные</b><br />Здесь вы можете вернуться к любому письму, которое вы решили сохранить, для отправки его позже.<br /><br /><b>Очистка папок</b><br />Через эту опцию, вы можете быстро удалить все письма из любых ваших папок.<br /><br /><b>Редактировать директории</b><br />Здесь вы можете переименовывать, удалять или создавать новые директории для сортировки ваших писем так, как вам будет более удобно. Вы не можете удалять только две директории, созданные самим форумом — это директория «Отправленные» и «Входящие».<br /><br /><b>Черный список</b><br />Сюда вы можете добавлять имена пользователей или редактировать уже введенные. Эта секция используется как черный список пользователей, от которых вы не хотите получать личные сообщения.<br /><br /><b>Архивирование сообщений</b><br />Если ваш Личный Ящик переполнен, и в связи с этим вы не в состоянии получать новые письма, то можно произвести архивацию писем. Все ваши письма будут скомпилированы на одной странице в формате <acronym title="HyperText Markup Language" lang="en">HTML</acronym> или Microsoft Excel, а затем высланы на ваш <nobr>e-mail</nobr> адрес, указанный вами при регистрации на форуме.<br /><br /><b>Слежение за сообщениями</b><br />На этой странице появляются все письма, за которыми вы решили проследить. Все данные о том, прочитаны ли ваши письма получателями и когда они прочитаны, — появляются здесь. Также, если вы передумали, и если письмо пока не прочитано получателем, вы можете удалить это письмо.', description='Отправка личных сообщений, редактирование папок Личного Ящика, слежение за письмами, архивация сохраненных сообщений.' WHERE id=6";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Связь с администрацией и доклад модератору о сообщениях', text='<b>Связь с администрацией форума</b><br /><br />Для связи с модератором или просто для просмотра списка администрации форума, нажмите на ссылку «Администрация», находящуюся в нижней части главной страницы форума или на странице «Помощник».<br /><br />В этом списке вы увидите имена всех администраторов (это главные администраторы форума, имеющие доступ ко всем функциям), супермодераторов (это команда модераторов, имеющих возможность модерирования всех разделов форума) и модераторов (это модераторы, модерирующие индивидуальные разделы форума, в которые они назначены).<br /><br />Для связи по поводу изменения пользовательских данных, работы форума, необходимо связаться непосредственно с администратором форума, а для связи по поводу тем или сообщений, обращайтесь к супермодератором или модераторам.<br /><br /><b>Жалоба модератору о сообщении</b><br /><br />Если администратор форума включил эту функцию, вы увидите кнопку «Жалоба», внизу каждого сообщения темы. При помощи этой функции, вы сможете быстро сообщить о сообщении модератору данного раздела форума (или администратору, — если в данном форуме нет назначенных модераторов). Используйте эту функцию только в том случае, если вы видите <nobr>какие-либо</nobr> нарушения правил форума в данном сообщении. Запрещено использовать эту функцию <b>для простых переговоров с модератором</b>. Для переговоров, вы можете использовать PM (Личный ящик форума).', description='Где найти список администраторов и модераторов форума.' WHERE id=7";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Просмотр информации профиля пользователей', text='Чтобы посмотреть профиль пользователя, вам нужно нажать на его имя в любом месте на форуме. Если вы хотите посмотреть собственный профиль, то кликните на свое имя в верхней части форума.<br /><br />На главной странице профиля находится две неподвижные области, а по середине — секция, снабженная закладками.<br /><br /><b>Персональная информация</b><br />Эта секция, расположенная слева, отображает различную информацию пользователя. В нее входит: персональная фотография (если она загружена), рейтинг пользователя, набор различных опций (например, поиск сообщений пользователя), персональная информация с уточнением возраста, пола и местоположения. Ниже вы можете увидеть статистику пользователя (число сообщений, дата регистрации и другие) и информацию для связи с ним.<br /><br />В центре находится секция с разными закладками. Здесь вы можете найти последние сообщения пользователя, комментарии и список его друзей (вы можете увидеть профиль друзей, нажав на их имена). Так же, если на форуме установлена система Invision Power Gallery и Blog, то вы увидите дополнительные закладки. Секция галереи покажет последние шесть загруженных изображений, в то время как секция блога покажет последние пять записей в блоге.<br /><br />С правой стороны вы можете увидеть, кто посещал этот профиль, оставленные комментарии и список друзей пользователя.<br /><br /><b>Добавление комментария</b><br />У вас есть возможность оставлять комментарии о других пользователях. Когда вы просматриваете профиль, справа вы можете увидеть секцию с последними комментариями. Если вы нажмете на кнопку «Добавить комментарий», то в появившемся окне вы можете написать комментарий.<br /><br /><b>Модерация комментариев</b><br />Если грубый или же оскорбительный комментарий оставлен другим пользователем, то вы можете удалить комментарий двумя способами.<br /><br />Первое, вы можете нажать на закладку «Комментарии», найти комментарий, поставить галочку напротив, затем выбрать из выпадающего меню «Удалить выбранные комментарии». Второе, вы можете нажать на маленькую кнопку «Х» в секции последних добавленных комментариев.<br /><br />Вы можете модерировать комментарии похожим методом. Неподтвержденные комментарии не будут отображены, в то время как подтвержденные комментарии будут доступны для всех. Вместо функции «Удалить выбранные комментарии» выберете опцию подтвердить или не подтвердить выбранные комментарии.<br /><br /><b>Рейтинг пользователя</b><br />Профиль поддерживает систему рейтинга пользователей. Это дает возможность понижать рейтинг проблемных пользователей или повышать оценку хорошим пользователям. Для изменения рейтинга откройте профиль пользователя, затем кликните на звездочки, выбирая рейтинг.<br /><br /><b>Изменение ваших персональных настроек</b><br />Будучи авторизованным на форуме во время просмотра своего профиля, вы можете увидеть дополнительную закладку в середине, которая называется «Настройки». Выбрав эту закладку, вы увидите некоторую информацию по изменению настроек вашего профиля. Здесь вы можете загрузить персональную фотографию или удалить её. Если выбрана опция удаления, то фотография будет удалена, когда вы нажмете кнопку «Сохранить настройки» Так же вы можете изменить информацию о себе. Это поле очень похоже на вашу подпись, но оно привязано непосредственно в ваш профиль, а не к вашим сообщениям как подпись. Немного ниже вы можете выбрать способы уведомления о новых пользователях, добавивших вас в друзья и об оставленных комментариях. Вы можете отключить уведомление или включить уведомление по <nobr>e-mail</nobr> или личным сообщением. Внизу вы можете выбрать опции модерации комментариев, до того как они были опубликованы в профили, и так же выбрать тип модерации для добавления в список друзей.<br /><br />С левой стороны страницы профиля вы можете изменять вашу персональную информацию. Вы можете задать ваш пол, дату рождения, местоположение, а так же изменить данные для связи.', description='Как посмотреть контактную информацию пользователя.' WHERE id=8";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Просмотр активных тем и новых сообщений', text='Вы можете быстро просмотреть список сегодняшних активных тем (это темы, имеющие новые ответы), нажав на ссылку «Активные темы», находящуюся в нижней части главной страницы форума. Там же, вы можете установить свои критерии поиска по дате, для поиска активных тем, обновленных в течение нескольких дней.<br /><br />В верхней части форума вы можете найти ссылку «Новые сообщения», перейдя по которой мы можете увидеть список тем с новыми ответами с момента вашего последнего посещения форума.', description='Как просмотреть список сегодняшних активных тем и новые сообщения, появившиеся с момента вашего последнего посещения форума.' WHERE id=9";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Поиск тем и сообщений', text='Функция поиска, предназначена для быстрого поиска тем и сообщений, по введенным вами ключевым словам.<br /><br />Имеются два доступных типа поиска, простой поиск и расширенный поиск. Вы можете переключаться между ними, при помощи кнопок «Расширенный поиск» и «Простой поиск».<br /><br /><b>Простой поиск</b><br /><br />Здесь Вы должны ввести ключевое слово для поиска и выбрать форум (ы), в которых хотите найти <nobr>что-то</nobr> по этому слову, (для выбора нескольких форумов одновременно, необходимо кликать по их названиям, удерживая кнопку «Ctrl», а пользователи Mac, должны удерживать кнопки «Shift»/«Apple»), затем выбрать порядок сортировки найденного и искать.<br /><br /><b>Расширенный поиск</b><br /><br />На странице расширенного поиска, у вас появится возможность использования дополнительных критериев поиска, значительно улучшающих функцию поиска. Дополнительно к поиску по ключевому слову, вы сможете произвести поиск по имени пользователя, а также возможно использование сразу обеих комбинаций. Можно увеличить критерии поиска, посредством выбора диапазона дат, а также выбрать порядок сортировки найденного. Также имеется два вида отображения результатов поиска — в виде отображения полного текста сообщения и в виде ссылки на тему. Вид отображения, вы можете заранее указать, на странице поиска.<br /><br />Администратор может включить минимальное время, известное под названием <nobr>«Флуд-контроль»</nobr>, которое вы должны будете прождать для повторного поиска.<br /><br />На форуме имеется также поисковая форма, известная под названием «Фильтр поиска», находящаяся в нижней части каждого раздела, через которую вы сможете произвести быстрый поиск в конкретном разделе форума.', description='Как пользоваться функцией поиска.' WHERE id=10";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Авторизация и Выход из форума', text='Если вы выбрали не запоминать ваши данные во время авторизации в cookies или вы зашли на форум с другого компьютера, то вы должны авторизироваться на форуме для доступа к вашему профилю и отправке сообщений под вашим именем.<br /><br />При входе на форум вы можете сохранить cookies, которые авторизируют вас автоматически при повторном посещении. Не используйте эту опцию при посещении с чужого компьютера в целях безопасности.<br /><br />Вы можете также выбрать функцию скрытия, поставив галочку в окне «Скрытность». Тогда ваше имя не будет отображаться в списке «Кто в онлайне», если администратор форума включил эту возможность.<br /><br />Выход из форума производится простым нажатием на ссылку «Выход». Если вдруг вы обнаружите, что выход не сработал, возможно, вы должны будете удалить ваши cookies. Читайте раздел помощи про «Cookies» для дополнительной информации.', description='Как авторизоваться, выйти из форума, а также как скрыть свое имя из списка пользователей, находящихся на форуме.' WHERE id=11";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Помощник', text='В верхней части форума находится ссылка «Помощник». Этот инструмент позволяет быстро попасть во многие важные секции форума.<br /><br />Помощник разделен на четыре секции:<ul><li>Информация — эта секция показывает ежедневную и общую информацию о лучших пользователях по количеству сообщений, отображает ссылку на ваши последние сообщения. Так же вы можете увидеть список администрации форума.</li></ul><ul><li>Новые сообщения — отображает ссылки на новые сообщения, появившиеся на форуме после вашего последнего посещения и как давно они были написаны.</li></ul><ul><li>Поиск — используя эту секцию, вы можете задать простой поиск по форуму. В этом блоке покажется результат поиска, нажав на который вы можете посмотреть подробный список найденного.</li></ul><ul><li>Личные сообщения — здесь вы можете увидеть последние 5 личных сообщений, и когда они были получены.</li></ul>Помощник так же используется когда приходят личные сообщения. Если вы выбрали опцию оповещения о новых личных сообщениях, то окно помощника появится на вашем экране.', description='Полный справочник по использованию этой маленькой, но удобной функции.' WHERE id=12";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Сообщения', text='На форуме доступны три разные формы создания сообщений. Кнопка «Открыть тему», находящаяся в каждом разделе форума и на странице тем, предназначена для создания новой темы. Кнопка «Добавить опрос» (если администратор разрешил это) позволяющая создать новый опрос на форум, так же появится при просмотре тем и форумов. При просмотре темы, вы увидите кнопку «Ответить», которая предназначена для добавления вашего сообщения в данную тему.<br /><br /><b>Создание новой темы и ответ в тему</b><br /><br />При написании сообщений, вас, вероятно, заинтересуют коды форума. Данные коды, предназначены для различного форматирования текстов ваших сообщений. Для получения более подробной информации об этом нажмите ссылку «<nobr>BB-коды</nobr> форума» под блоком смайликов, чтобы открыть окно с помощью.<br /><br />«Rich Text» редактор (RTE) — это WYSIWYG (What You See Is What You Get) редактор, похожий на WordPad. Вместо фрагментов <nobr>BB-кодов</nobr> вы увидите, как сообщение будет выглядеть в итоге, как в живом просмотре. Вы можете использовать преимущества этого редактора, если у вас есть браузер Internet Explorer 6 и выше или Firefox 1.5 и выше.<br /><br /><b>Панель инструментов<br /><br /></b>Слева на право, сверху вниз:<ul><li>Удалить форматирование: это удалит все форматирование из сообщения.</li><li>Специальные элементы: этот блок позволяет вам вставить специальный тег, например ссылка на тему или сообщение, и другие дополнительные BB-коды, которые разрешил администратор.</li><li>Шрифт: здесь вы можете выбрать шрифт вашего текста. Если вы используете «Rich Text» редактор, то выбранные шрифты будут отображены в вашем сообщении.</li><li>Размер: здесь вы можете выбрать один из семи разных размеров вашего текста.</li><li>Отмена и повтор: эти две стрелочки отменят или повторят ваше последнее действие.</li><li>Размер окна ввода: здесь вы можете увеличить или уменьшить размер окна для ввода сообщения.</li><li>Переключатель между Стандартным и «Rich Text» редактором: эта кнопка позволяет быстро переключиться между Стандартным и «Rich Text» редактором. Вы так же можете изменить это в настройках форума, в личном профиле.</li><li>Кнопки стиля: возможность преобразовать вызелененный текст в жирный, курсив и подчеркнутый.</li><li>Формат текста: эта кнопка позволяет выбрать надстрочный, подстрочный и зачеркнутый формат текста.</li><li>Цвет текста: этот блок отображает палитру цветов для текста.</li><li>Смайлики: кнопка меню с иконкой смайлика покажет список всех смайликов форума и позволит вам вставить нужный в сообщение.</li><li>Отступ: две кнопки позволят вам увеличить или уменьшить отступ.</li><li>Выравнивание текста: эти кнопки позволят вам выровнять выбранный текст по левому краю, по правому краю, по центру или по ширине.</li><li>Списки: две эти кнопки позволяют создать нумерованный или маркированный список.</li></ul><b>Боковая панель<br /><br /></b>Нажав на кнопку «Боковая панель», вы можете показать или скрыть секции со смайликами и дополнительными <nobr>BB-кодами</nobr>. Скрывая секции слева, вы увеличиваете поле для ввода сообщения.<br /><br /><b>Опции сообщения<br /><br /></b>На форуме доступны три опции при создании темы или ответе в тему. Если функция «Включить смайлы?» не выбрана, то картинки смайликов в сообщение вставлено не будет. Если же функция «Включить подпись?» не выбрана, то ваша подпись не будет добавлена к этому сообщению. Функция «Включить уведомление на <nobr>e-mail</nobr> при ответах?» позволяет вам получать уведомления на <nobr>e-mail</nobr> при ответах в эту тему. Так же есть опция использования <acronym title="HyperText Markup Language" lang="en">HTML</acronym> в. сообщении, если администратор форума позволяет это.<br /><br />Вы так же можете выбрать иконку к вашей теме или сообщению. Если вы создаете тему, то эта иконка появится рядом с заголовком темы. Если вы отвечаете в тему, то эта иконка появится рядом с датой написания сообщения.<br /><br /><b>Опции опроса</b><br /><br />При создании новой темы, под полями для ввода названия и описания темы, вы увидите ссылку «Нажмите сюда для управления опросом в этой теме». Нажав на это ссылку, вам откроются опции опроса. Первое поле служит для ввода в нем вопроса вашего голосования. Чтобы добавить вопрос к вашему опросу, нужно кликнуть на «Добавить ещё вопрос в опрос». Количество возможных опросов в одной теме и соответственно вариантов ответов устанавливается администратором
Line truncated
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Список пользователей', text='Список пользователей, доступный через ссылку «Пользователи», находящуюся в верхней части каждой страницы форума, — это полный список всех пользователей, зарегистрированных на форуме. <br /><br /><b>Основной поиск</b><br />Если вы хотите найти пользователя по имени, вы можете задать его имя в поле поиска. Опция «Начинается с» позволяет искать пользователей, чье имя начинается с введенных символов. Опция «Содержит» будет искать имена содержащих введенные символы.<br /><br />Если вы хотите найти пользователей только с фотографией в профиле, то поставьте галочку рядом с «Выводить пользователей с фотографией». Вы можете так же указать поиск по половой принадлежности пользователей и их рейтингу.<br /><br /><b>Расширенный поиск</b><br />Нажав на кнопку «Дополнительные параметры…» вы можете задать больше опций для поиска пользователей.<br /><br />Домашняя страница содержит: здесь можно задать слова для поиска по адресам домашних страниц пользователей.<br /><br />Подпись содержит: позволяет задать поиск слова, содержащегося в подписи пользователя.<br /><br />Пейджеры: в этой секции вы можете задать поиск по отображаемым именам в различных клиентах по обмену мгновенными сообщениями.<br /><br />Сортировка по сообщениям и датам: эта секция позволяет задать поиск по специальной информации. Например, найти пользователей зарегистрировавшихся, оставивших сообщение, посетивших форум до или после указанной даты.<br /><br /><b>Сортировка</b><br />Ниже находится секция поиска сортировки результата. Вы можете выбрать группы (или всех пользователей) в первом поле, затем сортировать по имени, сообщениям, дате регистрации или рейтингу (если доступно), а так же в возрастающем или убывающем виде. В последнем поле вы можете задать число найденных пользователей выводимых на каждую страницу.<br /><br /><b>Отображение пользователей</b><br />Внизу отображены карточки найденных пользователей. Там помещается стандартная информация о пользователе, включая его фотографию, если есть. Нажав на фотографию пользователя или имя, вы можете выбрать просмотр полного профиля, добавить его в друзья или найти его сообщения.', description='Различные способы сортировки и поиска пользователей по списку.' WHERE id=14";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Опции темы', text='В верхней части каждой темы имеется кнопка «Опции». При нажатии на эту кнопку раскроется меню с опциями темы. <br /><br />Из этого меню вы можете использовать следующие опции: <ul><li>Подписаться на тему — эта опция служит для получения уведомлений на <nobr>e-mail</nobr>, об обновлении темы. Для более подробной информации по этой части, читайте раздел помощи «Уведомление на <nobr>e-mail</nobr> о новых сообщениях».</li></ul><ul><li>Сообщить другу — данная опция позволит вам отправить ссылку на тему вашему другу на <nobr>e-mail</nobr> адрес.</li><li>Версия для печати — это отобразить тему в привычном печатном варианте, убрав изображения и используя стандартное расположение.</li><li>Скачать тему — дает возможность скачать текст темы к вам на компьютер. Версия для печати позволяет отобразить тему в простом виде для печати. <acronym title="HyperText Markup Language" lang="en">HTML</acronym> версия позволяет скачать копию темы на ваш жесткий диск, и она будет доступна для просмотра в браузере без посещения форума. Версия в формате Microsoft Word позволяет скачать тему в файл на ваш жесткий диск и открыть его в популярном редакторе Microsoft Word для просмотра.</li></ul><ul><li>Подписка на этот форум — эта опция служит для получения уведомлений на <nobr>e-mail</nobr>, о любых новых темах, созданных в этом форуме. Для более подробной информации по этой части, читайте раздел помощи «Уведомление на <nobr>e-mail</nobr> о новых сообщениях».</li></ul><div align="left">Вы также можете выбрать один из трех режимов отображения темы:<br /><br /><div align='left'><ul><li>Древовидный — покажет сообщение со списком ответов к нему в древовидном виде.</li></ul><ul><li>Стандартный — отобразит тему в стандартном виде одного сообщения под другим, установленном администратором.</li></ul><ul><li>Линейный — как и стандартный, но с опцией постоянного отображения первого сообщения на верху страницы вне зависимости от её номера.</li></ul></div></div>', description='Руководство по доступным опциям, при просмотре тем.' WHERE id=15";
|
||||
$UPDATES[] = "UPDATE ibf_faq SET title='Календарь', text='На форуме есть свой календарь, ссылка на который находится в верхней части форума.<br><br>Вы можете добавлять персональные события в календарь, которые будут видны только вам. Для добавления нового события, используйте кнопку «Добавить новое событие». Существует возможность создания событий трёх видов:<ul><li>Однодневное событие — для добавления этого вида, используйте первое поле, указав в нём дату события.</li><br><li>Многодневное событие — это вид события, предусмотренный на несколько дней. Для добавления этого вида, вам нужно отметить галочкой поле «Если это событие не действует весь день, вы можете указать начальное время». После этого появится поле, где можно будет выбрать временную зону и начальное время.</li><br><li>Повторяющееся событие — однодневное событие, появление которого вы можете указать с временной очерёдностью в календаре, каждую неделю, месяц, год.</li><br></ul>Если администратор форума позволит вам добавлять публичные события в календарь, то события созданные вами будут видны не только вам, но и всем остальным.<br><br>Также, если вы указали дату своего рождения в ваших персональных настройках, то в день вашего рождения на главной странице форума и календаря появится ссылка на ваш профиль, при условии, что администратор форума включил эту опцию.', description='Информация по использованию функции календаря форума.' WHERE id=16";
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
'21009' => '2.1.3',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -23,23 +23,23 @@
|
||||
|
||||
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.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -51,23 +51,23 @@ class version_upgrade
|
||||
$UPDATES = array();
|
||||
$file = '_updates.php';
|
||||
$cnt = 0;
|
||||
|
||||
|
||||
if ( file_exists( ROOT_PATH . 'upgrade/installfiles/upg_21003/' . strtolower($this->ipsclass->vars['sql_driver']) . $file ) )
|
||||
{
|
||||
require_once( ROOT_PATH . 'upgrade/installfiles/upg_21003/' . strtolower($this->ipsclass->vars['sql_driver']) . $file );
|
||||
|
||||
|
||||
$this->install->error = array();
|
||||
$this->sqlcount = 0;
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
|
||||
|
||||
foreach( $UPDATES as $q )
|
||||
{
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
$this->install->ipsclass->DB->error = '';
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->query( $q );
|
||||
|
||||
|
||||
if ( $this->install->ipsclass->DB->error )
|
||||
{
|
||||
$this->install->error[] = $query."<br /><br />".$this->install->ipsclass->DB->error;
|
||||
@@ -78,15 +78,15 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "$this->sqlcount help files updated....";
|
||||
|
||||
$this->install->message = "Îáíîâëåíî $this->sqlcount ðàçäåëîâ ïîìîùè...";
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,33 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
'21009' => '2.1.3',
|
||||
'21010' => '2.1.4',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,497 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1141210512">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>252</conf_id>
|
||||
<conf_title>Allowed avatar image URL extensions</conf_title>
|
||||
<conf_description>Seperate with comma (gif,png,jpeg) etc</conf_description>
|
||||
<conf_group>27</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>avatar_ext</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>gif,jpg,jpeg,png</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>13</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key>0</conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>userprofiles</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>37</conf_id>
|
||||
<conf_title>Print HTTP no-cache headers?</conf_title>
|
||||
<conf_description><![CDATA[(This will stop browsers caching pages)<br /><b>Note</b>: The setting 'Print HTTP Headers?' found under General Configuration needs to be enabled for this setting to have any effect.]]></conf_description>
|
||||
<conf_group>7</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>nocache</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>14</conf_position>
|
||||
<conf_start_group>Reducing HTML output</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key>0</conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>cpusaving</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>userprofiles</conf_title_keyword>
|
||||
<conf_title_title>User Profiles</conf_title_title>
|
||||
<conf_title_desc><![CDATA[This section allows you to adjust your member's global permissions and other options.]]></conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>cpusaving</conf_title_keyword>
|
||||
<conf_title_title><![CDATA[CPU Saving & Optimization]]></conf_title_title>
|
||||
<conf_title_desc>This section allows certain features to be limited or removed to get more performance out of your board.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>202</conf_id>
|
||||
<conf_title>Chat Site ID / Account No.</conf_title>
|
||||
<conf_description>If you are using Parachat v7 or greater, enter your site ID (1234, for example). If you are using an older version of Parachat please enter your group number (ip0000, for example)</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_account_no</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group>Account Specifics</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>351</conf_id>
|
||||
<conf_title>Custom Applet Codebase URL</conf_title>
|
||||
<conf_description><![CDATA[<strong>This should be left blank unless you have a local
|
||||
ParaChat Server installation or hosted ParaChat Enterprise solution.</strong>]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>parachat_codebase_url</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>350</conf_id>
|
||||
<conf_title>Chat Room Version</conf_title>
|
||||
<conf_description><![CDATA[The version of the Parachat chat software you're using]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>parachat_version</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>6</conf_default>
|
||||
<conf_extra>6=Parachat v6 or below
|
||||
7=Parachat v7 or greater</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>204</conf_id>
|
||||
<conf_title><![CDATA[Enable 'Who's Chatting?']]></conf_title>
|
||||
<conf_description><![CDATA[If enabled, this will show who's chatting in the chat room on your forums home page underneath the active users list.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_who_on</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>4</conf_position>
|
||||
<conf_start_group><![CDATA[Who's Chatting]]></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>205</conf_id>
|
||||
<conf_title><![CDATA[Hide Who's Chatting when no members are logged into chat?]]></conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_hide_whoschatting</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>5</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>209</conf_id>
|
||||
<conf_title>Chat Room Dimensions (WIDTH)?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_width</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>600</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>8</conf_position>
|
||||
<conf_start_group>Showing the chat room</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>210</conf_id>
|
||||
<conf_title>Chat Room Dimensions (HEIGHT)?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_height</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>350</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>9</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>213</conf_id>
|
||||
<conf_title>Load the chat room in...?</conf_title>
|
||||
<conf_description></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_display</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>self</conf_default>
|
||||
<conf_extra>self=Normal IPB Page</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>12</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>261</conf_id>
|
||||
<conf_title>Additional PARAM information</conf_title>
|
||||
<conf_description><![CDATA[Use this field to enter any custom param tags for the chat applet.
|
||||
Example:<br />
|
||||
<param name="cmd.BeepEnter" value="true">
|
||||
<br /><param name="cmd.BeepLeave" value="true">
|
||||
<br />Please refer to the Invision Chat documentation for more info.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>textarea</conf_type>
|
||||
<conf_key>chat04_customparams</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>13</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>211</conf_id>
|
||||
<conf_title>Chat Room Pop-up Window Padding? (in px)</conf_title>
|
||||
<conf_description>Allows window to open without scrollbars</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_poppad</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>50</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>14</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>214</conf_id>
|
||||
<conf_title>Allow chat access to these groups</conf_title>
|
||||
<conf_description>You may select more than one</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>multi</conf_type>
|
||||
<conf_key>chat04_access_groups</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>#show_groups#</conf_extra>
|
||||
<conf_evalphp><![CDATA[if ( $save == 1)
|
||||
{
|
||||
if ( is_array($_POST['chat04_access_groups']) )
|
||||
{
|
||||
$_POST['chat04_access_groups'] = implode(",",$_POST['chat04_access_groups']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$_POST['chat04_access_groups'] = "";
|
||||
}
|
||||
|
||||
$key = 'chat04_access_groups';
|
||||
}
|
||||
if ( $show == 1 )
|
||||
{
|
||||
$key = 'chat04_access_groups[]';
|
||||
}]]></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>25</conf_position>
|
||||
<conf_start_group>Access Permissions</conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>254</conf_id>
|
||||
<conf_title>Default Chat Room Language</conf_title>
|
||||
<conf_description>This is the default language used for the chat user inteface (buttons and labels, etc)</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_default_lang</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>english.conf</conf_default>
|
||||
<conf_extra>english.conf=English
|
||||
spanish.conf=Spanish
|
||||
portuguese.conf=Portuguese
|
||||
italian.conf=Italian
|
||||
french.conf=French
|
||||
german.conf=German</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>99</conf_position>
|
||||
<conf_start_group>Version 6 Settings (Not required for v7)</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>253</conf_id>
|
||||
<conf_title>Chat Room Type</conf_title>
|
||||
<conf_description>This is the type of chat service you purchased</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>dropdown</conf_type>
|
||||
<conf_key>chat04_servicetype</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra>advanced=Advanced
|
||||
premium=Premium</conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>100</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>252</conf_id>
|
||||
<conf_title>Default Chat Room</conf_title>
|
||||
<conf_description>This is the room that your chat users will be logged into first</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_default_room</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>Lobby</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>255</conf_id>
|
||||
<conf_title><![CDATA[Enable "Plain Mode"?]]></conf_title>
|
||||
<conf_description><![CDATA["Plain mode" removes the colored chat text from your Invision Power Chat Advanced room(s), and implements single-colored (non-GUI) chat text. This will disable the graphic emoticons and click-able URLs.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>chat04_plainmode</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>102</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>256</conf_id>
|
||||
<conf_title>Applet: Background Color</conf_title>
|
||||
<conf_description>To change your chat applet background color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_applet_bg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#BCD0ED</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>130</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>257</conf_id>
|
||||
<conf_title>Applet: Foreground Color</conf_title>
|
||||
<conf_description>To change your chat applet foreground color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_applet_fg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#345487</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>131</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>258</conf_id>
|
||||
<conf_title>Chat Window: Background Color</conf_title>
|
||||
<conf_description>To change your chat window background color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_window_bg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#F5F9FD</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>132</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>259</conf_id>
|
||||
<conf_title>Chat Window: Foreground Color</conf_title>
|
||||
<conf_description>To change your chat window foreground color select any RGB value.</conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_window_fg</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>#345487</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>133</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>260</conf_id>
|
||||
<conf_title>Chat Room Font Size</conf_title>
|
||||
<conf_description><![CDATA[To customize your font size replace "10" to whatever numeric value you wish.]]></conf_description>
|
||||
<conf_group>21</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>chat04_style_font_size</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>10</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>135</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>0</conf_add_cache>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>chat04</conf_title_keyword>
|
||||
<conf_title_title>Invision Chat Settings</conf_title_title>
|
||||
<conf_title_desc>This will allow you to customize your Invision Chat integration settings for the new 2004 edition</conf_title_desc>
|
||||
<conf_title_noshow>1</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -1,34 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
'21009' => '2.1.3',
|
||||
'21010' => '2.1.4',
|
||||
'21011' => '2.1.5',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
'21009' => '2.1.3',
|
||||
'21010' => '2.1.4',
|
||||
'21011' => '2.1.5',
|
||||
'21012' => '2.1.6',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,2 +0,0 @@
|
||||
<html>
|
||||
</html>
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
'21008' => '2.1.2',
|
||||
'21009' => '2.1.3',
|
||||
'21010' => '2.1.4',
|
||||
'21011' => '2.1.5',
|
||||
'21012' => '2.1.6',
|
||||
'21013' => '2.1.7',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -7,12 +7,12 @@
|
||||
$SQL[] = "TRUNCATE TABLE ibf_search_results;";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings_titles ADD conf_title_module varchar(200) NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings_titles change conf_title_desc conf_title_desc TEXT NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings_titles change conf_title_desc conf_title_desc TEXT NULL;";
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_value conf_value text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_default conf_default text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_extra conf_extra text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_conf_settings change conf_evalphp conf_evalphp text NOT NULL default '';";
|
||||
$SQL[] ="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[] = "CREATE TABLE ibf_converge_local (
|
||||
converge_api_code VARCHAR(32) NOT NULL default '',
|
||||
@@ -33,7 +33,7 @@ $SQL[] = "CREATE TABLE ibf_admin_login_logs (
|
||||
admin_username VARCHAR(40) NOT NULL default '',
|
||||
admin_time INT(10) UNSIGNED NOT NULL default '0',
|
||||
admin_success INT(1) UNSIGNED NOT NULL default '0',
|
||||
admin_post_details TEXT NOT NULL default '',
|
||||
admin_post_details TEXT NULL,
|
||||
PRIMARY KEY (admin_id),
|
||||
KEY admin_ip_address (admin_ip_address),
|
||||
KEY admin_time (admin_time)
|
||||
@@ -56,7 +56,7 @@ $SQL[] = "CREATE TABLE ibf_profile_comments (
|
||||
comment_by_member_id INT(10) UNSIGNED NOT NULL default '0',
|
||||
comment_date INT(10) UNSIGNED NOT NULL default '0',
|
||||
comment_ip_address VARCHAR(16) NOT NULL default '0',
|
||||
comment_content TEXT NOT NULL default '',
|
||||
comment_content TEXT NULL,
|
||||
comment_approved TINYINT(1) NOT NULL default '0',
|
||||
PRIMARY KEY( comment_id ),
|
||||
KEY my_comments( comment_for_member_id )
|
||||
@@ -77,8 +77,8 @@ $SQL[] = "CREATE TABLE ibf_profile_ratings (
|
||||
$SQL[] = "CREATE TABLE ibf_profile_portal (
|
||||
pp_member_id INT(10) NOT NULL default '0',
|
||||
pp_profile_update INT(10) UNSIGNED NOT NULL default '0',
|
||||
pp_bio_content TEXT NOT NULL default '',
|
||||
pp_last_visitors TEXT NOT NULL default '',
|
||||
pp_bio_content TEXT NULL,
|
||||
pp_last_visitors TEXT NULL,
|
||||
pp_comment_count INT(10) UNSIGNED NOT NULL default '0',
|
||||
pp_rating_hits INT(10) UNSIGNED NOT NULL default '0',
|
||||
pp_rating_value INT(10) UNSIGNED NOT NULL default '0',
|
||||
|
||||
@@ -9,14 +9,13 @@ $SQL[]="alter table ibf_members ADD members_l_display_name VARCHAR(255) NOT NULL
|
||||
$SQL[]="alter table ibf_members ADD members_l_username VARCHAR(255) NOT NULL default '0';";
|
||||
$SQL[]="alter table ibf_members DROP INDEX name;";
|
||||
$SQL[]="alter table ibf_members DROP INDEX members_display_name;";
|
||||
$SQL[]="alter table ibf_member_extra change interests interests text NOT NULL default '';";
|
||||
$SQL[]="alter table ibf_members change ignored_users ignored_users text NOT NULL default '';";
|
||||
$SQL[]="alter table ibf_members change members_markers members_markers text NOT NULL default '';";
|
||||
$SQL[]="ALTER TABLE ibf_members DROP legacy_password;";
|
||||
$SQL[]="alter table ibf_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 ibf_members ADD INDEX members_l_display_name (members_l_display_name), ADD INDEX members_l_username (members_l_username);";
|
||||
|
||||
$SQL[]="ALTER TABLE ibf_members ADD failed_logins TEXT;";
|
||||
$SQL[]="ALTER TABLE ibf_members ADD failed_logins TEXT NULL;";
|
||||
$SQL[]="ALTER TABLE ibf_members ADD failed_login_count SMALLINT( 3 ) DEFAULT '0' NOT NULL;";
|
||||
|
||||
$SQL[]="ALTER TABLE ibf_members_partial ADD partial_email_ok INT(1) NOT NULL default '0';";
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
$SQL[]="ALTER TABLE ibf_posts DROP INDEX topic_id, ADD INDEX topic_id ( topic_id , queued , pid , post_date );";
|
||||
$SQL[]="ALTER TABLE ibf_posts ADD INDEX post_key (post_key), ADD INDEX ip_address (ip_address);";
|
||||
$SQL[]="ALTER TABLE ibf_posts ADD post_edit_reason VARCHAR(255) NOT NULL default '';";
|
||||
$SQL[]="ALTER TABLE ibf_posts CHANGE post post MEDIUMTEXT NOT NULL DEFAULT '';";
|
||||
$SQL[]="ALTER TABLE ibf_posts CHANGE post post MEDIUMTEXT NULL;";
|
||||
$SQL[]="ALTER TABLE ibf_topics ADD INDEX starter_id (starter_id, forum_id, approved);";
|
||||
|
||||
?>
|
||||
@@ -11,11 +11,11 @@ $SQL[] ="ALTER TABLE ibf_forums ADD newest_title VARCHAR( 128 ) NOT NULL default
|
||||
$SQL[] ="ALTER TABLE ibf_forums ADD password_override VARCHAR( 255 ) AFTER password;";
|
||||
|
||||
|
||||
$SQL[] ="ALTER TABLE ibf_search_results CHANGE topic_id topic_id text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_search_results CHANGE post_id post_id text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_search_results CHANGE query_cache query_cache text NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_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 ibf_cache_store change cs_value cs_value mediumtext NOT NULL default '';";
|
||||
$SQL[] ="ALTER TABLE ibf_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 '';";
|
||||
@@ -40,7 +40,7 @@ $SQL[] ="UPDATE ibf_attachments SET attach_rel_id=attach_msg, attach_rel_module=
|
||||
$SQL[] ="UPDATE ibf_login_methods SET login_settings = '1', login_installed = '1' WHERE login_folder_name='ldap';";
|
||||
$SQL[] ="UPDATE ibf_login_methods SET login_settings = '1', login_installed = '1' WHERE login_folder_name='external';";
|
||||
|
||||
$SQL[] ="INSERT INTO ibf_login_methods (login_title, login_description, login_folder_name, login_maintain_url, login_register_url, login_type, login_alt_login_html, login_date, login_settings, login_enabled, login_safemode, login_installed, login_replace_form, login_allow_create) VALUES ('IP.Converge', 'Internal Use Only', 'ipconverge', '', '', 'passthrough', '', 0, 0, 0, 1, 1, 0, 1);";
|
||||
$SQL[] ="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';";
|
||||
|
||||
# MEMBERS
|
||||
|
||||
@@ -23,23 +23,23 @@
|
||||
|
||||
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.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -79,12 +79,12 @@ class version_upgrade
|
||||
case 'update_template_bits':
|
||||
$this->update_template_bits();
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
$this->upgrade_sql(1);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if ( $this->install->saved_data['workact'] )
|
||||
{
|
||||
return false;
|
||||
@@ -94,12 +94,12 @@ class version_upgrade
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SQL: 0
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function upgrade_sql( $id=1 )
|
||||
{
|
||||
$man = 0; // Manual upgrade ? intval( $this->install->ipsclass->input['man'] );
|
||||
@@ -107,32 +107,40 @@ class version_upgrade
|
||||
$SQL = array();
|
||||
$file = '_updates_'.$id.'.php';
|
||||
$output = "";
|
||||
|
||||
|
||||
if ( file_exists( ROOT_PATH . 'upgrade/installfiles/upg_22005/' . strtolower($this->install->ipsclass->vars['sql_driver']) . $file ) )
|
||||
{
|
||||
require_once( ROOT_PATH . 'upgrade/installfiles/upg_22005/' . strtolower($this->install->ipsclass->vars['sql_driver']) . $file );
|
||||
|
||||
|
||||
$this->install->error = array();
|
||||
$this->sqlcount = 0;
|
||||
$output = "";
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
|
||||
|
||||
foreach( $SQL as $query )
|
||||
{
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
$this->install->ipsclass->DB->error = '';
|
||||
|
||||
|
||||
$query = str_replace( "<%time%>", time(), $query );
|
||||
|
||||
|
||||
if( $this->install->ipsclass->vars['mysql_tbl_type'] )
|
||||
{
|
||||
if( preg_match( "/^create table(.+?)/i", $query ) )
|
||||
{
|
||||
$query = preg_replace( "/^(.+?)\);$/is", "\\1) TYPE={$this->install->ipsclass->vars['mysql_tbl_type']};", $query );
|
||||
}
|
||||
}
|
||||
|
||||
if ( $this->install->saved_data['man'] )
|
||||
{
|
||||
$output .= preg_replace("/\sibf_(\S+?)([\s\.,]|$)/", " ".$this->install->ipsclass->DB->obj['sql_tbl_prefix']."\\1\\2", preg_replace( "/\s{1,}/", " ", $query ) )."\n\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
$this->install->ipsclass->DB->query( $query );
|
||||
|
||||
|
||||
if ( $this->install->ipsclass->DB->error )
|
||||
{
|
||||
$this->install->error[] = $query."<br /><br />".$this->install->ipsclass->DB->error;
|
||||
@@ -143,70 +151,77 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->install->message = "$this->sqlcount queries run....";
|
||||
|
||||
$this->install->message = "Âûïîëíåíî $this->sqlcount çàïðîñîâ...";
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------
|
||||
// Next page...
|
||||
//--------------------------------
|
||||
|
||||
|
||||
$this->install->saved_data['st'] = 0;
|
||||
|
||||
|
||||
if ( $id != 4 )
|
||||
{
|
||||
$nextid = $id + 1;
|
||||
$this->install->saved_data['workact'] = 'sql'.$nextid;
|
||||
$this->install->saved_data['workact'] = 'sql'.$nextid;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->saved_data['workact'] = 'forums';
|
||||
$this->install->saved_data['workact'] = 'forums';
|
||||
}
|
||||
|
||||
|
||||
if ( $this->install->saved_data['man'] AND $output )
|
||||
{
|
||||
$this->install->message .= "<br /><br /><h3><b>Please run these queries in your MySQL database before continuing..</b></h3><br />".nl2br(htmlspecialchars($output));
|
||||
$this->install->message .= "<br /><br /><h3><b>Äëÿ ïðîäîëæåíèÿ îáíîâëåíèÿ íåîáõîäèìî âûïîëíèòü ñëåäóþùèå MySQL çàïðîñû:</b></h3><br /><div class='eula'>".nl2br(htmlspecialchars($output)).'</div>';
|
||||
$this->install->do_man = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Update forums
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function update_forums()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Update latest news...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->simple_update( "forums", "newest_title=last_title, newest_id=last_id" );
|
||||
$this->install->ipsclass->DB->exec_query();
|
||||
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$ignore_me = array( 'redirect_url', 'redirect_loc', 'rules_text', 'permission_custom_error', 'notify_modq_emails' );
|
||||
|
||||
|
||||
if ( isset($this->install->ipsclass->vars['forum_cache_minimum']) AND $this->install->ipsclass->vars['forum_cache_minimum'] )
|
||||
{
|
||||
$ignore_me[] = 'description';
|
||||
$ignore_me[] = 'rules_title';
|
||||
}
|
||||
|
||||
|
||||
$this->install->ipsclass->cache['forum_cache'] = array();
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*',
|
||||
'from' => 'forums',
|
||||
'order' => 'parent_id, position'
|
||||
) );
|
||||
$o = $this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
|
||||
while( $f = $this->install->ipsclass->DB->fetch_row( $o ) )
|
||||
{
|
||||
$fr = array();
|
||||
|
||||
|
||||
$perms = unserialize(stripslashes($f['permission_array']));
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Stuff we don't need...
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( $f['parent_id'] == -1 )
|
||||
{
|
||||
$fr['id'] = $f['id'];
|
||||
@@ -233,19 +248,19 @@ class version_upgrade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$fr['read_perms'] = isset($perms['read_perms']) ? $perms['read_perms'] : '';
|
||||
$fr['reply_perms'] = isset($perms['reply_perms']) ? $perms['reply_perms'] : '';
|
||||
$fr['start_perms'] = isset($perms['start_perms']) ? $perms['start_perms'] : '';
|
||||
$fr['upload_perms'] = isset($perms['upload_perms']) ? $perms['upload_perms'] : '';
|
||||
$fr['download_perms'] = $perms['upload_perms'];
|
||||
$fr['show_perms'] = isset($perms['show_perms']) ? $perms['show_perms'] : '';
|
||||
|
||||
|
||||
unset($fr['permission_array']);
|
||||
}
|
||||
|
||||
|
||||
$this->install->ipsclass->cache['forum_cache'][ $fr['id'] ] = $fr;
|
||||
|
||||
|
||||
$perm_array = addslashes(serialize(array(
|
||||
'start_perms' => $fr['start_perms'],
|
||||
'reply_perms' => $fr['reply_perms'],
|
||||
@@ -254,57 +269,58 @@ class version_upgrade
|
||||
'download_perms' => $fr['download_perms'],
|
||||
'show_perms' => $fr['show_perms']
|
||||
) ) );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Add to save array
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'forums', array( 'permission_array' => $perm_array ), 'id='.$fr['id'] );
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$this->install->ipsclass->update_cache( array( 'name' => 'forum_cache', 'array' => 1, 'deletefirst' => 1, 'donow' => 0 ) );
|
||||
|
||||
$this->install->message = "Download permissions added, Converting template bit HTML logic...";
|
||||
|
||||
$this->install->message = "Äîáàâëåíû ïðàâà íà ñêà÷èâàíèå â ôîðóìàõ, ïåðåõîäèì ê îáíîâëåíèþ HTML-ëîãèêè â øàáëîíàõ...";
|
||||
$this->install->saved_data['workact'] = 'update_template_bits';
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Update template bits
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function update_template_bits()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$updated = 0;
|
||||
$_bits = array();
|
||||
$start = $this->install->saved_data['st'];
|
||||
$lend = 25;
|
||||
$end = $start + $lend;
|
||||
$done = 0;
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Get API class
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
require_once( ROOT_PATH . 'sources/api/api_skins.php' );
|
||||
$api = new api_skins;
|
||||
$api->ipsclass =& $this->ipsclass;
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// OK..
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->build_query( array( 'select' => '*',
|
||||
'from' => 'skin_templates',
|
||||
'where' => 'set_id > 1',
|
||||
'order' => 'suid ASC',
|
||||
'limit' => array( $start, $lend ) ) );
|
||||
|
||||
|
||||
$o = $this->install->ipsclass->DB->exec_query();
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Do it...
|
||||
//-----------------------------------------
|
||||
@@ -314,13 +330,13 @@ class version_upgrade
|
||||
//-----------------------------------------
|
||||
// Got some to convert!
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
while( $row = $this->install->ipsclass->DB->fetch_row( $o ) )
|
||||
{
|
||||
if ( preg_match( "#ipb\.|<if|<else#", $row['section_content'] ) )
|
||||
{
|
||||
$section_content = $api->skin_update_template_bit( $row['section_content'] );
|
||||
|
||||
|
||||
if ( $section_content AND $section_content != $row['section_content'] )
|
||||
{
|
||||
$updated++;
|
||||
@@ -333,113 +349,138 @@ class version_upgrade
|
||||
{
|
||||
$done = 1;
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Done?
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( ! $done )
|
||||
{
|
||||
$this->install->message = "Template bits: $start to $end completed. $updated updated...";
|
||||
$this->install->saved_data['workact'] = 'update_template_bits';
|
||||
$this->install->message = "Ïðîâåðåíû øàáëîíû ñ $start ïî $end. Îáíîâëåíî: $updated...";
|
||||
$this->install->saved_data['workact'] = 'update_template_bits';
|
||||
$this->install->saved_data['st'] = $end;
|
||||
return FALSE;
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install->message = "Template bits updated, finishing up...";
|
||||
$this->install->saved_data['workact'] = 'finish';
|
||||
return FALSE;
|
||||
$this->install->message = "Øàáëîíû îáíîâëåíû, ïåðåõîäèì ê óäàëåíèþ âðåìåííûõ äàííûõ...";
|
||||
$this->install->saved_data['workact'] = 'finish';
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Update forums
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function finish_up()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Has gallery?
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
$this->install->ipsclass->DB->error = '';
|
||||
|
||||
|
||||
$table = 'members';
|
||||
|
||||
|
||||
if ( ! $this->install->ipsclass->DB->field_exists( 'has_gallery', $table ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->sql_add_field( 'members', 'has_gallery', 'INT(1)', '0' );
|
||||
|
||||
|
||||
if ( $this->install->ipsclass->DB->error )
|
||||
{
|
||||
$this->install->error[] = "ALTER TABLE {$this->install->ipsclass->DB->obj['sql_tbl_prefix']}members ADD has_gallery INT(1) default 0<br /><br />".$this->install->ipsclass->DB->error;
|
||||
}
|
||||
}
|
||||
|
||||
$test = $this->install->ipsclass->DB->build_and_exec_query( array( 'select' => 'count(*) as rows',
|
||||
|
||||
if( $this->install->ipsclass->vars['conv_configured'] != 1 OR $this->install->ipsclass->vars['conv_chosen'] == "" )
|
||||
{
|
||||
if( $this->install->ipsclass->DB->field_exists( "legacy_password", "members" ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->sql_drop_field( 'members', 'legacy_password' );
|
||||
|
||||
if ( $this->install->ipsclass->DB->error )
|
||||
{
|
||||
$this->install->error[] = "ALTER TABLE {$this->install->ipsclass->DB->obj['sql_tbl_prefix']}members DROP legacy_password<br /><br />".$this->install->ipsclass->DB->error;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$value = $this->install->ipsclass->DB->build_and_exec_query( array( 'select' => 'conf_value,conf_default', 'from' => 'conf_settings', 'where' => "conf_key='converge_login_method'" ) );
|
||||
|
||||
if( !$value['conf_value'] )
|
||||
{
|
||||
$value['conf_value'] = $value['conf_default'];
|
||||
}
|
||||
|
||||
if( $value['conf_value'] )
|
||||
{
|
||||
$this->install->saved_data['ipbli_usertype'] = $value['conf_value'];
|
||||
}
|
||||
|
||||
$test = $this->install->ipsclass->DB->build_and_exec_query( array( 'select' => 'count(*) as numrows',
|
||||
'from' => 'cache_store',
|
||||
'where' => "cs_key='calendars'"
|
||||
) );
|
||||
|
||||
if ( ! $test['rows'] )
|
||||
if ( ! $test['numrows'] )
|
||||
{
|
||||
$this->install->ipsclass->DB->do_insert( 'cache_store', array( 'cs_key' => 'calendars' ) );
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Rebuild group caches.
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/groups.php' );
|
||||
$groups = new ad_groups();
|
||||
$groups->ipsclass =& $this->install->ipsclass;
|
||||
|
||||
|
||||
$groups->rebuild_group_cache();
|
||||
|
||||
$this->install->message = "Clean up performed, Creating new IPB 2.2.0 skin...";
|
||||
|
||||
$this->install->message = "Óäàëåíèå âðåìåííûõ äàííûõ ìàñòåðà çàâåðøåíî, ïåðåõîäèì ê ñîçäàíèþ ãëàâíîãî ñòèëÿ IPB 2.2.0...";
|
||||
$this->install->saved_data['workact'] = 'skin';
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Add new skin
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function add_skin()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Get default wrapper
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$xml = new class_xml();
|
||||
$xml->lite_parser = 1;
|
||||
|
||||
|
||||
$content = implode( "", file( ROOT_PATH . 'resources/skinsets.xml' ) );
|
||||
$xml->xml_parse_document( $content );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Get CSS and WRAPPER
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$CSS = $xml->xml_array['export']['group']['row'][0]['set_css']['VALUE'];
|
||||
$WRAPPER = $xml->xml_array['export']['group']['row'][0]['set_cache_wrapper']['VALUE'];
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Turn off all other skins
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'skin_sets', array( 'set_default' => 0 ) );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Insert new skin...
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_insert( 'skin_sets', array(
|
||||
'set_name' => 'IPB 2.2.0 Default',
|
||||
'set_name' => 'IPB Ãëàâíûé ñòèëü',
|
||||
'set_image_dir' => 1,
|
||||
'set_hidden' => 0,
|
||||
'set_default' => 1,
|
||||
@@ -452,41 +493,41 @@ class version_upgrade
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
'set_emoticon_folder' => 'default',
|
||||
) );
|
||||
|
||||
|
||||
$this->install->saved_data['new_skin'] = $this->install->ipsclass->DB->get_insert_id();
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Update parent skin's CSS
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->return_die = 1;
|
||||
$this->install->ipsclass->DB->allow_sub_select = 1;
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'skin_sets', array(
|
||||
'set_cache_css' => $CSS,
|
||||
'set_css' => $CSS,
|
||||
'set_cache_wrapper' => $WRAPPER,
|
||||
'set_wrapper' => $WRAPPER,
|
||||
), "set_skin_set_id=1" );
|
||||
|
||||
), "set_skin_set_id=1" );
|
||||
|
||||
//-----------------------------------------
|
||||
// Remove member's choice
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'members', array( 'skin' => '' ) );
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'members', array( 'skin' => '' ) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Done...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->install->message = "2.2.0 skin created...";
|
||||
|
||||
$this->install->message = "Ãëàâíûé ñòèëü IPB 2.2.0 ñîçäàí...";
|
||||
unset($this->install->saved_data['workact']);
|
||||
unset($this->install->saved_data['vid']);
|
||||
|
||||
return TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -23,23 +23,23 @@
|
||||
|
||||
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.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -49,58 +49,59 @@ class version_upgrade
|
||||
//--------------------------------
|
||||
// Upgrade BBCode
|
||||
//--------------------------------
|
||||
|
||||
|
||||
require_once( ROOT_PATH . 'sources/action_admin/bbcode.php' );
|
||||
$bbcode = new ad_bbcode();
|
||||
$bbcode->ipsclass =& $this->install->ipsclass;
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Get BBCode....
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( $FH = @fopen( ROOT_PATH . 'resources/bbcode.xml', 'rb' ) )
|
||||
{
|
||||
$content = @fread( $FH, filesize( ROOT_PATH . 'resources/bbcode.xml' ) );
|
||||
@fclose( $FH );
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Get xml mah-do-dah
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
require_once( KERNEL_PATH.'class_xml.php' );
|
||||
|
||||
$xml = new class_xml();
|
||||
$xml->lite_parser = 1;
|
||||
|
||||
//-----------------------------------------
|
||||
// Unpack the datafile
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$xml->xml_parse_document( $content );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Get current custom bbcodes
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$tags = array();
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'custom_bbcode' ) );
|
||||
$this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
|
||||
while ( $r = $this->install->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$tags[ $r['bbcode_tag'] ] = 1;
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// pArse
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
if ( ! is_array( $xml->xml_array['bbcodeexport']['bbcodegroup']['bbcode'][0] ) )
|
||||
{
|
||||
$xml->xml_array['bbcodeexport']['bbcodegroup']['bbcode'][0] = $xml->xml_array['bbcodeexport']['bbcodegroup']['bbcode'];
|
||||
}
|
||||
|
||||
|
||||
foreach( $xml->xml_array['bbcodeexport']['bbcodegroup']['bbcode'] as $entry )
|
||||
{
|
||||
$bbcode_title = $entry['bbcode_title']['VALUE'];
|
||||
@@ -113,7 +114,7 @@ class version_upgrade
|
||||
$bbcode_add_into_menu = $entry['bbcode_add_into_menu']['VALUE'];
|
||||
$bbcode_menu_option_text = $entry['bbcode_menu_option_text']['VALUE'];
|
||||
$bbcode_menu_content_text = $entry['bbcode_menu_content_text']['VALUE'];
|
||||
|
||||
|
||||
if ( $tags[ $bbcode_tag ] )
|
||||
{
|
||||
$bbarray = array(
|
||||
@@ -128,12 +129,12 @@ class version_upgrade
|
||||
'bbcode_menu_option_text' => $bbcode_menu_option_text,
|
||||
'bbcode_menu_content_text' => $bbcode_menu_content_text,
|
||||
);
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_update( 'custom_bbcode', $bbarray, "bbcode_tag='".$bbcode_tag."'" );
|
||||
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if ( $bbcode_tag )
|
||||
{
|
||||
$bbarray = array(
|
||||
@@ -148,19 +149,19 @@ class version_upgrade
|
||||
'bbcode_menu_option_text' => $bbcode_menu_option_text,
|
||||
'bbcode_menu_content_text' => $bbcode_menu_content_text,
|
||||
);
|
||||
|
||||
|
||||
$this->install->ipsclass->DB->do_insert( 'custom_bbcode', $bbarray );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$bbcode->bbcode_rebuildcache();
|
||||
|
||||
$this->install->message = "BBCode rebuilt and recached...";
|
||||
|
||||
|
||||
$this->install->message = "Äîáàâëåíû íîâûå BB-êîäû, íîâûé êåø ñîçäàí...";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
// $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';";
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
// $SQL[] = "";
|
||||
|
||||
$SQL[] = "DELETE FROM ibf_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 ibf_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 ibf_cal_events ADD event_all_day TINYINT( 1 ) NOT NULL DEFAULT '0';";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
// $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';";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$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;";
|
||||
|
||||
?>
|
||||
@@ -1,108 +0,0 @@
|
||||
INVISION POWER BOARD 1.3 -> 2.0.0 MANUAL UPGRADE
|
||||
------------------------------------------------
|
||||
|
||||
This file is intended to allow you to upgrade your Invision Power Board manually via shell which
|
||||
is ideal for those with large boards where allowing a script to run several queries can time out.
|
||||
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
IMPORTANT: It is assumed that you are comfortable with SQL and shell and understand the basic concepts
|
||||
of paths, files and source SQL files.
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
|
||||
It is assumed that you have read the upgrade text and you have backed up your database and files before
|
||||
proceeding. If you haven't backed up - read the file "Documents/upgradefromipb_1x.html" from the download
|
||||
zip.
|
||||
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
IMPORTANT: FILE PERMISSIONS MATTER.
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
|
||||
In order to upgrade properly, you will need to ensure you have set the correct file permissions on the
|
||||
files and folders included with this package. On Windows, this involves checking the files read/write
|
||||
attributes, while on Unix this means you should verify the CHMOD values for the files and folders.
|
||||
|
||||
The required values are listed in Documents/Installation Guide/install_guide.html (click on the tab that
|
||||
reads 'Structure & CHMOD'). You may wish to fully read over this guide as well, as it has other useful
|
||||
information.
|
||||
|
||||
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
IMPORTANT: PERFORM A BACKUP OF YOUR DATABASE BEFORE USING THESE INSTRUCTIONS.
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
|
||||
To perform the update, we'll need to use a mixture of command line, PHP scripting and SQL source files.
|
||||
|
||||
Firstly, upload sql_1.sql and sql_2.sql into the root IPB folder (the one with index.php in it)
|
||||
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
IMPORTANT: sql_1.sql and sql_2.sql have queries with the default 'ibf_' table prefix. If your table
|
||||
prefix is different, do a search and replace on those files to change 'ibf_' to your database prefix
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
|
||||
The first step is to log onto mysql from shell.
|
||||
|
||||
------------------------------------------------
|
||||
When you have a new terminal window open, type:
|
||||
|
||||
mysql -u{username} -p{password}
|
||||
|
||||
(Substituting {username} for your SQL username and {password} for you SQL password)
|
||||
------------------------------------------------
|
||||
Then type:
|
||||
|
||||
use {database}
|
||||
|
||||
(Substituting {database} for your SQL database)
|
||||
------------------------------------------------
|
||||
You should see a message like so:
|
||||
|
||||
> Reading table information for completion of table and column names
|
||||
> You can turn off this feature to get a quicker startup with -A
|
||||
>
|
||||
> Database changed
|
||||
------------------------------------------------
|
||||
Now we'll run the first source file. Type:
|
||||
|
||||
source /home/website/public_html/forums/sql_1.sql
|
||||
|
||||
(Substituting /home/website/public_html/forums/ with your real path to this file)
|
||||
|
||||
Please note that while MySQL is performing the SQL commands included in this file, it may take several
|
||||
minutes before it is done processing. You should see output similar to the following return on your
|
||||
screen while it is processing
|
||||
|
||||
> Query OK, 121133 rows affected (11 min 6.27 sec)
|
||||
> Records: 121133 Duplicates: 0 Warnings: 0
|
||||
>
|
||||
|
||||
Do not proceed until a mysql prompt returns. It may seem like MySQL is "hanging", but often times it is
|
||||
just a matter of how large the database is, and how long it takes to update the database.
|
||||
|
||||
------------------------------------------------
|
||||
Now we'll need to run the installer - but we only want a few steps to run, so copy the URL below carefully
|
||||
substituting {yourdomain.com/forum} with your real URL to your board:
|
||||
|
||||
Go to: {yourdomain.com/forum}/upgrade/upgrade.php?act=work&version=103&step=7&dieafterstep=13
|
||||
|
||||
This may take a while for some large boards.
|
||||
------------------------------------------------
|
||||
Now we'll run the second source file. Type:
|
||||
|
||||
source /home/website/public_html/forums/sql_2.sql
|
||||
|
||||
(Substituting /home/website/public_html/forums/ with your real path to this file)
|
||||
------------------------------------------------
|
||||
Now we'll need to run the installer again - but we only want a few steps to run, so copy the URL below carefully
|
||||
substituting {yourdomain.com/forum} with your real URL to your board:
|
||||
|
||||
Go to: {yourdomain.com/forum}/upgrade/upgrade.php?act=work&version=103&step=22
|
||||
|
||||
This may take a while for some large boards.
|
||||
This will insert your templates and settings and completes the upgrade
|
||||
------------------------------------------------
|
||||
|
||||
That's it, you should now be running IPB 2!
|
||||
|
||||
To upgrade to IPB 2.1, afterwards you will be redirected to upgrade/index.php and you should follow the onscreen
|
||||
prompts from there.
|
||||
|
||||
@@ -1,337 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS ibf_cache_store (
|
||||
cs_key varchar(255) NOT NULL default '',
|
||||
cs_value text NOT NULL default '',
|
||||
cs_extra varchar(255) NOT NULL default '',
|
||||
PRIMARY KEY(cs_key)
|
||||
);
|
||||
ALTER TABLE ibf_forums RENAME ibf_forums_bak;
|
||||
DROP TABLE if exists ibf_attachments;
|
||||
DROP TABLE if exists ibf_announcements;
|
||||
CREATE TABLE ibf_attachments (
|
||||
attach_id int(10) NOT NULL auto_increment,
|
||||
attach_ext varchar(10) NOT NULL default '',
|
||||
attach_file varchar(250) NOT NULL default '',
|
||||
attach_location varchar(250) NOT NULL default '',
|
||||
attach_thumb_location varchar(250) NOT NULL default '',
|
||||
attach_thumb_width smallint(5) NOT NULL default '0',
|
||||
attach_thumb_height smallint(5) NOT NULL default '0',
|
||||
attach_is_image tinyint(1) NOT NULL default '0',
|
||||
attach_hits int(10) NOT NULL default '0',
|
||||
attach_date int(10) NOT NULL default '0',
|
||||
attach_temp tinyint(1) NOT NULL default '0',
|
||||
attach_pid int(10) NOT NULL default '0',
|
||||
attach_post_key varchar(32) NOT NULL default '0',
|
||||
attach_msg int(10) NOT NULL default '0',
|
||||
attach_member_id mediumint(8) NOT NULL default '0',
|
||||
attach_approved int(10) NOT NULL default '1',
|
||||
attach_filesize int(10) NOT NULL default '0',
|
||||
PRIMARY KEY (attach_id),
|
||||
KEY attach_pid (attach_pid),
|
||||
KEY attach_msg (attach_msg),
|
||||
KEY attach_post_key (attach_post_key),
|
||||
KEY attach_mid_size (attach_member_id, attach_filesize)
|
||||
);
|
||||
CREATE TABLE ibf_message_text (
|
||||
msg_id int(10) NOT NULL auto_increment,
|
||||
msg_date int(10) default NULL,
|
||||
msg_post text default '',
|
||||
msg_cc_users text default '',
|
||||
msg_sent_to_count smallint(5) NOT NULL default '0',
|
||||
msg_deleted_count smallint(5) NOT NULL default '0',
|
||||
msg_post_key varchar(32) NOT NULL default '0',
|
||||
msg_author_id mediumint(8) NOT NULL default '0',
|
||||
PRIMARY KEY (msg_id),
|
||||
KEY msg_date (msg_date),
|
||||
KEY msg_sent_to_count (msg_sent_to_count),
|
||||
KEY msg_deleted_count (msg_deleted_count)
|
||||
);
|
||||
CREATE TABLE ibf_message_topics (
|
||||
mt_id int(10) NOT NULL auto_increment,
|
||||
mt_msg_id int(10) NOT NULL default '0',
|
||||
mt_date int(10) NOT NULL default '0',
|
||||
mt_title varchar(255) NOT NULL default '',
|
||||
mt_from_id mediumint(8) NOT NULL default '0',
|
||||
mt_to_id mediumint(8) NOT NULL default '0',
|
||||
mt_owner_id mediumint(8) NOT NULL default '0',
|
||||
mt_vid_folder varchar(32) NOT NULL default '',
|
||||
mt_read tinyint(1) NOT NULL default '0',
|
||||
mt_hasattach smallint(5) NOT NULL default '0',
|
||||
mt_hide_cc tinyint(1) default '0',
|
||||
mt_tracking tinyint(1) default '0',
|
||||
mt_user_read int(10) default '0',
|
||||
PRIMARY KEY (mt_id),
|
||||
KEY mt_from_id (mt_from_id),
|
||||
KEY mt_owner_id (mt_owner_id, mt_to_id, mt_vid_folder)
|
||||
);
|
||||
CREATE TABLE ibf_skin_sets (
|
||||
set_skin_set_id int(10) NOT NULL auto_increment,
|
||||
set_name varchar(150) NOT NULL default '',
|
||||
set_image_dir varchar(200) NOT NULL default '',
|
||||
set_hidden tinyint(1) NOT NULL default '0',
|
||||
set_default tinyint(1) NOT NULL default '0',
|
||||
set_css_method varchar(100) NOT NULL default 'inline',
|
||||
set_skin_set_parent smallint(5) NOT NULL default '-1',
|
||||
set_author_email varchar(255) NOT NULL default '',
|
||||
set_author_name varchar(255) NOT NULL default '',
|
||||
set_author_url varchar(255) NOT NULL default '',
|
||||
set_css mediumtext NOT NULL default '',
|
||||
set_wrapper mediumtext NOT NULL default '',
|
||||
set_css_updated int(10) NOT NULL default '0',
|
||||
set_cache_css mediumtext NOT NULL default '',
|
||||
set_cache_macro mediumtext NOT NULL default '',
|
||||
set_cache_wrapper mediumtext NOT NULL default '',
|
||||
set_emoticon_folder varchar(60) NOT NULL default 'default',
|
||||
PRIMARY KEY(set_skin_set_id)
|
||||
);
|
||||
CREATE TABLE ibf_skin_templates_cache (
|
||||
template_id varchar(32) NOT NULL default '',
|
||||
template_group_name varchar(255) NOT NULL default '',
|
||||
template_group_content mediumtext NOT NULL default '',
|
||||
template_set_id int(10) NOT NULL default '0',
|
||||
primary key (template_id),
|
||||
KEY template_set_id (template_set_id),
|
||||
KEY template_group_name (template_group_name)
|
||||
);
|
||||
CREATE TABLE ibf_mail_queue(
|
||||
mail_id int(10) auto_increment NOT NULL,
|
||||
mail_date int(10) NOT NULL default '0',
|
||||
mail_to varchar(255) NOT NULL default '',
|
||||
mail_from varchar(255) NOT NULL default '',
|
||||
mail_subject text NOT NULL default '',
|
||||
mail_content text NOT NULL default '',
|
||||
mail_type varchar(200) NOT NULL default '',
|
||||
PRIMARY KEY (mail_id)
|
||||
);
|
||||
CREATE TABLE ibf_task_manager (
|
||||
task_id int(10) auto_increment NOT NULL,
|
||||
task_title varchar(255) NOT NULL default '',
|
||||
task_file varchar(255) NOT NULL default '',
|
||||
task_next_run int(10) NOT NULL default '',
|
||||
task_week_day tinyint(1) NOT NULL default '-1',
|
||||
task_month_day smallint(2) NOT NULL default '-1',
|
||||
task_hour smallint(2) NOT NULL default '-1',
|
||||
task_minute smallint(2) NOT NULL default '-1',
|
||||
task_cronkey varchar(32) NOT NULL default '',
|
||||
task_log tinyint(1) NOT NULL default '0',
|
||||
task_description text NOT NULL default '',
|
||||
task_enabled tinyint(1) NOT NULL default '1',
|
||||
task_key varchar(30) NOT NULL default '',
|
||||
task_safemode tinyint(1) NOT NULL default '',
|
||||
PRIMARY KEY(task_id),
|
||||
KEY task_next_run (task_next_run)
|
||||
);
|
||||
CREATE TABLE ibf_task_logs (
|
||||
log_id int(10) auto_increment NOT NULL,
|
||||
log_title varchar(255) NOT NULL default '',
|
||||
log_date int(10) NOT NULL default '0',
|
||||
log_ip varchar(16) NOT NULL default '0',
|
||||
log_desc text NOT NULL default '',
|
||||
PRIMARY KEY(log_id)
|
||||
);
|
||||
CREATE TABLE ibf_custom_bbcode (
|
||||
bbcode_id int(10) NOT NULL auto_increment,
|
||||
bbcode_title varchar(255) NOT NULL default '',
|
||||
bbcode_desc text NOT NULL default '',
|
||||
bbcode_tag varchar(255) NOT NULL default '',
|
||||
bbcode_replace text NOT NULL default '',
|
||||
bbcode_useoption tinyint(1) NOT NULL default '',
|
||||
bbcode_example text NOT NULL default '',
|
||||
PRIMARY KEY (bbcode_id)
|
||||
);
|
||||
CREATE TABLE ibf_conf_settings (
|
||||
conf_id int(10) NOT NULL auto_increment,
|
||||
conf_title varchar(255) NOT NULL default '',
|
||||
conf_description text NOT NULL default '',
|
||||
conf_group smallint(3) NOT NULL default '',
|
||||
conf_type varchar(255) NOT NULL default '',
|
||||
conf_key varchar(255) NOT NULL default '',
|
||||
conf_value text NOT NULL default '',
|
||||
conf_default text NOT NULL default '',
|
||||
conf_extra text NOT NULL default '',
|
||||
conf_evalphp text NOT NULL default '',
|
||||
conf_protected tinyint(1) NOT NULL default '',
|
||||
conf_position smallint(3) NOT NULL default '0',
|
||||
conf_start_group varchar(255) NOT NULL default '',
|
||||
conf_end_group tinyint(1) NOT NULL default '0',
|
||||
conf_help_key varchar(255) NOT NULL default '0',
|
||||
conf_add_cache tinyint(1) NOT NULL default '1',
|
||||
PRIMARY KEY (conf_id)
|
||||
);
|
||||
CREATE TABLE ibf_conf_settings_titles (
|
||||
conf_title_id smallint(3) NOT NULL auto_increment,
|
||||
conf_title_title varchar(255) NOT NULL default '',
|
||||
conf_title_desc text NOT NULL default '',
|
||||
conf_title_count smallint(3) NOT NULL default '0',
|
||||
conf_title_noshow tinyint(1) NOT NULL default '0',
|
||||
conf_title_keyword varchar(200) NOT NULL default '',
|
||||
PRIMARY KEY(conf_title_id)
|
||||
);
|
||||
CREATE TABLE ibf_topics_read (
|
||||
read_tid int(10) NOT NULL default '0',
|
||||
read_mid mediumint(8) NOT NULL default '0',
|
||||
read_date int(10) NOT NULL default '0',
|
||||
UNIQUE KEY read_tid_mid( read_tid, read_mid )
|
||||
);
|
||||
CREATE TABLE ibf_banfilters (
|
||||
ban_id int(10) NOT NULL auto_increment,
|
||||
ban_type varchar(10) NOT NULL default 'ip',
|
||||
ban_content text NOT NULL default '',
|
||||
ban_date int(10) NOT NULL default '0',
|
||||
PRIMARY KEY (ban_id)
|
||||
);
|
||||
CREATE TABLE ibf_attachments_type (
|
||||
atype_id int(10) NOT NULL auto_increment,
|
||||
atype_extension varchar(18) NOT NULL default '',
|
||||
atype_mimetype varchar(255) NOT NULL default '',
|
||||
atype_post tinyint(1) NOT NULL default '1',
|
||||
atype_photo tinyint(1) NOT NULL default '0',
|
||||
atype_img text NOT NULL default '',
|
||||
PRIMARY KEY (atype_id)
|
||||
);
|
||||
CREATE TABLE ibf_members_converge (
|
||||
converge_id int(10) auto_increment NOT NULL,
|
||||
converge_email varchar(250) NOT NULL default '',
|
||||
converge_joined int(10) NOT NULL default '',
|
||||
converge_pass_hash varchar(32) NOT NULL default '',
|
||||
converge_pass_salt varchar(5) NOT NULL default '',
|
||||
PRIMARY KEY( converge_id )
|
||||
);
|
||||
CREATE TABLE ibf_announcements (
|
||||
announce_id int(10) UNSIGNED NOT NULL auto_increment,
|
||||
announce_title varchar(255) NOT NULL default '',
|
||||
announce_post text NOT NULL default '',
|
||||
announce_forum text NOT NULL default '',
|
||||
announce_member_id mediumint(8) UNSIGNED NOT NULL default '0',
|
||||
announce_html_enabled tinyint(1) NOT NULL default '0',
|
||||
announce_views int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_start int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_end int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_active tinyint(1) NOT NULL default '1',
|
||||
PRIMARY KEY (announce_id)
|
||||
);
|
||||
CREATE TABLE ibf_mail_error_logs (
|
||||
mlog_id int(10) auto_increment NOT NULL,
|
||||
mlog_date int(10) NOT NULL default '0',
|
||||
mlog_to varchar(250) NOT NULL default '',
|
||||
mlog_from varchar(250) NOT NULL default '',
|
||||
mlog_subject varchar(250) NOT NULL default '',
|
||||
mlog_content varchar(250) NOT NULL default '',
|
||||
mlog_msg text NOT NULL default '',
|
||||
mlog_code varchar(200) NOT NULL default '',
|
||||
mlog_smtp_msg text NOT NULL default '',
|
||||
PRIMARY KEY (mlog_id)
|
||||
);
|
||||
CREATE TABLE ibf_bulk_mail (
|
||||
mail_id int(10) NOT NULL auto_increment,
|
||||
mail_subject varchar(255) NOT NULL default '',
|
||||
mail_content mediumtext NOT NULL default '',
|
||||
mail_groups mediumtext NOT NULL default '',
|
||||
mail_honor tinyint(1) NOT NULL default '1',
|
||||
mail_opts mediumtext NOT NULL default '',
|
||||
mail_start int(10) NOT NULL default '0',
|
||||
mail_updated int(10) NOT NULL default '0',
|
||||
mail_sentto int(10) NOT NULL default '0',
|
||||
mail_active tinyint(1) NOT NULL default '0',
|
||||
mail_pergo smallint(5) NOT NULL default '0',
|
||||
PRIMARY KEY (mail_id)
|
||||
);
|
||||
CREATE TABLE ibf_upgrade_history (
|
||||
upgrade_id int(10) NOT NULL auto_increment,
|
||||
upgrade_version_id int(10) NOT NULL default '',
|
||||
upgrade_version_human varchar(200) NOT NULL default '',
|
||||
upgrade_date int(10) NOT NULL default '0',
|
||||
upgrade_mid int(10) NOT NULL default '0',
|
||||
upgrade_notes text NOT NULL default '',
|
||||
PRIMARY KEY (upgrade_id)
|
||||
);
|
||||
DROP TABLE if exists ibf_forums;
|
||||
CREATE TABLE ibf_forums (
|
||||
id smallint(5) NOT NULL default '0',
|
||||
topics mediumint(6) default '0',
|
||||
posts mediumint(6) default '0',
|
||||
last_post int(10) default NULL,
|
||||
last_poster_id mediumint(8) NOT NULL default '0',
|
||||
last_poster_name varchar(32) default NULL,
|
||||
name varchar(128) NOT NULL default '',
|
||||
description text,
|
||||
position tinyint(2) default NULL,
|
||||
use_ibc tinyint(1) default NULL,
|
||||
use_html tinyint(1) default NULL,
|
||||
status varchar(10) default NULL,
|
||||
password varchar(32) default NULL,
|
||||
last_title varchar(128) default NULL,
|
||||
last_id int(10) default NULL,
|
||||
sort_key varchar(32) default NULL,
|
||||
sort_order varchar(32) default NULL,
|
||||
prune tinyint(3) default NULL,
|
||||
show_rules tinyint(1) default NULL,
|
||||
preview_posts tinyint(1) default NULL,
|
||||
allow_poll tinyint(1) NOT NULL default '1',
|
||||
allow_pollbump tinyint(1) NOT NULL default '0',
|
||||
inc_postcount tinyint(1) NOT NULL default '1',
|
||||
skin_id int(10) default NULL,
|
||||
parent_id mediumint(5) default '-1',
|
||||
sub_can_post tinyint(1) default '1',
|
||||
quick_reply tinyint(1) default '0',
|
||||
redirect_url varchar(250) default '',
|
||||
redirect_on tinyint(1) NOT NULL default '0',
|
||||
redirect_hits int(10) NOT NULL default '0',
|
||||
redirect_loc varchar(250) default '',
|
||||
rules_title varchar(255) NOT NULL default '',
|
||||
rules_text text NOT NULL,
|
||||
topic_mm_id varchar(250) NOT NULL default '',
|
||||
notify_modq_emails text default '',
|
||||
permission_custom_error text NOT NULL default '',
|
||||
permission_array mediumtext NOT NULL default '',
|
||||
permission_showtopic tinyint(1) NOT NULL default '0',
|
||||
queued_topics mediumint(6) NOT NULL default '0',
|
||||
queued_posts mediumint(6) NOT NULL default '0',
|
||||
PRIMARY KEY (id),
|
||||
KEY position (position, parent_id)
|
||||
);
|
||||
alter table ibf_posts add post_parent int(10) NOT NULL default '0';
|
||||
alter table ibf_posts ADD post_key varchar(32) NOT NULL default '0';
|
||||
alter table ibf_posts add post_htmlstate smallint(1) NOT NULL default '0';
|
||||
alter table ibf_topics ADD topic_hasattach smallint(5) NOT NULL default '0';
|
||||
alter table ibf_members add login_anonymous varchar(3) NOT NULL default '0&0';
|
||||
alter table ibf_members add ignored_users text NOT NULL default '';
|
||||
alter table ibf_members add mgroup_others varchar(255) NOT NULL default '';
|
||||
alter table ibf_member_extra
|
||||
ADD aim_name varchar(40) NOT NULL default '',
|
||||
ADD icq_number int(15) NOT NULL default '',
|
||||
ADD website varchar(250) NOT NULL default '',
|
||||
ADD yahoo varchar(40) NOT NULL default '',
|
||||
ADD interests text NOT NULL default '',
|
||||
ADD msnname varchar(200) NOT NULL default '',
|
||||
ADD vdirs text NOT NULL default '',
|
||||
ADD location varchar(250) NOT NULL default '',
|
||||
ADD signature text NOT NULL default '',
|
||||
ADD avatar_location varchar(128) NOT NULL default '',
|
||||
ADD avatar_size varchar(9) NOT NULL default '',
|
||||
ADD avatar_type varchar(15) NOT NULL default 'local';
|
||||
alter table ibf_members add member_login_key varchar(32) NOT NULL default '';
|
||||
alter table ibf_members change password legacy_password varchar(32) NOT NULL default '';
|
||||
alter table ibf_macro rename ibf_skin_macro;
|
||||
alter table ibf_skin_macro change can_remove macro_can_remove tinyint(1) default '0';
|
||||
alter table ibf_groups add g_bypass_badwords tinyint(1) NOT NULL default '0';
|
||||
alter table ibf_cache_store change cs_value cs_value mediumtext NOT NULL default '';
|
||||
alter table ibf_cache_store add cs_array tinyint(1) NOT NULL default '0';
|
||||
alter table ibf_sessions add in_error tinyint(1) NOT NULL default '';
|
||||
alter table ibf_topic_mmod add mm_forums text NOT NULL default '';
|
||||
alter table ibf_groups change g_icon g_icon text NOT NULL default '';
|
||||
alter table ibf_emoticons add emo_set varchar(64) NOT NULL default 'default';
|
||||
alter table ibf_admin_sessions change ID session_id varchar(32) NOT NULL default '';
|
||||
alter table ibf_admin_sessions change IP_ADDRESS session_ip_address varchar(32) NOT NULL default '';
|
||||
alter table ibf_admin_sessions change MEMBER_NAME session_member_name varchar(250) NOT NULL default '';
|
||||
alter table ibf_admin_sessions change MEMBER_ID session_member_id mediumint(8) NOT NULL default '';
|
||||
alter table ibf_admin_sessions change SESSION_KEY session_member_login_key varchar(32) NOT NULL default '';
|
||||
alter table ibf_admin_sessions change LOCATION session_location varchar(64) NOT NULL default '';
|
||||
alter table ibf_admin_sessions change LOG_IN_TIME session_log_in_time int(10) NOT NULL default '';
|
||||
alter table ibf_admin_sessions change RUNNING_TIME session_running_time int(10) NOT NULL default '';
|
||||
alter table ibf_forum_tracker add forum_track_type varchar(100) NOT NULL default 'delayed';
|
||||
alter table ibf_tracker add topic_track_type varchar(100) NOT NULL default 'delayed';
|
||||
delete from ibf_members where id=0 LIMIT 1;
|
||||
delete from ibf_member_extra where id=0 limit 1;
|
||||
alter table ibf_groups add g_attach_per_post int(10) NOT NULL default '0';
|
||||
|
||||
|
||||
@@ -1,139 +0,0 @@
|
||||
ALTER TABLE ibf_posts DROP attach_id, DROP attach_hits, DROP attach_type, DROP attach_file;
|
||||
alter table ibf_posts change queued queued tinyint(1) NOT NULL default '0';
|
||||
alter table ibf_posts drop forum_id;
|
||||
ALTER TABLE ibf_topics add topic_firstpost int(10) NOT NULL default '0';
|
||||
alter table ibf_topics add topic_queuedposts int(10) NOT NULL default '0';
|
||||
ALTER TABLE ibf_members DROP msg_from_id, DROP msg_msg_id;
|
||||
ALTER TABLE ibf_members DROP org_supmod, DROP integ_msg;
|
||||
alter table ibf_members DROP aim_name, DROP icq_number, DROP website, DROP yahoo, DROP interests,
|
||||
DROP msnname, DROP vdirs, DROP signature, DROP location, DROP avatar, DROP avatar_size;
|
||||
alter table ibf_members change auto_track auto_track varchar(50) default '0';
|
||||
alter table ibf_members add subs_pkg_chosen smallint(3) NOT NULL default '0';
|
||||
ALTER TABLE ibf_members change temp_ban temp_ban varchar(100) default '0';
|
||||
ALTER TABLE ibf_members change msg_total msg_total smallint(5) default '0';
|
||||
alter table ibf_topic_mmod add topic_approve tinyint(1) NOT NULL default '0';
|
||||
alter table ibf_groups add g_can_msg_attach tinyint(1) NOT NULL default '0';
|
||||
alter table ibf_pfields_data
|
||||
change fid pf_id smallint(5) NOT NULL auto_increment,
|
||||
change ftitle pf_title varchar(250) NOT NULL default '',
|
||||
change fdesc pf_desc varchar(250) NOT NULL default '',
|
||||
change fcontent pf_content text NOT NULL default '',
|
||||
change ftype pf_type varchar(250) NOT NULL default '',
|
||||
change freq pf_not_null tinyint(1) NOT NULL default '0',
|
||||
change fhide pf_member_hide tinyint(1) NOT NULL default '0',
|
||||
change fmaxinput pf_max_input smallint(6) NOT NULL default '0',
|
||||
change fedit pf_member_edit tinyint(1) NOT NULL default '0',
|
||||
change forder pf_position smallint(6) NOT NULL default '0',
|
||||
change fshowreg pf_show_on_reg tinyint(1) NOT NULL default '0',
|
||||
add pf_input_format text NOT NULL default '',
|
||||
add pf_admin_only tinyint(1) NOT NULL default '0',
|
||||
add pf_topic_format text NOT NULL default '';
|
||||
INSERT INTO ibf_task_manager VALUES (1, 'Hourly Clean Out', 'cleanout.php', 1076074920, -1, -1, -1, 59, '2a7d083832daa123b73a68f9c51fdb29', 1, 'Kill old sessions, reg images, searches',1,'',0);
|
||||
INSERT INTO ibf_task_manager VALUES (2, 'Daily Stats Rebuild', 'rebuildstats.php', 1076112000, -1, -1, 0, 0, '640b9a6c373ff207bc1b1100a98121af', 1, 'Rebuilds board statistics',1,'',0);
|
||||
INSERT INTO ibf_task_manager VALUES (3, 'Daily Clean Out', 'dailycleanout.php', 1076122800, -1, -1, 3, 0, 'e71b52f3ff9419abecedd14b54e692c4', 1, 'Prunes topic subscriptions',1,'',0);
|
||||
INSERT INTO ibf_task_manager VALUES (4, 'Birthday and Events Cache', 'calendarevents.php', 1076100960, -1, -1, 12, -1, '2c148c9bd754d023a7a19dd9b1535796', 1, 'Caches calendar events & birthdays',1,'',0);
|
||||
INSERT INTO ibf_task_manager (task_id, task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled) VALUES (9, 'Announcements Update', 'announcements.php', 1080747660, -1, -1, 4, -1, 'e82f2c19ab1ed57c140fccf8aea8b9fe', 1, 'Rebuilds cache and expires out of date announcements', 1);
|
||||
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);
|
||||
INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Daily Topic & Forum Digest', 'dailydigest.php', 1086912600, -1, -1, 0, 10, '723cab2aae32dd5d04898b1151038846', 1, 'Emails out daily topic & forum digest emails', 1, 'dailydigest', 0);
|
||||
INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Weekly Topic & Forum Digest', 'weeklydigest.php', 1087096200, 0, -1, 3, 10, '7e7fccd07f781bdb24ac108d26612931', 1, 'Emails weekly topic & forum digest emails', 1, 'weeklydigest', 0);
|
||||
INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Post Snap Back', 'This tag displays a little linked image which links back to a post - used when quoting posts from the board. Opens in same window by default.', 'snapback', '<a href=\"index.php?act=findpost&pid={content}\"><{POST_SNAPBACK}></a>', 0, '[snapback]100[/snapback]');
|
||||
INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Right', 'Aligns content to the right of the posting area', 'right', '<div align=\'right\'>{content}</div>', 0, '[right]Some text here[/right]');
|
||||
INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Left', 'Aligns content to the left of the post', 'left', '<div align=\'left\'>{content}</div>', 0, '[left]Left aligned text[/left]');
|
||||
INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Center', 'Aligns content to the center of the posting area.', 'center', '<div align=\'center\'>{content}</div>', 0, '[center]Centered Text[/center]');
|
||||
INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Topic Link', 'This tag provides an easy way to link to a topic', 'topic', '<a href=\'index.php?showtopic={option}\'>{content}</a>', 1, '[topic=100]Click me![/topic]');
|
||||
INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Post Link', 'This tag provides an easy way to link to a post.', 'post', '<a href=\'index.php?act=findpost&pid={option}\'>{content}</a>', 1, '[post=100]Click me![/post]');
|
||||
INSERT INTO ibf_subscription_methods (submethod_title, submethod_name, submethod_email, submethod_sid, submethod_custom_1, submethod_custom_2, submethod_custom_3, submethod_custom_4, submethod_custom_5, submethod_is_cc, submethod_is_auto, submethod_desc, submethod_logo, submethod_active, submethod_use_currency) VALUES ('Authorize.net', 'authorizenet', '', '', '', '', '', '', '', '1', '1', NULL, NULL, '1', 'USD');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (1, 'pdf', 'application/pdf', 1, 0, 'folder_mime_types/pdf.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (2, 'png', 'image/png', 1, 1, 'folder_mime_types/quicktime.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (3, 'viv', 'video/vivo', 1, 0, 'folder_mime_types/win_player.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (4, 'wmv', 'video/x-msvideo', 1, 0, 'folder_mime_types/win_player.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (5, 'html', 'application/octet-stream', 1, 0, 'folder_mime_types/html.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (6, 'ram', 'audio/x-pn-realaudio', 1, 0, 'folder_mime_types/real_audio.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (7, 'gif', 'image/gif', 1, 1, 'folder_mime_types/gif.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (8, 'mpg', 'video/mpeg', 1, 0, 'folder_mime_types/quicktime.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (9, 'ico', 'image/ico', 1, 0, 'folder_mime_types/gif.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (10, 'tar', 'application/x-tar', 1, 0, 'folder_mime_types/zip.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (11, 'bmp', 'image/x-MS-bmp', 1, 0, 'folder_mime_types/gif.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (12, 'tiff', 'image/tiff', 1, 0, 'folder_mime_types/quicktime.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (13, 'rtf', 'text/richtext', 1, 0, 'folder_mime_types/rtf.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (14, 'hqx', 'application/mac-binhex40', 1, 0, 'folder_mime_types/stuffit.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (15, 'aiff', 'audio/x-aiff', 1, 0, 'folder_mime_types/quicktime.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (31, 'zip', 'application/zip', 1, 0, 'folder_mime_types/zip.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (17, 'ps', 'application/postscript', 1, 0, 'folder_mime_types/eps.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (18, 'doc', 'application/msword', 1, 0, 'folder_mime_types/doc.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (19, 'mov', 'video/quicktime', 1, 0, 'folder_mime_types/quicktime.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (20, 'ppt', 'application/powerpoint', 1, 0, 'folder_mime_types/ppt.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (21, 'wav', 'audio/x-wav', 1, 0, 'folder_mime_types/music.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (22, 'mp3', 'audio/x-mpeg', 1, 0, 'folder_mime_types/music.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (23, 'jpg', 'image/jpeg', 1, 1, 'folder_mime_types/gif.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (24, 'txt', 'text/plain', 1, 0, 'folder_mime_types/txt.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (25, 'xml', 'text/xml', 1, 0, 'folder_mime_types/script.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (26, 'css', 'text/css', 1, 0, 'folder_mime_types/script.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (27, 'swf', 'application/x-shockwave-flash', 0, 0, 'folder_mime_types/quicktime.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (32, 'php', 'application/octet-stream', 1, 0, 'folder_mime_types/php.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (28, 'htm', 'application/octet-stream', 1, 0, 'folder_mime_types/html.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (29, 'jpeg', 'image/jpeg', 1, 1, 'folder_mime_types/gif.gif');
|
||||
INSERT INTO ibf_attachments_type (atype_id, atype_extension, atype_mimetype, atype_post, atype_photo, atype_img) VALUES (33, 'gz', 'application/x-gzip', 1, 0, 'folder_mime_types/zip.gif');
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('skin_id_cache', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('bbcode', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('moderators', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('multimod', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('banfilters', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('attachtypes', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('emoticons', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('forum_cache', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('badwords', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('systemvars', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('ranks', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('group_cache', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('stats', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('profilefields', 'a:0:{}', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('settings','', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('languages', '', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('birthdays', 'a:0:{}', '', 1);
|
||||
INSERT INTO ibf_cache_store (cs_key, cs_value, cs_extra, cs_array) VALUES ('calendar', 'a:0:{}', '', 1);
|
||||
INSERT INTO ibf_skin_sets (set_skin_set_id, set_name, set_image_dir, set_hidden, set_default, set_css_method, set_skin_set_parent, set_author_email, set_author_name, set_author_url, set_css, set_cache_macro, set_wrapper, set_css_updated, set_cache_css, set_cache_wrapper, set_emoticon_folder) VALUES (1, 'IPB Master Skin Set', '1', 0, 0, '0', -1, '', '', '', '', '', '', 1079109298, '', '', 'default');
|
||||
INSERT INTO ibf_skin_sets (set_skin_set_id, set_name, set_image_dir, set_hidden, set_default, set_css_method, set_skin_set_parent, set_author_email, set_author_name, set_author_url, set_css, set_cache_macro, set_wrapper, set_css_updated, set_cache_css, set_cache_wrapper, set_emoticon_folder) VALUES (2, 'IPB Default Skin', '1', 0, 1, '0', -1, 'ipbauto@invisionboard.com', 'Invision Power Services', 'www.invisionboard.com', '', '', '', 1074679074, '', '', 'default');
|
||||
INSERT INTO ibf_skin_sets (set_skin_set_id, set_name, set_image_dir, set_hidden, set_default, set_css_method, set_skin_set_parent, set_author_email, set_author_name, set_author_url, set_css, set_cache_macro, set_wrapper, set_css_updated, set_cache_css, set_cache_wrapper, set_emoticon_folder) VALUES (3, 'IPB Pre-2.0 Skins', '1', 0, 0, '0', -1, 'ipbauto@invisionboard.com', 'Invision Power Services', 'www.invisionboard.com', '', '', '', 1074679074, '', '', 'default');
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (1, 'General Configuration', 'These settings control the basics of the board such as URLs and paths.', 17);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (2, 'CPU Saving & Optimization', 'This section allows certain features to be limited or removed to get more performance out of your board.', 16);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (3, 'Date & Time Formats', 'This section contains the date and time formats used throughout the board.', 7);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (4, 'User Profiles', 'This section allows you to adjust your member\'s global permissions and other options.', 22);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (5, 'Topics, Posts and Polls', 'These options control various elements when posting, reading topics and reading polls.', 32);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (6, 'Security and Privacy', 'These options allow you to adjust the security and privacy options for your board.', 18);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (7, 'Cookies', 'This section allows you to set the default cookie options.', 3);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (8, 'COPPA Set-up', 'This section allows you to comply with <a href=\'http://www.ftc.gov/ogc/coppa1.htm\'>COPPA</a>.', 3);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (9, 'Calendar & Birthdays', 'This section will allow you to set up the board calendar and its related options.', 8);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (10, 'News Set-up', 'This section will allow you to specify the forum you wish to export news topics from to be used with ssi.php and IPDynamic Lite.', 2);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (11, 'Personal Message Set-up', 'This section allows you to control the global PM options.', 3);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (12, 'Email Set-up', 'This section will allow you to change the incoming and outgoing email addresses as well as the email method.', 7);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (13, 'Warn Set-up', 'This section will allow you to set up the warning system.', 15);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (14, 'Trash Can Set-up', 'The trashcan is a special forum in which topics are moved into instead of being deleted.', 6);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (15, 'Board Offline / Online', 'Use this setting to turn switch your board online or offline and leave a message for your visitors.', 2);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (16, 'Search Engine Spiders', 'This section will allow you to set up and maintain your search engine bot spider recognition settings.', 7);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (17, 'Board Guidelines', 'This section allows you to maintain your board guidelines. If enabled, a link will be added to the board header linking to the board guidelines.', 4);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (18, 'Converge Set Up', 'Converge is Invision Power Services central authentication method for all IPS applications. This allows you to have a single log-in for all your IPS products.', 1);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count) VALUES (19, 'Full Text Search Set-Up', 'Full text searching is a very fast and very efficient way of searching large amounts of posts without maintaining a manual index. This may not be available for your system.', 2);
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (20,'Invision Chat Settings (Legacy Version)', 'This will allow you to customize your Invision Chat integration settings for the legacy edition.', 14, 1, 'chat');
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (21,'Invision Chat Settings', 'This will allow you to customize your Invision Chat integration settings for the new 2004 edition', 10, 1, 'chat04');
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (22,'IPB Portal', 'These settings enable you to enable or disable IPB Portal and control the options IPB Portal offers.', 20, 0, 'ipbportal');
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (23,'Subscriptions Manager', 'These settings control various subscription manager features.', 3, 0, 'subsmanager');
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (24,'IPB Registration', 'This section will allow you to edit your IPB registered licence settings.', 3, 1, 'ipbreg');
|
||||
INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (25,'IPB Copyright Removal', 'This section allows you to manage your copyright removal key.', 2, 1, 'ipbcopyright');
|
||||
INSERT INTO ibf_upgrade_history (upgrade_id, upgrade_version_id, upgrade_version_human, upgrade_date, upgrade_mid, upgrade_notes) VALUES ('', '20012', '2.0.2', '0', '0', '');
|
||||
DROP TABLE ibf_tmpl_names;
|
||||
DROP TABLE ibf_forums_bak;
|
||||
DROP TABLE ibf_categories;
|
||||
DROP TABLE ibf_messages;
|
||||
alter table ibf_tracker change topic_id topic_id int(10) NOT NULL default '0';
|
||||
ALTER TABLE ibf_tracker ADD INDEX(topic_id);
|
||||
ALTER TABLE ibf_topics CHANGE pinned pinned TINYINT( 1 ) DEFAULT '0' NOT NULL;
|
||||
ALTER TABLE ibf_topics CHANGE approved approved TINYINT( 1 ) DEFAULT '0' NOT NULL;
|
||||
ALTER TABLE ibf_topics ADD INDEX(topic_firstpost);
|
||||
alter table ibf_posts drop index topic_id;
|
||||
alter table ibf_posts drop index author_id;
|
||||
alter table ibf_posts add index topic_id (topic_id, queued, pid);
|
||||
alter table ibf_posts add index author_id( author_id, topic_id);
|
||||
ALTER TABLE ibf_posts DROP INDEX forum_id, ADD INDEX(post_date);
|
||||
UPDATE ibf_members SET language='';
|
||||
ALTER TABLE ibf_members add has_blog TINYINT(1) NOT NULL default '0';
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.2.2
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Monday 05th of March 2007 10:10:55 PM
|
||||
| Release: e3790216629e5a2aaf37070b32237f06
|
||||
| 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
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+--------------------------------------------------------------------------
|
||||
|
|
||||
| > Script written by Matthew Mecham
|
||||
| > Date started: 12th August 2004
|
||||
| > MYSQL EXTRA CONFIG / INSTALL FILE
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
class install_extra
|
||||
{
|
||||
var $errors = array();
|
||||
var $info_extra = array();
|
||||
var $ipsclass = "";
|
||||
|
||||
function install_extra()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// process_query_create: Alter the query before it goes back $DB->query
|
||||
// table prefix already changed at this point: CREATE TABLE
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function process_query_create( $query )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Tack on the end the chosen table type
|
||||
//-----------------------------------------
|
||||
|
||||
$table_type = $this->ipsclass->vars['mysql_tbl_type'];
|
||||
|
||||
if ( !$table_type )
|
||||
{
|
||||
$table_type = 'MyISAM';
|
||||
}
|
||||
|
||||
$codepage = $this->ipsclass->vars['mysql_codepage'];
|
||||
|
||||
return preg_replace( "#\);$#", ") TYPE=".$table_type." /*!40100 DEFAULT CHARACTER SET ".$codepage." */;", $query );
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// process_query_index: Alter the query before it goes back $DB->query
|
||||
// table prefix already changed at this point: INDEX
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function process_query_index( $query )
|
||||
{
|
||||
return $query;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// process_query_index: Alter the query before it goes back $DB->query
|
||||
// table prefix already changed at this point: INSERT
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function process_query_insert( $query )
|
||||
{
|
||||
return $query;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// WHEN SHOWING THE FORM....
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function install_form_extra()
|
||||
{
|
||||
$extra = "<tr>
|
||||
<td class='title'><b>Êîäèðîâêà MySQL</b><div style='color:gray; font-weight:normal;'>Íå èçìåíÿòå, åñëè íå óâåðåíû.</div></td>
|
||||
<td class='content'><input type='text' name='mysql_codepage' class='sql_form' value='cp1251'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='title'><b>Òèï MySQL òàáëèö</b><div style='color:gray; font-weight:normal;'>Íå èçìåíÿòå, åñëè íå óâåðåíû.</div></td>
|
||||
<td class='content'><select name='mysql_tbl_type' class='sql_form'><option value='MyISAM'>MYISAM</option><option value='INNODB'>INNODB</option></select></td>
|
||||
</tr>";
|
||||
|
||||
return $extra;
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// WHEN SAVING TO CONF GLOBAL
|
||||
// Return errors in $errors[]
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function install_form_process()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// When processed, return all vars to save
|
||||
// in conf_global in the array $this->info_extra
|
||||
// This will also be saved into $INFO[] for
|
||||
// the installer
|
||||
//-----------------------------------------
|
||||
|
||||
if ( ! $_REQUEST['mysql_tbl_type'] OR ! $_REQUEST['mysql_codepage'] )
|
||||
{
|
||||
$this->errors[] = 'Âû îáÿçàíû çàïîëíèòü âñþ èíôîðìàöèþ î SQL ñåðâåðå!';
|
||||
return;
|
||||
}
|
||||
|
||||
$this->info_extra['mysql_tbl_type'] = $_REQUEST['mysql_tbl_type'];
|
||||
$this->info_extra['mysql_codepage'] = $_REQUEST['mysql_codepage'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,270 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board v<{%dyn.down.var.human.version%}>
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Time: <{%dyn.down.var.time%}>
|
||||
| Release: <{%dyn.down.var.md5%}>
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PDR1 -> PDR 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $this_version = '20002';
|
||||
var $upgrade_from = '20001';
|
||||
var $first_step = 'update your database to include the new schematic modifications.';
|
||||
var $md5_check = '';
|
||||
var $base_url = '';
|
||||
var $mod_to_run = '';
|
||||
var $error = array();
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
function version_process()
|
||||
{
|
||||
|
||||
|
||||
$this->md5_check = $this->ipsclass->return_md5_check();
|
||||
|
||||
$this->base_url = "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}";
|
||||
|
||||
if ( is_array( $this->ipsclass->modules_to_run ) and count( $this->ipsclass->modules_to_run ) )
|
||||
{
|
||||
$tmp = array_shift( $this->ipsclass->modules_to_run );
|
||||
|
||||
$this->mod_to_run = implode( ', ', $this->ipsclass->modules_to_run );
|
||||
}
|
||||
|
||||
if ( ! $this->mod_to_run )
|
||||
{
|
||||
$this->mod_to_run = 'None';
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
|
||||
|
||||
//--------------------------------
|
||||
// What are we doing?
|
||||
//--------------------------------
|
||||
|
||||
switch( $this->ipsclass->input['workact'] )
|
||||
{
|
||||
case 'sql':
|
||||
$this->upgrade_sql();
|
||||
break;
|
||||
default:
|
||||
$this->upgrade_intro();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SQL
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function upgrade_sql()
|
||||
{
|
||||
|
||||
|
||||
$cnt = 0;
|
||||
$sql = $this->_get_sql();
|
||||
|
||||
$this->ipsclass->DB->return_die = 1;
|
||||
|
||||
foreach( $sql as $q )
|
||||
{
|
||||
$this->ipsclass->DB->query( $q );
|
||||
|
||||
if ( $this->ipsclass->DB->error )
|
||||
{
|
||||
$this->error[] = $this->ipsclass->DB->error;
|
||||
}
|
||||
else
|
||||
{
|
||||
$cnt++;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
// Next page...
|
||||
//--------------------------------
|
||||
|
||||
if ( count($this->error) )
|
||||
{
|
||||
$this->ipsclass->core->show_error( implode( "<br />", $this->error ), "done" );
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->core->redirect( "index.php?act=done&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}", "$cnt queries run...." );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// INTRO
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function upgrade_intro()
|
||||
{
|
||||
|
||||
|
||||
$this->ipsclass->template->content .= "
|
||||
<div class='tableborder'>
|
||||
<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 />
|
||||
<div align='center'><span style='font-weight:bold;font-size:14px'>» <a href='{$this->base_url}&workact=sql'>Proceed...</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div align='center'>Modules to run after this module: {$this->mod_to_run}</div>
|
||||
";
|
||||
|
||||
$this->ipsclass->template->output();
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SQL (ARRAY)
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function _get_sql()
|
||||
{
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[]="create table ibf_announcements (
|
||||
announce_id int(10) UNSIGNED NOT NULL auto_increment,
|
||||
announce_title varchar(255) NOT NULL default '',
|
||||
announce_post text NOT NULL default '',
|
||||
announce_forum text NOT NULL default '',
|
||||
announce_member_id mediumint(8) UNSIGNED NOT NULL default '0',
|
||||
announce_html_enabled tinyint(1) NOT NULL default '0',
|
||||
announce_views int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_start int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_end int(10) UNSIGNED NOT NULL default '0',
|
||||
announce_active tinyint(1) NOT NULL default '1',
|
||||
PRIMARY KEY (announce_id)
|
||||
);";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day,
|
||||
task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled)
|
||||
VALUES ('Announcements Update', 'announcements.php', 1080747660, -1, -1, 4, -1, 'e82f2c19ab1ed57c140fccf8aea8b9fe', 1,
|
||||
'Rebuilds cache and expires out of date announcements', 1);";
|
||||
|
||||
$SQL[]="CREATE TABLE ibf_bulk_mail (
|
||||
mail_id int(10) NOT NULL auto_increment,
|
||||
mail_subject varchar(255) NOT NULL default '',
|
||||
mail_content mediumtext NOT NULL default '',
|
||||
mail_groups mediumtext NOT NULL default '',
|
||||
mail_honor tinyint(1) NOT NULL default '1',
|
||||
mail_opts mediumtext NOT NULL default '',
|
||||
mail_start int(10) NOT NULL default '0',
|
||||
mail_updated int(10) NOT NULL default '0',
|
||||
mail_sentto int(10) NOT NULL default '0',
|
||||
mail_active tinyint(1) NOT NULL default '0',
|
||||
mail_pergo smallint(5) NOT NULL default '0',
|
||||
PRIMARY KEY (mail_id)
|
||||
);";
|
||||
|
||||
|
||||
$SQL[]="alter table ibf_task_manager add task_key varchar(30) NOT NULL default '', add task_safemode tinyint(1) NOT NULL default '';";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value,
|
||||
conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group,
|
||||
conf_end_group, conf_help_key, conf_add_cache) VALUES ('Add '<' and '>' to 'to' and 'from' addresses?',
|
||||
'Some SMTP mailers require that email addresses are in the following format \'<\' address \'>\' (no quotes).
|
||||
If you are getting errors in the mail error log, enabled this option', '12', 'yes_no', 'mail_wrap_brackets', '', '0', '', '', 1, 6, '', 0, '', 1);";
|
||||
|
||||
$SQL[]="create table ibf_mail_error_logs (
|
||||
mlog_id int(10) auto_increment NOT NULL,
|
||||
mlog_date int(10) NOT NULL default '0',
|
||||
mlog_to varchar(250) NOT NULL default '',
|
||||
mlog_from varchar(250) NOT NULL default '',
|
||||
mlog_subject varchar(250) NOT NULL default '',
|
||||
mlog_content varchar(250) NOT NULL default '',
|
||||
mlog_msg text NOT NULL default '',
|
||||
mlog_code varchar(200) NOT NULL default '',
|
||||
mlog_smtp_msg text NOT NULL default '',
|
||||
PRIMARY KEY (mlog_id)
|
||||
);";
|
||||
|
||||
|
||||
$SQL[]="alter table ibf_pfields_data
|
||||
change fid pf_id smallint(5) NOT NULL auto_increment,
|
||||
change ftitle pf_title varchar(250) NOT NULL default '',
|
||||
change fdesc pf_desc varchar(250) NOT NULL default '',
|
||||
change fcontent pf_content text NOT NULL default '',
|
||||
change ftype pf_type varchar(250) NOT NULL default '',
|
||||
change freq pf_not_null tinyint(1) NOT NULL default '0',
|
||||
change fhide pf_member_hide tinyint(1) NOT NULL default '0',
|
||||
change fmaxinput pf_max_input smallint(6) NOT NULL default '0',
|
||||
change fedit pf_member_edit tinyint(1) NOT NULL default '0',
|
||||
change forder pf_position smallint(6) NOT NULL default '0',
|
||||
change fshowreg pf_show_on_reg tinyint(1) NOT NULL default '0',
|
||||
add pf_input_format text NOT NULL default '',
|
||||
add pf_admin_only tinyint(1) NOT NULL default '0',
|
||||
add pf_topic_format text NOT NULL default '';";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_skin_macro (macro_value, macro_replace, macro_set) VALUES ( 'POST_SNAPBACK', \"<img src='style_images/<#IMG_DIR#>/post_snapback.gif' alt='*' border='0' />\", 1);";
|
||||
|
||||
$SQL[]="alter table ibf_forum_tracker add forum_track_type varchar(100) NOT NULL default 'delayed';";
|
||||
$SQL[]="alter table ibf_tracker add topic_track_type varchar(100) NOT NULL default 'delayed';";
|
||||
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Post Snap Back', 'This tag displays a little linked image which links back to a post - used when quoting posts from the board. Opens in same window by default.', 'snapback', '<a href=\"index.php?act=findpost&pid={content}\"><{POST_SNAPBACK}></a>', 0, '[snapback]100[/snapback]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Right', 'Aligns content to the right of the posting area', 'right', '<div align=\'right\'>{content}</div>', 0, '[right]Some text here[/right]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Left', 'Aligns content to the left of the post', 'left', '<div align=\'left\'>{content}</div>', 0, '[left]Left aligned text[/left]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Center', 'Aligns content to the center of the posting area.', 'center', '<div align=\'center\'>{content}</div>', 0, '[center]Centered Text[/center]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Topic Link', 'This tag provides an easy way to link to a topic', 'topic', '<a href=\'index.php?showtopic={option}\'>{content}</a>', 1, '[topic=100]Click me![/topic]');";
|
||||
$SQL[]="INSERT INTO ibf_custom_bbcode (bbcode_title, bbcode_desc, bbcode_tag, bbcode_replace, bbcode_useoption, bbcode_example) VALUES ('Post Link', 'This tag provides an easy way to link to a post.', 'post', '<a href=\'index.php?act=findpost&pid={option}\'>{content}</a>', 1, '[post=100]Click me![/post]');";
|
||||
|
||||
$SQL[]="alter table ibf_members change auto_track auto_track varchar(50) default '0';";
|
||||
|
||||
|
||||
$SQL[]="alter table ibf_conf_settings_titles
|
||||
add conf_title_noshow tinyint(1) NOT NULL default '0',
|
||||
add conf_title_keyword varchar(200) NOT NULL default '0'";
|
||||
|
||||
return $SQL;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,114 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board v<{%dyn.down.var.human.version%}>
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Time: <{%dyn.down.var.time%}>
|
||||
| Release: <{%dyn.down.var.md5%}>
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PDR1 -> PDR 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $this_version = '20003';
|
||||
var $upgrade_from = '20002';
|
||||
var $first_step = 'update your templates.';
|
||||
var $md5_check = '';
|
||||
var $base_url = '';
|
||||
var $mod_to_run = '';
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
function version_process()
|
||||
{
|
||||
$this->md5_check = $this->ipsclass->return_md5_check();
|
||||
|
||||
$this->base_url = "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}";
|
||||
|
||||
if ( is_array( $this->ipsclass->modules_to_run ) and count( $this->ipsclass->modules_to_run ) )
|
||||
{
|
||||
$tmp = array_shift( $this->ipsclass->modules_to_run );
|
||||
|
||||
$this->mod_to_run = implode( ', ', $this->ipsclass->modules_to_run );
|
||||
}
|
||||
|
||||
if ( ! $this->mod_to_run )
|
||||
{
|
||||
$this->mod_to_run = 'None';
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//--------------------------------
|
||||
// What are we doing?
|
||||
//--------------------------------
|
||||
|
||||
switch( $this->ipsclass->input['workact'] )
|
||||
{
|
||||
default:
|
||||
$this->upgrade_intro();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// INTRO
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function upgrade_intro()
|
||||
{
|
||||
$this->ipsclass->template->content .= "
|
||||
<div class='tableborder'>
|
||||
<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 />
|
||||
<div align='center'><span style='font-weight:bold;font-size:14px'>» <a href='{$this->base_url}&act=done'>Proceed...</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div align='center'>Modules to run after this module: {$this->mod_to_run}</div>
|
||||
";
|
||||
|
||||
$this->ipsclass->template->output();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,202 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board v<{%dyn.down.var.human.version%}>
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Time: <{%dyn.down.var.time%}>
|
||||
| Release: <{%dyn.down.var.md5%}>
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PDR1 -> PDR 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $this_version = '20004';
|
||||
var $upgrade_from = '20003';
|
||||
var $first_step = 'update your database to include the new schematic modifications.';
|
||||
var $md5_check = '';
|
||||
var $base_url = '';
|
||||
var $mod_to_run = '';
|
||||
var $error = array();
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
function version_process()
|
||||
{
|
||||
|
||||
|
||||
$this->md5_check = $this->ipsclass->return_md5_check();
|
||||
|
||||
$this->base_url = "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}";
|
||||
|
||||
if ( is_array( $this->ipsclass->modules_to_run ) and count( $this->ipsclass->modules_to_run ) )
|
||||
{
|
||||
$tmp = array_shift( $this->ipsclass->modules_to_run );
|
||||
|
||||
$this->mod_to_run = implode( ', ', $this->ipsclass->modules_to_run );
|
||||
}
|
||||
|
||||
if ( ! $this->mod_to_run )
|
||||
{
|
||||
$this->mod_to_run = 'None';
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
|
||||
|
||||
//--------------------------------
|
||||
// What are we doing?
|
||||
//--------------------------------
|
||||
|
||||
switch( $this->ipsclass->input['workact'] )
|
||||
{
|
||||
case 'sql':
|
||||
$this->upgrade_sql();
|
||||
break;
|
||||
default:
|
||||
$this->upgrade_intro();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SQL
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function upgrade_sql()
|
||||
{
|
||||
|
||||
|
||||
$cnt = 0;
|
||||
$sql = $this->_get_sql();
|
||||
|
||||
$this->ipsclass->DB->return_die = 1;
|
||||
|
||||
foreach( $sql as $q )
|
||||
{
|
||||
$this->ipsclass->DB->query( $q );
|
||||
|
||||
if ( $this->ipsclass->DB->error )
|
||||
{
|
||||
$this->error[] = $this->ipsclass->DB->error;
|
||||
}
|
||||
else
|
||||
{
|
||||
$cnt++;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
// Next page...
|
||||
//--------------------------------
|
||||
|
||||
if ( count($this->error) )
|
||||
{
|
||||
$this->ipsclass->core->show_error( implode( "<br />", $this->error ), "done" );
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->core->redirect( "index.php?act=done&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}", "$cnt queries run...." );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// INTRO
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function upgrade_intro()
|
||||
{
|
||||
|
||||
|
||||
$this->ipsclass->template->content .= "
|
||||
<div class='tableborder'>
|
||||
<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 />
|
||||
<div align='center'><span style='font-weight:bold;font-size:14px'>» <a href='{$this->base_url}&workact=sql'>Proceed...</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div align='center'>Modules to run after this module: {$this->mod_to_run}</div>
|
||||
";
|
||||
|
||||
$this->ipsclass->template->output();
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SQL (ARRAY)
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function _get_sql()
|
||||
{
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings_titles (conf_title_id, conf_title_title, conf_title_desc, conf_title_count, conf_title_noshow, conf_title_keyword) VALUES (22,'IPB Portal', 'These settings enable you to enable or disable IPB Portal and control the options IPB Portal offers.', 20, 0, 'ipbportal');";
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('ENABLE IPB Portal?', 'If \'yes\', IPB Portal can be accessed via \'index.php?act=home\' or via the special \'index.php\' script (see documentation for more info).', '22', 'yes_no', 'csite_on', '', '1', '', '', 1, 1, '', 0, '', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('IPB Portal Page Title?', 'This will appear inbetween the <title> elements on the page', '22', 'input', 'csite_title', '', 'IPB Portal', '', '', 1, 2, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Forums to export articles from', 'Separate <b>forum ids</b> with a comma for more than one', '22', 'input', 'csite_article_forum', '1,2,3,4,5,6', '', '', '', 1, 3, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Number of Articles to display in the main section', '', '22', 'input', 'csite_article_max', '', '15', '', '', 1, 4, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable Recent Articles?', 'This will show a list of recent topic titles on the IPB Portal page', '22', 'yes_no', 'csite_article_recent_on', '', '1', '', '', 1, 5, 'IPB Portal Recent Articles', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. no recent articles to show', '', '22', 'input', 'csite_article_recent_max', '', '5', '', '', 1, 6, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. length of topic titles', '', '22', 'input', 'csite_article_len', '', '30', '', '', 1, 7, '', 1, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Date format for articles', '<a href=\'http://www.php.net/date\'>Same as PHP\'s date function', '22', 'input', 'csite_article_date', '', 'm-j-y H:i', '', '', 1, 3, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable Recent Discussions', '', '22', 'yes_no', 'csite_discuss_on', '', '1', '', '', 1, 9, 'IPB Portal Recent Discussions', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. no recent discussions to show', '', '22', 'input', 'csite_discuss_max', '', '10', '', '', 1, 10, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Max. length of topic titles', '', '22', 'input', 'csite_discuss_len', '', '30', '', '', 1, 11, '', 1, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show User / Guest Info box?', '', '22', 'yes_no', 'csite_pm_show', '', '1', '', '', 1, 12, 'IPB Portal Components', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show online users?', '', '22', 'yes_no', 'csite_online_show', '', '1', '', '', 1, 13, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show search box?', '', '22', 'yes_no', 'csite_search_show', '', '1', '', '', 1, 14, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enable skin selection choice dropdown?', '', '22', 'yes_no', 'csite_skinchange_show', '', '1', '', '', 1, 15, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Enter URL to poll topic for inclusion', 'Leave blank to not show a poll or the poll box', '22', 'input', 'csite_poll_url', '', '', '', '', 1, 17, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show Site Navigation Menu?', '', '22', 'yes_no', 'csite_nav_show', '', '1', '', '', 1, 18, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Site Navigation Menu Links', 'One per line in this format<br>http://www.apple.com [Apple\'s Website]<br><br>{board_url} will convert into your board', '22', 'textarea', 'csite_nav_contents', '', '{board_url} [Forums]\r\n{board_url}act=Search&CODE=getactive [Today\'s Active Topics]\r\n{board_url}act=Stats [Today\'s Top 10 Posters]\r\n{board_url}act=Stats&CODE=leaders [Contact Staff]', '', 'if ( $show == 1)\r\n{\r\n $value = preg_replace( \"/&(middot|quot|copy|amp)/\", \"&\\\\1\", $value );\r\n}', 1, 19, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show Affiliates / Favoured Sites box?', '', '22', 'yes_no', 'csite_fav_show', '', '0', '', '', 1, 20, '', 0, '', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_conf_settings (conf_title, conf_description, conf_group, conf_type, conf_key, conf_value, conf_default, conf_extra, conf_evalphp, conf_protected, conf_position, conf_start_group, conf_end_group, conf_help_key, conf_add_cache) VALUES ('Show Affiliates / Favoured Sites box content', 'Raw HTML enabled', '22', 'textarea', 'csite_fav_contents', '', '', '', 'if ( $show == 1)\r\n{\r\n $value = preg_replace( \"/&(middot|quot|copy|amp)/\", \"&\\\\1\", $value );\r\n}', 1, 21, '', 1, '', 0);";
|
||||
|
||||
|
||||
return $SQL;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,183 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board v<{%dyn.down.var.human.version%}>
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Time: <{%dyn.down.var.time%}>
|
||||
| Release: <{%dyn.down.var.md5%}>
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.0 PDR1 -> PDR 2
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $this_version = '20005';
|
||||
var $upgrade_from = '20004';
|
||||
var $first_step = 'update your database to include the new schematic modifications.';
|
||||
var $md5_check = '';
|
||||
var $base_url = '';
|
||||
var $mod_to_run = '';
|
||||
var $error = array();
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
function version_process()
|
||||
{
|
||||
|
||||
|
||||
$this->md5_check = $this->ipsclass->return_md5_check();
|
||||
|
||||
$this->base_url = "index.php?act=work&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}";
|
||||
|
||||
if ( is_array( $this->ipsclass->modules_to_run ) and count( $this->ipsclass->modules_to_run ) )
|
||||
{
|
||||
$tmp = array_shift( $this->ipsclass->modules_to_run );
|
||||
|
||||
$this->mod_to_run = implode( ', ', $this->ipsclass->modules_to_run );
|
||||
}
|
||||
|
||||
if ( ! $this->mod_to_run )
|
||||
{
|
||||
$this->mod_to_run = 'None';
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
|
||||
|
||||
//--------------------------------
|
||||
// What are we doing?
|
||||
//--------------------------------
|
||||
|
||||
switch( $this->ipsclass->input['workact'] )
|
||||
{
|
||||
case 'sql':
|
||||
$this->upgrade_sql();
|
||||
break;
|
||||
default:
|
||||
$this->upgrade_intro();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SQL
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function upgrade_sql()
|
||||
{
|
||||
|
||||
|
||||
$cnt = 0;
|
||||
$sql = $this->_get_sql();
|
||||
|
||||
$this->ipsclass->DB->return_die = 1;
|
||||
|
||||
foreach( $sql as $q )
|
||||
{
|
||||
$this->ipsclass->DB->query( $q );
|
||||
|
||||
if ( $this->ipsclass->DB->error )
|
||||
{
|
||||
$this->error[] = $this->ipsclass->DB->error;
|
||||
}
|
||||
else
|
||||
{
|
||||
$cnt++;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
// Next page...
|
||||
//--------------------------------
|
||||
|
||||
if ( count($this->error) )
|
||||
{
|
||||
$this->ipsclass->core->show_error( implode( "<br />", $this->error ), "done" );
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->core->redirect( "index.php?act=done&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}", "$cnt queries run...." );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// INTRO
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function upgrade_intro()
|
||||
{
|
||||
|
||||
|
||||
$this->ipsclass->template->content .= "
|
||||
<div class='tableborder'>
|
||||
<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 />
|
||||
<div align='center'><span style='font-weight:bold;font-size:14px'>» <a href='{$this->base_url}&workact=sql'>Proceed...</a></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div align='center'>Modules to run after this module: {$this->mod_to_run}</div>
|
||||
";
|
||||
|
||||
$this->ipsclass->template->output();
|
||||
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// SQL (ARRAY)
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function _get_sql()
|
||||
{
|
||||
|
||||
$SQL = array();
|
||||
|
||||
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Send Bulk Mail', 'bulkmail.php', 1086706080, -1, -1, -1, -1, '61359ac93eb93ebbd935a4e275ade2db', 0, 'Dynamically assigned, no need to edit or change', 0, 'bulkmail', 1);";
|
||||
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Daily Topic & Forum Digest', 'dailydigest.php', 1086912600, -1, -1, 0, 10, '723cab2aae32dd5d04898b1151038846', 1, 'Emails out daily topic & forum digest emails', 1, 'dailydigest', 0);";
|
||||
$SQL[] = "INSERT INTO ibf_task_manager (task_title, task_file, task_next_run, task_week_day, task_month_day, task_hour, task_minute, task_cronkey, task_log, task_description, task_enabled, task_key, task_safemode) VALUES ('Weekly Topic & Forum Digest', 'weeklydigest.php', 1087096200, 0, -1, 3, 10, '7e7fccd07f781bdb24ac108d26612931', 1, 'Emails weekly topic & forum digest emails', 1, 'weeklydigest', 0);";
|
||||
|
||||
|
||||
return $SQL;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
Loaded 100 of 858 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user