Hell Bomb
08-16-2010, 03:08 PM
Ok, I can get the normal method of whos online but i wanna make it more specific. my custom pages are displayed as "info.php?do=sitemap" but I can't seem to make it work when i set the file location to that. But if i set it to "info.php?" it works just fine. any ideas?
Hool Location:online_location_process
Title:sitemap location process
active:yes
if ($filename == 'info.php?do=sitemap')
{
$userinfo['activity'] = 'sitemap';
}
Hook Locatation:online_location:unknown
Title:sitemap location process
active:yes
if ($userinfo['activity'] == 'sitemap')
{
$userinfo['where'] = '<a href="info.php?do=sitemap'.$vbulletin->session->vars[sessionurl_q].'">'.$vbulletin->options[bbtitle].' Viewing The Site Map</a>';
$userinfo['action'] = 'sitemap';
$handled = true;
}
Hool Location:online_location_process
Title:sitemap location process
active:yes
if ($filename == 'info.php?do=sitemap')
{
$userinfo['activity'] = 'sitemap';
}
Hook Locatation:online_location:unknown
Title:sitemap location process
active:yes
if ($userinfo['activity'] == 'sitemap')
{
$userinfo['where'] = '<a href="info.php?do=sitemap'.$vbulletin->session->vars[sessionurl_q].'">'.$vbulletin->options[bbtitle].' Viewing The Site Map</a>';
$userinfo['action'] = 'sitemap';
$handled = true;
}