View Full Version : Identifying a new page on "Who's Online"?
Dorign
08-05-2005, 07:15 PM
Since I use a portal, I've renamed my "index.php" to "community.php" and the portal has become the "index.php." However, the Forum Portal (index.php) is defined as "Forum Index" on Who's Online (which is fine), but the Forum List (community.php) is "unknown location." How do I fix that?
Thanks!
Christine
08-06-2005, 01:06 AM
Take a look at:
https://vborg.vbsupport.ru/showthread.php?t=83247
Nice, clean way to be able to manage all non-vB pages in WOL.
Edit to add another option:
https://vborg.vbsupport.ru/showthread.php?t=82882
Dorign
08-06-2005, 01:19 AM
First one doesn't seem to work.. second one is for 3.5. :/ I'm on 3.0.8
I figured it out. For anyone who needs it.
=============================
includes/functions_online.php
=============================
Find:
__________________________________________________ _________________________________________
default:
if ($permissions['wolpermissions'] & CANWHOSONLINEBAD)
?????????????????????????????????????????????????? ?????????????????????????????????????????
Above this, add:
__________________________________________________ _________________________________________
case 'XCUSTOMX':
$userinfo['action'] = 'XCUSTOMX';
$userinfo['where'] = "<a href=\"XCUSTOMX.php?$session[sessionurl]\">XCUSTOMX</a>";
break;
?????????????????????????????????????????????????? ?????????????????????????????????????????
Find:
__________________________________________________ _________________________________________
default:
$userinfo['activity'] = 'unknown';
}
?????????????????????????????????????????????????? ?????????????????????????????????????????
Above this, add:
__________________________________________________ _________________________________________
case 'XCUSTOMX.php':
$userinfo['activity'] = 'XCUSTOMX';
break;
?????????????????????????????????????????????????? ?????????????????????????????????????????
Just replace XCUSTOMX with what you need.
bigcurt
08-06-2005, 08:56 AM
or you could use this https://vborg.vbsupport.ru/showthread.php?t=66569&highlight=trigunflame ---ALOT simpler..
~Curt
Christine
08-06-2005, 04:26 PM
Sorry, wasn't paying attention to the main forum. *doh*
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.