The team behind BuddyPress dropped the first version 6.0 beta release of the plugin yesterday. One of the most important features is the introduction of the new member and group blocks for the WordPress editor. The plugin now requires at least PHP 5.6 and WordPress 4.8 (5.0 to use the new blocks).
“I think it’s exciting times,” said John James Jacoby, lead developer of BuddyPress, on the addition of the new blocks. “Having things as blocks means end-users gain a bit more freedom with where and how they integrate BuddyPress into their existing sites. Right now, BuddyPress blocks are mostly presentational — quick ways to output stuff from the community anywhere blocks are allowed. In a few years, when blocks have matured and are the de-facto way to interact with everything, I can imagine there being a single BuddyPress block that wraps the entire functionality of the community into a single block like its own little web applet.”
BuddyPress 6.0 is scheduled for launch at the end of April. End-users can test the latest version of the plugin via the BP Beta Tester or by directly downloading the beta ZIP file.
Aside from the new blocks, the BP REST API is now complete, which provides developers with a more robust tool to build apps. The user profile photo and cover image fields have also been moved to the Members component of the plugin. This change allows end-users to use the features without activating the BP Extended Profile component.
Introducing the Member and Group Blocks
Version 6.0 of BuddyPress will include only two blocks. However, there are plans to add more over time. The development of blocks takes place in the BP Blocks repository on GitHub.
BuddyPress 6.0 will create a new “BuddyPress” category in the block inserter. This houses the current blocks and will contain those created in the future.
The member block is a simple member profile box that displays the member avatar, cover image, display name, and username. At the bottom of the block, it adds a button to view the member’s profile. Each of the fields can be enabled or disabled via the block settings.
The group block works similarly to the member block. The group avatar, cover image, name, and description are all shown by default. Visibility options are also available via the block settings.