Quote:
Originally Posted by kh99
OK, this seems to work: name your script home.php, add a call to exec_shut_down(), then in the online_location_process plugin use case 'home.php' (with no path). Then just make sure whatever string you use for $userinfo['activity'] is the same one you use in the case in the online_location_unknown plugin.
|
Still doesn't work. For the plugins I'm calling inside vB:
online_location_process:
PHP Code:
switch ($filename)
{
case 'home.php':
$userinfo['activity'] = 'homepage';
break;
}
online_location_unknown:
PHP Code:
switch ($userinfo['activity'])
{
case 'homepage':
$userinfo['where'] = '<a href="home.php?'.$vbulletin->session->vars[sessionurl].'">Homepage</a>';
$userinfo['action'] = "Viewing Homepage";
break;
}
Thanks for the continued help ^_^