The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi all,
Just a quick one. This is my website and this is my forum.. I'm trying to make the entire website as community driven as possible and I'd like the forums who is online to display users also browsing the custom built cms. Any ideas how I'd go about this? I know it's been done for earlier versions; https://vborg.vbsupport.ru/showthread.php?t=32995 https://vborg.vbsupport.ru/showthread.php?t=157329 https://vborg.vbsupport.ru/showthread.php?t=60019 https://vborg.vbsupport.ru/showthread.php?t=39978 From searching I know I need to include global.php - but how do i include global.php outside vbulletin dir? Any assistance would be greatly appreciated. |
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
|||
|
|||
![]()
Thanks Lynne! Very kind.
I don't suppose theres anyway of testing it works? The spike traffic our news articles receive don't seem evident on the forum 'who's online' statistics? This is the code I'm using; Code:
// Boot up vBulletin $curdir = getcwd (); chdir('forum'); require_once('forum/global.php'); chdir ($curdir); $forumpath = $CONF['site'].'forum'; |
#4
|
||||
|
||||
![]()
The page would show up in the session table for that user if the page is working correctly.
|
#5
|
|||
|
|||
![]()
So on my 'Who's Online', I should be seeing some locations to the likes of this page?
Thanks again Lynne. |
#6
|
||||
|
||||
![]()
Yes. And in your database, as I mentioned.
|
#7
|
|||
|
|||
![]()
Hmm. Sadly doesn't appear to be the case. I'll have to do some tweaking to hopefully resolve.
|
#8
|
||||
|
||||
![]()
This line must be a full path:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|