Re: PHP forum / external login

From: Jay Moore (address_at_isp.tld)
Date: 03/25/04


Date: Thu, 25 Mar 2004 14:05:22 GMT

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



Relevant Pages

  • Re: Slightly OT; Opinions on Forum type software
    ... I like the php look much better so far. ... | there should be a script in the distro for the forum that has a script to ... dunno how/why they run phpbb with access but they said they did. ... As for Snitz vs. phpbb, ...
    (microsoft.public.frontpage.client)
  • Re: Slightly OT; Opinions on Forum type software
    ... asp is just easier on my brain than php and FrontPage gets ... To replace a High School Alumni forum that I've been hosting on Delphi for a zillion years. ... dunno how/why they run phpbb with access but they said they did. ...
    (microsoft.public.frontpage.client)
  • RE: PHPBB and Frontpage 2000
    ... It is perfectly possible to use PHPBB and Frontpage. ... You need a MySQL database available, as PHPBB creates about 30 database ... You can redesgn the pages by opening the PHP pages and looking for ... > middle section for the forum itself. ...
    (microsoft.public.frontpage.client)
  • PHP forum / external login
    ... 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 ... I want to have the forum and my site share the same ...
    (comp.lang.php)
  • Re: If I were too...
    ... phpBB looks like this: http://www.phpbb.com/phpBB/, ... and is a great forum design and it offers many more features than a forum ... I won't be joining you - mainly because I'm not a fan of web ...
    (rec.juggling)