BP Post Status

Description

New: Now supports BP Follow statuses fto show posts only to Followers or to those Following the post creator.

A feature I’ve always thought was missing from BuddyPress is the ability to share posts only to group members or to friends or just to logged in site members.

That feature is now here with BP Post Status!

On top of that, it also adds a Members and Friends Only post status, so you can share only to logged in users, to your friends or to members of specific groups.

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. In addition you can turn on notifications for these new post types and control exactly who can post or sent 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.

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.

Group 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 and also Co-Authors Plus.

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.

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. 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.

Note regarding group_only_pending posts

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. 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.

I found a solution to this using Automattics Co-Authors Plus plugin, since this allows multiple authors to be assigned to posts. 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. 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. However, if they only have edit_posts, they will need to contact the site admin to have the post published.

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

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

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. This made the creation of this plugin a lot easier than it would have been if built from scratch. Props to these great developers!

Screenshots

  • screenshot-1.png - The new post statuses drop-down.
  • screenshot-2.png - Group settings page.
  • screenshot-3.png - Site settings page.

Installation

Option 1.

  1. From the Admin>>Plugins>>Add New page, search for BP Post Status.
  2. When you have located the plugin, click on “Install” and then “Activate”.
  3. Go to posts and you will see the new status options.
  4. Enable notifications in the Dashboard>>Settings>>BP Post Status page.
  5. Go to group management and choose which group will have posts and notifications.

With the zip file:

Option 2

  1. Upzip the plugin into it’s directory/file structure
  2. Upload BP Post Status structure to the /wp-content/plugins/ directory.
  3. Activate the plugin through the Admin>>Plugins menu.

Option 3

  1. Go to Admin>>Plugins>>Add New>>Upload page.
  2. Select the zip file and choose upload.
  3. Activate the plugin.

FAQ

Q. Can I assign a post to multiple groups?

A. No, only one group can be assigned to a post.

Q. Can group managers over-ride the site settings?

A. No, the site settings take precedence, site admin will need to work with group admin to make sure each group has the features it needs.

Installation Instructions

Option 1.

  1. From the Admin>>Plugins>>Add New page, search for BP Post Status.
  2. When you have located the plugin, click on “Install” and then “Activate”.
  3. Go to posts and you will see the new status options.
  4. Enable notifications in the Dashboard>>Settings>>BP Post Status page.
  5. Go to group management and choose which group will have posts and notifications.

With the zip file:

Option 2

  1. Upzip the plugin into it’s directory/file structure
  2. Upload BP Post Status structure to the /wp-content/plugins/ directory.
  3. Activate the plugin through the Admin>>Plugins menu.

Option 3

  1. Go to Admin>>Plugins>>Add New>>Upload page.
  2. Select the zip file and choose upload.
  3. Activate the plugin.

Reviews

Ambitious and Unique Plugin that fills a huge gap

Kudos to the dev on this plugin. It fills an existing need that I don’t believe is addressed elsewhere, which is the ability for post authors to limit visibility of their posts to certain cohorts, such as ‘friends’.

When I say I don’t believe it has been addressed anywhere, I literally mean that. Even by the big boy paid membership plugins.

I’m still fully testing it out, but what I’ve seen so far is great.

Read all 1 review

Contributors & Developers

“BP Post Status” is open source software. The following people have contributed to this plugin.

Contributors

Translate “BP Post Status” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

Release Note: Whilst this is a stable release it’s a new plugin and some aspects of it are still under development. For example I’m still experimenting with the format of the notifications, group posts list display and activity updates, I’d welcome feedback.

With this release (1.4.4) I’ve introduced a shortcode to display group posts and have tidied up the code in several places. I’ve also added edit links for group posts as editing a page whilst it is displayed in the group was not straightforward.

1.4.4

  • 03/07/2018

  • New: Added Settings and Review link to plugins directory view.

  • New: Added shortcode to display group posts list.
  • New: Added edit link in the group posts areas (Home and single view).
  • Update: Removed group home from the group posts list in groups.
  • Update: Removed redundant author info from single-post.php.

1.4.3

  • 01/07/2018

  • Feature Change ! Group Home now enabled in all groups by default.

  • Fix: removed disable Group Posts from the group creation screen to prevent group corruption, Group Posts can be disabled once the group has been created.

1.4.2

  • 26/06/2018

  • New: Added Notifications support for Followed and Following posts.

  • New: Made page templates overloadable.
  • New: Added activity updates for revisions, with settings to disable and set a minimum delay between updates.
  • Fix: Revised conditional formula for excluded posts to minimise errors with count().
  • Fix: revised group home so that only the post content is displayed.
  • Fix: Removed redundant menu links.
  • Fix: Revised Group Only posts activity updates.
  • Fix: Corrected blank notifications issue when bbPress is loaded.

1.4.1

  • 26/06/2018

  • Fix: Revised conditional formula for excluded posts to minimise errors with count().

  • Fix: revised group home so that only the post content is displayed.
  • Fix: Removed redundant menu links

1.4.0

  • 25/06/2018

  • New: Added support for BP Follow; Now you can set posts to be viewed only by Followers or Following. Notifications not enabled yet.

1.3.2

  • 25/06/2018

  • Fix: Corrected error causing Group Only posts to be public.

1.3.1

  • 24/06/2018

  • Fix: corrected code causing count() error.

  • Fix: Removed PHP undeclared variable warning.
  • Enhancement: Revised group posts display to any post type, not just posts.

1.3.0

  • 19/05/2018

  • New: Added pending post statuses to Group and Members only posts, users with ‘edit_posts’ capability will only see pending options for those post types.

  • New: Added pending notifications: When a post is saved as group post pending or members only pending an options notification will be sent to the site admin and the group creator (for group posts).
  • New: Optional sending of approval request emails to site admin and Group creators.
  • New: Added support for Co-Authors plus – when active, group creators are automatically assigned as co-authors for group-only posts assigned to their group.

1.2.12

  • 16/05/2018

  • Fix: More elegant checks for BP active.

1.2.11

  • 16/05/2018

  • Fix: Corrected white screen error if BP is not loaded.

1.2.10

  • 09/05/2018

  • Fix: updated translation textdomain used in bp-statuses classes

1.2.9

  • 09/05/2018

  • Fix: refined admin settings html.

1.2.8

  • New: Added option to email post author by email when a post gets a comment.

1.2.7

  • 06/05/2018

  • Fix: Revised code for get_group_permalink and related functions.

1.2.6

  • 06/07/2018

  • Fix: Corrected taxonomy lookup in is_single function.

1.2.5

  • 03/05/2018

  • Fix: Group creation save error resolved.

1.2.4

  • 27/04/2018

  • Fix: Corrected undefined function error in group posts tab.

1.2.3

  • 27/04/2018

  • New: Moved groups settings into separate tab.

  • Fix: Group menus now honour sitewide and group settings.

1.2.2

  • 26/04/2018

  • New: added content summary function to allow for alternative activity feed and posts loop content.

  • New: Added site admin setting to choose default activity content type.
  • New: Added group admin setting to choose activity content type.
  • Fix: Updated translation for status labels.
  • Fix: Corrected single view logic error.
  • Fix: Corrected undefined function error in single view.
  • Fix: Corrected undefined function error in posts loop.
  • Fix: Removed date class from category posts element.
  • Fix: Prevented random homepage display when no group homepage is set.

1.2.1

  • 22/04/2018

  • Fix: Group posts now update last activity time.

  • Fix: Group posts activity link now points to the group based page, not the post permalink.
  • Fix: Activity entries now displaying excerpt correctly.
  • Fix: Amended group activity text.

1.2.0

  • 22/04/2018

  • New: Added group homepage option – groups can now choose a post to use as the group homepage.

1.1.1

  • 21/04/2018

  • Fix: Correcting BP Statuses Core Status load error

1.1.0

  • 21/04/2018

  • Fix: Public and Members only group_post now show activity site-wide.

  • Fix: Public and Members only group_post now notify to all members.
  • New: Added group Posts tab 1n group page showing all posts assigned to the group.
  • New: Added group setting to enable/disable Group Posts tab per group.

1.0.0

  • 20/04/2018

  • Initial Release.