BuddyDev

Search

[Resolved] BP Member Type Pro – XProfile conditionals fields

  • Participant
    Level: Enlightened
    Posts: 34
    Joss Luberia on #20615

    Hi,

    When I make conditionals XProfile fields, it’s don’t work…?

    Do you have a solution to fix this issue please ?

    Regards,
    Joss

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #20616

    Hi Joss,
    Welcome to BuddyDev forums.

    Are you trying to put conditions on registration? BuddyPress does not support member type based condition fields on registration.

    There are two possible way to solve it
    1. Use conditional profile fields(I will explain how)
    2. Or do not use fields which are specific to a member type, let the user select their member type on registration and then they can update the member type specific profile fields on edit profile(If you want to force users to complete it, we have released BuddyPress Profile completion a few days ago)

    1. Fields which are associated with member type does not appear on registration:- The functionality to associate fields with member types is provided by BuddyPress.
    Currently, if you mark a field available to certain member types, they will not appear on registration. This is the way BuddyPress fetches fields.

    If you need users to select member type and then fields related to that member type, the solution is to mark fields available to all member types.

    After that, use the Conditional Profile field plugin to set conditions on each field based on the member type field.

    If your member type field is select/radio, this will work.

    This approach is fine but it needs extra work.

    A better strategy is if possible, let users select their member type on registration field. Avoid fields related to member type on registration screen.

    Once the user logs in, BuddyPress will only show them the fields which are available to their member type.

    Please let me know if any of the above two ways works for you?

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 34
    Joss Luberia on #20622

    Hi Brajesh,

    Your plugin Conditional Profile field doesn’t work…

    Do you have another solution ?
    I really want users to fill in specifics fields if they are Member 1 or Member 2.

    Thanks,
    Joss

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #20624

    Hi Joss,
    Please see
    https://youtu.be/nZQX_nOzpV4

    If you need the Conditional profile fields to work with Member Types Here are a few things to remember.

    1. Fields must be available to all member types
    2. The member type field type should be Single(Multi member type field type is not supported)
    3. You need to use the member type names while assigning conditions.

    Please see the video for details.

    Hope that helps.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 34
    Joss Luberia on #20631

    Hi Brajesh,

    Thank you for your video 🙂

    But it still doesn’t work, I’m sorry…

    Look at my register page here :
    https://www.partagemon4pattes.com/inscription/

    Conditionals fields display when you refresh the page and not when you select a member type in “Qui suis-je”.

    Maybe when you’ll visit my register page you’ll see the issue ?

    Thank you very much Barjesh,
    Joss

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #20632

    Hi Joss,
    Thank you for the link. It helped understand the issue.

    Please use the valus “partageur” and “gardien” while setting the condition. This is the member type name.

    Since the lable was used, It is not working. Please give it a try.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 34
    Joss Luberia on #20636

    Brajesh, you are the best !!

    This is the Uppercase letter that make this issue.

    Thank you very much for your help !
    Joss

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #20645

    Hi Joss,
    Thank you.

    I am glad it worked.

    Just to be sure, the member type names are the name that you assign while creating the member type. Clarifying it for anyone else having same issue.

    Here is a screenshot showing it

    https://i.imgur.com/LW4c8nn.png

    and another one.

    https://i.imgur.com/dDs0asf.png

    Regards
    Brajesh

The topic ‘ [Resolved] BP Member Type Pro – XProfile conditionals fields’ is closed to new replies.

This topic is: resolved