The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Automatically Logging a user in
We have a website where our users sign up for membership. In doing so we are creating their V-Bulletin users automatically behind the scenes so that they do not have to register for our site AND register for the forums. What would be really nice is when the user logs in to our membership area if we could automatically log them in for V-Bulletin as well so that if they visit that area it is seemless. Right now they would have to login twice, once for the members only area and once to login to V-bulletin.
Is there a way to set the cookie that v-bulletin expects? Or is it possible to call a method that will log the user in (kind of like how we create the user)? Thanks! |
#2
|
|||
|
|||
What method do you use to tell whether a user is logged into the membership area?
|
#3
|
|||
|
|||
Does anyone have a solution to the OP's question? I'm sure I'm one of many who are looking to do this.
Edit: found this -> https://vborg.vbsupport.ru/showthread.php?t=108026 |
#4
|
|||
|
|||
My solution to the problem is 2-fold.
First, I assume that the authentication is done by your own website. If the user is authenticated, I do 2 things :
I basically mimic what vBulletin does. You can look into the functions_login.php file and dig through it to see what to do exactly. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|