The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
can't get sessions outside of vbulletin
I am trying to get vbulletin session variables eg: userID and username from an external page/file in the parent directory of vbulletin.
I have followed the steps suggested for this process as follows. first i declare PHP Code:
PHP Code:
PHP Code:
I have checked that 1.Path to Save Cookies set to "Suggested Settings '/' " 2.$bbuserinfo['userid'] doesnt work 3.$vbulletin->userinfo['userid'] and $vbulletin->userinfo['username'] return 0 and Unregistered respectively 4.code is correct for vbulletin version 4.2.3 as suggested Can anyone advise me how to correctly get the vbulletin session variables(userid and username)/ PHP Code:
Please feel free to ask for any additional info. Thanks a ton. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|