The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I've built some custom pages off of vb. The pages include global.php, call some templates, but anyone who visits these pages isn't listed on the active users list. Do I need to include another file? Is it possible to define where the users are in each page? Or maybe through a few hooks? One thing to note: these pages are not within the main forum directory.
|
#2
|
|||
|
|||
![]()
you will need to update the session to include where they're currently on your site.
I think the variable is this Code:
$userinfo['location'] ![]() |
#3
|
|||
|
|||
![]()
Thanks for the suggestion. I tried setting that ($userinfo['location'] = "wherever"
![]() |
#4
|
|||
|
|||
![]()
not that simple.
You need to update the session table with the current location of the user. |
#5
|
|||
|
|||
![]()
Is there another page you can suggest I look at? I'd love to have a code sample to work off of.
I thought any inclusion of global.php added a user to the active users table. I'm really confused since I have one page where users do wind up on the list and I'm not sure exactly what code is triggering it. |
#6
|
|||
|
|||
![]()
Well, I haven't made much progress, but I have found a workaround. I create a blank template and then call it at the end of everything I do:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|