The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi there,
For my current website I would like to integrate vBulletin into my existing member system. Each member is represented by a record in both my own and vBulletin's user table. I already figured out how to register from a external page ( by using data managers). Now i would like to know if it is possible to easily login from an external page using a server side solution. Any ideas? So just to clearify, my question is: Is there any way to start a login session for a already registered user in vBulletin from a external (homemade) page using serverside techniques? I know I can do it by simply redirecting a form to the login.php page, but that is not what I'm looking for! Thanks, Shr3d |
#2
|
||||
|
||||
![]()
See what login.php does to log someone in, and replicate it.
|
#3
|
||||
|
||||
![]()
it's not so easy, because login.php would set a cookie on the logged user's browser, and while it's true that you can capture and parse the cookie with CURL, unless you try to do this from the same domain you won't be able to replicate an useful cookie.
If you're on the same domain, even in a subdomain, then it's doable tough not very straightforward. I've tried sending login vars with ajax too, but login.php seems unwilling to accept them ![]() |
#4
|
||||
|
||||
![]()
AJAX will not work - no cookies will be able to be set. Cookies are only set when a page loads, and it has to be sent in the headers, before any content is sent.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|