Integrations

  1. Docs
  2. Integrations
  3. BuddyPress Add-ons
  4. Conditional Profile Fields for BuddyPress

Conditional Profile Fields for BuddyPress

The Conditional Profile Fields for BuddyPress plugin lets site administrators set conditions for the hiding/showing profile fields based on the various data entered by the user.

The integration works and requires the BuddyBoss Platform installed and activated on your website.

BuddyBoss Platform is a fork and forge of the BuddyPress plugin and bbPress plugin. Any plugin developed for the BuddyPress and bbPress plugin is supported by the BuddyBoss Platform.

You do NOT need to install the BuddyPress plugin or the bbPress plugin separately. BuddyBoss Platform acts as a replacement for both the plugins.

Installing the plugin

To install the plugin:

  1. Download the Conditional Profile Fields for BuddyPress plugin from your BuddyDev account page.
  2. Extract the downloaded conditional-profile-fields-for-buddypress.zip file to the WordPress plugins folder yourhostname/wordpress/wp-content/plugins OR
    Go to your WordPress Dashboard > Plugins > Add New. Click the Upload Plugin button. Browse to the download file location, select the conditional-profile-fields-for-buddypress.zip & install the plugin.
  3. Click the Activate Plugin button to activate the Conditional Profile Fields for BuddyPress plugin on your website. OR
    To activate the plugin on your website site go to WordPress Dashboard > Plugins and then click the Activate button for Conditional Profile Fields for BuddyPress.

You must have the BuddyBoss Platform installed and activated on your site for the Conditional Profile Fields for BuddyPress plugin to work.

To create a profile field with conditional logic

To create a profile field to show/hide with conditional logic:

  1. Go to WordPress Dashboard > BuddyBoss > Profiles > Profile Fields.
  2. In the General Information (Signup) tab, click the Add New Field button.
  3. Enter a name for the profile field, select the type of the field and make the other preferred changes.
  4. In the Visibility Condition option, select Show/Hide to display the field if the defined condition for an existing field matches.
    1. Select an existing profile field from the drop-down list to use for the conditional logic.
    2. Select the criteria for conditional logic.
    3. Enter the value to be matched for the conditional logic with the selected profile field. This value is case sensitive when matching the data.
  5. Click the Save button.
Conditional Profile Fields for BuddyPress - Creating a profile field with conditional logic
Conditional Profile Fields for BuddyPress – Creating a profile field with conditional logic
Conditional Profile Fields for BuddyPress - Preview of the conditional profile field on the registration page
Conditional Profile Fields for BuddyPress – Preview of the conditional profile field on the registration page

Questions?

We're always happy to help with code or other questions you might have! Search our documentation, contact support, or connect with our sales team.