The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Automatic login
Our internal vBulletin instance is sitting behind a seperate authentication layer that will pass the login credentials (once verified against our LDAP store) to the page. I need to then take those details and log the user in to vBulletin. As the user can still visit any page directly*, I need all pages to check for these details and log the user in if they're not already.
Can anyone offer advice as to where this code should live (to be included on every page)? I'm pretty sure I'll be able to borrow code from elsewhere in the base to perform the action, but if you have any advise please let me know!! * if the user were to try and reach the page via memberlist.php, for example, they would go via the authentication system (if it's the first time they have logged in that session) and end up at this page. |
#2
|
||||
|
||||
You have a choice of hooks, and among others, global_start or init_startup. Look at the locations in the files, and use the one that suits you.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|