The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying to make a single login into my web site also log the user in to my vbulletin forum. After I validate my user I set up these REQUEST/POST variables:
$_REQUEST['do'] = 'login'; $_REQUEST['vb_login_username'] = $_POST['username']; $_REQUEST['s'] = ''; $_REQUEST['vb_login_password'] = ''; $_REQUEST['vb_login_md5password'] = htmlentities(md5($_POST['pass1'])); $_REQUEST['vb_login_md5password_utf'] = md5($_POST['pass1']); $_POST['do'] = 'login'; $_POST['vb_login_username'] = $_POST['username']; $_POST['s'] = ''; $_POST['vb_login_password'] = ''; $_POST['vb_login_md5password'] = htmlentities(md5($_POST['pass1'])); $_POST['vb_login_md5password_utf'] = md5($_POST['pass1']); and then include vbulletin's login.php file to perform the login. However when I bring up the forum home page, I still have a username and password box waiting to be filled in. Are there cookies or session variables or other things/tricks that need to be set up to have vbulletin think I have actually logged in? thank you. |
#2
|
||||
|
||||
![]()
Yes, vbulletin sets a cookie when you login and also creates a session. I think there are articles on adding logins to other pages, so you may want to check them out.
|
#3
|
|||
|
|||
![]()
Do you have any idea of where I can find these articles? There is so much documentation and from what I can see what I am trying to do is unsupported.
Thanks |
#4
|
||||
|
||||
![]()
The Articles tab in the upper right corner takes you to the articles forums.
If you search "login" "articles" "titles only" you will get this - Single Signin / Login Integration Tip which may help you out. |
#5
|
|||
|
|||
![]()
Ohh thanks, I came here today exactly looking for this as well.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|