The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I want to create a second ID for myspace account numbers... I can set it all up but cant grab the number from the link... So far i put this in the global.php to see if it would work...
Code:
if ($vbulletin->GPC['myspaceid'] AND !$vbulletin->GPC[COOKIE_PREFIX . 'myspaceid'])
{
vbsetcookie('myspaceid', $myspaceid);
}
Code:
if ($vbulletin->GPC['referrerid'] AND !$vbulletin->GPC[COOKIE_PREFIX . 'referrerid'] AND !$vbulletin->userinfo['userid'] AND $vbulletin->options['usereferrer'])
{
if ($referrerid = verify_id('user', $vbulletin->GPC['referrerid'], 0))
{
vbsetcookie('referrerid', $referrerid);
}
}
anyone? |
|
#2
|
||||
|
||||
|
anyone?
Ok got it ![]() Code:
if ($vbulletin->GPC['myspaceid'] AND !$vbulletin->GPC[COOKIE_PREFIX . 'myspaceid'])
{
vbsetcookie('myspaceid', $vbulletin->GPC['myspaceid']);
}
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|