Results 1 to 5 of 5

Thread: Forum software to intergrate with existing website

  1. #1
    Join Date
    Feb 2008
    Location
    Cape Town, South Africa
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Forum software to intergrate with existing website

    I have a website with an existing user base. Now I would very much like to integrate some sort of forum software onto the site.

    Here are the draw backs.
    1) Needs to maintain credentials across both systems. (Ie on password updates) I can not expect the user to sign up 2 times.
    2) Needs to maintain login session, This will only be logged in from the website.

    This "sync" would only need to happen from the main site being the primary data source/login system.

    I have looked into a couple I started with PHPBB as it was free and opensource, but I struggled to find an easy way to incorporate the single login that I would need. PHPBB is a big project so yes I could change some stuff around to get it to work but it worries me that PHPBB is such a widely used product that when ever a security patch is released or a flaw is found it would take me for ever to re implement "the auth system" with the updated phpbb code.


    Has any one done this before and have some advice. The forum software does not have to be as advanced and phpbb. I am sure that this has been done a few times as it seems like a common request but i can not seem to find resources.

  2. #2
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,076
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Forum software to intergrate with existing website

    well, so your website stores the usernames/passwords in some kind of a database, right? so, what you need to do is write a custom script on the backend to sync that user/pass db with the one in phpbb (or whatever forum you end up using).

    to maintain session, you'd have to look at how phpbb sets the session cookies on user login, and have your site set those cookies (in addition to the regular site cookies) upon login. even better - just use the phpbb-style cookies for authentication, rather than your custom site cookies, so you only have to maintain one set of them, and so that if a user logs in from phpbb, your site also recognizes his login, and the other way around.

    these mods would allow you to do what you want, without modifying phpbb source code in any way (thus preserving ability to easily upgrade for security patches, etc - until they change their database layout or cookie format, neither of which is very likely).

  3. #3
    Join Date
    Feb 2008
    Location
    Cape Town, South Africa
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Forum software to intergrate with existing website

    Quote Originally Posted by nanotube View Post
    well, so your website stores the usernames/passwords in some kind of a database, right? so, what you need to do is write a custom script on the backend to sync that user/pass db with the one in phpbb (or whatever forum you end up using).
    That was the exact idea. I was hoping this had been done before or at least pointers to sites with explanations/tutorials.

  4. #4
    Join Date
    Jul 2008
    Beans
    1,491

    Re: Forum software to intergrate with existing website

    Right, the scenario is: your DB x which currently stores every userinfo you may need for the website, would be expanded to include the tables required for the forum?

    Then I don't really see the problem because you would already have an "ON UPDATE CASCADE" trigger? So the DB would auto-sync it accross 'the board'. Therefore, me is

  5. #5
    Join Date
    Feb 2008
    Location
    Cape Town, South Africa
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Forum software to intergrate with existing website

    Quote Originally Posted by Reiger View Post
    Right, the scenario is: your DB x which currently stores every userinfo you may need for the website, would be expanded to include the tables required for the forum?

    Then I don't really see the problem because you would already have an "ON UPDATE CASCADE" trigger? So the DB would auto-sync it accross 'the board'. Therefore, me is
    Triggers might an a simpler solution... I was originally thinking of creating a view on the users table. but the columns are stored in a different format (the passwords are stored encrypted differently)
    EDIT Has no one come cross this being solved any where, it seems like a simple solution?

    Or does any one have any other free opensource forums (php) that are like from 2000 all the ones I have found on freshmeat were last maintained in 2000

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •