The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have been searching around and have yet to find a definitive answer to the "How can I use vB variables on non-vb pages."
Here's what I'm trying to do. I have a page (actually it's a wordpress blog) that I am trying to integrate with vB. Nothing fancy, I would just like to be able to pull the logged in user's username into the document, and I'd love to be able to use a few group based conditional statements throughout the page. Do I just need to require(); something so I can start pulling variables? Please, point me in the right direction. |
#2
|
|||
|
|||
![]()
When you include/require 'globals.php' then you can access the userinfo through the array $vbulletin->userinfo
Such as... $vbulletin->userinfo['userid'] $vbulletin->userinfo['username'] $vbulletin->userinfo['usergroupid'] ...etc |
#3
|
|||
|
|||
![]()
Thank you
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|