Version 3.1.4
This commit is contained in:
1 parent
1d4720f3e2
commit
ae5c01cc78
2563 files changed
+283048
-240689
No files matched your search
@@ -1,17 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.0.5
|
||||
* IP.Board v3.1.4
|
||||
* Core variables file: defines caches, resets, etc.
|
||||
* Last Updated: $Date: 2009-11-27 15:29:20 -0500 (Fri, 27 Nov 2009) $
|
||||
* Last Updated: $Date: 2010-10-18 20:34:07 -0400 (Mon, 18 Oct 2010) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: michael $
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.iinvisionpower.com/community/board/license.html
|
||||
* @package Invision Power Board
|
||||
* @link http://www.iinvisionpower.com
|
||||
* @version $Rev: 5489 $
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 6992 $
|
||||
* @since 3.0.0
|
||||
*
|
||||
*/
|
||||
@@ -63,6 +65,13 @@ class coreVariables
|
||||
'recache_file' => IPSLib::getAppDir( 'core' ) . '/modules_admin/applications/applications.php',
|
||||
'recache_class' => 'admin_core_applications_applications',
|
||||
'recache_function' => 'applicationsRecache' );
|
||||
|
||||
$CACHE['navigation_tabs'] = array( 'array' => 1,
|
||||
'allow_unload' => 0,
|
||||
'default_load' => 1,
|
||||
'recache_file' => IPSLib::getAppDir( 'core' ) . '/modules_admin/applications/applications.php',
|
||||
'recache_class' => 'admin_core_applications_applications',
|
||||
'recache_function' => 'applicationsRecache' );
|
||||
|
||||
$CACHE['module_cache'] = array( 'array' => 1,
|
||||
'allow_unload' => 0,
|
||||
@@ -245,6 +254,27 @@ class coreVariables
|
||||
'recache_class' => 'admin_forums_rss_export',
|
||||
'recache_function' => 'doRssRebuildCache'
|
||||
);
|
||||
|
||||
$CACHE['sharelinks'] = array(
|
||||
'array' => 1,
|
||||
'allow_unload' => 0,
|
||||
'default_load' => 0,
|
||||
'skip_rebuild_when_upgrading' => 0,
|
||||
'recache_file' => IPSLib::getAppDir( 'core' ) . '/modules_admin/tools/sharelinks.php',
|
||||
'recache_class' => 'admin_core_tools_sharelinks',
|
||||
'recache_function' => 'rebuildCache'
|
||||
);
|
||||
|
||||
$CACHE['notifications'] = array(
|
||||
'array' => 1,
|
||||
'allow_unload' => 0,
|
||||
'default_load' => 0,
|
||||
'skip_rebuild_when_upgrading' => 0,
|
||||
'recache_file' => IPS_ROOT_PATH . '/sources/classes/member/notifications.php',
|
||||
'recache_class' => 'notifications',
|
||||
'recache_function' => 'rebuildNotificationsCache'
|
||||
);
|
||||
|
||||
|
||||
if ( IN_DEV )
|
||||
{
|
||||
@@ -276,7 +306,25 @@ class coreVariables
|
||||
$_RESET = array();
|
||||
|
||||
###### New IPB 3.0.0 Redirects ######
|
||||
|
||||
/* Share links */
|
||||
if ( isset( $_REQUEST['sharelink'] ) AND ! isset( $_REQUEST['app'] ) )
|
||||
{
|
||||
/* Some set ups parse ; automagically (bah) */
|
||||
if ( ! strstr( $_REQUEST['sharelink'], ';' ) )
|
||||
{
|
||||
$_REQUEST['sharelink'] = preg_replace( "#sharelink=(.*)$#", "\\1", $_SERVER['QUERY_STRING'] );
|
||||
}
|
||||
|
||||
list( $key, $url, $title ) = explode( ';', $_REQUEST['sharelink'] );
|
||||
$_RESET['url'] = $url;
|
||||
$_RESET['title'] = $title;
|
||||
$_RESET['key'] = $key;
|
||||
$_RESET['app'] = 'core';
|
||||
$_RESET['module'] = 'global';
|
||||
$_RESET['section'] = 'share';
|
||||
}
|
||||
|
||||
if( isset( $_REQUEST['showannouncement'] ) && $_REQUEST['showannouncement'] )
|
||||
{
|
||||
$_RESET['app'] = 'forums';
|
||||
@@ -294,7 +342,7 @@ class coreVariables
|
||||
$_RESET['section'] = 'boards';
|
||||
$_RESET['module'] = 'forums';
|
||||
}
|
||||
|
||||
|
||||
# FORUM
|
||||
if( isset( $_REQUEST['showforum'] ) && $_REQUEST['showforum'] )
|
||||
{
|
||||
@@ -305,12 +353,15 @@ class coreVariables
|
||||
}
|
||||
|
||||
# TOPIC
|
||||
if( isset( $_REQUEST['showtopic'] ) && $_REQUEST['showtopic'] )
|
||||
if( ( isset( $_REQUEST['showtopic'] ) && $_REQUEST['showtopic'] ) OR ( isset($_REQUEST['act']) AND $_REQUEST['act'] == 'ST' ) )
|
||||
{
|
||||
$_RESET['app'] = 'forums';
|
||||
$_RESET['module'] = 'forums';
|
||||
$_RESET['section'] = 'topics';
|
||||
$_RESET['t'] = $_REQUEST['showtopic'];
|
||||
if ( !$_REQUEST['t'] )
|
||||
{
|
||||
$_RESET['t'] = $_REQUEST['showtopic'];
|
||||
}
|
||||
}
|
||||
|
||||
if( ( isset( $_REQUEST['act'] ) && $_REQUEST['act'] == 'findpost' ) || isset( $_REQUEST['findpost'] ) && $_REQUEST['findpost'] )
|
||||
@@ -346,7 +397,7 @@ class coreVariables
|
||||
}
|
||||
|
||||
# SUBSMANAGER - Needed here to redirect stored IPN to new app
|
||||
if ( isset( $_REQUEST['act'] ) && $_REQUEST['act'] == 'paysubs' )
|
||||
if ( isset( $_REQUEST['act'] ) && strtolower($_REQUEST['act']) == 'paysubs' )
|
||||
{
|
||||
$_RESET['app'] = 'subscriptions';
|
||||
|
||||
@@ -418,6 +469,12 @@ class coreVariables
|
||||
$_RESET['section'] = 'printtopic';
|
||||
}
|
||||
|
||||
# Calendar
|
||||
if( isset( $_REQUEST['act'] ) && $_REQUEST['act'] == 'calendar' )
|
||||
{
|
||||
$_RESET['app'] = 'calendar';
|
||||
}
|
||||
|
||||
return $_RESET;
|
||||
}
|
||||
|
||||
@@ -479,12 +536,18 @@ class coreVariables
|
||||
*/
|
||||
public function fetchBitwise()
|
||||
{
|
||||
$_BITWISE = array( 'facebook' => array( 'fbc_s_pic', 'fbc_s_avatar', 'fbc_s_status', 'fbc_s_aboutme' ), // facebook == profile_portal.fb_bwoptions
|
||||
$_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
|
||||
'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_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
|
||||
),
|
||||
|
||||
'groups' => array(
|
||||
'gbw_mod_post_unit_type' , # 1 is days, 0 is posts
|
||||
@@ -493,6 +556,21 @@ class coreVariables
|
||||
'gbw_sig_unit_type' , # 1 is days, 0 is posts
|
||||
'gbw_promote_unit_type' , # 1 is days, 0 is posts
|
||||
'gbw_no_status_update' , # 1 is blocked, 0 is not. Quite simple really
|
||||
'gbw_soft_delete' , # 1 is ok, 0 is not
|
||||
'gbw_soft_delete_own' , # 1 is ok, 0 is not
|
||||
'gbw_soft_delete_own_topic' , # 1 is ok, 0 is not
|
||||
'gbw_un_soft_delete' , # 1 is ok, 0 is not
|
||||
'gbw_soft_delete_see' , # 1 is ok, 0 is not
|
||||
'gbw_soft_delete_topic' , # 1 is ok, 0 is not
|
||||
'gbw_un_soft_delete_topic' , # 1 is ok, 0 is not
|
||||
'gbw_soft_delete_topic_see' , # 1 is ok, 0 is not
|
||||
'gbw_soft_delete_reason' , # 1 means can read reason, 0 means cannot
|
||||
'gbw_soft_delete_see_post' , # seriously.
|
||||
'gbw_allow_customization' , # 1 YES, 0 NO
|
||||
'gbw_allow_url_bgimage' , #^^
|
||||
'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.
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -1 +1,10 @@
|
||||
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<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>␍</body>␍</html>␍
|
||||
<html>
|
||||
<head><title>IP.Board - Bulletin Board System</title></head>
|
||||
<body>
|
||||
<h1>403: IP.Board -> Forbidden</h1>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,74 +1,76 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Invision Power Services
|
||||
* IP.Board v3.0.5
|
||||
* Sphinx template file
|
||||
* Last Updated: $Date: 2009-07-28 20:26:37 -0400 (Tue, 28 Jul 2009) $
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.iinvisionpower.com/community/board/license.html
|
||||
* @package Invision Power Board
|
||||
* @link http://www.iinvisionpower.com
|
||||
* @version $Rev: 4948 $
|
||||
* @since 3.0.0
|
||||
*
|
||||
*/
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
$sphinxTemplate = <<<EOF
|
||||
|
||||
#############################################################################
|
||||
## data source definition
|
||||
#############################################################################
|
||||
|
||||
source ipb_source_config
|
||||
{
|
||||
#setup
|
||||
type = mysql
|
||||
sql_host = <!--SPHINX_CONF_HOST-->
|
||||
sql_user = <!--SPHINX_CONF_USER-->
|
||||
sql_pass = <!--SPHINX_CONF_PASS-->
|
||||
sql_db = <!--SPHINX_CONF_DATABASE-->
|
||||
sql_port = <!--SPHINX_CONF_PORT-->
|
||||
}
|
||||
|
||||
<!--SPHINX_CONTENT-->
|
||||
|
||||
#############################################################################
|
||||
## indexer settings
|
||||
#############################################################################
|
||||
|
||||
indexer
|
||||
{
|
||||
mem_limit = 256M
|
||||
}
|
||||
|
||||
#############################################################################
|
||||
## searchd settings
|
||||
#############################################################################
|
||||
|
||||
searchd
|
||||
{
|
||||
address = 127.0.0.1
|
||||
port = <!--SPHINX_PORT-->
|
||||
log = <!--SPHINX_BASE_PATH-->/log/searchd.log
|
||||
query_log = <!--SPHINX_BASE_PATH-->/log/query.log
|
||||
read_timeout = 5
|
||||
max_children = 30
|
||||
pid_file = <!--SPHINX_BASE_PATH-->/log/searchd.pid
|
||||
max_matches = 1000
|
||||
seamless_rotate = 0
|
||||
preopen_indexes = 0
|
||||
unlink_old = 1
|
||||
}
|
||||
|
||||
# --eof--
|
||||
|
||||
EOF;
|
||||
<?php
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.4
|
||||
* Sphinx template file
|
||||
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 5713 $
|
||||
* @since 3.0.0
|
||||
*
|
||||
*/
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
$sphinxTemplate = <<<EOF
|
||||
|
||||
#############################################################################
|
||||
## data source definition
|
||||
#############################################################################
|
||||
|
||||
source ipb_source_config
|
||||
{
|
||||
#setup
|
||||
type = mysql
|
||||
sql_host = <!--SPHINX_CONF_HOST-->
|
||||
sql_user = <!--SPHINX_CONF_USER-->
|
||||
sql_pass = <!--SPHINX_CONF_PASS-->
|
||||
sql_db = <!--SPHINX_CONF_DATABASE-->
|
||||
sql_port = <!--SPHINX_CONF_PORT-->
|
||||
}
|
||||
|
||||
<!--SPHINX_CONTENT-->
|
||||
|
||||
#############################################################################
|
||||
## indexer settings
|
||||
#############################################################################
|
||||
|
||||
indexer
|
||||
{
|
||||
mem_limit = 256M
|
||||
}
|
||||
|
||||
#############################################################################
|
||||
## searchd settings
|
||||
#############################################################################
|
||||
|
||||
searchd
|
||||
{
|
||||
address = 127.0.0.1
|
||||
port = <!--SPHINX_PORT-->
|
||||
log = <!--SPHINX_BASE_PATH-->/log/searchd.log
|
||||
query_log = <!--SPHINX_BASE_PATH-->/log/query.log
|
||||
read_timeout = 5
|
||||
max_children = 30
|
||||
pid_file = <!--SPHINX_BASE_PATH-->/log/searchd.pid
|
||||
max_matches = 1000
|
||||
seamless_rotate = 0
|
||||
preopen_indexes = 0
|
||||
unlink_old = 1
|
||||
}
|
||||
|
||||
# --eof--
|
||||
|
||||
EOF;
|
||||
@@ -1,20 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Invision Power Services
|
||||
* IP.Board v3.0.5
|
||||
* User agent (browser and spider) mappings
|
||||
* Last Updated: $Date: 2009-09-04 02:00:51 -0400 (Fri, 04 Sep 2009) $
|
||||
*
|
||||
* @author $Author: matt $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.iinvisionpower.com/community/board/license.html
|
||||
* @package Invision Power Board
|
||||
* @link http://www.iinvisionpower.com
|
||||
* @version $Rev: 5086 $
|
||||
* @since 3.0.0
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.4
|
||||
* User agent (browser and spider) mappings
|
||||
* Last Updated: $Date: 2010-10-07 18:12:54 -0400 (Thu, 07 Oct 2010) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 6954 $
|
||||
* @since 3.0.0
|
||||
*
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
@@ -22,6 +24,75 @@ if ( ! defined( 'IN_IPB' ) )
|
||||
exit();
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Mobile devices. These go first so they are matched
|
||||
// http://en.wikipedia.org/wiki/List_of_user_agents_for_mobile_phones
|
||||
//-----------------------------------------
|
||||
|
||||
$BROWSERS['blackberry'] = array(
|
||||
'b_title' => "Blackberry",
|
||||
'b_regex' => array( "blackberry(\d+?)/([0-9.]{1,10})" => "2" )
|
||||
);
|
||||
|
||||
$BROWSERS['iphone'] = array(
|
||||
'b_title' => "iPhone",
|
||||
'b_regex' => array( "iphone;" => "0" )
|
||||
);
|
||||
|
||||
$BROWSERS['ipodtouch'] = array(
|
||||
'b_title' => "iPod Touch",
|
||||
'b_regex' => array( "ipod;" => "0" )
|
||||
);
|
||||
|
||||
$BROWSERS['sonyericsson'] = array(
|
||||
'b_title' => "Sony Ericsson",
|
||||
'b_regex' => array( "^SonyEricsson[A-Za-z0-9]" => "0" )
|
||||
);
|
||||
|
||||
$BROWSERS['nokia'] = array(
|
||||
'b_title' => "Nokia",
|
||||
'b_regex' => array( "Nokia[A-Za-z0-9]" => "0" )
|
||||
);
|
||||
|
||||
$BROWSERS['motorola'] = array(
|
||||
'b_title' => "Motorola",
|
||||
'b_regex' => array( "^mot-[A-Za-z0-9]" => "0" )
|
||||
);
|
||||
|
||||
$BROWSERS['samsung'] = array(
|
||||
'b_title' => "Samsung",
|
||||
'b_regex' => array( "^samsung-[A-Za-z0-9]" => "0" )
|
||||
);
|
||||
|
||||
$BROWSERS['siemens'] = array(
|
||||
'b_title' => "Siemens (Openwave)",
|
||||
'b_regex' => array( "^sie-[A-Za-z0-9]" => "0" )
|
||||
);
|
||||
|
||||
$BROWSERS['htc'] = array(
|
||||
'b_title' => "Nexus(Google)/Android/HTC",
|
||||
'b_regex' => array( "(android |htc-|htc_)([A-Za-z0-9.]{1,10})" => "2" )
|
||||
);
|
||||
|
||||
$BROWSERS['lg'] = array(
|
||||
'b_title' => "LG",
|
||||
'b_regex' => array( "^(lg|lge)-[A-Za-z0-9]" => "0" )
|
||||
);
|
||||
|
||||
$BROWSERS['palm'] = array(
|
||||
'b_title' => "Palm",
|
||||
'b_regex' => array( "(palmsource/| pre/[0-9.]{1,10}|palm webos)" => "0" )
|
||||
);
|
||||
|
||||
$BROWSERS['operamini'] = array(
|
||||
'b_title' => "Opera Mini",
|
||||
'b_regex' => array( "opera mini[ /]([0-9.]{1,10})" => "1" )
|
||||
);
|
||||
|
||||
//-----------------------------------------
|
||||
// Browsers
|
||||
//-----------------------------------------
|
||||
|
||||
$BROWSERS['amaya'] = array(
|
||||
'b_title' => "Amaya",
|
||||
'b_regex' => array( "amaya/([0-9.]{1,10})" => "1" )
|
||||
@@ -31,11 +102,6 @@ $BROWSERS['aol'] = array(
|
||||
'b_title' => "AOL",
|
||||
'b_regex' => array( "aol[ /\-]([0-9.]{1,10})" => "1" )
|
||||
);
|
||||
|
||||
$BROWSERS['blackberry'] = array(
|
||||
'b_title' => "Blackberry",
|
||||
'b_regex' => array( "blackberry(\d+?)/([0-9.]{1,10})" => "2" )
|
||||
);
|
||||
|
||||
$BROWSERS['camino'] = array(
|
||||
'b_title' => "Camino",
|
||||
@@ -93,15 +159,7 @@ $BROWSERS['safari'] = array(
|
||||
'b_title' => "Safari",
|
||||
'b_regex' => array( "version/([0-9.]{1,10})\s+?safari/([0-9.]{1,10})" => "1" )
|
||||
);
|
||||
$BROWSERS['iphone'] = array(
|
||||
'b_title' => "iPhone",
|
||||
'b_regex' => array( "iphone;" => "0" )
|
||||
);
|
||||
|
||||
$BROWSERS['ipodtouch'] = array(
|
||||
'b_title' => "iPod Touch",
|
||||
'b_regex' => array( "ipod;" => "0" )
|
||||
);
|
||||
|
||||
|
||||
$BROWSERS['webtv'] = array(
|
||||
'b_title' => "Webtv",
|
||||
@@ -120,7 +178,7 @@ $BROWSERS['mozilla'] = array(
|
||||
'b_title' => "Mozilla",
|
||||
'b_regex' => array( "^mozilla/([5-9]\.[0-9a-z.]{1,10})" => "1" )
|
||||
);
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// SEARCH ENGINES
|
||||
//-----------------------------------------
|
||||
@@ -150,6 +208,12 @@ $ENGINES['google'] = array(
|
||||
'b_title' => "Google",
|
||||
'b_regex' => array( "Googl(e|ebot)(-Image)?/([0-9.]{1,10})" => "\\\\3","Googl(e|ebot)(-Image)?/" => "" )
|
||||
);
|
||||
|
||||
$ENGINES['facebook'] = array(
|
||||
'b_title' => "Facebook",
|
||||
'b_regex' => array( "facebookexternalhit/([0-9.]{1,10})" => "\\\\1" )
|
||||
);
|
||||
|
||||
$ENGINES['infoseek'] = array(
|
||||
'b_title' => "Infoseek",
|
||||
'b_regex' => array( "SideWinder[ /]?([0-9a-z.]{1,10})" => "1","Infoseek" => "" )
|
||||
|
||||
Reference in new issue
Block a user