The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vBulletin as Authentication
Hi. We have a large forum community that we have taken ownership of running on vBulletin 4. We have an in-house application (written in PHP w/ Zend Framework) that we want to integrate authentication into vBulletin with. We want users to be able to use the same login and only have to login once (to the forum).
Any suggestions on how to get started? The most simple way I can think of would be to detect the cookie of vBulletin (if such exists) to see if the user is logged in, and then store the user's ID in our custom application as a reference to the user. So, our application would have no concept of users or passwords, just the ID to reference from vBulletin. -Chris |
#2
|
|||
|
|||
Have any idea?
-Chris |
#3
|
|||
|
|||
include your /forum/global.php into the script and inspect $vbulletin->userinfo array.
There you will see quite a loty of info about user being logged int. --------------- Added [DATE]1296124237[/DATE] at [TIME]1296124237[/TIME] --------------- Try something like this: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|