Is there a way to not display the “Members” box at the top of the page that allows people to see the entire member list?
Thank you!
Is there a way to not display the “Members” box at the top of the page that allows people to see the entire member list?
Thank you!
Hey JA,
Sure.. Just locate your theme folder, will use ‘Default’ theme as an example, and open:
sp-resources > forum-themes > default > templates > spHead.php
You want to then find the function – sp_MemberButton, and comment it out. If you have a decent editor and haven’t changed your template, you will find it on line 99. It should then look like:
/*sp_MemberButton('tagClass=spButton spRight', __sp('Members'), __sp('View the members list'));*/
I’d suggest commenting it out over removing it, this way you can enable it again if you ever decide you want to by removing the /* */
Two things however. Firstly this will not stop people from accessing the members list, they can still access the page via URL, there is just no button to it. You might want to consider the option of using permissions to stop people viewing the list, as there is a permission specifically for it under the ‘Viewing’ category.
And as always, we advise creating your own theme or making a child theme if you’re making changes, as these changes could be lost in future updates.
Hope this helps!
you can also adjust through the permissions so only admins and mods see it, go under permissions, manage permissions and viewing, you can choose who sees what
Ah, much easier! So much so that I had already had it “hidden” from site members (I was seeing it as admin).
Thank you!
JA said
Ah, much easier! So much so that I had already had it “hidden” from site members (I was seeing it as admin).
Thank you!
I always have a second account set up as a member so I can see what members see, it helps out a lot