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,18 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.0.5
|
||||
* IP.Board v3.1.4
|
||||
* Core variables extension file
|
||||
* Last Updated: $Date: 2009-07-28 20:26:37 -0400 (Tue, 28 Jul 2009) $
|
||||
* Last Updated: $Date: 2010-09-22 11:32:51 -0400 (Wed, 22 Sep 2010) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @author $Author: terabyte $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.iinvisionpower.com/community/board/license.html
|
||||
* @package Invision Power Board
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.iinvisionpower.com
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 1st march 2002
|
||||
* @version $Revision: 4948 $
|
||||
* @version $Revision: 6904 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -22,7 +24,16 @@ if ( ! defined( 'IN_IPB' ) )
|
||||
exit();
|
||||
}
|
||||
|
||||
$_LOAD = array();
|
||||
$_LOAD = array();
|
||||
$_RESET = array();
|
||||
|
||||
/* No default module? Reset to member list */
|
||||
if ( !isset($_REQUEST['module']) )
|
||||
{
|
||||
$_RESET['module'] = 'list';
|
||||
// Load properly the caches too
|
||||
$_GET['module'] = 'list';
|
||||
}
|
||||
|
||||
# PERSONAL MESSAGES
|
||||
if( ( isset( $_GET['module'] ) && $_GET['module'] == 'messaging' ) )
|
||||
@@ -37,7 +48,7 @@ if( ( isset( $_GET['module'] ) && $_GET['module'] == 'messaging' ) )
|
||||
}
|
||||
|
||||
# MEMBER LIST
|
||||
if( ( isset( $_GET['section'] ) && $_GET['section'] == 'view' ) && ( isset( $_GET['module'] ) && $_GET['module'] == 'list' ) )
|
||||
if( isset( $_GET['module'] ) && $_GET['module'] == 'list' )
|
||||
{
|
||||
$_LOAD['ranks'] = 1;
|
||||
$_LOAD['profilefields'] = 1;
|
||||
@@ -54,6 +65,16 @@ if( isset( $_GET['module'] ) && $_GET['module'] == 'online' )
|
||||
// we should load this on the assumption it'll be needed anyways
|
||||
}
|
||||
|
||||
# Status updates
|
||||
if( isset( $_GET['section'] ) && $_GET['section'] == 'status' )
|
||||
{
|
||||
$_LOAD['ranks'] = 1;
|
||||
$_LOAD['profilefields'] = 1;
|
||||
$_LOAD['reputation_levels'] = 1;
|
||||
$_LOAD['moderators'] = 1; // This is need for forums application - as there are usually people browsing topics,
|
||||
// we should load this on the assumption it'll be needed anyways
|
||||
}
|
||||
|
||||
# PROFILE
|
||||
if ( ( isset( $_GET['showuser'] ) && $_GET['showuser'] ) OR $_GET['module'] == 'profile' AND $_GET['section'] == 'view' )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user