Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Problem in disable editing a profile field… Heeelp

  • @amalsh

    Participant

    Guys,

    I’m trying to disable editing for one of the profile fields & it’s not working 🙁 The field is a selectbox and has the name “Type”, what am doing is adding a short condition in the edit.php file in the fields loop as follows: if(bp_the_profile_field_name()==’Type’) then disabled

    with the right php tags of course but here tags are not allowed…

    What’s wrong with it? Heeelp :S

Viewing 2 replies - 1 through 2 (of 2 total)
  • @amalsh

    Participant

    If I put if(true) or if(1) it works but with the condition it doesn’t!!! Did I miss anything?

    @amalsh

    Participant

    Forget it.. Using bp_get_the_profile_field_name() instead of bp_the_profile_field_name() solved it…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Problem in disable editing a profile field… Heeelp’ is closed to new replies.
Skip to toolbar