BuddyDev

Search

[Resolved] Assigning Member Types During Profile Creation

  • Participant
    Level: Initiated
    Posts: 13
    kiki on #40799

    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.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 1825
    Ravi on #40814

    Hello Kiki,

    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 ravi.sharma@cosmiccoders.com

    Regards
    Ravi

  • Participant
    Level: Initiated
    Posts: 13
    kiki on #40816

    Hi Ravi,

    Okay. I have shared the plugin, as requested.

    Thank you.

  • Participant
    Level: Initiated
    Posts: 13
    kiki on #40818
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 19540
    Brajesh Singh on #40819
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 13
    kiki on #40825
    This reply has been marked as private.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 1825
    Ravi on #40832

    Hello Kiki,

    Thank you for sharing the plugin. I will check and let you know.

    Regards
    Ravi

  • Participant
    Level: Initiated
    Posts: 13
    kiki on #40842

    Hi Ravi,

    You’re welcome.
    & Alright, sounds good.

    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 19540
    Brajesh Singh on #40846

    Hi Kiki,
    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
    https://www.awesomescreenshot.com/image/14521147?key=a77d54705757ff6fa9c8890ca02b1b94

    2. You will need to map the fields from Gravity form to the BuddyPress as shon below.
    https://www.awesomescreenshot.com/image/14521774?key=0dc592efca2b311ca5968f0b2e762a19

    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.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    kiki on #40862

    Hello,

    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?

    Regards,
    Kiki

You must be logged in to reply to this topic.

This topic is: resolved