View Full Version : Who is Online ?
I have installed vBadvanced homepage...so the FORUM index.php is index2.php...and the vBadvanced Hompage is index.php.
So if i look at Who is Online i see this :
Unknown Location
/ro-hattrick/vb/index2.php
That mean he is in the FORUM INDEX. HOw can i modify this to write Forum Index and when is index.php to write Site Index ?
thanx
DarkSavior
01-26-2004, 07:47 PM
Open up online.php.
Find this code:
case 'index':
$userinfo[where] = "$bbtitle <a href='index.php?s=$session[sessionhash]'>Main Index</a>";
break;
Replace Main Index with Site Index.
Then add this code under it:
case 'index2':
$userinfo[where] = "$bbtitle <a href='index2.php?s=$session[sessionhash]'>Forum Index</a>";
break;
Then find this code:
case 'index.php':
$userinfo[activity] = 'index';
break;
Add this code under it:
case 'index2.php':
$userinfo[activity] = 'index2';
break;
Should work with that. :)
call me nuts..but i can't find the text !
Dark_Wizard
01-27-2004, 06:47 PM
call me nuts..but i can't find the text !
I take it your using vb3.0 RC3 correct? The code that DarkSavior gave you was for vb2.x....go to your includes directory and open functions_online.php and make your changes there....
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.