[wordpress插件] BP Post StatusBP职位状态

wordpress 插件 文章 2020-03-10 16:10 458 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

New: Allows hidden and Private groups to have public and site members only posts without compromising the group privacy.

新功能:允许隐藏的小组和私人小组仅在公共和站点成员中发帖,而不会损害小组的隐私。

A feature I’ve always thought was missing from BuddyPress was integration with WordPresses biggest asset – blog posts.

我一直认为BuddyPress缺少的一项功能是与WordPresses最大的资产–博客文章集成。

This plugin is my attempt to do just that.

这个插件就是我试图做到的。

First of all it implements BuddyPress Post Statuses, so a post can be shared just to friends, site members followers or those the user follows.

首先,它实现了BuddyPress帖子状态,因此可以仅将其分享给朋友,站点成员关注者或用户关注的对象。

In addition groups can have their own posts and these can be made public, site members only or only available to group members regardless of the group status.

此外,论坛可以拥有自己的帖子,并且可以公开发布这些帖子,仅网站成员,或者仅对论坛成员开放,而与论坛的状态无关。

Once you have posts linked to groups an immediate thought is to use a group based post as the groups home-page – this plugin enables that with group admin able to easily choose from the groups list of posts which one is to be used

一旦您有与群组链接的帖子,立即想到的是将基于群组的帖子用作群组首页–这个插件使群组管理员能够轻松地从群组列表中选择要使用的帖子

as the homepage.

作为主页。

Groups and users get a dedicated page for their posts, this page is intended not only to display these blogs to other users but also to help the user manage their posts from the front-end, so posts can be made sticky, deleted

组和用户会获得一个专用于其帖子的页面,该页面不仅旨在向其他用户显示这些博客,还旨在帮助用户从前端管理其帖子,因此可以将帖子置为粘帖,删除

and if BP Site Post is installed, created and edited, all from the front end.

并且如果BP Site Post是从前端安装,创建和编辑的。

Simply install the plugin, edit your post and select Members or Friends Only, or choose to publish into a group you are a member of.

只需安装插件,编辑您的信息,然后选择“ Members or Only”,或选择发布到您所属的组中。

In addition you can turn on notifications for these new post types and control exactly who can post or send notifications.

另外,您可以为这些新的帖子类型打开通知,并精确控制谁可以发布或发送通知。

Note that users will need to have WordPress edit_posts as a capability to create new pending posts and publish_posts capability in order to select the publish statuses.

请注意,用户必须具有WordPress edit_posts才能创建新的待处理帖子和publish_posts功能,以便选择发布状态。

If you have groups that would like to assign posts to the group, and share either publicly, only to site members or only to group membes then this plugin should interest you.

如果您有希望将帖子分配给该论坛并公开共享的论坛(仅公开给站点成员或仅对小组成员公开),则此插件应该引起您的兴趣。

Also you may have a need to allow site members the opportunity to create posts only to share amongst friends, or only to logged in site members, then this plugin adds that functionality.

另外,您可能需要允许站点成员有机会创建帖子,以便仅在朋友之间共享或仅登录站点成员,然后此插件添加该功能。

Groups can also choose to use a group post as a homepage, using this option group activity is moved to an activity tab and the home tab is used for the selected post.

网上论坛还可以选择将网上论坛帖子用作首页,使用此选项,网上论坛活动将移动到活动选项卡,而首页选项卡用于所选帖子。

This means group managers have full flexibility as to the content they choose to display in the homepage;

这意味着组经理对于他们选择显示在主页上的内容具有完全的灵活性;

shortcodes can be used to display summaries of group forums and activity for example.

短代码可用于显示论坛和活动的摘要。

It’s integrated with BuddyPress Activity and Notifications and supports BP Follow.

它与BuddyPress活动和通知集成在一起,并支持BP关注。

If you want to allow front end posting I've also created BP Site Post which works with BP

如果您想允许前端发布,我还创建了与BP一起使用的 BP网站帖子

Post Status and allows users to create and edit their posts from the front-end.

帖子状态,并允许用户从前端创建和编辑他们的帖子。

The activity posts try to be appropriate to the security level assigned to the post – private group posts only post their activity into the group the post is assigned to.

活动帖子尝试适合分配给该帖子的安全级别–私人群组帖子仅将其活动发布到该帖子分配到的组中。

Site and group managers can choose to enable the ability to trigger a notification to the target group with the posts publication.

网站管理员和群组管理员可以选择启用通过帖子发布向目标群组触发通知的功能。

Groups with group posts enabled have an optional “Group Posts” tab showing all posts assigned to the group.

启用了群组帖子的群组具有一个可选的“群组帖子”标签,其中显示了分配给该群组的所有帖子。

If a private or hidden group chooses to publish public posts then this directory will be visible to non group members, but it will only display posts that have been made public.

如果私人或隐藏的论坛选择发布公共帖子,则该目录将对非论坛成员可见,但它将仅显示已公开的帖子。

Similarly if a private group makes their homepage public then the landing page will be displayed for visiting non-members.

同样,如果一个私人团体将其主页公开,则将显示登陆页面以供非会员访问。

There’s extensive manageability:

具有广泛的可管理性:

Group managers can choose what membership level to allow group post creation, and also the membership level required to be able to trigger post notifications.

群组管理员可以选择允许创建群组帖子的会员级别,还可以选择能够触发帖子通知的会员级别。

These options are available in the groups management pages in the settings tab.

这些选项在设置选项卡的组管理页面中可用。

They can also choose to display a “Group Posts” tab in the group.

他们还可以选择在群组中显示“群组帖子”标签。

In addition, the site admin has a settings page at Dashboard>>Settings>>BP Post Status.

此外,站点管理员在“仪表板>>设置>> BP帖子状态”中有一个设置页面。

Here the five different status types can be disabled site-wide, and the site-wide controls for the minimum user role required to create posts and trigger notifications is set.

在这里,可以在网站范围内禁用五种不同的状态类型,并设置网站范围的控件,以创建帖子和触发通知所需的最低用户角色。

There is also an option to have post revisions create activity updates, as opposed to the activity only being updated when the post is first created.

还有一个选项可以让帖子修订版创建活动更新,与仅在首次创建帖子时才更新活动相反。

When it is enabled you can set the minimum time allowed between posting updates.

启用该功能后,您可以设置两次发布更新之间允许的最短时间。

A new My Posts menu option has been added to users profiles, this displays their posts and enabled posts to be made sticky ( in My Posts ) or deleted.

新的“我的帖子”菜单选项已添加到用户个人资料,该选项显示其帖子,并使启用的帖子变为粘性(在“我的帖子”中)或删除。

If BP Site Post is loaded then an edit link can also be added to this view.

如果加载了BP网站帖子,则还可以将编辑链接添加到此视图。

For guests viewing My Posts only published posts will be displayed but for the user all posts (including pending) will be displayed.

对于查看“我的帖子”的来宾,将仅显示已发布的帖子,但对于用户,将显示所有帖子(包括待处理)。

Editors ( members with the ‘edit_others_posts’ capability ) get a Moderation page in their profile ( if there are pending posts to approve ) for easy access to the approvals queue.

编辑者(具有“ edit_others_posts”功能的成员)可以在其个人资料中找到“审核”页面(如果有待批准的帖子),可轻松访问批准队列。

This page shows the full content of the post to be approved and have links to delete, publish or edit the post.

该页面显示了要批准的帖子的全部内容,并具有删除,发布或编辑帖子的链接。

Members with pending posts and with the ‘edit_posts’ capability get a Pending Posts page in their profile ( if they have pending posts ) so that pending posts can be reviewed and edited.

具有待处理帖子并具有“ edit_posts”功能的成员会在其个人资料中获得“待处理帖子”页面(如果他们有待处理帖子),以便可以审阅和编辑待处理帖子。

Note regarding group_only_pending posts

有关group_only_pending帖子的说明

When a group_post_pending post is selected, a notification email is sent to the admin of the site so they can authorize the post.

当选择了group_post_pending帖子时,通知电子邮件将发送到该站点的管理员,以便他们可以授权该帖子。

However, I felt that this was a less than optimal solution since ideally the group creator should have a say in if a post gets published to their group.

但是,我觉得这并不是一个最佳解决方案,因为理想情况下,小组创建者应该在帖子发布到他们的小组中有发言权。

One of the issues is that it’s not possible to give group creators the ability to manage only posts in their group – they either edit_others_posts for all posts on the site or they simply do not have this capability.

问题之一是,无法使群组创建者只能管理其群组中的帖子-他们要么针对网站上的所有帖子进行edit_others_posts,要么根本不具备此功能。

I found a solution to this using Automattics Co-Authors Plus plugin, since this allows multiple authors to be assigned to posts.

我使用Automattics Co-Authors Plus插件找到了解决方案,因为它允许将多个作者分配到帖子中。

I’ve therefore added a check to see if Co-Authors Plus is active and if so the group creator will be automatically added as an author of all posts set for their group.

因此,我添加了一项检查,以查看Co-Authors Plus是否处于活动状态,如果是,则该组创建者将自动添加为该组所有帖子集的作者。

This being the case they will be send a notification email and they will be able to edit the post content and if they have publish_posts capability they will be able to publish the post to their group.

在这种情况下,他们将收到通知电子邮件,他们将能够编辑帖子内容,并且如果他们具有publish_posts功能,则可以将帖子发布到他们的组中。

However, if they only have edit_posts, they will need to contact the site admin to have the post published.

但是,如果他们只有edit_posts,则需要联系网站管理员以发布该帖子。

However, at the time of writng this causes an error when viewing the profile my-posts page (10/03/2019), this has been reported and is being worked on.

但是,在撰写本文时,在查看个人资料我的帖子页面(10/03/2019)时会导致错误,已报告并正在处理。

The template pages can be overloaded by copying them to themes/your-child-theme/bpps/ and editing them as suits.

通过将模板页面复制到主题/ your-child-theme / bpps /并进行编辑,可以使模板页面超载。

There is a shortcode – [bppss_group_posts group_id=”34″ ] which allows the group posts list to be displayed on any page.

有一个简短的代码-[bppss_group_posts group_id =” 34”],它使群组帖子列表可以显示在任何页面上。

The only downside of this plugin is with regards to Gutenberg – the new text editor in WordPress, sadly Gutenberg does not support custom post statuses so if you want to use this you will have to install the Classic Editor plugin and stick with the

此插件的唯一缺点是与Gutenberg – WordPress中的新文本编辑器有关,遗憾的是Gutenberg不支持自定义帖子状态,因此,如果要使用此插件,则必须安装Classic Editor插件并坚持使用

classic for now, hopefully this situation will be rectified soon.

暂时来看,希望这种情况能尽快得到纠正。

Props

道具

    • This plugin was created by merging some features from three other plugins – Peter Shaw’s LH Logged in Post Status, BuddyDev’s Blog Categories for Groups and Imath’s WP Statuses.

    • 该插件是通过合并其他三个插件(Peter Shaw的LH登录帖子状态,BuddyDev的群组博客类别和Imath的WP状态)中的一些功能而创建的。

      This made the creation of this plugin a lot easier than it would have been if built from scratch.

      与从头开始构建相比,此插件的创建要容易得多。

      Props to these great developers!

    • 为这些出色的开发者提供支持!

安装步骤

Option 1.

选项1。

    1. From the Admin>>Plugins>>Add New page, search for BP Post Status.
    2. 从管理员>>插件>>添加新页面,搜索BP帖子状态。

    3. When you have located the plugin, click on “Install” and then “Activate”.
    4. 找到插件后,单击“安装”,然后单击“激活”。

    5. Go to posts and you will see the new status options.
    6. 转到帖子,您将看到新的状态选项。

    7. Enable notifications in the Dashboard>>Settings>>BP Post Status page.
    8. 在“仪表板>>设置>> BP帖子状态”页面中启用通知。

    9. Go to group management and choose which group will have posts and notifications.
    10. 转到群组管理,然后选择要发布帖子和通知的群组。

    With the zip file:

    使用zip文件:

    Option 2

    选项2

      1. Upzip the plugin into it’s directory/file structure
      2. 将插件上传到其目录/文件结构中

      3. Upload BP Post Status structure to the /wp-content/plugins/ directory.
      4. 将BP帖子状态结构上传到/ wp-content / plugins /目录。

      5. Activate the plugin through the Admin>>Plugins menu.
      6. 通过“管理” >>“插件”菜单激活插件。

      Option 3

      选项3

        1. Go to Admin>>Plugins>>Add New>>Upload page.
        2. 转到管理员>>插件>>添加新>>上传页面。

        3. Select the zip file and choose upload.
        4. 选择zip文件,然后选择上载。

        5. Activate the plugin.
        6. 激活插件。

下载地址
https://downloads.wordpress.org/plugin/bp-post-status.1.8.11.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Contact Form 7 Select Box Editor Button联系表格7选择框编辑器按钮
[wordpress插件] Download External Images In Posts在帖子中下载外部图像
[wordpress插件] Add Dashboard Columns添加仪表板列
[wordpress插件] Blue Cube Mighty Gravity Forms蓝色立方体强大重力形式
[wordpress插件] Dashboard Columns仪表板列
随便看看
教育科技公司申请微信支付被拒绝? 3852
微信公众号免300认证教程 4950
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 4066
小程序广告组件通过审核,但是小程序内没有显示广告? 4146
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8012
问题? 7247
如何快速搭建抽奖助手小程序(无需代码知识) 5033
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 5985
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5505
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5201