Page 1 of 1

linking fields

Posted: Fri Jun 11, 2004 9:17 am
by bytte
My database has two tables that hold username/password information.
That's because people can actually sign in on 2 different places on my website (one on the forum, the other one on the site itself).

I want to be ablo to link the username/password/email fields in these two tables so that if a user signs up on the website, he can use the same username/pass to log in to the forum and vice versa.

Any idea on how to do that?

Posted: Sun Jun 13, 2004 10:03 pm
by scorphus
What have you done so far? Is there some piece of code or some database design?

-- Scorphus

Posted: Sun Aug 22, 2004 11:03 am
by bytte
Thanks.
I'm using a PHPBB forum. I have recently built a website that requires users to log in to have full functionality.

Of course I want users that sign up on the website, can use the same username/pass on the forum. And vice versa: when users sign up on the forum, they should be able to log in to the website as well with the same username/pass information.

I haven't done anything so far. What would be the best option?

Posted: Sun Aug 22, 2004 11:28 am
by feyd
As it can be a pain to modify phpBB's login code to work with another system, having your main site use theirs is the easiest way to set it up.. It'd be even easier if the entire site was actually run through phpBB, as then, all the areas would have its login system already..

Posted: Mon Aug 23, 2004 5:20 am
by bytte
Thanks. I guess you're right. I've spent a few hours trying and in the end I just figured out the best way would be to use their system.