BuddyDev

Search

[Resolved] Bp non editable field

  • Participant
    Level: Initiated
    Posts: 1
    Maria on #19959

    Hi,

    I was wondering… Is it possible to be able to change a non editable field if the user changes from a type of membership to another? For instance, from a free membership to a paid one or if they change the level of s2member.

    Thank you

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #19962

    Hi Maria,
    Welcome to BuddyDev.

    At the moment, there is no hook.

    You can add the condition here

    https://github.com/buddydev/bp-non-editable-profile-fields/blob/master/bp-non-editable-field.php#L67

    which is specific to your membership plugin to not hide the fields.

    I will add a filter in next udate. Also, if you need multiple group of fields being visible based on membership(say field 5, 7 if membership level 1, field 8, 9 on level 2), my suggestion will be to explore member type based field visibility. That will be more suitable in this case.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 1
    Maria on #19971

    Thank you very much, that is really helpful

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #19984

    You are welcome. I am glad it helped.

    Regards
    Brajesh

The topic ‘ [Resolved] Bp non editable field’ is closed to new replies.

This topic is: resolved