By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,742 Members | 793 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,742 IT Pros & Developers. It's quick & easy.

PHP forum / external login

P: n/a
Hi *,

I have a a website running for a bunch of people, written in PHP.
Everyone has it's own login, I use some session-based authentication
mechanism and a MySQL database for storing the users / passwords /
.....

Now I'd like to integrate some 3rd-party-forum into this site,
something like phpBB or similar , could also be a more simple one, it
really doesn't matter. But the point is, I don't want that my users
have to login twice, once for my site, and a second time for the
forum. I want to have the forum and my site share the same (existing)
user database.

So I need an (existing), preferably GPL'ed, preferably PHP-based forum
software with some kind of external login (e.g., using cookies, PHP
sessions, $PHP_AUTH_USER, or whatever). Sure, I could hack one, but
isn't there a better solution?

Does anyone of you such a forum? Please let me know...

Thanks,
Egon Schneider.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Egon Schneider wrote:
Hi *,

I have a a website running for a bunch of people, written in PHP.
Everyone has it's own login, I use some session-based authentication
mechanism and a MySQL database for storing the users / passwords /
....

Now I'd like to integrate some 3rd-party-forum into this site,
something like phpBB or similar , could also be a more simple one, it
really doesn't matter. But the point is, I don't want that my users
have to login twice, once for my site, and a second time for the
forum. I want to have the forum and my site share the same (existing)
user database.

So I need an (existing), preferably GPL'ed, preferably PHP-based forum
software with some kind of external login (e.g., using cookies, PHP
sessions, $PHP_AUTH_USER, or whatever). Sure, I could hack one, but
isn't there a better solution?

Does anyone of you such a forum? Please let me know...

Thanks,
Egon Schneider.


I found instead of creating a site and implementing a forum, it's easier
to use the forum and implement the site around it. For example, one of
the sites a buddy and I we were working on (www.gmtuner.com) has a
phpbb-driven set of forums. Using the same cookies that phpbb uses, I
am able to authenticate users on the rest of the site. If they login on
the site, they're automatically logged in on the boards. If they log
out on the boards, they're automatically logged out on the remainder of
the website. The reverse also holds true.

I'm sure there's a way you could 'hack' phpbb to use your existing users
database, but I think it'd be far easier to set up phpbb, and copy the
logins and passwords (and whatever else is necessary) into the phpbb
users database.

-Jay

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.