Embedding in other Web apps

A place for users and developers of the Xataface to discuss and receive support.

Postby Steved » Sun Mar 25, 2007 2:24 pm

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
Steved
 
Posts: 2
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Sun Mar 25, 2007 5:44 pm

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

--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Steved » Mon Mar 26, 2007 3:07 pm

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
Steved
 
Posts: 2
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Mon Mar 26, 2007 9:42 pm

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

--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 8 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved