This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
10 Posts
oscar.palacios
4 years ago
4
Topic

Hi! On the last days I've been working in a way to show a list of users of my website, but not a list with all of the users, but only those users that belong to a certain group. For example, if I have "groupA", "groupB" and "groupC" I need to show only the groupA's users, or the groupB's users in different parts of the website.

I've read a lot of forum posts about this (or related with this subject), but none of them resolves my problem. 

Could you help me? Thanks!

Get a Book for SEBLOD
154 Posts
WebOne
4 years ago
1
Level 1

Hi. Have you looked at the JOIN plugin? This might work for you.

http://www.seblod.com/products/922

10 Posts
oscar.palacios
4 years ago
0
Level 2

Thanks WebOne. I read some posts about it, but since it's a 'not free' plugin, someone could confirm me that this extension will resolve the specific problem that I am asking for?

Thanks a lot

4 years ago
1
Level 1

Hi all,

yest it's working with a join.

In the search join, you must enter params below:

	#__user_usergroup_map    |    user_id   |   user_id    |    #__users
        #__usergroups            |    id        |   group_id   |    #__user_usergroup_map


Then you can add a select simple with only desired groups, or a select dynamic with the good query, and with the storage:

Standard | User Group | id


Best regards.

Lionel

10 Posts
oscar.palacios
4 years ago
0
Level 2

Thanks Lionel! Only one more thing: the majority of my users belongs to more than one group. The plugin (and the configuration that you just give me) will also works If I want to show all the users of a group that this user belongs to? 

Get a VIP membership