Support Forum

Members page: how to hide members who are not in your group?

TN Tim Nitz
Tim Nitz
Member

Hello.  We have a SimplePress site where we have distinct groups and their affiliated forums.  We do not want these members to see the membership of the other groups (unless a member is in both groups, which is rare but possible).  I don’t see a setting in SimplePress where this is possible.  

We also need to be able to disallow users from one group messaging users from another group.

Thanks!

2 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

If you are referring to the members list view then is this not already the case? If not – then which SP theme are you using please…?

MP Mr Papa
Mr Papa
Member

would be interested in Andy’s question too..  but in the template file spMembersView.php of your theme, look for line like this:

            if (sp_has_member_groups(‘usergroup’, ‘id’, ‘asc’, 15, true)) {

that last parameter ‘true’ says to only show users members in usergroups that they can see…  if yours is not true, try changing it…

if true, have you actually tested it?  remember that as Admin you will see ALL usergroups and members…