This topic has 6 replies, 2 voices, and was last updated 11 years by Cenk.

  • Author
  • #4115
     Cenk
    Participant

    Hi,

    Can you help me to remove the “Logged in Users” and “Admins Only” options in the profile visibility edit field?
    I would also like to change “Nobody” to “Just Me”. Poedit could’t track “Nobody”.

    —————from—————-
    Who can see this field?
    Anybody
    Logged In Users (Disable)
    Admins Only (Disable)
    Friends
    Nobody = (Just Me)

    Thank you

    #4153
     SQadmin
    Keymaster

    Hi,
    I don’t think you can disable those options without core changed, which is not recommended.
    To change those names you can follow this topic on doing it with Poedit: http://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4165
     Cenk
    Participant

    Thank you,

    But I would like the hide the “Admins only” function. Can you help me to track the code? Or build a different class name so I can hide it with the “display: none;’ code .I don’t know where to find it.

    #4211
     Cenk
    Participant

    I can’t find the file. I can change the names, no problem. But I’ld like to remove two options. It’s unnecessary and not user friendly.

    So this is what I want.

    ——–Who can see this field?———
    Public
    Friends
    Just me

    Removing

    Logged In Users
    Admins Only

    ———–Instead of—————–

    Public
    Public
    Nobody
    Friends
    Nobody

    #4212
     Cenk
    Participant

    Also the BP Album visibility is complicated. I want that change that also.

    Public
    Registered members (disable or hide)
    Only friends
    Private
    Hidden (admin only) (disable or hide)

    #4225
     SQadmin
    Keymaster

    You can hide those visibility options with Javascript. Add this to footer.php just before the wp_footer() line:

    COPY CODE
    
    <script>
    jQuery(document).ready(function() {
    	jQuery("label[for=see-field_adminsonly], label[for=see-field_loggedin]").hide();
    });
    </script>
    

    For Bp Album only way is to modify core file: wp-content/themes/sweetdate/framework/inc/bp-album/includes/bpa.screens.php around line 70 and leave your desired options only

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4248
     Cenk
    Participant

    thank you!

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?