{"id":5007,"date":"2009-03-23T12:52:11","date_gmt":"2009-03-23T12:52:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/bp-community-blogs\/"},"modified":"2009-08-08T18:50:39","modified_gmt":"2009-08-08T18:50:39","slug":"bp-community-blogs","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/bp-community-blogs\/","author":1191488,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.42","stable_tag":"trunk","tested":"2.7","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Community Blogs","header_author":"Burt Adsit","header_description":"","assets_banners_color":"","last_updated":"2009-08-08 18:50:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/bp-community-blogs\/","header_author_uri":"http:\/\/buddypress.org\/developers\/burtadsit\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":15441,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1668,204,2316,7486],"plugin_category":[44],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-5007","plugin","type-plugin","status-closed","hentry","plugin_tags-blogs","plugin_tags-buddypress","plugin_tags-community","plugin_tags-group","plugin_category-discussion-and-community","plugin_committers-burtadsit"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/bp-community-blogs.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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. The user is silently 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.<\/p>\n\n<h3>Configuration Options<\/h3>\n\n<p>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 &gt; Community Blog admin form which is available to blog admins.<\/p>\n\n<ul>\n<li><p>Enable this plugin: which turns off new user registrations but leaves the plugin activated<\/p><\/li>\n<li><p>Default User Role: for new users as Editor, Author or Contributor<\/p><\/li>\n<li><p>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.<\/p><\/li>\n<li><p>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.<\/p><\/li>\n<\/ul>\n\n<h3>Hooks<\/h3>\n\n<p>An action is triggered that can be trapped when a user is added to a blog or a user gets an upgrade from one role to the default role. You can listen for this action with:<\/p>\n\n<p>function my_user_upgrade_hook($user_id, $old_role, $new_role){\n\/\/ do something here\n}\nadd_action('oci_upgrade_user','my_user_upgrade_hook',10,3);<\/p>\n\n<p>The parameters $old_role, $new_role are those returned by the function\noci_get_current_role() and are strings such as 'norole', 'subscriber', etc..<\/p>\n\n<!--section=installation-->\n<p>Unzip and place the folder in your \/wp-content\/plugins folder. Activate this through the normal method. Visit Settings &gt; Community Blog to configure the plugin.<\/p>","raw_excerpt":"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 &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5007"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/burtadsit"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5007"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5007"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5007"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5007"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5007"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}