MyBB Community Forums

Full Version: Import Questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a flat file with all my users info.
What I need to do is figure out how to generate the salt and md5 password from there. The password I have in the text file is plain text. I'm trying to do this with navicate to get my users into the system. If anyone has any suggestions I would appreciate it.

Thanks!,
Russ
Hash the plain-text password once in md5, i.e.,
$insert_password = md5($plain_text_password);
When you insert the user into the database, just insert that password and leave the salt and loginkey values blank. MyBB will automatically salt the password and generate a login key when the user logs in.
DennisTT Wrote:Hash the plain-text password once in md5, i.e.,
$insert_password = md5($plain_text_password);
When you insert the user into the database, just insert that password and leave the salt and loginkey values blank. MyBB will automatically salt the password and generate a login key when the user logs in.


Awsome.. THanks!!
and thanks for the quick response!

Russ
No problem.