Skip to content

BP MPO Activity Filter

More Privacy Options is a plugin for WPMu that allows blog owners to fine-tune their blog’s privacy settings, expanding on the default privacy settings offered in the WP core. Putting this plugin together with BuddyPress has been problematic, however, because BuddyPress is not built to recognize the new privacy settings defined by MPO. As a result, even private blog posts get put into the public activity feed.

This plugin, BP MPO Activity Filter, does just what the name suggests: it filters BuddyPress activity feeds (wherever bp_has_activities appears) and filters the output based on the privacy settings of the source blogs. For example, if a blog is set to be visible only to logged in members of the community, BP MPO Activity Filter will only display activity items corresponding to that blog (both posts and comments) to users who are logged in. Sitewide administrators will have an unfiltered activity stream.

I borrowed the idea, and a little bit of the code, from this plugin. Because of incompatibilities with the way earlier versions of BP stored activity item data, this plugin will not work properly with installations of BP 1.1.3 or earlier (nor will it work on data created on that version of BP, even if the core software is updated).

Download the plugin here.

BP MPO Activity Filter has been downloaded 1,678 times. Are you using this plugin? Consider a donation.

Version history

1.0 – February 7, 2010
Initial release

1.0.1 – February 22, 2010
Added code to ensure that plugin is not loaded before BuddyPress is
Updated readme file to include more information on compatibility with BP < 1.2

19 Responses to BP MPO Activity Filter

Pingbacks

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>