Log in

View Full Version : problems with who's online


MrNase
04-29-2004, 10:04 AM
I have a problem with who's online.

There is something like

Unknown Location
/forums/shoutbox.php?do=iframe (http://serviceeveryday.com/forums/shoutbox.php?do=iframe)


What can i do to replace that with 'at the shoutbox'??

I already added

case 'showshoutbox':
$userinfo['action'] = "At the shoutbox";
$userinfo['where'] = "<a href=\"showshoutbox.php?$session[sessionurl]\">Shoutbox</a>";
break;


to the functions_online.php but what comes next?!


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

didn't work :(

sabret00the
04-29-2004, 10:37 AM
case 'shoutbox.php':
if ($values['do'] == 'iframe')
{
$userinfo['activity'] = 'shoutbox';
}
$userinfo['activity'] = 'shoutbox';
break;

case 'shoutbox':
$userinfo['action'] = '<a href="shoutbox.php">Shoutboxx</a>';
break;

try that.

MrNase
04-29-2004, 10:48 AM
thanks, that did the trick.

I had problems because of the /forums/ but yours is working :)

sabret00the
04-29-2004, 10:56 AM
no problemo :)