Forum and Members Database Login Integration

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
DoHBoY
Forum Newbie
Posts: 3
Joined: Fri Apr 09, 2004 7:26 am
Location: Uk
Contact:

Forum and Members Database Login Integration

Post by DoHBoY »

Hello there

Can anyone tell me what would be the best way to design a database that would allow for users to register on the website but the member details will also carry over to a forum so they don't have to register again.

Still noob at this so be gentle :D
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Is this a forum of your creating or are we talking an established one like phpBB ?
DoHBoY
Forum Newbie
Posts: 3
Joined: Fri Apr 09, 2004 7:26 am
Location: Uk
Contact:

Post by DoHBoY »

Well this is where I could do with the guidance

What would be the best forum to use, don't really want to create a whole forum so is it possible to use an existing one like phpBB or the like ?

Would that mean I would have to use the existing database in the forum and integrate that into the website ?
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Yeah, using something like phpBB would be a better solution that writing one from scratch. You could then use phpBB's user tables as your own, ie your user login form would actually read and write to the phpBB tables, so if someone logs in on your site they are also logged into the forum.

http://www.phpbb.com/kb/article.php?article_id=143 might be of some use to you.
DoHBoY
Forum Newbie
Posts: 3
Joined: Fri Apr 09, 2004 7:26 am
Location: Uk
Contact:

Post by DoHBoY »

Thank You that seems just the thing I'm looking for
Post Reply