SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Non-Member
    Join Date
    Nov 2008
    Location
    internettrix.blogspot.com
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shared databases for two forums?

    I was just wondering, with so many scripts out there like forums, membership sites, how can you integrate all of them?

    Say I want to install a forum and a picture sharing script into a site, how do you make it so that the user doesn't have to register twice?

    Would having the same MySQL database solve the problem?

  2. #2
    SitePoint Enthusiast lordofthelake's Avatar
    Join Date
    May 2008
    Location
    Italy
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There isn't a standard answer to the problem, the solution varies from script to script. Anyway, what I can say is that having the same MySQL database isn't a solution as-is.

    Usually the registration data is kept in one or more tables specific to the script(s) you're using. To avoid to request a double registration you'll need to keep the two (or more) tables in sync in some way, usually through a 3rd script or some modification to the original scripts you want to integrate.

    This is all I can say about the general problem, without the knowledge of the scripts you want to integrate.


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
  •