![]() |
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 |
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. |
Ok. Have solved this by my own. You can close the topic.
|
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
|
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. |
Quote:
Quote:
|
All times are GMT. The time now is 07:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|