Quote:
Originally Posted by Jafo232
Depends, usually if you just globalize the $vbulletin object, then you can use it like always:
Code:
global $vbulletin;
echo "Hi there " . $vbulletin->userinfo['username'];
|
Thanks. What about if I want to use $vbulletin variables on a different directory that's in neither my Wordpress or vBulletin directories. Any way to make $vbulletin global there?