Quote:
Originally Posted by smoknz28
In Who's Online, how can I get the user's Location to display correctly when they are in the vBGarage?
See attachment
Thank you,
Gonzo
|
If you haven't already, you need to add vbgarage.php to your functions_online.php file.
Just open the includes/functions_online.php and find...
Code:
case 'threadrate':
$userinfo['action'] = $vbphrase['rating_thread'];
if ($seetitle)
{
$userinfo['where'] = '<a href="showthread.php?' . $vbulletin->session->vars['sessionurl'] . "t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
}
break;
and below it add...
Code:
case 'vbgarage':
$userinfo['action'] = $vbphrase['vbgarage'];
$userinfo['where'] = "<a href=\"vbgarage.php?$session[sessionurl]\">In the Garage</a>";
break;
Then find....
Code:
case 'archive':
$userinfo['activity'] = 'archive';
break;
and below that add
Code:
case 'vbgarage.php':
$userinfo['activity'] = 'vbgarage';
break;
This is how mine currently looks and it works fine...hope it helps.