Jump to content

Combining database usernames?


rho42

Recommended Posts

Hi, I am making a website that will have a marketplace with products to purchase and a phpBB community. I was wondering if there is a way to combine the usernames and passwords from both so users only have to sign up for one and have access to both. Is this possible?
Link to comment
Share on other sites

I'm guessing that you are using 2 databases.....one for the phpBB and one for the marketplace? If that's the case, why not just add the tables you require for the marketplace application into the the phpBB database? Then you will have one database with all the tables you require to run both applications, and only have to authenicate users once? That's what I would do anyway. :-)
Link to comment
Share on other sites

Guest footballkid4
I'm fairly unfamiliar with the phpBB authentication...I don't know if they simply encrypt with md5( $pass ), or if it is more complicated, I know IPB uses md5( md5( $pass ) . md5( $salt ) ), but that won't help you here. After you find the authentication method, all you have to do is select from the phpBB tables instead of your tables...
Link to comment
Share on other sites

If I were you, I'd just have the customers register with phpBB, and have your marketplace script use the phpBB table(s) - don't have any user authentication tables in your marketplace system.

Although, I must say, it may be a bit more trouble than it's worth - all of my experience in integrating databases was not fun at all.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.