This topic has 3 replies, 2 voices, and was last updated 8 years by sharmstr.

  • Author
  • #105783
     gnkechio
    Participant

    Hello.  I would like to hide the total number of members that I have on my site.  I noticed that even non-members can click on the “activity” link of my community site and be able to see the total number of members we have on the site.  How can I change it so that no one (except the Admin., of course) will be able to see the total number of members?

    Thanks in advance

     

    #105897
     sharmstr
    Moderator

    It also shows up on the members directory. In any case, you’ll have to edit the buddypress templates. Ask on the buddypress forums.

    Otherwise, if you want to hide it all together, you can use this css

    COPY CODE
    
    #members-all, #activity-all {
        display: none;
    }
    #member-dir-count-top {
        display: none;
    }
    #member-dir-count-bottom {
        display: none;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #106126
     gnkechio
    Participant

    Thank you, Sharmstr. You said to add this code in the buddypress templates; where is that located? And do I just add this code to the template or do have to change some other lines of code? Thanks in advance

    #106188
     sharmstr
    Moderator

    To be more clear. What I’m saying is that you have 2 options.

    1 – If you want admins to be able to see the total members then you will have to modify BP templates. I’m not offering assistance in doing this. You’d have to ask on the buddypress forums.

    2 – If you’re okay with admins not seeing total members, then copy the code I’ve given you into Theme Options > General > Qucick CSS.

    Hope that makes more sense.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?