Log in

View Full Version : vBAdvanced pages in online list


kevinnguyen
11-18-2004, 04:59 PM
i add these codes in the function_online.php
case '/index.php':
switch($values['page'])
{
case 'recipe':
case 'nonrecipe':
case 'items':
$userinfo['activity'] = 'items';
}
break;
case 'items':
$userinfo['action'] = 'Viewing Items List';
$userinfo['where'] = "<a href=\"/index.php?page=items\">$vboptions[bbtitle] Items List</a>";
break;
but when a member is viewing the page /index.php?page=items, in the online list it still says "Viewing Forum Index"
any ideas?

Edit: btw, index.php is vBAdvanced portal file, it's in the root folder (not the one in the forum folder)

Fargo
11-19-2004, 12:01 PM
just a complete guess here, but try changing

case '/index.php':

to

case './index.php':

because I believe its looking at /index.php at the forum root level.

lemme know if this is the fix cuz im going to need to do the same thing soon.

kevinnguyen
11-19-2004, 01:48 PM
it doesnt work :(

kevinnguyen
11-19-2004, 02:14 PM
i found this ;)
http://www.vbadvanced.com/forum/showthread.php?t=144