Assigning multiple Member Types to a user

Starting in BuddyPress 7.0.0, community administrators will be able to assign more than one member type directly from the user’s WP-Admin/Extended profile page.

The regular select box of the Member Type metabox has been replaced by a multiple select box so that you can assign as many member types as you need to a single user.

Be aware of a change we made to the Member Types bulk actions behavior.

Community Administrators can bulk assign a member type to a list of users from the corresponding Administration screen by:

  1. activating the corresponding checkboxes at the left of users avatars.
  2. selecting the Member Type name from the Member Types dropdown list that is located over or under the users table.
  3. clicking on the change button immediately at the right of this dropdown list.

This strictly means you are changing the existing member type(s) of a user to the selected member type. In other words, if the user nicknamed imath was selected, he would be reassigned to the Lead Developer member type only (and lose the Pizza lover one 🍕).

If you choose the “No Member Type” option, then all the assigned member types of the selected user(s) will be removed.

If you want to read about how this change was made and thank the contributors who made it happen, head over this trac ticket.

By the way, did you know you’ll be able to create, edit, delete Member & Group Types directly from your WordPress Administration in BuddyPress 7.0.0 ?

#7-0-0, #member-types

BP Dev-Chat Agenda: October 21, 2020

Our next development meeting will happen tomorrow on October 21 at 19:00 UTC in #BuddyPress. Here’s our agenda:

  • 7.0.0-beta1 feedbacks.
  • 7.0.0 release tasks (BP REST API documentation updates, BP Survey results, release note, credits, announcement post).
  • GitHub default branch naming for our repositories.
  • Open floor.

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 7.0.0-beta is now available for testing!

Hi BuddyPress contributors,

Please help us polish the 7.0.0 release testing its first beta https://buddypress.org/2020/10/buddypress-7-0-0-beta1/ 🙏

Thanks in advance 😉

#7-0-0, #beta, #release

The last_activity user metadata is not mirrored by default anymore as of BuddyPress 7.0.0

Hi BuddyPress Plugin/Theme developers,

Since BuddyPress 2.0.0, the primary storage location for the user last_activity information is the activity DB table. For backward compatibility reasons, we used to mirror that data into the usermeta DB table.

This means you could get the last date the user was active on the community site in 2 ways:

  • The right one using the bp_get_user_last_activity( $user_id ) function.
  • The deprecated one using bp_get_user_meta( $user_id, 'last_activity', false ) function.

Please note, starting in BuddyPress 7.0.0, we will stop mirroring the last_activity user metadata, meaning the only way to get the last date the user was active is by using bp_get_user_last_activity( $user_id ).

If your development absolutely needs this piece of information to also be available into the usermeta DB table, then you’ll need to use the following filter to keep it there:

add_filter( 'bp_use_legacy_user_query', '__return_true' );

To read more about this change, see #7882.

#7-0-0, #developers

BP Dev-Chat Agenda: October 7, 2020

Our next development meeting will happen on October 7 (tomorrow) at 19:00 UTC in #BuddyPress. Our agenda:

  • 7.0.0 release cycle updates : 8 days to first beta release (really 👈)
    • BP REST API & BP WP CLI
    • BP Blocks
    • 19 tickets remaining into 7.0.0 milestone.
  • Open floor

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

BP Dev-Chat Summary: September 23, 2020

First, here’s a clarification regarding the context in which this meeting took place : @im4th thought we were a week before 7.0.0-beta1 release 😆 and urge BuddyPress contributors to review the remaining tickets scheduled for the 7.0.0 milestone! We’re now (October 3rd) 2 weeks away from this beta release 😇.

Postponed features

Due to lack of time, we’ve decided to work on the following features during the 8.0.0 development cycle:

  • Attachments for BuddyPress (#8022)
  • BP Members Invitations (#8139)
  • Block based Activity post form (#8319) *
  • Activity Scheduling (#7953) *

* FYI: the BP Blocks plugin used to develop BP Blocks is also used to develop these two features. You can early play with the Block Based Activity post form and the activity scheduling feature, thanks to this plugin, on a testing site. Contributions are always welcome!

7.0.0 updates

  • BP Types UI have been included into Core. It’s now possible to manage Group & Member types from the WordPress administration. More information about it here.
  • The BP REST API now includes a new endpoint to let logged in users to create new blogs (if the network settings allow it). See this GitHub PR.

7.0.0 remaining tickets

7.0.0 BP Blocks

There will be a new block to embed an activity into a post. During the dev chat we agreed it was important to add 2 more blocks : BP Members & BP Groups blocks. See #8369. (The members one has since been built!)

Some great code improvements has been added by @espellcaste into the BP Blocks plugin. He also suggested we start having regular meetings specific to BuddyPress blocks. So here’s a poll to see if you’re interested about it.

Here are some topics we could discuss about during these specific meetings:

  • How to attract WP Block developers to have fun with BP ones?
  • How to smoothly prepare the Block Based Activity post form merge into Core so that BuddyPress Plugins developer can start working on migrating the feature they add to the legacy post form into the block based one?
  • How BuddyPress could benefit from React, WP React components + BP REST API to improve the user experience?
  • What about a “Block ready” Template pack or a BuddyPress standalone theme?

7.0.0 release schedule

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

Open floor

We’ve been discussing about how to improve the way we communicate towards contributors about features/code improvements added to upcoming BuddyPress releases. @im4th suggested to use this blog to post these kind of updates making sure to use the “Development notes” a sub-category of it for the version number. For instance you can quickly read important changes to expect in BuddyPress 7.0.0 from there: Development notes/7.0.

@IAmTheWebb asked us about how he could update some BP Codex pages. Regular contributors we trust like him can ping me @imath on WP Slack or request an access during our Core dev-chats to make this happen! We are very interested into welcoming new Documentation contributors 🙌 🤝.

Next Dev-Chat

It will happen on October 7 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 Template Packs: expect changes to the Activity comment form in version 7.0.0

Hi BuddyPress Template Pack “overriders” 🔩

Here’s an important information for you: get ready to update a possible template override you’ve added to your active theme. We’ve just fixed an issue to avoid duplicate IDs into the nonce field we generate within the comment form (see #8004 for more information).

You are using the BP Nouveau template pack

Please check if your theme contains an activity/comment-form.php template. If so, make sure the second argument of the bp_nouveau_submit_button() function is bp_get_activity_id().

You are using the BP Legacy template pack

Please check if your theme contains an activity/entry.php template. If so, make sure the second argument of the wp_nonce_field() function is:

'_wpnonce_new_activity_comment_' . bp_get_activity_id()

BuddyPress 7.0.0 release schedule

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

Thanks in advance for your help in making sure BuddyPress users will enjoy this improvement 😍

#7-0-0

BP Dev-Chat Agenda: September 23, 2020


Our next development meeting will happen on September 23 at 19:00 UTC in #BuddyPress. Our agenda:

  • 7.0.0 release cycle updates (7 days to first beta release).
    • Members Invitations
    • BP REST API & BP WP CLI
    • BP Blocks
    • 28 tickets remaining into 7.0.0 milestone. Which ones should we keep into this milestone?
  • Open floor

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.3.0 is there!

Hi BuddyPress contributors,

The 6.3.0 minor release is available on the WordPress.org plugins directory. Please update to 6.3.0. More infos about it 👇

https://buddypress.org/2020/09/buddypress-6-3-0/

#6-3-0, #release

BP Dev-Chat Agenda: September 9, 2020

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

  • BuddyPress.org redesign project.
  • 7.0.0 release cycle updates (1st beta will be expected in a big month).
    • Please have a look at this ticket #8355, we’ll probably discuss about it 😉
    • Members Invitations
    • BP REST API & BP WP CLI
  • Open floor

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