Version 3.4.5

This commit is contained in:
Neo committed 2025-12-19 00:38:12 -08:00
1 parent fb6b5baabc
commit e4478369d8
1360 files changed
+228921 -179445

No files matched your search

+53 -21
View File
@@ -3,9 +3,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Core variables file: defines caches, resets, etc.
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-03-19 18:24:44 -0400 (Tue, 19 Mar 2013) $
* </pre>
*
* @author $Author: bfarber $
@@ -13,7 +13,7 @@
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 10914 $
* @version $Rev: 12088 $
* @since 3.0.0
*
*/
@@ -301,6 +301,33 @@ class coreVariables
'recache_class' => 'reportLibrary',
'recache_function' => 'updateCacheTime'
);
/* SEO */
$CACHE['meta_tags'] = array(
'array' => 1,
'allow_unload' => 0,
'default_load' => 1,
'recache_file' => IPSLib::getAppDir( 'core' ) . '/modules_admin/templates/meta.php',
'recache_class' => 'admin_core_templates_meta',
'recache_function' => 'rebuildMetaTagCache'
);
$CACHE['ipseo_acronyms'] = array(
'array' => 1,
'allow_unload' => 0,
'default_load' => 1,
'recache_file' => IPSLib::getAppDir( 'core' ) . '/modules_admin/posts/acronyms.php',
'recache_class' => 'admin_core_posts_acronyms',
'recache_function' => 'recache'
);
$CACHE['ipseo_ignore_messages'] = array(
'array' => 1,
'allow_unload' => 0,
'default_load' => 0,
'recache_file' => IPSLib::getAppDir( 'core' ) . '/modules_admin/seo/advice.php',
'recache_class' => 'admin_core_seo_advice',
'recache_function' => 'recache'
);
if ( IN_DEV )
{
@@ -333,7 +360,7 @@ class coreVariables
$_RESET = array();
/* Make old skin selectors work */
if ( $_REQUEST['k'] && $_REQUEST['settingNewSkin'] )
if ( isset($_REQUEST['k']) && $_REQUEST['k'] && isset($_REQUEST['settingNewSkin']) && $_REQUEST['settingNewSkin'] )
{
$_RESET['app'] = 'core';
$_RESET['module'] = 'global';
@@ -343,7 +370,7 @@ class coreVariables
/* Return here to stop other rules parsing */
return $_RESET;
}
else if ( $_REQUEST['setAsMobile'] )
else if ( isset($_REQUEST['setAsMobile']) && $_REQUEST['setAsMobile'] )
{
$_RESET['app'] = 'core';
$_RESET['module'] = 'global';
@@ -357,7 +384,7 @@ class coreVariables
###### New IPB 3.0.0 Redirects ######
/* Share links */
if ( isset( $_REQUEST['sharelink'] ) AND ! isset( $_REQUEST['app'] ) )
if ( isset( $_REQUEST['sharelink'] ) AND is_string( $_REQUEST['sharelink'] ) AND ! isset( $_REQUEST['app'] ) )
{
/* Some set ups parse ; automagically (bah) */
if ( ! strstr( $_REQUEST['sharelink'], ';' ) )
@@ -565,8 +592,10 @@ class coreVariables
'__data__' => array( 'start' => '-',
'end' => '/',
'varBlock' => '/page__',
'varSep' => '__' ),
'varBlock' => '?',
'varPage' => 'page-',
'varSep' => '&',
'varJoin' => '=' ),
);
return $templates;
@@ -583,19 +612,22 @@ class coreVariables
{
$_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
'members' => array( 'bw_is_spammer',
'bw_from_sfs',
'bw_vnc_type', # 1 based on topic marking table, 0 based on last_visit
'bw_forum_result_type', # 1 is list, 0 is forum
'bw_no_status_update', # 1 is yes ban, 0 is no, allow
'bw_status_email_mine', # 1 is 'send me an email when anyone replies to my status updates', 0 is DO NOT DO WHAT 1 DOES OR ELSE
'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
'bw_disable_gravatar', # If 1, Gravatar will not be used for this user
'vkontakte' => array( 'vc_s_pic', 'vc_s_status' ), //vkontakte
'members' => array( 'bw_is_spammer', #1
'bw_from_sfs', #2
'bw_vnc_type', #4 # 1 based on topic marking table, 0 based on last_visit
'bw_forum_result_type', #8 # 1 is list, 0 is forum
'bw_no_status_update', #16 # 1 is yes ban, 0 is no, allow
'bw_status_email_mine', #32 # 1 is 'send me an email when anyone replies to my status updates', 0 is DO NOT DO WHAT 1 DOES OR ELSE
'bw_status_email_all', #64 # 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', #128 # 1 yeah, 0 nah boi
'bw_local_password_set', #256 # 1 means "user was created by remote, but has local password set", 0 means not, or not local user
'bw_disable_tagging', #512 # 1 means no tagging for this dude
'bw_disable_prefixes', #1024 # 1 means no prefixes
'bw_using_skin_gen', #2048 # 1 means yes. 0 means.. well, I think you can figure that out
'bw_disable_gravatar', #4096 # If 1, Gravatar will not be used for this user
'bw_paste_plain', #8192 # If 1, editor will paste as plain text
'bw_html_sig' #16384 # If 1, signature is HTML
),
'groups' => array(