Version 3.2.3

This commit is contained in:
Neo committed 2025-12-19 00:34:03 -08:00
1 parent ae5c01cc78
commit 78706903a2
2641 files changed
+228363 -201264

No files matched your search

+47 -23
View File
@@ -3,17 +3,17 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* IP.Board v3.2.3
* Core variables file: defines caches, resets, etc.
* Last Updated: $Date: 2010-10-18 20:34:07 -0400 (Mon, 18 Oct 2010) $
* Last Updated: $Date: 2011-09-08 18:01:45 -0400 (Thu, 08 Sep 2011) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @license This is NULLED!
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 6992 $
* @link http://hatynka.in
* @version $Rev: 9470 $
* @since 3.0.0
*
*/
@@ -143,8 +143,8 @@ class coreVariables
$CACHE['settings'] = array( 'array' => 1,
'allow_unload' => 0,
'default_load' => 1,
'recache_file' => IPSLib::getAppDir( 'core' ) . '/modules_admin/tools/settings.php',
'recache_class' => 'admin_core_tools_settings',
'recache_file' => IPSLib::getAppDir( 'core' ) . '/modules_admin/settings/settings.php',
'recache_class' => 'admin_core_settings_settings',
'recache_function' => 'settingsRebuildCache' );
$CACHE['lang_data'] = array( 'array' => 1,
@@ -213,8 +213,8 @@ class coreVariables
'array' => 1,
'allow_unload' => 0,
'default_load' => 1,
'recache_file' => IPSLib::getAppDir( 'members' ) . '/modules_admin/members/customfields.php',
'recache_class' => 'admin_members_members_customfields',
'recache_file' => IPSLib::getAppDir( 'members' ) . '/modules_admin/cfields/customfields.php',
'recache_class' => 'admin_members_cfields_customfields',
'recache_function' => 'rebuildCache'
);
@@ -275,6 +275,25 @@ class coreVariables
'recache_function' => 'rebuildNotificationsCache'
);
$CACHE['report_plugins'] = array(
'array' => 1,
'allow_unload' => 0,
'default_load' => 0,
'skip_rebuild_when_upgrading' => 0,
'recache_file' => IPSLib::getAppDir( 'core' ) . '/sources/classes/reportLibrary.php',
'recache_class' => 'reportLibrary',
'recache_function' => 'rebuildReportCache'
);
$CACHE['report_cache'] = array(
'array' => 1,
'allow_unload' => 0,
'default_load' => 0,
'skip_rebuild_when_upgrading' => 1,
'recache_file' => IPSLib::getAppDir( 'core' ) . '/sources/classes/reportLibrary.php',
'recache_class' => 'reportLibrary',
'recache_function' => 'updateCacheTime'
);
if ( IN_DEV )
{
@@ -289,6 +308,7 @@ class coreVariables
}
$_LOAD['report_cache'] = 1;
$_LOAD['report_plugins'] = 1;
$_LOAD['rss_output_cache'] = 1;
return array( 'caches' => $CACHE,
@@ -325,7 +345,7 @@ class coreVariables
$_RESET['section'] = 'share';
}
if( isset( $_REQUEST['showannouncement'] ) && $_REQUEST['showannouncement'] )
if( !empty( $_REQUEST['showannouncement'] ) )
{
$_RESET['app'] = 'forums';
$_RESET['module'] = 'forums';
@@ -344,7 +364,7 @@ class coreVariables
}
# FORUM
if( isset( $_REQUEST['showforum'] ) && $_REQUEST['showforum'] )
if( !empty( $_REQUEST['showforum'] ) )
{
$_RESET['app'] = 'forums';
$_RESET['module'] = 'forums';
@@ -353,18 +373,23 @@ class coreVariables
}
# TOPIC
if( ( isset( $_REQUEST['showtopic'] ) && $_REQUEST['showtopic'] ) OR ( isset($_REQUEST['act']) AND $_REQUEST['act'] == 'ST' ) )
if( !empty( $_REQUEST['showtopic'] ) OR ( isset($_REQUEST['act']) AND $_REQUEST['act'] == 'ST' ) )
{
$_RESET['app'] = 'forums';
$_RESET['module'] = 'forums';
$_RESET['section'] = 'topics';
if ( !$_REQUEST['t'] )
{
$_RESET['t'] = $_REQUEST['showtopic'];
}
else if( $_REQUEST['t'] AND !$_REQUEST['showtopic'] )
{
$_RESET['showtopic'] = $_REQUEST['t'];
}
}
if( ( isset( $_REQUEST['act'] ) && $_REQUEST['act'] == 'findpost' ) || isset( $_REQUEST['findpost'] ) && $_REQUEST['findpost'] )
if( ( isset( $_REQUEST['act'] ) && $_REQUEST['act'] == 'findpost' ) || !empty( $_REQUEST['findpost'] ) )
{
$_RESET['pid'] = ( $_REQUEST['pid'] ) ? $_REQUEST['pid'] : $_REQUEST['findpost'];
$_RESET['app'] = 'forums';
@@ -373,7 +398,7 @@ class coreVariables
}
# PROFILE
if( isset( $_REQUEST['showuser'] ) && $_REQUEST['showuser'] )
if( isset( $_REQUEST['showuser'] ) )
{
$_RESET['app'] = 'members';
$_RESET['module'] = 'profile';
@@ -462,13 +487,6 @@ class coreVariables
$_RESET['app'] = $_GET['autocom'] ? $_GET['autocom'] : $_GET['automodule'];
}
if( isset( $_REQUEST['act'] ) && $_REQUEST['act'] == 'Print' )
{
$_RESET['app'] = 'forums';
$_RESET['module'] = 'forums';
$_RESET['section'] = 'printtopic';
}
# Calendar
if( isset( $_REQUEST['act'] ) && $_REQUEST['act'] == 'calendar' )
{
@@ -536,8 +554,9 @@ class coreVariables
*/
public function fetchBitwise()
{
$_BITWISE = array( 'facebook' => array( 'fbc_s_pic', 'fbc_s_avatar', 'fbc_s_status', 'fbc_s_aboutme', 'fbc_si_status' ), // facebook == profile_portal.fb_bwoptions
'twitter' => array( 'tc_s_pic', 'tc_s_avatar', 'tc_s_status', 'tc_s_aboutme', 'tc_s_bgimg', 'tc_si_status' ), // twitter = profile_portal.tc_bwoptions
$_BITWISE = array( 'facebook' => array( 'fbc_s_pic', 'fbc_s_status', 'fbc_s_aboutme', 'fbc_si_status' ), // facebook == profile_portal.fb_bwoptions
'twitter' => array( 'tc_s_pic', 'tc_s_status', 'tc_s_aboutme', 'tc_s_bgimg', 'tc_si_status' ), // twitter = profile_portal.tc_bwoptions
'vkontakte' => array( 'vc_s_pic', 'vc_s_status' ), //vkontakte
'members' => array( 'bw_is_spammer',
'bw_from_sfs',
'bw_vnc_type', # 1 based on topic marking table, 0 based on last_visit
@@ -547,6 +566,9 @@ class coreVariables
'bw_status_email_all', # 1 is 'send me an email when anyone replies to any status update I replied to', 0 is OMG DO NOT DO THAT
'bw_disable_customization', # 1 yeah, 0 nah boi
'bw_local_password_set', # 1 means "user was created by remote, but has local password set", 0 means not, or not local user
'bw_disable_tagging', # 1 means no tagging for this dude
'bw_disable_prefixes', # 1 means no prefixes
'bw_using_skin_gen', # 1 means yes. 0 means.. well, I think you can figure that out
),
'groups' => array(
@@ -571,6 +593,8 @@ class coreVariables
'gbw_allow_upload_bgimage' , #^^
'gbw_view_reps' , # 1 allows them to view who gave rep to a post, 0 is can't
'gbw_no_status_import' , # 1 prevents members in group from importing statuses from services.
'gbw_disable_tagging' , # 1 means no tagging for this group
'gbw_disable_prefixes' , # 1 means cannot prefixes
)
);
+1 -1
View File
@@ -5,6 +5,6 @@
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
<a href="http://www.invisionpower.com">IP.Board</a>
</body>
</html>
+7 -7
View File
@@ -3,17 +3,17 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* IP.Board v3.2.3
* Sphinx template file
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* Last Updated: $Date: 2011-08-30 16:47:25 -0400 (Tue, 30 Aug 2011) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @license This is NULLED!
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 5713 $
* @link http://hatynka.in
* @version $Rev: 9433 $
* @since 3.0.0
*
*/
@@ -30,7 +30,7 @@ $sphinxTemplate = <<<EOF
## data source definition
#############################################################################
source ipb_source_config
source <!--SPHINX_CONF_PREFIX-->ipb_source_config
{
#setup
type = mysql
@@ -58,7 +58,7 @@ indexer
searchd
{
address = 127.0.0.1
listen = 127.0.0.1
port = <!--SPHINX_PORT-->
log = <!--SPHINX_BASE_PATH-->/log/searchd.log
query_log = <!--SPHINX_BASE_PATH-->/log/query.log
+25 -10
View File
@@ -3,17 +3,17 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* IP.Board v3.2.3
* User agent (browser and spider) mappings
* Last Updated: $Date: 2010-10-07 18:12:54 -0400 (Thu, 07 Oct 2010) $
* Last Updated: $Date: 2011-09-14 20:13:56 -0400 (Wed, 14 Sep 2011) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @license This is NULLED!
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 6954 $
* @link http://hatynka.in
* @version $Rev: 9491 $
* @since 3.0.0
*
*/
@@ -29,6 +29,16 @@ if ( ! defined( 'IN_IPB' ) )
// http://en.wikipedia.org/wiki/List_of_user_agents_for_mobile_phones
//-----------------------------------------
$BROWSERS['transformer'] = array(
'b_title' => "Transformer Tablet",
'b_regex' => array( ";\s+?Transformer\s+?" => "0" )
);
$BROWSERS['android'] = array(
'b_title' => "Android",
'b_regex' => array( ";\s+?android\s+?([A-Za-z0-9.]{1,10})" => "1" )
);
$BROWSERS['blackberry'] = array(
'b_title' => "Blackberry",
'b_regex' => array( "blackberry(\d+?)/([0-9.]{1,10})" => "2" )
@@ -43,7 +53,12 @@ $BROWSERS['ipodtouch'] = array(
'b_title' => "iPod Touch",
'b_regex' => array( "ipod;" => "0" )
);
$BROWSERS['iPad'] = array(
'b_title' => "iPad",
'b_regex' => array( "iPad;" => "0" )
);
$BROWSERS['sonyericsson'] = array(
'b_title' => "Sony Ericsson",
'b_regex' => array( "^SonyEricsson[A-Za-z0-9]" => "0" )
@@ -70,8 +85,8 @@ $BROWSERS['siemens'] = array(
);
$BROWSERS['htc'] = array(
'b_title' => "Nexus(Google)/Android/HTC",
'b_regex' => array( "(android |htc-|htc_)([A-Za-z0-9.]{1,10})" => "2" )
'b_title' => "Nexus(Google)/HTC",
'b_regex' => array( "(htc-|htc_)([A-Za-z0-9.]{1,10})" => "2" )
);
$BROWSERS['lg'] = array(
@@ -85,8 +100,8 @@ $BROWSERS['palm'] = array(
);
$BROWSERS['operamini'] = array(
'b_title' => "Opera Mini",
'b_regex' => array( "opera mini[ /]([0-9.]{1,10})" => "1" )
'b_title' => "Opera Mobile/Mini",
'b_regex' => array( "opera (mobi|mini)" => "0" )
);
//-----------------------------------------