The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hiya
Regarding the HowTo for creating new users; I'll be using this functionality entirely outside of the vB enviroment, so found I had to put a few things at the top of my test script to make the example work: Code:
define('VB_AREA', 'Testing'); define('THIS_SCRIPT', 'user_testing.php'); define('CWD', $_SERVER['DOCUMENT_ROOT'].'/testvb'); include_once ('testvb/includes/init.htm'); include_once ('testvb/includes/functions.htm'); The site I'm working on will have a registration process for the whole site, and part of this process will include vB registration, which is now working. To complete the whole package, I'd like the user to only have to log in once, giving them access to all members' areas of the site, including vB, rather than logging in to mysite.com, then mysite.com/board/ when they want to post. The new user DM class is great, but I have yet to find anything similar that relates to logging a user into vB. Am I just not looking in the right places? If there's no login DM class functionality yet, has anyone else managed to do this successfully? Cheers! Paul. |
#2
|
||||
|
||||
![]()
Using library:
Take a look at functions_login.php I think I'm gonna write up a How-To for this ![]() Manual: This is a FAQ and has been answered dozens of times for vB 3.0.x already "Being logged in" just means that you have the appropriate cookies set. Namely bbuserid and bbpassword (bb is the default cookie prefix, so the cookies might be different if you use another prefix). bbuserid should be obvious. bbpassword is md5(md5(md5('plaintextpassword'). $salt) . 'LicenseNo'); The value of column password in table user is md5(md5('plaintextpassword') . $salt) |
#3
|
|||
|
|||
![]() Quote:
![]() Cheers! Paul. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|