|
Welcome back; your last visit was on November 21, 2008 05:58 pm
 |
Forum |
Topics |
Replies |
Last Post Info |
 |
Upcoming Games Discussion Discuss upcoming games to the PS3 Here
|
1 |
5 |
August 13, 2008 05:20 pm In: Are you Getting Socom: Conf... By: Ezexx |
 |
Playstation 3 General Discuss the PS3 in general, like new firmware, updates, etc
|
2 |
6 |
August 20, 2008 06:36 pm In: Best Game For PS3 So Far By: SPaRTaN- |
 |
Playstation 3 Game Saves Here you can discuss and post up any Playstation 3 Game Saves that you have.
|
5 |
2 |
August 12, 2008 11:30 am In: Super Stardust HD game save By: Loreyz_boi |
 |
Playstation 3 Exploiting & Hacking Discuss anything PS3 exploiting or hacking related. Such as installing a operating system, etc.
|
1 |
0 |
August 12, 2008 10:34 pm In: Installing Other Operating ... By: Loreyz_boi |
 |
Playstation 2 General & Hacking Basically, this is just a general forum for everything PS2 Related from hacking, to general, to exploiting...
|
0 |
0 |
-- In: ---- By: |
 |
PSP General and Hacking Anything about the PSP goes here! IF the section is big enough, more categories will be added
|
1 |
0 |
August 12, 2008 10:43 pm In: t an iPhone portal on your PSP By: Loreyz_boi |
| |
 |
Forum |
Topics |
Replies |
Last Post Info |
 |
Nintendo Wii Discussion Post anything related to the Nintendo Wii Here!
|
0 |
0 |
-- In: ---- By: |
 |
Wii Hacking and Modding Discuss anything Nintendo Wii Hacking, Customization, and Modding related here
|
0 |
0 |
-- In: ---- By: |
 |
Nintendo Wii Games Discuss any new or old Nintendo Wii games here
|
0 |
0 |
-- In: ---- By: |
| |
 |
Forum |
Topics |
Replies |
Last Post Info |
 |
Halo 3 Discussion Discuss the up and coming XBOX 360 Game!
|
0 |
0 |
-- In: ---- By: |
 |
Halo 3 Glitches and Tricks Discuss all Halo 3 Glitches and Tricks here!
|
0 |
0 |
-- In: ---- By: |
 |
Halo 3 Skulls Index Click here to view the Halo 3 Skulls index with locations, pictures, videos, and more!
|
0 |
0 |
-- In: ---- By: |
| |
'referrals_hits + 1'));
// @ Hidden Easter Eggs @
// Use to give rewards for each referral hit
// Uncomment the line by removing // from the beginning of the line
// Reward with Karma
// updateMemberData($referrer, array('karmaGood' => 'karmaGood + 25'));
// Using SMF Shop? Give them money
// updateMemberData($referrer, array('money' => 'money + 100'));
}
// Set a ReferralCookie (overriding any existing one to extend the 60 days)
setReferralCookie($referrer, $time);
// Setup the information, in case we want to use it for this page
$context['referrals'] = array(
'referred_timestamp' => $time,
'referred_date' => date("jS M Y", $time),
'referred_by_id' => $referrer,
'referred_by_name' => $referrer_name,
);
return;
}
// There is a cookie
if(!empty($_COOKIE['smf_referrals']))
{
// Check the referral cookie
$cookie_info = checkReferralCookie();
// No referrer found
if(empty($cookie_info) || !is_array($cookie_info))
return;
// Set a ReferralCookie (extending any existing one)
setReferralCookie($cookie_info[0], $cookie_info[1]);
// Are we on the register page?
if(!empty($_REQUEST['action']) && in_array(strtolower($_REQUEST['action']), array('register', 'register2')))
{
// Check the user exists
$referrer_name = checkReferrerExists($cookie_info[0], 'id');
// No referrer found by that id
if(empty($referrer_name))
{
killReferralCookie();
return;
}
// Yes, so we want to setup the information
$context['referrals'] = array(
'referred_timestamp' => $cookie_info[1],
'referred_date' => date("jS M Y", $cookie_info[1]),
'referred_by_id' => $cookie_info[0],
'referred_by_name' => $referrer_name,
);
}
// Tidy up
unset($cookie_info);
}
}
?>
|