The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
WOL on non forum page
Hi,
I already have the rest of my site hooked up with vb (by using global.php) however I want to display whose online on my nonforum pages also. How can I achieve this please ? Thanks |
#2
|
|||
|
|||
Quote:
|
#3
|
|||
|
|||
how'd you do it bahbah? please share for us noobs
|
#4
|
||||
|
||||
I am wanting to make vB aware of a non-forum script on my site so that visitors browsing the non-forum script will show up in who's online when I check it. Is adding an include to global.php in the non-forum script all that is require to make vB aware of members and guests browsing in the script?
I realize it will show unknown location unless I do further work, but I'm just looking to get started here. |
#5
|
||||
|
||||
Vs. tons of file edits all the time. I use this.
https://vborg.vbsupport.ru/showthread.php?t=83247 |
#6
|
||||
|
||||
Unfortunately, that only works for unique files and they must be located in the vB forum's root directory.
BTW, I did some experiementing and confirmed that the following code works fine for making vB aware of visitors/members browsing around in non-integrated scripts: Code:
//**************************************************** chdir('/home/user/public_html/vbforumpath/'); require_once('./global.php'); chdir('/home/user/public_html/nonforumscriptpath/'); //**************************************************** |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|