exoon
01-14-2011, 05:46 PM
Hello,
Ive just changed from PHPBB to VB4.
I used to have a login on my main site that would let them type their forum username & password in then it would redirect them to the page they was on the main site.
Also ive got this:
chdir('/home/exoon/public_html/forums');
require_once('./global.php');
chdir('../../');
$userid = $vbulletin->userinfo['userid'];
But it dosen't seem to return the userid. I was using this code on an older version of VB. Has it changed?
Ive just changed from PHPBB to VB4.
I used to have a login on my main site that would let them type their forum username & password in then it would redirect them to the page they was on the main site.
Also ive got this:
chdir('/home/exoon/public_html/forums');
require_once('./global.php');
chdir('../../');
$userid = $vbulletin->userinfo['userid'];
But it dosen't seem to return the userid. I was using this code on an older version of VB. Has it changed?