The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Modify existing login system to use vBulletin's user mgmt
The website that I am now adding the vB forum software to is login and password protected. Now, unfortunately, a user will need to log in twice to submit a vB post (once to the site and once to the vB system). I was told that it is much easier to modify the site's login functionality to use the vB login/user infrastructure than the other way around. Given this - I have a few questions:
1) Once the user logs into the site (and the user has previously registered with the vB package) - I want to log the user into the forums system as a side affect. How do I do this? Is there a call that I need to make, and I assume a cookie needs to also be set. Is there some sample code to review. 2) What other things do I need to be aware of to make this all work. Thanks Dave |
#2
|
||||
|
||||
1. The easiest way to "explain" this is to have a look inside login.php, and also at functions_login.php. These two files set the necessary cookies to log a user in.
2. You need to be aware that cookies cannot cross domains, and that the cookie path you set in the Admin CP also has an impact (the default "/" should be fine). |
#3
|
|||
|
|||
thanks - will give this a look
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|