MyBB Community Forums

Full Version: The function to have Mybb Password Hash
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I need the function which give the mybb password hash. Because MyBB is integrated in my website and I have to make my own register page so I need the function which make the hash.

I've tried to find it in Mybb's pages but I haven't found it.

Thank for the help.

Backflip
All of that is located in inc/fuctions_user.php.... and the function that process the password + md5 + hash is validate_password_from_username($username, $password)

Haven't tested, but pretty much you'll need to include member.php into your website's php file, and call this function.
if you are programming in php and can not include the files maybe you can use this

php fuction

crypt()

hope this is some help to you