The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey,
I'm not sure if I posted this in the right section, but I have a question about intergrating vB with your site. Right now, I use cchdir() to go to the forums directory so I can include global.php, which I use to intergrate the forum with my site. Now in order for most of the scripts on my site to work, I need to know the logged in variable, (for example, the forum we used to use is SMF, which used $context['user']['is_logged']). To find this out, I did a var_dump() of the huge vb variable, and I echoed it onto a testing page, then I found "loggedin" which is crammed somewhere in that variable. I tried: Code:
$vbulletin['user']['loggedin'] |
#2
|
|||
|
|||
![]()
You could check if the $vbulletin->userinfo['userid'] has a valid userid > 0.
PS It could still be a banned user. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|