View Single Post
  #5  
Old 28th January 2014, 15:23
sp1 sp1 is offline
Member
 
Join Date: Jun 2013
P2P
Posts: 1
Default
Quote:
Originally Posted by Tony View Post
oh im yet again posting wayyyyyyyyyyy to late but anyway he's taking about this part from the donate.php

Code:
define('D_VERSION', '1.4.1');
define('DISABLE_ADS', true);
require_once('global.php');
gzip();
dbconn();
$return_to_address=false;
if (isset($_GET['skip_member_check']) AND (!empty($_GET['skip_member_check']) AND !empty($_SESSION['skip_member_check']) AND $_GET['skip_member_check'] === $_SESSION['skip_member_check']))
{
    define('skip_member_check', true);
    $form_values = '?skip_member_check='.$_SESSION['skip_member_check'];
    $return_to_address = array(
        'true' => $BASEURL.'/vip_account.php?paypal_done=true&skip_member_check='.$_SESSION['skip_member_check'],
        'false'     =>$BASEURL.'/vip_account.php?paypal_done=false&skip_member_check='.$_SESSION['skip_member_check']
        );
}
if ($MEMBERSONLY == 'yes' AND !defined('skip_member_check'))
{
    loggedinorreturn();
    maxsysop();
}
Ive not got the auto promotion to work when giving it a test on my test server so far but that code above is useless code i think so dont let that confuse you with how the paypal auto promotion works ..

Would begood for somebody to post a small "how to set it up" and save all the trouble really :)




yes it would having the same trouble in 7.3 donate works but dosnt update user stats !!!
Reply With Quote