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
Memberlist: show all members, regardless of usergroup
Avatar
MartiL
Member
Free Members
sp_UserOfflineSmall Offline
Mar 19, 2012 - 5:44 pm

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!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 19, 2012 - 6:51 pm

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
MartiL
Member
Free Members
sp_UserOfflineSmall Offline
Mar 19, 2012 - 7:14 pm

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 ;))

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 19, 2012 - 7:23 pm

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

andy-signature.png
YELLOW
SWORDFISH
Avatar
MartiL
Member
Free Members
sp_UserOfflineSmall Offline
Mar 19, 2012 - 7:33 pm

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 :).

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 19, 2012 - 7:59 pm

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

andy-signature.png
YELLOW
SWORDFISH
Avatar
MartiL
Member
Free Members
sp_UserOfflineSmall Offline
Mar 20, 2012 - 8:58 am

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!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 20, 2012 - 9:09 am

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

andy-signature.png
YELLOW
SWORDFISH
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