Dear BuddyDev Support Team,
We recently purchased the “BuddyPress Member Types Pro” plugin, and we are trying to assign member types to users during registration. We are using “BuddyPress,” “Gravity Forms,” and the “Gravity Forms User Registration” plugin, which allows you to populate WordPress data and BP profile fields from Gravity Form fields.
We have set up a “Single Member Type” profile field with your plugin, but the member types are not being assigned to users when they create a profile through the Gravity Forms Registration page, even after linking the Member Type selectbox field in your plugin to a corresponding Gravity Forms selectbox field.
All other WordPress data and BP profile fields from the Gravity Forms Registration page are being mapped properly from the registration form to BuddyPress, except for the user’s member type. Please, how do we get this to work?
Thank you for using the plugin. As you said, You are using “Gravity Forms User Registration” plugin for registration then this issue is expected as it is not yet compatible with this plugin. “Gravity Forms User Registration” is a pro addon if you can provide access to this plugin we can check and add compatibility with this.
You can share the plugin at firstname.lastname@example.org
Thank you for the patience.
Ravi tested yesterday and here is the update:-
1. The member types pro works with Gravity forms registration addon for BuddyPress. In order to make them work correctly, Please make sure to create a “select” field type in the Gravity form with the values of the options as Member type name( unique key and not the label of the member type).
Here is a screenshot showing it
2. You will need to map the fields from Gravity form to the BuddyPress as shon below.
Note:- Gravity Form registration overrides the role of the user. If you map a member type to role, the role mapping will not work as Gravity form will override it.
After seeing your screenshots, we realized that the issue on ours was caused by a capitalization ‘mismatch’. Apparently, it is case-sensitive. It is working now.
Thank you both for your help 🙂
You mentioned that Gravity Forms registration overrides the role of the user. However, upon testing, it appears that with the Member Types Pro plugin activated, Gravity forms can no longer assign a role to a user, so the user ends up registered as “No Role For This Site” even if a role is set in Gravity Forms. It worked fine through the Gravity Forms registration before. Now, the Member Types Pro plugin cancels it out.
Also, setting the SAME role in both Gravity Forms AND in your plugin (in attempt to solve the problem) doesn’t give the user a role either.
No matter what, the user ends up with no role.
Please test this to see if you are experiencing the same issue on your end. We need our users to have the “subscriber” role assigned to them at the time of registration. How can we fix this?
You must be logged in to reply to this topic.