![]() |
Login Verification Help
Hey, just a short problem and i was wondering if anyone had any info
I use vbulletin as part of a larger site which requires members to login to areas of the site to play games etc, i previously used phpbb2 and it was easy enough to verify members from the forum database for identification using the inbuilt dreamweaver login script and slightly adapting it to understand the hashed members passwords Code:
Unfortunatly, as vb is significantly more complex this is not the case and it will not work Am i missing something glaringly obvious, like the hash code is different, or can it simply not be done for security reasons? |
md5(md5($password . $salt))
|
What is the $salt bit at the end?
|
salt field in the user table. It is unique for each user.
|
The $salt is a random 3 character string that is stored in the user table and is appended to the md5 hash of the password and then md5'd again.
|
Quote:
1. does this immediately give us the hash that matches what the database has, if the password is correct? 2. where can we find implementations of cookies/sessions through out the whole website? |
1./ Yes
2./ login.php (probably leads you to includes/functions_login.php) |
Quote:
thanks :) |
Even after a week i am still having trouble with this problem, being a poor coder, i am using dreamweavers built in login wizard, it worked fine with phpbb2 but i am unable to get it to work with vbulletin. i have copied the code and highlighted the bits i have amended, but it still does not work, any help will be greatly appreciated
Code:
|
Try this :)
PHP Code:
|
You sir are a legend!
Worked perfectly |
hmm, I can't this to work.
The script directs to the login.php page but the login.php seems to redirect straight away to the index page. I do not get logged in. Any ideas? nvm, this seem to be the reverse of what I want to do. I want to be able to login from another page directly into VB with a click on a link. https://vborg.vbsupport.ru/showthread.php?t=109372 The solution in the thread I posted used to work but not any more for some reason. |
Hi,
Did you manage to find a solution for this? I am still facing the same problem as well. Any help will be greatly appreciated. Thank you |
All times are GMT. The time now is 01:10 PM. |
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:
|