The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problems with: $vbulletin->userinfo['userid'];
Hey mates,
got a small problem, which is already transformed to a major one... i want to add a login box to my wordpress frontend, and if the user is logged in to the forum it should display a welcome message and some related stuff... main facts: i am including the global.php while using this code (added it to the header.php in wordpress. that it's openend on every page): if (!file_exists('/path/forum/global.php')) { echo "++++ IT!"; exit; } require_once('/path/forum/global.php'); got that code in my sidebar: $userid=$vbulletin->userinfo['userid']; echo '"'.$userid.'"'; the result i get: "" => that means, i can't read the userid of a logged in user. got any tipps? would be pretty happy if yes |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|