Multiple open source software, one login page

Discussion in 'PHP' started by sharpweb, Feb 11, 2007.

  1. #1
    I am thinking of creating a new website that would use all these open source software packages in php:

    Integrate phpBB,forum
    Phpca classifieds
    WP install for site owner article managment
    WP MU for member blogs
    mediawiki for a community wiki

    I don't want users to have to login for each one. I want to have a master login page and once they are logged in there, they are automatically logged in to all the above as well.

    I'm just curious if this is possible??? I imagine it is, but I won't bother with the site is it is going to be very.

    Can someone who has done this give me tips on the best approach? Or at least let me know if it possible without rewriting all the code.

    Cheers,
    Chris
     
    sharpweb, Feb 11, 2007 IP
  2. rays

    rays Active Member

    Messages:
    563
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Yes It Is possible ... One thing can be done .. create your custom user table which will be master table and do the replicated entries in other tables of forum and blogging script's table ... then you need to so some changes in all open source applications login scripts to validate users using cookies or sessions..


    VB & PHP BB have API's for user integration ... Honestly i have done some part of it but not with convincingly correct approach ... as there are lot of issues with password encryption methods
     
    rays, Feb 11, 2007 IP
  3. sharpweb

    sharpweb Guest

    Messages:
    246
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    eeewwwwww password encryption. Could be tough to do if some there are different methods of encryption used in the software packages.
     
    sharpweb, Feb 11, 2007 IP
  4. sharpweb

    sharpweb Guest

    Messages:
    246
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hmmm and how would i handle user profiles???

    so many questions
     
    sharpweb, Feb 12, 2007 IP
  5. Icheb

    Icheb Peon

    Messages:
    1,092
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #5
    What you could do is remove all references to registration and login scripts from the other scripts and write your own script that handles it. Then you authenticate the user against a custom database table and set the appropriate cookies for the other scripts upon success.

    However the more integration you want the more complex it is going to be, so it's not going to be easy.
     
    Icheb, Feb 12, 2007 IP
  6. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #6
    Yes Icheb is right, you will have to remove registration, login and profile stuff from each application. Then you make your own tables and classes to handle this stuff. Make a solid API for this purpose and use it in every application.
     
    designcode, Feb 12, 2007 IP
  7. hape

    hape Peon

    Messages:
    108
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    That was exactly the reason why I started to program my own applications 8 years back.
    Found it simply too tedious to modify packages and scripts written with different programming styles, checking for colliding variables and file names etc etc
    Yes, it is possible to merge all into one site ... but it takes time, lots of time
    Sincerely
    hape
     
    hape, Feb 12, 2007 IP
  8. skyjuice

    skyjuice Peon

    Messages:
    127
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    also already have sme features in this in Joomla

    just look at joomla.org and download install after that look at what type of component you want example wordpress / wiki at extensions.joomla.org
     
    skyjuice, Feb 12, 2007 IP
  9. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #9
    Thats why I alway keep my Data layer separate from business logic and UI, If you're data layer is separate, it can be plugged anywhere easily. Most script merges data layer and business layer so much that I becomes very hard to modify code.
     
    designcode, Feb 12, 2007 IP