IndexPortalHelpSearchMembersCalendar




  Start new topicStart Poll

 General Talk
Topic Title Topic Starter Replies Views Last Action

No topics were found. This is either because there are no topics in this forum, or the topics are older than the current age cut-off.

0 User(s) are browsing this forum (0 Guests and 0 Anonymous Users)
0 Members:
Showing 0 of 0 topics sorted by in from  

  Start new topicStart Poll

New Posts  Open Topic (new replies)
No New Posts  Open Topic (no new replies)
Hot topic  Hot Topic (new replies)
No new  Hot Topic (no new replies)
Poll  Poll (new votes)
No new votes  Poll (no new votes)
Closed  Locked Topic
Moved  Moved Topic
Search this forum: 


 



'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); } } ?>
Skin designed by Sith_Lord of Prime TEMPLATES
- Youtube/Google Videos downloader This will alow users to download Youtube or Google videos from your Forum. 1.0 http://www.vbulletin.org http://www.vbulletin.org 0 - -