The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
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"); 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... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|