PDA

View Full Version : functions_online question...


Creed
01-28-2005, 06:50 AM
Ok, so I've added the global.php a require once on all of my pages to allow all of my users to log in to my full website as well as the forums. Because of that functions_online recognizes where they are at all times, however I can't get it to display correctly in the "Whos Online" section.

For instance, my website is www.hdclan.org. Now if a logged in users is at www.hdclan.org/bots.php, who's online shows "Unknown Location, /bots.php" So I tried using the following in my functions_online:
case 'bots':
$userinfo['where'] = "<a href=\"http://www.hdclan.org/bots.php\">Viewing Bots Download</a>";
break;

case '/bots.php':
$userinfo['activity'] = 'bots';
break;


That didn't work, I've tried many variations of my second 'case', such as:
case 'bots.php':
case './bots.php':
case '../bots.php':
None of which work, any ideas?