Skip to content

Features

Everything below is added by this plugin on top of the member types that BuddyPress already supports.

Each member type can be tied to a single WordPress role from an Associated Roles dropdown on the Add and Edit member type screens. When a member is given the type, the plugin switches that user to the associated role automatically. Role mapping runs when:

  • A profile field of the plugin’s type is saved.
  • A BuddyPress member type is set on a user (bp_set_member_type).
  • A user activates their account after registration.

The Administrator role is removed from the dropdown by default, so you cannot map a type to Administrator through the UI. Administrator users are also protected: the plugin never strips or reassigns the role of a user who already has the Administrator capability.

If a user ends up with more than one member type, the plugin decides which role to apply:

  • If the User Role Editor plugin is active, the user is given every associated role (User Role Editor supports multiple roles per user).
  • If User Role Editor is not active, the user is given the single role with the most capabilities among the mapped roles.

The plugin registers two BuddyPress xProfile field types so members can pick their own type from a profile field:

  • Member Types (category “Multi Fields”): renders as checkboxes, allowing more than one type.
  • Member Type (category “Single Fields”): renders as radio buttons, allowing one type.

Create a field of either type under Users > Profile Fields. The field’s options are populated automatically from your member types, so you do not enter options by hand. Saving the field two-way syncs with the member’s BuddyPress member type and applies the associated role.

On the profile field’s edit screen, the plugin adds a Field Display Control metabox with a Show Member Type field in user profile checkbox. Use it to show or hide the member type field on the front-end profile. When the field is hidden for members, administrators still see it in the admin so they can manage assignments.

Registration and profile visibility per type

Section titled “Registration and profile visibility per type”

Each member type carries its own visibility flags, set from checkboxes on the member type screen:

  • Display in Registration Form: the type is offered as an option in the member type field on the registration page.
  • Pre-select on registration?: the type is checked by default for a visitor who is not logged in.
  • Display inside Edit Profile Settings: the type is offered in the member type field on the front-end edit-profile screen.

Types that are not flagged for a context are filtered out of the field options in that context.

For every member type that has a directory and at least one member, the plugin adds a filter tab to the members directory so visitors can browse members of that type. Both the Nouveau and Legacy BuddyPress templates are supported.

A member type flagged Exclude from Members Directory is kept out of the default directory listing for visitors who are not logged in and are not administrators.

From the WordPress Users table you can select several users and apply a member type to all of them in one action, using BuddyPress’s bulk change-type control. The plugin processes that bulk action, sets the type on each user, and applies the mapped role. It also supports the Remove member type option to clear a type from the selected users. The action is guarded by a nonce and requires the promote_users capability.

  • User Role Editor: when active, multiple associated roles are applied instead of a single best-capability role.
  • Youzify: the plugin skips its own Legacy directory tabs when Youzify is active to avoid duplicate tabs, and adjusts signup handling so Youzify does not create unnecessary users.

The plugin checks for updates from the Wbcom Designs update server, so a new version can be offered inside WordPress once released.