Msg#: 3629650 posted 12:13 am on Apr 18, 2008 (gmt 0)
Well I have a Mybb forum and I'm trying to add some of the forum features to the site using PHP. Well I've got everything down except I need the login to work. I'm looking for a form that can log me in using the username and encrypted passwords from my mybb_users table.
How can I do this? So that It uses the usernames and passwords from my mybb forum? I'm just having trouble with the encryption part.
You could look at the source code of myBB to learn how they authenticate users, i.e. with what algo they use to do the password encryption, and then just do the same in your own login code likewise. You may also think about re-using an existing forum user's session instead of an additional log-in, in case a user is already signed in to the forum.