BP Dev-Chat Summary: October 21, 2020

7.0.0-beta1 feedbacks

7.0.0-beta1 was released on October 16. So far, nothing specific to it was posted into our support forums. At the time we had the meeting, @im4th, thanks to @IAmTheWebb tests, had reported an issue (now fixed) with the Activity Embed block into our Trac environment. This last Friday @k3690 reported a wrong usage of the member term into a Group Type meta property (now fixed).

7.0.0 remaining tickets

  • #8292 @vapvarun submitted a patch during the meeting 💪, @im4th reviewed it some time after, brought some minor improvements and it has been fixed yesterday. It’s now possible to assigned more than one member types to users from their WP Admin Extended Profile 🙌 .
  • About #8179, @im4th asked @vapvarun to update the ticket with 2 squared corner avatars with these dimensions: 150px x 150px (full) & 50px x 50px (thumb). @im4th will try to progress on a patch in the meantime.
  • We’ve postponed #8093 (Profile Field visibility improvements) to a next milestone.
  • #8375 was reopened by the reporter, as the filter we’ve added wasn’t matching its needs. @dcavins @johnjamesjacoby & @im4th have been discussing about it last week in #BuddyPress and came to the conclusion a possible better place to allow the invitation table’s name filtering was to include the {$bp_prefix}bp_invitations table name into the global_tables property of the BP_Members_Component object. @dcavins will investigate this week about that possible change.
  • Finally shortly after our meeting, @boonebgorges reported a new ticket about improving the xprofile_get_field() function so that it only pulls up the data for a field when necessary. The patch he suggested as a first step looks safe to @im4th who thinks it should be included into the 7.0.0 release: it’s always great to improve DB performance. Please have a look at #8378 and send him some feedbacks about your thoughts.

7.0.0 release schedule update

We are going to package a new 7.0.0-beta to include as much fixes as possible considering the previous chapter. Packaging will happen shortly after our next BP Dev-Chat.

  • 7.0.0-beta2: November 4th
  • 7.0.0-RC1: around November 18 (string freeze).
  • 7.0.0: December 1st 🎯

7.0.0 release tasks

The following list of tasks needs to be achieved before we package our next major release (7.0.0).

BP REST API documentation updates@im4th
BP Survey results@im4th
7.0.0 Release note@vapvarun
7.0.0 Credits update:
– BuddyPress Trac
– BP REST GitHub repository

7.0.0 Pizza Restaurant name@dcavins
7.0.0 Announcement post@im4th

NB: we’ll also need to add a patch to #8376 to update our “Hello BuddyPress” modal.

GitHub default branch naming for BuddyPress repositories

This point was moved to a future development meeting. @johnjamesjacoby shared his thoughts about it. Possibilities are main or trunk. FYI WordPress contributors decided to use trunk for repositories of the WordPress organization on August 19.

Open floor

@dcavins asked a question about using the new BuddyPress development environment: when making changes to the BuddyPress source code, he was wondering how is updated the running environment? In other words, do we need to run some specific commands to update it?

@im4th replied changes were automatically taken in account without doing anything more than saving the BuddyPress source code changes. @IAmTheWebb confirmed: “the folder you see outside docker is mapped to inside, so changes you make should appear automagically

Next Dev-Chat

It will happen on November 4 at 19:00 UTC and of course in #BuddyPress. If you have ideas or questions, feel free (and we are strongly encouraging you) to comment this summary to share them!

#7-0-0, #dev-chat, #summary

BP Dev-Chat Summary: October 7, 2020

7.0.0 cycle updates

@vapvarun announced he will work on 2 tickets in the coming weeks:

  • Multiple member types users table issue (See #8292)
  • Field Visibility Not Honored in PHP 7.1 & above (See #8093)

@dcavins committed fixes, shortly after the dev-chat, to the 2 tickets he assigned himself to during our previous dev chat:

  • The function groups_get_invites_for_user() can return inconsistent total (See #8297)
  • bp_has_groups() should accept status parameter (See #8310)

@im4th informed he will work on the following points during this week:

  • Introduce 3 new BP Blocks into BuddyPress core (See #8369)
  • Fix some issues slated for the 7.0.0 milestone
  • Package the 7.0.0 first beta release (October 15, as initially scheduled)

7.0.0 release schedule

  • 7.0.0-beta1: October 15 👈 🥁
  • 7.0.0 : December 1st

Open floor

@vapvarun is working on making his BuddyX awesome standalone BuddyPress theme hosted on the official WordPress Themes directory. 👨🏾‍🎨

We’ve been talking about the Full Site Editing WordPress feature (announced to be included into WordPress 5.6).

And finally @im4th asked everyone to start thinking about the Pizza restaurant name we will use to name our 7.0.0 release. If you have ideas about it, don’t hesitate to submit them into these post comments 🍕.

#7-0-0, #dev-chat, #summary

Here are the 3 new BP Blocks to expect from BuddyPress 7.0.0 🎁 🎁 🎁

The BuddyPress blocks
New BP Blocks arriving in BuddyPress 7.0.0

1. Activity Embed

The Activity Embed block let authors embed an activity into their post or page. It’s very similar to the WordPress Embed block except that it is specific to BuddyPress Activities. Copy the permalink to the Activity single view page, add the Embed an activity block to your post or page, paste the activity link into the placeholder’s input and click on the “Embed” button to have it rendered.

Once rendered, you can adjust its alignment and include a caption under the embedded activity.

2. BP Members Block

Use this BP Block to select community members you want to feature into a post or a page. It’s a different approach than what we’re doing into our Members widgets. These are sorting members rather than allowing the author to pick the ones he’d like to include in his custom list.

It looks very similar to the BP Member block at first sight 😉. But as soon as you’ve added the first member, the Autocompleter control will still be available at the bottom of the block. Use it to add as many members as you need.

From the block’s settings you can choose whether to display the user names, mention names, the full/thumb version of profile photos or no photo at all.

Grid display

From the block’s toolbar you can select the display mode to use : List or Grid. If you chose the grid one, you’ll be able to customize the number of columns to use for this grid from the block’s settings. You can also choose to add extra BuddyPress information about the displayed members. For this grid display, only the information about the last time members were active is available.

List display

When you select the List display, you can include the latest activity the members posted 🏄🏻‍♀️.

If you need to remove a member from the list, Simply click on the x button at the right of the member’s line or cell.

3. BP Groups Block

Use this BP Block to select the groups you want to feature into a post or a page. It’s a different approach than what we’re doing into our Groups widget. Instead of sorting groups according to the date they were created, to the last time they were active, to their amount of members or alphabetically, authors can pick the ones they’d like to include in their custom list.

Just like the BP Members block, once you’ve added your first group, the Autocompleter control will still be available at the bottom of the block to let you choose as many groups as you wish.

Using the block’s toolbar you can select whether to display the groups in a list or in a grid. If you chose the Grid display, you’ll be able to define the number of columns to use from the block’s settings.

Still from these block’s settings, you can show or hide the group names, decide to use the full or the thumb version of the group profiles photo and include some extra information about the Group.

The List display lets you select any of the available extra pieces of information :

  • the group descriptions,
  • or the last time the groups were active,
  • or the amount of group members.

When the grid mode is active, only the two last pieces of extra information will be available.

Finally, if you need to remove a group from the list, Simply click on the x button at the right of the group’s line or cell.

BuddyPress 7.0.0-beta1 is scheduled for tomorrow, please do test it to help us buil a wonderful 7.0.0 stable release 🤝

#7-0-0, #blocks

WP CLI BuddyPress – 2.0

BuddyPress 7.0 will come with several updates for the 2.0 version of the wp-cli-buddypress package.

For those of us living in the command line, it is important to have a tool to facilitate tasks that would require several clicks, tabs, and time. That’s the beauty of WP-CLI, you can perform those tiresome tasks from the command line without much hassle.

Taking advantage of this technology, the Buddypress team created a CLI package to perform those tasks. The 1.0.0 version was launched in 2014 and since then, a lot of changes were made to make it better and more stable.

Since we lauched the 2.0 version a few weeks ago, I’d like to share a few things that were changed, improved, and fixed.

New Commands

We are introducing a few more commands to the package that might be helpful. Mainly:

wp bp group meta

The group meta command can be used to manage BuddyPress Group Meta (custom fields). Here a few commands that can be used to manage the meta information from a group:

$ wp bp group meta
usage: wp bp group meta add <id> <key> [<value>] [--format=<format>]
   or: wp bp group meta delete <id> [<key>] [<value>] [--all]
   or: wp bp group meta get <id> <key> [--format=<format>]
   or: wp bp group meta list <id> [--keys=<keys>] [--fields=<fields>] [--format=<format>] [--orderby=<fields>] [--order=<order>]
   or: wp bp group meta patch <action> <id> <key> <key-path>... [<value>] [--format=<format>]
   or: wp bp group meta pluck <id> <key> <key-path>... [--format=<format>]
   or: wp bp group meta update <id> <key> [<value>] [--format=<format>]

wp bp activity meta

Just like the wp bp group meta command, the activity meta command can be used to manage BuddyPress Activity Meta (custom fields).

wp bp tool signup

This command can be used to activate or deactivate the BuddyPress signup feature.

$ wp bp tool signup 1

wp bp scaffold tests

This command can be used to create BuddyPress specific testing code for plugins. It is targeted at BuddyPress plugin authors that need to set up BuddyPress specific unit tests.

Package Improvements

We made some major internal changes. The big one was removing our legacy Behat set up. We opted to use the WP-CLI composer package: wp-cli/wp-cli-tests.

This was an important change since we don’t need to manage that ourselves, also outsourcing that job to that package, we can benefit from changes and improvements made there. This package is also used in several, if not all, WP-CLI core packages.

Contributions will be much easier now since they won’t need to understand our previous custom set up.

Other Improvements

Besides those new commands and major internal changes, we took the time to improve the code base for reliability:

  • we bumped the PHP version from PHP 5.4 into PHP 5.6.
  • we made sure all Behat tests were passing correctly, fixing bugs where we found them.
  • we improved the readme documentation to better explain a few commands.
  • we forced the creation of the signups table when using the wp bp signup command. This was important in cases where the table was not present and would cause the CLI to fail.
  • we also updated the commands to return proper success/error messages when using tge parent::_delete or parent::_update helper methods.
  • we improved the commands PHPDocs: very useful when using the help param to find out what a command does.
  • we updated to fetch values from PHPDoc instead of PHP.
  • updated or removed the default values from several commands (most of them were wrong, lol).

And several other minor changes to improve the codebase and make sure the commands would run smoothly.


Administration screens to manage Group and Member types are arriving 🙌

Hi !

Member types were introduced in version 2.2 and Group Types arrived in 2.6. These two BP types let BuddyPress developers and advanced users organize the members and the groups of their community site in smaller populations according to something they have in common. The site of an open source project could use Member types to inform about who is a maintainer, a committer, a lead etc.

So far BuddyPress types registration was only happening using code within a plugin, a must use plugin, a theme or a bp-custom.php file.

WP Dashboard

In BuddyPress 7.0.0 site administrators will be able to add, edit or delete Member and Group types using their WordPress Administration Screens just like they would do for Post tags.

The member type administration screens are available from a “Users” submenu and the Group ones from a “Groups” submenu as shown into the above screen capture.

Adding a type

Updating a type

Deleting a type

Some types cannot be deleted?

Types registered using code can only be edited. To delete such a type, you’ll need to deactivate the Plugin/Theme or remove the custom code generating the BP Type first.

PS: all above screen captures are showing Member type Administration Screens. Group type ones are very similar. The only differences are the available fields to customize the type behavior.

Want to play ahead with these Administration Screens?

You can test them from our development version. If you find some bugs or possible improvements, don’t hesitate to contribute to this feature. Tickets and patches are very welcome.

Interested about the feature’s development story?

  • You can read the Member Type’s Admin UI story from this ticket #7181.
  • You can read the Group Type’s Admin UI story from this ticket #7179.


#7-0-0, #group-types, #member-types

BP Dev-Chat Summary: August 26, 2020

7.0.0 release cycle updates

Everyone was pretty busy during the two weeks preceding this meeting. @espellcaste still have to work on the tickets/issues he shared about the BP REST API & the BP WP CLI during the previous dev-chat.

@im4th informed he decided to commit the patch about adding @wordpress/env to the BuddyPress repository (see #8317): here’s the commit message, it contains some informations about how to install and launch the BuddyPress development environment. He will write a documentation page on the BuddyPress codex. @vapvarun will copy-review this page.

About Members Invitations #8139 @dcavins will update the patch soon to rename some function and variable names according to the conversation he had with @im4th on the Trac ticket.

7.0.0 release schedule

  • 7.0.0-beta1: October 15
  • 7.0.0 : December 1st

BuddyPress.org redesign project

For this part of the dev-chat, we decided to postpone it to August 31st. With @mercime, @vapvarun & @im4th we mainly talked about organizing our development environment (WP Multisite just like the BuddyPress.org network). It is now almost ready. A GitHub repo will house both themes (parent & child) and we now have first wireframes about the main site’s pages 🙌. Here they are!

Next Dev-Chat

It will happen on September 9 at 19:00 UTC and of course in #BuddyPress. If you have ideas or questions, feel free (and we are strongly encouraging you) to comment this summary to share them!

#7-0-0, #dev-chat, #summary

BP Dev-Chat Summary: September 9, 2020

BuddyPress.org redesign project

This project will now have its own development meeting every other Tuesday in #BuddyPress at 19:00 UTC. We’ll start this coming Tuesday: September 15. If you want to help us build the next BuddyPress.org‘s appearance, you are very welcome to join us.

6.3.0 maintenance release

Get ready to update your BuddyPress! We’ll publish this maintenance release early this coming Monday: September 14. An announcement post and a release note on our official site will explain the 3 fixes that will contain the 6.3.0 version of BuddyPress.

7.0.0 release cycle updates

@im4th raised attention on the #8355 ticket. We have an important decision to take about how we’re adding the bp_moderate cap to site Administrators. Me, @boonebgorges and @johnjamesjacoby have been working on this ticket recently and I believe it’s important other Core Developers give this ticket a look and eventually add their feedback to it.

@im4th also shared his decision to start working on adding the BP Types UI (Groups: #7179, Members: #7181) into BuddyPress trunk: expect to see a bunch of commits within the next 2 weeks!

@vapvarun shared his feedbacks about the @wordpress/env module we’ve added last week. He tested it using Microsoft Windows (Many thinks to him 😍 ) and find out it requires 2 other Node development dependencies:

@im4th will look for a way to include these dependencies only when BuddyPress is used on a Microsoft Windows platform.

@dcavins will post the Members Invitations updated patch next week. For 7.0.0 he plans to include the basic features making sure to have hooks at the right place to let plugin developers easily extend them.

After the dev-chat, @espellcaste wrote some updates about his latest contributions to the BP REST API and the BP WP CLI plugins:

    • He added improvements to the Travis config
    • We now have support for PHP 7.4
    • He’ll be working on the blog’s create_item endpoint soon and thinks it’ll be ready for the 7.0.0 release :doigts_croisés::couleur_de_peau-5:
    • He added a new command to scaffold BuddyPress tests to a plugin: wp bp scaffold tests
    • He also added improvements to the Travis config.

7.0.0 release schedule

  • 7.0.0-beta1: October 15 😬
  • 7.0.0 : December 1st

Next Dev-Chat

It will happen on September 23 at 19:00 UTC and of course in #BuddyPress. If you have ideas or questions, feel free (and we are strongly encouraging you) to comment this summary to share them!

#6-3-0, #7-0-0, #dev-chat, #summary

BP Dev-Chat Summary: August 12, 2020

BuddyPress.org redesign project

@vapvarun shared with us about his progress on the project, he planned on start designing wireframes for BP pages, starting with the homepage, the codex landing page and the forum (support) page first. He also worked on the style guide adding a 3rd page to it, see below.

Finally we discussed about using a single repository for both theme and child theme, this is something we’ll need to have @mercime‘s opinion on (she wasn’t able to join the dev-chat).

7.0.0 release cycle updates

“Network invites”

@dcavins gave us updates about his progress on this very promising feature. He added a first patch to #8139 to get feedbacks from other members of the team about the direction he chose to take for the development of this feature. Please, just like I did: do take some time to test the patch and give him your thoughts about it. During the dev-chat I couldn’t resist to share a concern about the use of the “Network” term which I believe echoes too much to Multisite configs. I believe the extract of this comment by @dcavins on the ticket can help us use a less confusing term.

It allows site owners to use a referral system to build a community of trusted users



@espellcaste still needs to confirm Grunt will fetch the renamed BP REST default branch once it will be “main” instead of “master”. He plans to work on the create_item() method of the Blog’s endpoint (See #310). The last_activity issue has been tackled, see #342 for more information about it.

Support for Activity meta has been added to BP WP CLI and the 2.0 milestone of the plugin is almost complete: there’s only one last command to add.

BP Types Admin UI

@im4th requested feedback about the patch he added on #7181.

BP Blocks

A new block has been added to ease embedding an Activity into a post or a page. See this merged pull request for more information about it.

7.0.0 release schedule

  • 7.0.0-beta1: October 15
  • 7.0.0 : December 1st

Next Dev-Chat

It will happen on August 26 at 19:00 UTC and of course in #BuddyPress. If you have ideas or questions, feel free (and we are strongly encouraging you) to comment this summary to share them!

#7-0-0, #dev-chat, #summary

BuddyPress Dev-chat Agenda: August 12, 2020

Our next development meeting will happen tomorrow on August 12 at 19:00 UTC in #BuddyPress. Here are the topics we’ll talk about:

  • BuddyPress.org redesign project.
  • 7.0.0 release cycle updates:
    • Network invites,
    • BP REST API,
    • WP BP CLI,
    • BP Blocks,
    • BP Types UI.

If you have anything you wish to add (or remove) to this agenda or specific items related to those listed above, please leave a comment below.

#7-0-0, #agenda, #dev-chat

BuddyPress 6.2.0 beta1


Please help us beta test our next minor release 🙏 😍


#6-2-0, #beta, #release