The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Global.php on non-vb pages
Hi,
I'm trying to design my site around Vbulletin. I know I would need to include "global.php" in all of the pages, but from what I've tested, I'm having a problem with sessions. Right now I login to my forums, then when I go to my test page, it's supposed to be like this: "Welcome, username", but instead of showing my username, it shows the username of the 1st ID in the database. Here's the code I'm using. What's wrong? PHP Code:
|
#2
|
||||
|
||||
The user's username (assuming they are logged in) will be stored automatically in $bbuserinfo['username'] after you have included global.php.
|
#3
|
|||
|
|||
Still messing with this, thanks for the info!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|