Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
How do I remove the "Members" button and text on the main page?
Avatar
David Hutchinson
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2013 - 11:58 am

I can't seem to find where this code is located. I've looked around the forum Theme Editor at all the different .php pages there, but can't find the code that I see when I right-click on the actual page and select "View Source".

I searched this support forum for this issue and don't see any reference to it.

Thanks

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2013 - 12:27 pm

The code is in the forum theme's spHead.php file the line that calls the sp_MemberButton. You could delete/comment out that line.

But there is a permission option where you can turn off "Can view the members lists" for any or all permissions. If off they won't see the button. Admins always will though.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2013 - 12:29 pm

if you dont want users to see members, you should remove their permission to do so... just removing the button will allow them to 'guess' the url... you can change permissions on forum - permissions - manage permissions... if they dont have permission, button wont be shown...

but you can find the button display logic in the sp theme you are using... the spHead.php template file...

more info: http://codex.simple-press.com/.....berbutton/

Avatar
David Hutchinson
Member
Free Members
sp_UserOfflineSmall Offline
Mar 4, 2013 - 6:50 pm

Thanks -- that did the trick.  Can close this topic.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 4, 2013 - 7:48 pm

cool... thanks for the update...

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626