Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Hide Members
Avatar
JA
Member
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2014 - 1:18 pm

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!

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2014 - 1:24 pm

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!

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2014 - 1:32 pm

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

Avatar
JA
Member
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2014 - 1:42 pm

Ah, much easier! So much so that I had already had it "hidden" from site members (I was seeing it as admin). 

Thank you! 

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2014 - 1:49 pm

Good stuff

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2014 - 2:28 pm

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2014 - 5:11 pm

yup... if you see an spftest member here, that is us testing... ;)

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625