Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -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
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user