[wordpress插件] BP MPO Activity FilterBP MPO活动过滤器

wordpress 插件 文章 2020-03-10 14:00 475 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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.

更多隐私选项是WPMu的插件,博客所有者可以使用它来微调其博客的隐私设置,以扩展WP核心中提供的默认隐私设置。

Putting this plugin together with BuddyPress has been problematic, however, because BuddyPress is not built to recognize the new privacy settings defined by MPO.

但是,将此插件与BuddyPress放在一起一直存在问题,因为BuddyPress并非旨在识别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.

这个插件BP MPO活动过滤器,顾名思义,它会过滤BuddyPress活动提要(出现bp_has_activities的位置)并根据源博客的隐私设置过滤输出。

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

例如,如果将博客设置为仅对社区的登录成员可见,则BP MPO活动筛选器将仅向登录的用户显示与该博客对应的活动项目(帖子和评论)。站点范围的管理员将拥有

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.

使用BP 1.1.3或更低版本存储的活动项目的数据格式略有不同,这使其与此插件不兼容。

I borrowed the idea, and a little bit of the code, from this plugin: http://blogs.zmml.uni-bremen.de/olio.

我从这个插件中借来了这个想法和一些代码:http://blogs.zmml.uni-bremen.de/olio。

安装步骤

    • Upload the directory ‘/bp-mpo-activity-filter/’ to your WP plugins directory and activate from the Dashboard of the main blog.
    • 将目录“ / bp-mpo-activity-filter /”上传到您的WP插件目录,然后从主博客的仪表板激活。

下载地址
https://downloads.wordpress.org/plugin/bp-mpo-activity-filter.1.3.1.zip
-EOF-

AI助手支持GPT4.0