Support Forum

Memberlist: show all members, regardless of usergroup

MA MartiL
MartiL
Member

Hi all,

One of my members just pointed out to me that, when he clicks the “Members” button, he can only view the members from the same usergroup he is in himself, and can’t see any of the other members.

I’ve been going through all the settings – I know I’ve seen it somewhere at some point! – but can’t find the setting to enable all members to view all members, regardless of the usergroup(s) they are in.

Maybe it was a setting is SP4 … I don’t know … but I would like to know how to get the memberlist to show all members to all members?

Thanks very much!

7 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

You caught me out with this one and i had to look it up in the code!

back to the templates – this time the membership view template.

Find the line of code:

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

and change that true at the end there to the word false.

MA MartiL
MartiL
Member

Yellow Swordfish said
You caught me out with this one and i had to look it up in the code!

Haha, that actually makes me feel a little bit better – finally a question that not everybody can anwer with eyes closed and a sigh laugh

Seriously though, thanks ever so much for the amazing support – again!

(I keep reading the forum, hoping to one day find a question I can answer so I can help out a little as well ;))

YS Yellow Swordfish
Yellow Swordfish
Member

🙂 You’re welcome. And I found out something I didn’t know which is always good! That is – assuming it worked of course!

MA MartiL
MartiL
Member

If it doesn’t I’ll post here again 😉

As far as I can see it does (logged in as a user), but too tired to check further fot now (it’s 1:30pm over here :).

YS Yellow Swordfish
Yellow Swordfish
Member

Assume you mean am! I am only an hour behind you then…

MA MartiL
MartiL
Member

Yes, am … See, I was sleeping when posting …
One hour behind – so you guys are English? I was guessing as much, English humor shining through sometimes 🙂

Anyway, your solution works, all members can now access the full memberlist. Thx!

YS Yellow Swordfish
Yellow Swordfish
Member

One English (me) and two Americans. But they don’t count 🙂