First of all (I assume it's the same for the new vB3), you have to connect your other non-vb pages to the forum. vB has no way of knowing who's outside of the forum structure.
Making it work for vB2 required something along these lines via a .php file:
Code:
require('./global.php');
require("$path/config.php");
Once all pages outside of the forum connect to the forum itself, you could then output the vB information to all your non-vB pages.
On a similar note, directory structures will not work in the who's online (unless this was changed for vB3). It uses the filename the person is viewing.
So instead, it would look like this:
case 'home':
$userinfo['action'] = 'Home Section';
$userinfo['where'] = "<a href=\"http://www.yoursite.com/home/home-news.php\">Latest News</a>";
break;
AND....
case 'home-news.php':
$userinfo['activity'] = 'home';
break;
Remember, vB has no idea where a user is outside of the forum, that's why you have to connect to the global vB files outside of your forum structure. That's how it worked for vB2 so there's a good chance that's how it works for vB3 as well.
You can do this by connecting to the vB database at the top of each of your .php files, or use an include to pull it in.
EDIT: Here, for your vB3 Who's Online on non-vb pages.
GO HERE
Syl...