I guess I figured out, how you can show the activitytstat.php addon as a correct location in Who is online. By adding two mini-plugins and a phrase, the WOL-List will show the right location. Maybe this could be added to the package, if it is good enough. I do not claim any credits, since this bases on a tutorial I found on
vbhacks-germany.com (thank you Andreas

). Okay, here we go:
1. Add a new phrase, name it activity_toplist and give it the value of "Toplist" or "Statistic" or whatever you desire.
2. We now need the first plugin to introduce the addon to our vbulletin system. Select "add plugin", in the dialog select the product "Activity modification" and the hook "online_location_process". Add the following code to it:
PHP Code:
if ($filename == 'activitystat.php')
{
$userinfo['activity'] = 'activitystat';
}
3. It's time to tell the WOL what to do, so we add the next plugin. Select "add plugin", in the dialog select the product "Activity modification" and the hook "online_location_unknown". Now add the code:
PHP Code:
if ($userinfo['activity'] == 'activitystat')
{
$handled = true;
$userinfo['action'] = construct_phrase($vbphrase['viewing_x'], $vbphrase['activity_toplist']);
$userinfo['where'] = '<a href="activitystat.php?'.$vbulletin->session->vars['sessionurl_q'].'">'.$vbphrase['activity_toplist'].'</a>';
}
4. All done. The next time somene visits the activitystats.php, it will be shown correctly in the who is online list.
By the way, this system is working of course for every other installed hack that is not shown correctly. Hope that helps someone out.