I have a php/mysql based site with users segregated into different groups... i want to add blogging system to it so that each group has its own blog which can be authored by users who are designated to administer that group and can be read by each user of that group... how can this be done?
I haven't been working with WordPress too much, so there may be someone who can give you more details. But here's what I've come to understand:
If you want to have multiple blogs (one for each group) then you need to EITHER:
The former could be done as part of the plugin that I will explain later, the latter can be done using WordPress core - although it will not be able to dynamically create these new blogs if a new user group were added.
As far as having users logged into your own website recognized as authenticated in WordPress, you would need a plugin that loads after WordPress's own user authentication. If you load before WordPress's user authentication then you would verify they were logged in and WordPress would immediately over-write this saying that they were not. The
If the user does not exist then WordPress should create it, so if user registration is disabled in WordPress (done via the Dashboard) to prevent an ID collision then your users should be able to immediately take advantage of this and log in.
As for filtering the returned posts according to group, I'm not entirely sure how that would work, but I suspect it would involve the
Is that "php/mysql based site" a self-done script or do you use a finished software. In the latter case, there maybe exists a connector to Wordpress. But Wordpress isn't really pluggable into other CMS'.
One other way I can think of, is into "fooling" Wordpress, by replacing its user tables (using the same database as your website) with views of your user-tables. SO it really works on your users, with their respective rights, while all blogging content would be saved to Wordpress' own tables.
Though, using Wordpress itself as a CMS, and then also using its blogging-features would be the "best" way (if you have a chance to change your underlying system and migrate all the old pages to Wordpress).