What's new in 1.3.1
BuddyPress Member Type overviewFreeGet BuddyPress Member Type →
1.3.1 reworks how members can give themselves a member type, fixes member types on BuddyBoss Platform, and changes where plugin updates come from. Read the update notes and run the short retest below before you tell your members the update is done.
Update notes
Section titled “Update notes”- Members can no longer give themselves a type whose role grants more than an Author can. This covers Editor, Administrator and any role with extra capabilities. If your site relied on members picking such a type, it is no longer offered on the registration form or Edit Profile, and a request for it that is sent by hand is ignored. Assign those types yourself from the user’s profile or the Users bulk action, which still apply the role. To keep the old behaviour for one role, use the filter in Roles and who can pick what.
- Check the notice on Users > Member Types (BuddyBoss: Profile Types). It lists each type that members cannot pick because of its role. Types mapped to Author, Contributor or Subscriber stay pickable even when an LMS plugin added its own capabilities to those roles.
- An Editor, Administrator or other higher role who picks a type on their own profile keeps their role. A member picks up the type’s role only when they hold no role above Author.
- A profile save that leaves the type unchanged keeps a role you set by hand. The role is applied only when a type is added. Removing a type leaves the role as it is.
- Updates now come from updates.wbcomdesigns.com, with wbcomdesigns.com as a fallback, and switch on by themselves in the background after activation. You enter nothing. See Automatic updates. The update notice now shows only on the Dashboard and Plugins screens. A site where activation had stopped after network errors starts retrying on its own.
- Requirements: WordPress 6.1 or later and PHP 8.1 or later. BuddyPress 12.0 or later is supported; the plugin checks only that BuddyPress is active. BuddyBoss Platform 2.21 or later has limited support.
What changed for members and owners
Section titled “What changed for members and owners”- A member type chosen at registration is saved, and the form offers only the types it will accept. After a registration error the types a visitor picked stay selected instead of being replaced by the pre-selected one.
- With both member type fields on one form, the field the visitor changed wins; if both changed, the multiple-choice field wins. A pre-selected type no longer overrides the visitor’s pick.
- Member profiles show the type labels instead of their keys, and a type shown as a profile search link searches for members of that type.
- Shortcodes and other callers that ask for specific types keep their filters, for guests and members. Excluded types stay hidden even when requested by name.
- Deleting a member type removes it from members’ profile fields and from the directory exclusion list.
- A member type field added to BuddyPress after activation is now shown on Edit Profile instead of being hidden.
- The type option Show on Member now reads Show on member profile, and the registration option explains the profile field and Signups setting it needs.
- If the plugin folder is missing its bundled update files, administrators are asked on the Dashboard and Plugins screens to reinstall it.
BuddyBoss Platform
Section titled “BuddyBoss Platform”- Members can pick their profile type in the Member Type fields again on registration and Edit Profile on BuddyBoss 2.x. The fields were empty before.
- The fields are always shown on Edit Profile. Members can pick only profile types with Allow users to self-select ticked, and never one mapped to a role above Author.
- A profile type chosen in a Member Type field applies the type’s role. BuddyBoss’s own profile type changes keep the role BuddyBoss sets, and its Users bulk change runs its own handler.
- The notice about profile types members cannot pick shows on the Profile Types screens.
- The members directory shows no tab for a profile type hidden from the directory.
- Saving a profile or bulk-changing a type no longer fails, and admin pages no longer log a deprecated hook notice from this plugin.
Retest after updating
Section titled “Retest after updating”- Open Users > Member Types as an administrator and read the role notice. Confirm each blocked type is one you expect.
- In a private window, open the registration form. Confirm only the types you want members to choose are listed.
- Register a test account with a type, activate it, and check the user’s role under Users.
- Log in as a Subscriber, change the type on Edit Profile, and check the role follows when the type adds a role.
- Log in as an Editor, pick a type on Edit Profile, and confirm the role stays Editor.
- Set a member’s role by hand under Users, have them save Edit Profile without changing the type, and confirm the role stays.
- Open the members directory logged out. Confirm tabs and counts, and that excluded types are missing.
- Open the Dashboard or Plugins screen and check that no update warning is showing, or read it and act on it.
- On BuddyBoss, repeat steps 2 to 5 with a profile type that has Allow users to self-select ticked.
For developers
Section titled “For developers”- Filter
bp_member_type_self_service_blocked_caps($caps,$role,$ignored) overrides which capabilities block a role. See Developer Guide. - Filter
bp_member_type_field_shown_on_profile($shown,$field_id) decides whether a member type field is shown on Edit Profile. - Filter
buddypress_member_type_wp_cron_disabled($disabled) tells the update activation whether WP-Cron can be relied on. - Member type profile field values are shown as labels. The stored value and
xprofile_get_field_data()still return the keys. - Every change to a member’s types goes through
bp_member_type_sync_user(). Do not callbp_set_member_type()directly on BuddyBoss Platform; use the helper that sets types for the active platform.

