BP MPO Activity Filter
v1.3.3Boone Gorges · 2010年2月10日 上架
When using More Privacy Options, this plugin removes items from BP activity streams according to user roles.
- 正在使用
- 20+
- 评分
- 暂无
- 累计下载
- 1.1 万
- 最近更新
- 2023年3月27日
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.
Activity items stored with BP 1.1.3 or lower have a slightly different data format, which makes them incompatible with this plugin.
I borrowed the idea, and a little bit of the code, from this plugin: http://blogs.zmml.uni-bremen.de/olio.