Ok,
How about this.
Hook location: online_location_process
Code:
if ($filename == 'yourfile.php')
{
$userinfo['activity'] = 'yourtitle';
}
and
Hook location: online_location_unknown
Code:
if ($userinfo['activity'] == 'yourtitle')
{
$userinfo['action'] = 'Viewing Your Page';
$userinfo['where'] = '<a href="./yourfile.php?' . $vbulletin->session->vars['sessionurl'] . '">Your Page</a>';
$handled = true;
}
Might need a little tinkering with the bits in red, but I think that should work.