The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with vBulletin Integration and Autologin
Hi,
I'm trying to integrate vBulletin into our product. The automated account creation and validation of the session from our product works fine in the "init_startup" hook. But now I have problems to perform an autologin to vBulletin if the Product session is valid and the vBulletin account exists. (without redirection page) I have now tried this code: PHP Code:
PHP Code:
The Problem is: vBulletin generates a session and sets a cookie, but the userid in the session row and the cookie is 0. Please help to solve this problem. Thanks in advance. Best Regards, NBZ4live |
#2
|
|||
|
|||
Nobody an idea?
I already tried many ways to do that, but nothing helps. I have successfully logged in user by editing the userid in his entry in the sessions table, but thew user will be loged in after a refresh. I can't use do_login_redirect(), because the redirect page makes another redirect and so on. |
#3
|
|||
|
|||
Ok. Have solved this by my own. You can close the topic.
|
#4
|
|||
|
|||
what did you do to solve this? I've been trying to fake a session all day, and although my cookie's and db are set fine.. vb just creates a new session... its driving me crazy
|
#5
|
||||
|
||||
I have exactly the same problem as was discussed above.
My single Signon using forms based authentication on a Windows server was working fine with vB3.8 for a year or so, but with vB4 the do_login_redirect triggers an infinite redirect. My code transparently creates a vB account or logs the user in if their email address matches between vBulletin and my CRMS. I execute the login and my code with a button and it works fine, but if I have it fire from a hook, it gives the infinite redirect in v4. |
#6
|
|||
|
|||
I HATE people who take the time to post a problem on the forums, and even post a followup asking for more help, then "I solved it, not going to bother wasting anyone's time by telling them how, solve it on your own +++++++". If you're going to waste your time writing and saying you fixed it, at least say a couple words for people who also run into the same problem.
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|