Version 3.4.8
This commit is contained in:
1 parent
b45ea0dffb
commit
c603205a25
1398 files changed
+36675
-31023
No files matched your search
@@ -7,7 +7,7 @@
|
||||
* $Author: mmecham $
|
||||
* @since -
|
||||
* $LastChangedDate: 2013-03-19 09:02:31 -0400 (Tue, 19 Mar 2013) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 12085 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Update captcha image
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Image Ajax
|
||||
* Last Updated: $LastChangedDate: 2013-02-08 10:22:34 -0500 (Fri, 08 Feb 2013) $
|
||||
* </pre>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: ips_terabyte $
|
||||
* @since 20th February 2002
|
||||
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 8655 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Handles ajax functions for IP.Board Text Editor
|
||||
* Author: Matt "Matt Mecham" Mecham
|
||||
* Last Updated: $LastChangedDate: 2012-10-10 06:39:40 -0400 (Wed, 10 Oct 2012) $
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Login handler abstraction : AJAX login
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Login handler abstraction : AJAX Find Names functions
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: bfarber $
|
||||
* @since -
|
||||
* $LastChangedDate: 2011-08-05 20:51:01 -0400 (Fri, 05 Aug 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 9373 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Login handler abstraction : AJAX login
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Handles ajax functions for IP.Board Text Editor
|
||||
* Author: Matt "Matt Mecham" Mecham
|
||||
* Last Updated: $LastChangedDate: 2012-06-07 06:21:09 -0400 (Thu, 07 Jun 2012) $
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* $Author: mark $
|
||||
* @since 2/14/2011
|
||||
* $LastChangedDate: 2011-11-16 11:36:38 -0500 (Wed, 16 Nov 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 9829 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* $Author: bfarber $
|
||||
* @since 2/14/2011
|
||||
* $LastChangedDate: 2011-04-27 19:56:50 -0400 (Wed, 27 Apr 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 8514 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Notification AJAX methods
|
||||
* Last Updated: $Date: 2012-08-28 17:56:22 -0400 (Tue, 28 Aug 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Registration AJAX routines
|
||||
* Last Updated: $Date: 2012-07-19 11:49:35 -0400 (Thu, 19 Jul 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Reports AJAX options
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Reputation
|
||||
* Last Updated: $Date: 2013-10-16 19:11:24 -0400 (Wed, 16 Oct 2013) $
|
||||
* </pre>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* $Author: AndyMillne $
|
||||
* @since 2/14/2011
|
||||
* $LastChangedDate: 2013-03-22 17:35:37 -0400 (Fri, 22 Mar 2013) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 12112 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: mmecham $
|
||||
* $LastChangedDate: 2012-09-19 10:57:30 -0400 (Wed, 19 Sep 2012) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 11350 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: bfarber $
|
||||
* @since -
|
||||
* $LastChangedDate: 2011-08-06 01:51:01 +0100 (Sat, 06 Aug 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 9373 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Like Ajax
|
||||
* Last Updated: $LastChangedDate: 2011-05-05 12:03:47 +0100 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Like Ajax
|
||||
* Last Updated: $LastChangedDate: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: mmecham $
|
||||
* @since Friday 19th May 2006 17:33
|
||||
* $LastChangedDate: 2011-05-03 04:53:04 -0400 (Tue, 03 May 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 8588 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Login handler abstraction : AJAX UserCP functions
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Attachment Poster
|
||||
* Last Updated: $Date: 2012-08-22 05:05:53 -0400 (Wed, 22 Aug 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: ips_terabyte $
|
||||
* @since 20th February 2002
|
||||
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 8655 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Captcha
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Image Ajax
|
||||
* Last Updated: $LastChangedDate: 2012-10-03 17:32:06 -0400 (Wed, 03 Oct 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: ips_terabyte $
|
||||
* @since 20th February 2002
|
||||
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 8655 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: AndyMillne $
|
||||
* @since -
|
||||
* $LastChangedDate: 2013-02-06 16:33:34 -0500 (Wed, 06 Feb 2013) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 11947 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Login handler abstraction
|
||||
* Last Updated: $Date: 2013-09-26 22:37:28 -0400 (Thu, 26 Sep 2013) $
|
||||
* Last Updated: $Date: 2014-12-31 17:46:06 -0500 (Wed, 31 Dec 2014) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: rashbrook $
|
||||
@@ -15,7 +15,7 @@
|
||||
* @subpackage Core
|
||||
* @link http://www.invisionpower.com
|
||||
* @since Tuesday 1st March 2005 (11:52)
|
||||
* @version $Revision: 12370 $
|
||||
* @version $Revision: 12581 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -293,6 +293,12 @@ class public_core_global_login extends ipsCommand
|
||||
$extra_form = "";
|
||||
$show_form = 1;
|
||||
$template = '';
|
||||
|
||||
if ( is_array( $this->request['serviceClick'] ) )
|
||||
{
|
||||
$this->request['serviceClick'] = '';
|
||||
}
|
||||
|
||||
$serviceClick = trim( $this->request['serviceClick'] );
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Recover Lost Password
|
||||
* Last Updated: $Date: 2012-11-28 04:54:58 -0500 (Wed, 28 Nov 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Captcha
|
||||
* Last Updated: $Date: 2013-04-16 15:13:53 -0400 (Tue, 16 Apr 2013) $
|
||||
* </pre>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Show forum rules
|
||||
* Last Updated: $Date: 2011-05-05 12:03:47 +0100 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Register
|
||||
* Last Updated: $Date: 2013-10-24 08:12:23 -0400 (Thu, 24 Oct 2013) $
|
||||
* Last Updated: $Date: 2014-11-05 17:53:33 -0500 (Wed, 05 Nov 2014) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author $
|
||||
@@ -14,7 +14,7 @@
|
||||
* @subpackage Core
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 12391 $
|
||||
* @version $Rev: 12560 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -799,6 +799,76 @@ class public_core_global_register extends ipsCommand
|
||||
$this->DB->update( 'pfields_content', $custom_fields->out_fields, 'member_id=' . $mid );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Pass twitter/facebook via spam service
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $connectService AND ! $login_user AND $this->settings['spam_service_enabled'] )
|
||||
{
|
||||
/* Load all member data */
|
||||
$member = IPSMember::load( $mid, 'all' );
|
||||
|
||||
/* Spam Service */
|
||||
$spamCode = 0;
|
||||
$_spamFlag = 0;
|
||||
|
||||
/* Query the service */
|
||||
$spamCode = IPSMember::querySpamService( $member['email'] );
|
||||
|
||||
/* Action to perform */
|
||||
$action = $this->settings[ 'spam_service_action_' . $spamCode ];
|
||||
|
||||
/* Perform Action */
|
||||
switch( $action )
|
||||
{
|
||||
/* Proceed with registration */
|
||||
case 1:
|
||||
break;
|
||||
|
||||
/* Flag for admin approval */
|
||||
case 2:
|
||||
$member['member_group_id'] = $this->settings['auth_group'];
|
||||
$this->settings['reg_auth_type'] = 'admin';
|
||||
$_spamFlag = 1;
|
||||
break;
|
||||
|
||||
/* Approve the account, but ban it */
|
||||
case 3:
|
||||
$member['member_banned'] = 1;
|
||||
$member['bw_is_spammer'] = 1;
|
||||
$this->settings['reg_auth_type'] = '';
|
||||
break;
|
||||
/* Deny registration */
|
||||
case 4:
|
||||
$this->registry->output->showError( 'spam_denied_account', '100x001', FALSE, '', 200 );
|
||||
break;
|
||||
}
|
||||
|
||||
/* Update member */
|
||||
IPSMember::save( $member['member_id'], array( 'core' => array( 'member_group_id' => $member['member_group_id'],
|
||||
'member_banned' => intval( $member['member_banned'] ),
|
||||
'bw_is_spammer' => intval( $member['bw_is_spammer'] ) ) ) );
|
||||
|
||||
/* Did we put them in validating? */
|
||||
if ( $_spamFlag )
|
||||
{
|
||||
$time = time();
|
||||
|
||||
$this->DB->insert( 'validating', array( 'vid' => $validate_key,
|
||||
'member_id' => $member['member_id'],
|
||||
'real_group' => $this->settings['member_group'],
|
||||
'temp_group' => $this->settings['auth_group'],
|
||||
'entry_date' => $time,
|
||||
'coppa_user' => 0,
|
||||
'new_reg' => 1,
|
||||
'ip_address' => $member['ip_address'],
|
||||
'spam_flag' => $_spamFlag ) );
|
||||
|
||||
$this->output = $this->registry->output->getTemplate('register')->showPreview( $member );
|
||||
return; #Goes back to doExecute which sends $this->output to output class
|
||||
}
|
||||
}
|
||||
|
||||
/* Send out notification */
|
||||
if ( $this->settings['new_reg_notify'] )
|
||||
{
|
||||
@@ -945,7 +1015,7 @@ class public_core_global_register extends ipsCommand
|
||||
{
|
||||
$userData['service'] = 'facebook';
|
||||
$userData['_name'] = $userData['name'];
|
||||
$userData['_pic'] = $userData['pic_square'];
|
||||
$userData['_pic'] = $userData['photo'];
|
||||
$userData['_sImage'] = $this->settings['public_dir'] . 'style_status/facebook.png';
|
||||
|
||||
/* Enforcing / allowing real names? */
|
||||
@@ -1302,8 +1372,15 @@ class public_core_global_register extends ipsCommand
|
||||
*/
|
||||
protected function registerCoppaTwo()
|
||||
{
|
||||
/* If the cookie is already set to 'yes' then we've already filled this form in and need to show appropriately */
|
||||
$hasCoppa = FALSE;
|
||||
if ( IPSCookie::get('coppa') AND IPSCookie::get('coppa') == 'yes' )
|
||||
{
|
||||
$hasCoppa = TRUE;
|
||||
}
|
||||
|
||||
$birthday = strtotime( $this->request['month'] ."-" . $this->request['day'] . "-" . $this->request['year']);
|
||||
if( time() - ( $birthday + ( 60 * 60 * 24 * 365 * 13 ) ) > 0 )
|
||||
if( $hasCoppa === FALSE AND time() - ( $birthday + ( 60 * 60 * 24 * 365 * 13 ) ) > 0 )
|
||||
{
|
||||
IPSCookie::set( 'coppa', 'no', 0, 1 );
|
||||
$this->registerForm();
|
||||
@@ -1795,6 +1872,42 @@ class public_core_global_register extends ipsCommand
|
||||
$spamCode = 0;
|
||||
$_spamFlag = 0;
|
||||
|
||||
if( $this->settings['spam_service_enabled'] )
|
||||
{
|
||||
/* Query the service */
|
||||
$spamCode = IPSMember::querySpamService( $in_email );
|
||||
|
||||
/* Action to perform */
|
||||
$action = $this->settings[ 'spam_service_action_' . $spamCode ];
|
||||
|
||||
/* Perform Action */
|
||||
switch( $action )
|
||||
{
|
||||
/* Proceed with registration */
|
||||
case 1:
|
||||
break;
|
||||
|
||||
/* Flag for admin approval */
|
||||
case 2:
|
||||
$member['member_group_id'] = $this->settings['auth_group'];
|
||||
$this->settings['reg_auth_type'] = 'admin';
|
||||
$_spamFlag = 1;
|
||||
break;
|
||||
|
||||
/* Approve the account, but ban it */
|
||||
case 3:
|
||||
$member['member_banned'] = 1;
|
||||
$member['bw_is_spammer'] = 1;
|
||||
$this->settings['reg_auth_type'] = '';
|
||||
break;
|
||||
|
||||
/* Deny registration */
|
||||
case 4:
|
||||
$this->registry->output->showError( 'spam_denied_account', '100x001', FALSE, '', 200 );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Create the account
|
||||
//-----------------------------------------
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Reputation
|
||||
* Last Updated: $Date: 2013-04-16 15:13:53 -0400 (Tue, 16 Apr 2013) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* RSS output functionality
|
||||
* Last Updated: $Date: 2013-10-16 12:57:41 -0400 (Wed, 16 Oct 2013) $
|
||||
* </pre>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Captcha
|
||||
* Last Updated: $Date: 2013-01-07 12:09:37 -0500 (Mon, 07 Jan 2013) $
|
||||
* Last Updated: $Date: 2014-03-03 12:40:37 -0500 (Mon, 03 Mar 2014) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author $
|
||||
@@ -14,7 +14,7 @@
|
||||
* @subpackage Core
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 11791 $
|
||||
* @version $Rev: 12447 $
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
@@ -42,6 +42,34 @@ class public_core_global_share extends ipsCommand
|
||||
$url = IPSText::base64_decode_urlSafe( $this->request['url'] );
|
||||
$title = IPSText::base64_decode_urlSafe( $this->request['title'] );
|
||||
$key = trim( $this->request['key'] );
|
||||
|
||||
if ( ! empty( $this->settings['ccs_root_url'] ) )
|
||||
{
|
||||
$_urls = explode( "\n", str_replace( "\r", '', trim( $this->settings['ccs_root_url'] ) ) );
|
||||
$_urls[] = $this->settings['_original_base_url'];
|
||||
$ok = FALSE;
|
||||
|
||||
foreach( $_urls as $_url )
|
||||
{
|
||||
if ( ! empty($_url) AND substr( $url, 0, strlen( $_url ) ) === $_url )
|
||||
{
|
||||
$ok = TRUE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ( $ok !== TRUE )
|
||||
{
|
||||
$this->registry->output->showError( 'no_permission', 100234.21, false, null, 403 );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( substr( $url, 0, strlen( $this->settings['_original_base_url'] ) ) !== $this->settings['_original_base_url'] )
|
||||
{
|
||||
$this->registry->output->showError( 'no_permission', 100234.22, false, null, 403 );
|
||||
}
|
||||
}
|
||||
|
||||
/* Get the lib */
|
||||
$classToLoad = IPSLib::loadLibrary( IPS_ROOT_PATH . 'sources/classes/share/links.php', 'share_links' );
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Sitemap Forwarder
|
||||
* Last Updated: $Date: 2012-05-10 21:10:13 +0100 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: AndyMillne $
|
||||
* @since 27 March 2012
|
||||
* $LastChangedDate: 2012-09-17 12:07:56 -0400 (Mon, 17 Sep 2012) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 11342 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: ips_terabyte $
|
||||
* @since 23 August 2012
|
||||
* $LastChangedDate: 2012-04-05 17:35:31 +0100 (Thu, 05 Apr 2012) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 10571 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: ips_terabyte $
|
||||
* @since 20th February 2002
|
||||
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 8655 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Help File System
|
||||
* Last Updated: $Date: 2012-11-15 09:58:24 -0500 (Thu, 15 Nov 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: ips_terabyte $
|
||||
* @since 2/14/2011
|
||||
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 8655 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,11 +3,11 @@
|
||||
* @file modcp.php Moderator control panel
|
||||
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: AndyMillne $
|
||||
* $Author: bfarber $
|
||||
* @since 2/14/2011
|
||||
* $LastChangedDate: 2013-05-28 10:00:25 -0400 (Tue, 28 May 2013) $
|
||||
* @version v3.4.6
|
||||
* $Revision: 12273 $
|
||||
* $LastChangedDate: 2014-09-23 10:47:50 -0400 (Tue, 23 Sep 2014) $
|
||||
* @version v3.4.8
|
||||
* $Revision: 12510 $
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
@@ -317,6 +317,19 @@ class public_core_modcp_modcp extends ipsCommand
|
||||
*/
|
||||
protected function _editMember()
|
||||
{
|
||||
/* Remove auth key */
|
||||
if( $this->request['auth_key'] )
|
||||
{
|
||||
$url = $this->settings['base_url'] . "app=core&module=modcp&do=editmember&mid={$this->request['mid']}";
|
||||
|
||||
if( $this->request['pf'] )
|
||||
{
|
||||
$url .= "&pf={$this->request['pf']}";
|
||||
}
|
||||
|
||||
$this->registry->output->silentRedirect( $url );
|
||||
}
|
||||
|
||||
$this->loadData();
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: ips_terabyte $
|
||||
* @since 20th February 2002
|
||||
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 8655 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -8,7 +8,7 @@
|
||||
* @author Based on original "Report Center" by Luke Scott
|
||||
* @since -
|
||||
* $LastChangedDate: 2012-12-13 08:29:08 -0500 (Thu, 13 Dec 2012) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 11713 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: ips_terabyte $
|
||||
* @since 20th February 2002
|
||||
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 8655 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Global Search
|
||||
* Last Updated: $Date: 2013-10-28 09:05:10 -0400 (Mon, 28 Oct 2013) $
|
||||
* </pre>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Task Manager
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* User control panel resolver
|
||||
* Last Updated: $Date: 2013-05-06 14:16:05 -0400 (Mon, 06 May 2013) $
|
||||
* </pre>
|
||||
|
||||
Reference in new issue
Block a user