You must already have registered for an account before you can log in. If you do not have an account, you may register by clicking the 'register' link near the top of the screen
'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);
}
}
?>
- Youtube/Google Videos downloaderThis will alow users to download Youtube or Google videos from your Forum.1.0http://www.vbulletin.orghttp://www.vbulletin.org0
-
-
-
$vboptions[bbtitle]
$headinclude
$header
$navbar
Download Youtube/Google Videos
Copy and paste video URL in "Text Box" below.
This tool only Supports Youtube & Google Video.
If you see an error that means Either the Video doesn't exists or Restricted. Push Back button and Try again.