Mr Chad
03-20-2006, 11:53 PM
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...
if ($vbulletin->GPC['myspaceid'] AND !$vbulletin->GPC[COOKIE_PREFIX . 'myspaceid'])
{
vbsetcookie('myspaceid', $myspaceid);
}
The referrerid one is this:
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);
}
}
Am i missing a file, I made a $myspaceid under the $referrerid in the global.php still cant get it to work right.
anyone?
if ($vbulletin->GPC['myspaceid'] AND !$vbulletin->GPC[COOKIE_PREFIX . 'myspaceid'])
{
vbsetcookie('myspaceid', $myspaceid);
}
The referrerid one is this:
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);
}
}
Am i missing a file, I made a $myspaceid under the $referrerid in the global.php still cant get it to work right.
anyone?