Quote:
Originally Posted by amcd
hook online_location_process:
Code:
switch ($filename)
{
case 'countries.php':
$userinfo['activity'] = 'countries';
break;
// add more cases here if you have more than one custom page. no need for multiple plugins. one plugin can handle all.
}
hook online_location_unknown
Code:
switch ($userinfo['activity'])
{
case 'countries':
$userinfo['where'] = '<a href="countries.php?'.$vbulletin->session->vars[sessionurl].'">Viewing the countries page</a>';
$userinfo['action'] = "Who's Online by Country";
$handled = true;
break;
// add more cases here if you have more than one custom page. no need for multiple plugins. one plugin can handle all.
|
Where abouts do I find the online_location_process
Thanks
sabrina