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
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
eeewwwwww password encryption. Could be tough to do if some there are different methods of encryption used in the software packages.
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.
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.
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
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
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.