Community Blogs Plugin
Announcing a new plugin for BuddyPress : Community Blogs
This is a BuddyPress plugin that allows a Blog or Site Admin to turn a normal blog into a Community Blog or a Group Blog. By activating the Community Blogs plugin, Administrators can give immediate registered user status to any member of their BuddyPress enabled site on the blogs they choose. All the member has to do is visit the blog and they are greeted by a new menu item on the buddybar inviting them to ‘Join! this Blog’. When the user hovers over ‘Join! this Blog’, they are informed that ‘This is a Community (or group) Blog. Click to join as: Author (or contributor).
When the BP member clicks the menu they are immediately added as a registered user of that blog. Administrators can choose the role the new user has. Either Contributor or Author. Admins can give access to all users or users from specific BuddyPress groups.
This plugin lives in the /wp-content/plugins folder and can be enabled on a blog by blog basis. Site Admins can control the activation of the Community Blogs plugin through normal plugin management methods such as disabling the plugins menu or using any plugin admin utility such as Plugin Commander. Community Blogs settings are configured in the Settings > Join! this Blog admin form which is available to blog admins.
* Enable this plugin: which turns off new user registrations but leaves the plugin activated
* Default User Role: for new users clicking to register as Author or Contributor
* Allow All Registered Users: when set to Yes then any member of the BP community can become a registered user at the default role on that blog. When set to No the Community Blogs plugin becomes a Group Blogs plugin.
* Groups To Allow Access: is a list of the BuddyPress Groups that can become registered users. More that one group can be given access if you like. The group slugs are used to specify what groups have immediate registration access to the blog. This allows blog admins to configure the plugin without the Site Admin having to give them group ids. If the blog admin can find the group slug they can configure access.
BuddyPress doesn’t have Group Blogs as of yet. Something like this might be a good start. We just need to tie the Group Blogs into the member theme. I was thinking that a flexible way to enable BuddyPress to implement a Group Blog component, would be to allow BP Group Admins the ability to specify the url or blog id of their chosen Group Blog. We could then create a Group Blog posts template that functioned similar to the Group Forums area. The Admin of the designated Group Blog just creates and configures the blog. Drops in the Community Blog plugin and away they go.
Group Admins could even specify multiple Group Blogs that aggregate and allow access through the member theme.
Until we have a member theme that is ready for Group Blogs, all the members of a Group can still have the blog component with this Community Blogs plugin.
I’ve been playing with this and think it works well enough to use it on my site. I could use some help with further testing though. Can I get some volunteers to give it a workout on one of their test servers?
I’ve tested this on Windows Vista and Linux running the latest BP trunk and Mu 2.7 trunk. It needs testing on Mu 2.6.x. I don’t think I’ve got any Mu 2.7 specific code in there but ya never know.
This is a call for some hearty, adventurous alpha testing souls.
Screen shots and download here :
- The topic ‘Community Blogs Plugin’ is closed to new replies.