The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
how to use vb exclusive variables outside vb directory
Hello everyone.
I've tried without success to use some of vbulletins variables outside vbulletins directory. my forum is on forum.mydomain.com and I want to check, on one of the pages from mydomain.com, if the current visitor is logged on and if so find out his/her username I've tried it using: require('./forum/global.php'); if ($userinfo['userid']!=0) { print "Welcom back," .$userinfo['username']; } else { // .... please login } 1. what am I doing wrong 2. can I find somewhere a list of exlusive vb variables and what they contain ? thank you |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|