Skip to:
Content
Pages
Categories
Search
Top
Bottom

First Name Visibility Only Me


  • ma3ry
    Participant

    @ma3ry

    I’m using BuddyPress Extended Profiles. For all fields I have the option of Visibility except First Name. It is very important to many of my members to not have others see their first name.

    How do I add Visibility option of “Only Me” for First Name please.

Viewing 4 replies - 1 through 4 (of 4 total)

  • danbp
    Participant

    @danbp

    Hi @ma3ry,

    it’s impossible !

    But there is an all or nothing trick. You can apply a CSS rule.
    Try to add this to your child-theme style.css

    tr.field_1 {
     display: none!important;
    }

    ma3ry
    Participant

    @ma3ry

    This is a perfect solution. Thank you!

    Now, just one more thing. It says “This field can be seen by: All Members”

    How do I change that to “Only Me”?


    danbp
    Participant

    @danbp

    Sorry, no, it’s not a perfect solution, just a workaround. Best practice would be to use what is explained here.

    As said previously you cannot change the Name field, and to exclude or modify his description you can’t even (so far i know) modify the default view level (All) for that field.

    So you have to use another CSS trick and perhaps add an “only me” message to the Name field description.

    #field-visibility-settings-toggle-1 {
    display:none!important;
    }

    ma3ry
    Participant

    @ma3ry

    This is just great! Many thanks for the workaround. It solves my problem.

    Much appreciated!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar