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
Hiding membership list
Avatar
dbass
Member
sp_UserOfflineSmall Offline
Oct 29, 2012 - 5:03 pm

Can I hide the list of members from the "Member" role?  I want members to be able to post, but don't want disclose who else is a member. but I use wishlist member for my user registration and the forum is protected behind.  Thanks,

Dustin

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2012 - 8:15 pm

you can remove button for the members list in you spHead.php template file of the sp theme you are using...

if you just want to change up what is displayed, you can specify specific usergroups only to list...  in the spMembersView.php template file, find this:

            if (sp_has_member_groups('usergroup', 'id', 'asc', 15, true)) {

and change it to

            if (sp_has_member_groups('usergroup', 'id', 'asc', 15, true, '1,2,3')) {

where '1,2,3' would contain the ids of the usergroups you want listed...

Be sure to create your own sp theme rather than use ours to keep from losing changes on upgrade... see: http://codex.simple-press.com/.....g-a-theme/

Avatar
dbass
Member
sp_UserOfflineSmall Offline
Oct 30, 2012 - 5:22 pm

Worked perfectly!!  Thanks for your help...I'll add my own theme asap...thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2012 - 11:38 pm

good news. thanks for the update and glad to help!

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: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625