Version 2.2.0 RC-1
This commit is contained in:
1 parent
f73f8bff6d
commit
22f1b963ee
1034 files changed
+178610
-70897
No files matched your search
@@ -0,0 +1,142 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<settingexport exported="1127385330">
|
||||
<settinggroup>
|
||||
<setting>
|
||||
<conf_id>245</conf_id>
|
||||
<conf_title>IPB Registered Licence Key</conf_title>
|
||||
<conf_description><![CDATA[This is the IPB registraton key NOT your customer code or client center password. To get your key, log into your client center and click on 'Invision Power Board' under 'Purchased Services'.
|
||||
<br />DO NOT REMOVE OR EDIT THIS KEY UNLESS YOU'RE SURE OF WHAT YOU'RE DOING!]]></conf_description>
|
||||
<conf_group>24</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_reg_number</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>1</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>243</conf_id>
|
||||
<conf_title>Display registered to line?</conf_title>
|
||||
<conf_description><![CDATA[If enabled, you can optionally add a "Licensed to" line at the bottom of your board.]]></conf_description>
|
||||
<conf_group>24</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>ipb_reg_show</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>0</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>2</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>244</conf_id>
|
||||
<conf_title>Show as licensed to...</conf_title>
|
||||
<conf_description><![CDATA[Examples: <em>Matthew Mecham</em>, <em>IPS, Inc.]]></conf_description>
|
||||
<conf_group>24</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>ipb_reg_name</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default></conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>3</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>330</conf_id>
|
||||
<conf_title>Allow members to use Rich Text Editing?</conf_title>
|
||||
<conf_description><![CDATA[If 'yes', members using IE 6, Mozilla and Firefox will be able to use Rich Text Editing (WYSIWYG).]]></conf_description>
|
||||
<conf_group>5</conf_group>
|
||||
<conf_type>yes_no</conf_type>
|
||||
<conf_key>posting_allow_rte</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>1</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>100</conf_position>
|
||||
<conf_start_group>Editor Settings</conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>348</conf_id>
|
||||
<conf_title><![CDATA[Post Editor's Width]]></conf_title>
|
||||
<conf_description><![CDATA[The width of the Rich Text Editor (WYIWYG) / Standard Text Editor when composing a new post. "px" and "%" allowed.]]></conf_description>
|
||||
<conf_group>5</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>rte_width</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>650px</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>101</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>0</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_id>349</conf_id>
|
||||
<conf_title><![CDATA[PM Editor's width]]></conf_title>
|
||||
<conf_description><![CDATA[The width of the Rich Text Editor (WYIWYG) / Standard Text Editor when composing a new Personal Message. "px" and "%" allowed.]]></conf_description>
|
||||
<conf_group>5</conf_group>
|
||||
<conf_type>input</conf_type>
|
||||
<conf_key>rte_pm_width</conf_key>
|
||||
<conf_value></conf_value>
|
||||
<conf_default>500px</conf_default>
|
||||
<conf_extra></conf_extra>
|
||||
<conf_evalphp></conf_evalphp>
|
||||
<conf_protected>1</conf_protected>
|
||||
<conf_position>102</conf_position>
|
||||
<conf_start_group></conf_start_group>
|
||||
<conf_end_group>1</conf_end_group>
|
||||
<conf_help_key></conf_help_key>
|
||||
<conf_add_cache>1</conf_add_cache>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>ipbreg</conf_title_keyword>
|
||||
<conf_title_title>IPB Licence Settings</conf_title_title>
|
||||
<conf_title_desc>This section will allow you to edit your IPB registered licence settings.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
|
||||
<setting>
|
||||
<conf_is_title>1</conf_is_title>
|
||||
<conf_title_keyword>topicspostsandpolls</conf_title_keyword>
|
||||
<conf_title_title>Topics, Posts and Polls</conf_title_title>
|
||||
<conf_title_desc>These options control various elements when posting, reading topics and reading polls.</conf_title_desc>
|
||||
<conf_title_noshow>0</conf_title_noshow>
|
||||
</setting>
|
||||
</settinggroup>
|
||||
|
||||
</settingexport>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
# Nothing of interest!
|
||||
|
||||
$SQL[] = "ALTER TABLE ibf_sessions CHANGE browser browser VARCHAR(200) NOT NULL default '';";
|
||||
$SQL[] = "ALTER TABLE ibf_rss_import ADD rss_import_allow_html TINYINT(1) NOT NULL default '0';";
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
$import_versions = array(
|
||||
'10001' => '1.1.0',
|
||||
'10002' => '1.2.0',
|
||||
'10003' => '1.3.0',
|
||||
'10004' => '1.3.1',
|
||||
'20001' => '2.0.0 PDR 1',
|
||||
'20002' => '2.0.0 PDR 2',
|
||||
'20003' => '2.0.0 PDR 3',
|
||||
'20004' => '2.0.0 PDR 4',
|
||||
'20005' => '2.0.0 PDR 5',
|
||||
'20006' => '2.0.0 PF 1',
|
||||
'20007' => '2.0.0 PF 2',
|
||||
'20008' => '2.0.0 PF 3',
|
||||
'20009' => '2.0.0 PF 4',
|
||||
'20010' => '2.0.0 FINAL',
|
||||
'20011' => '2.0.1 FINAL',
|
||||
'20012' => '2.0.2 FINAL',
|
||||
'20013' => '2.0.3 FINAL',
|
||||
'20014' => '2.0.4 FINAL',
|
||||
'21003' => '2.1.0 BETA 5',
|
||||
'21004' => '2.1.0 RC 1',
|
||||
'21005' => '2.1.0 RC 2',
|
||||
'21006' => '2.1.0 FINAL',
|
||||
'21007' => '2.1.1',
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,114 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB UPGRADE MODULE:: IPB 2.0.2 -> IPB 2.0.3
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 23rd April 2004
|
||||
| > "So what, pop is dead - it's no great loss.
|
||||
So many facelifts, it's face flew off"
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class version_upgrade
|
||||
{
|
||||
var $install;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function version_upgrade( & $install )
|
||||
{
|
||||
$this->install = & $install;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Auto run..
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Remove dupe categories
|
||||
//-----------------------------------------
|
||||
|
||||
$title_id_to_keep = array();
|
||||
$title_id_to_delete = array();
|
||||
$title_deleted_count = 0;
|
||||
$msg = '';
|
||||
|
||||
$this->install->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'conf_settings_titles', 'order' => 'conf_title_id DESC' ) );
|
||||
$this->install->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->install->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
if ( $title_id_to_keep[ $r['conf_title_title'] ] )
|
||||
{
|
||||
$title_id_to_delete[ $r['conf_title_id'] ] = $r['conf_title_id'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$title_id_to_keep[ $r['conf_title_title'] ] = $r['conf_title_id'];
|
||||
}
|
||||
}
|
||||
|
||||
if ( count( $title_id_to_delete ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->simple_exec_query( array( 'delete' => 'conf_settings_titles', 'where' => 'conf_title_id IN ('.implode( ',', $title_id_to_delete ).')' ) );
|
||||
}
|
||||
|
||||
$title_deleted_count = intval( count($title_id_to_delete) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Update this parachat component
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->install->ipsclass->vars['chat04_account_no'] )
|
||||
{
|
||||
require_once( ROOT_PATH . 'sources/api/api_core.php' );
|
||||
require_once( ROOT_PATH . 'sources/api/api_components.php' );
|
||||
|
||||
$api = new api_components();
|
||||
$api->ipsclass =& $this->install->ipsclass;
|
||||
|
||||
$fields = array( 'com_enabled' => 1,
|
||||
'com_menu_data' => array( 0 => array( 'menu_text' => 'Chat Settings',
|
||||
'menu_url' => 'code=chatsettings',
|
||||
'menu_permbit' => 'edit' ) ) );
|
||||
|
||||
$api->acp_component_update( 'chatpara', $fields );
|
||||
}
|
||||
|
||||
$this->install->message = "$title_deleted_count duplicate settings deleted";
|
||||
|
||||
if( $this->install->ipsclass->vars['chat04_account_no'] )
|
||||
{
|
||||
$this->install->message .= "<br /><br />Parachat component updated";
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user