mkoenig
11-24-2008, 11:34 PM
I am trying to Extend vBulletin to the rest of my site.
I've been googling and got this... but it doesn't seem to give me what i want.
<?
chdir('/home/user/public_html/forums');
include 'forums/global.php';
?>
Those locations are correct (user is really my user)
Im trying to see if the user is logged in now... i've tried both of the following with no luck.
<?
$vbulletin->userinfo['userid'];
echo $vbulletin;
?>
also tried
$log=$bbuserinfo['userid'];
echo $log;
Its a brand new up to date un modified install? Trying to extend it to a php site not in the same directory.
Thanks
Mike Koenig
--------------- Added 1227581565 at 1227581565 ---------------
After searching your forum i found the answer thanks you guys.
I've been googling and got this... but it doesn't seem to give me what i want.
<?
chdir('/home/user/public_html/forums');
include 'forums/global.php';
?>
Those locations are correct (user is really my user)
Im trying to see if the user is logged in now... i've tried both of the following with no luck.
<?
$vbulletin->userinfo['userid'];
echo $vbulletin;
?>
also tried
$log=$bbuserinfo['userid'];
echo $log;
Its a brand new up to date un modified install? Trying to extend it to a php site not in the same directory.
Thanks
Mike Koenig
--------------- Added 1227581565 at 1227581565 ---------------
After searching your forum i found the answer thanks you guys.