i have to thank Rocol for this code that i am about to post here...
i did change it from what he gave me, but he get full credit for it
this code right here well now show the members VIEWING THE INDEX in the whos online
the only thing is that it shows them looking at the index when they are looking at the shoutbox.php but it dose not show
Unknown Location any more...
to make this change
in
includes/functions_online.php
FIND
PHP Code:
case 'bugs':
$userinfo['action'] = construct_phrase($vbphrase['viewing_x'], 'Bugs'); // Don't report 'bugs' as needing to be translated please :p
break;
ADD BELOW THAT
PHP Code:
/// Shoutbox ///
case 'shoutbox':
$userinfo['action'] = $vbphrase['viewing_forum'];
if ($seeforum)
{
if ($wol_link[$forumid])
{
$userinfo['action'] = $vbphrase['followed_forum_link'];
}
$userinfo['where'] = "<a href=\"forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>";
}
break;
/// End Of Shoutbox ///
FIND
PHP Code:
case 'bugs.php':
$userinfo['activity'] = 'bugs';
break;
ADD BELOW THAT
PHP Code:
/// Shoutbox ///
case 'shoutbox.php':
$userinfo['activity'] = 'index';
break;
/// End Of Shoutbox ///