Log in

View Full Version : Who's online further information


Areku
04-29-2003, 10:02 PM
I know there's a special hack adding lots of new info to "Who's Online" view, but I need to add a special one. I'm using phpPortals, sort of mix between phpnuke and vb, and it is installed at

1) mydomain.com/mysite

vb is at

2) mydomain.com/mysite/forums

so i want to show in "Whos Online" a different message rather than "unknown site &s=sessssssssssionnnnnnnnnnid/index.php" for those visitors on the 1)

how?

tu!

Areku
05-20-2003, 10:24 PM
No1?

Gary King
05-21-2003, 09:03 PM
Modify forum/online.php

Find:
case 'gallery':
$userinfo[where] = "Viewing Picture <a href='gallery.php?s=$session[sessionhash]'>Gallery</a>";
break;


After it, add:
case 'portal':
$userinfo[where] = "$bbtitle <a href='../index.php?s=$session[sessionhash]'>Portal</a>";
break;


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


After it, add:
case '../index.php':
$userinfo[activity] = 'portal';
break;


That should work. Let me know if it doesn't.

Areku
05-26-2003, 07:48 AM
i had to use /portaldir/index.php but it worked, thanks!

Gary King
05-26-2003, 11:18 AM
No problem!