The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom UserCP with password change
Hey,
I'm currently in the middle of creating a custom site that integrates with vB forums (such as single login between the 2, sharing data, pulling threads for a news category etc). So far so good. Now, i'm trying to create my own UserCP on the custom side with practically all the same main features as the vB ones provides - signature, email & password change etc. I'm now trying to recreate the password change but having difficulties on how to do this. I assume there must be some file or function already in vB that i could use to do such a thing. I've had a glance around the login.php and the profile.php section for email & password - but not being a very skilled PHP coder i am a bit stumped on where to go. But yeah, surely the md5 & salt function/section is already in vB somewhere that i could just integrate it with the form? The current password would just hash it and check against the one currently in the password field.. and if they match, then hash the new inputted password and update the table - or is it done differently? Anyone? There must be a simple way to do this.. i assume its all in profile.php under the editpassword section but i cant change the code to work for me. Anyone know a simple to to hash a password and check it against the db? Then to do the proper hash sequence and update the user with the new password? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|