Page 1 of 1

PostPosted: Sun Mar 25, 2007 2:24 pm
by Steved
Hi, I have several phpBB sites pertaining to the building of experimental aircraft. I've installed dataface and have been playing around with a parts listing database. As a stand alone Dataface works great and I had a parts lists up and running in less than an hour. Great job! What I'd like to do is use the phpbb username and password tables.

[_auth]
users_table = phpbb_users
username_column = username
password_column = user_password

The problem is the passwords are stored hashed. Can I decode in the ini file, or can I pass it in some how?

Anyone up to an embedding hack, passing phpbb User ID and access levels into Dataface?

Steved
www.EuropaOwners.org
www.FlyHummel.com

PostPosted: Sun Mar 25, 2007 5:44 pm
by shannah

If memory serves, PHPBB uses md5 for its password encryption (correct me if I'm wrong).Ê Dataface supports md5 encryption on columns

http://framework.weblite.ca/documentation/manual/fields_ini/encryption

Let me know if it uses a different encryption and I'll see what we can do.

-Steve


PostPosted: Mon Mar 26, 2007 3:07 pm
by Steved
Hi Steve, I tried:

[passwd]
widget:label = "User Password"
encryption = md5

In the fields_ini and I couldn't get it to work. Then I was thinking that phpbb hashed the password in and Dataface was trying to decrypt out, and maybe that wouldn't work.

Steved

PostPosted: Mon Mar 26, 2007 9:42 pm
by shannah

What is the name of the password column in phpbb?

is it 'user_password' or is it 'passwd'.Ê Your conf.ini file would indicate that it is 'user_password, but your fields.ini file example says that it is called "passwd".ÊÊ Find the correct one, and set them in for the conf.ini file and the fields.ini file.


Best regards



Steve