9 years ago
10
Topic

Hello,

I am still learning SEBLOD so bear with me.

I want to display a list of all users in user-group A, to only users of user-group A.

The actual use is for a Teacher(admin) to login to the frontend and see a list of the Students(registered users) in the Classroom(user-group A).

The future goal is to allow the teacher to enable/disable students and see all articles published by those Students.

Thanks for your help,

Jeff


Get a Book for SEBLOD
9 years ago
0
Level 1

I have followed these steps but I don't know how to limit the list to users within a specific usergroup:

http://www.seblod.com/resources/manuals/getting-started/displaying-a-list-of-joomla-users-blog

9 years ago
3
Level 1

Hello modernmagic,

you have to use the plugin Field "Search Join" in your search type to be able to select the User Group.

Have a look to the tutorial below. 

Instead of a text field you can use a select dynamique or simply a select with only groups desired.


Regards.

Lionel

9 years ago
2
Level 2

Dear Lionel,

Thank you for the direction. 

Regards,

Jeff

9 years ago
1
Level 3

Dear Lionel,

So far I have the list of users, but only the users that registered through a Seblod Form are showing.  The users that were created using a core joomla registration form or the Backend User Manager do NOT show in the list.    Any idea why?

Regards,

Jeff

9 years ago
0
Level 4

If I enabled Bridge in the user plugin, then only the users created after this was enabled show in the list.  If I disable the bridge then, once again, the users created through the Seblod form display.  I can never get the users created through the Joomla reg form or backend User Manager to display in this list.

So, is there a way to have ALL users show in this list no matter how they were created?

Regards,

Jeff

9 years ago
2
Level 1

Hi modernmagic,

it's normal because when you add a user with SEBLOD an entry is created in the table #__cck_core which is the main table of SEBLOD, and all search are based on this table.

So other user account don't have this entry and can't be listed.

One way if you don't have too many users in this case, it's simply to edit their account in backend and save it, so it will create the entry.

An other way is to export all users in a csv file, then remove all users from joomla backend, and then import the CSV file. Be sure to have a backup of your database before that.


Regards.

Lionel

9 years ago
1
Level 2

Lionel,

I did read another reply of yours about  #__cck_core.  At least I'm on the right track.  I will try the edit/save method since this is in testing and only has a few users.

Do you recommend having the user and usergroup bridge enabled regardless?


Thanks,

Jeff

9 years ago
0
Level 3

Lionel,

I see that only the users in the cck_core table are showing in my list.

https://www.dropbox.com/s/7qorkc6koxxzkhl/Screenshot%202015-06-03%2012.27.10.png?dl=0

I have tried to edit the name,password,enabled/disabled,usergroup, and basic settings, but none of these changes add the user to cck_core table :-(

The exporter is 33euros so I'd like to try your other idea first.

Regards,

Jeff

9 years ago
1
Level 1

Hi modernmagic,

it's because the edition is done with the Joomla! form.

To force the edition with SEBLOD form, you must go in SEBLOD options, on the tab "Integration" and set the "Edit Link" option on "Always with SEBLOD"


Regards.

Lionel

9 years ago
0
Level 2

Lionel,

That worked. :-)

Now I need to figure out how the list of users is dynamically only the users within the logged in user's user-group.

The actual use is for a Teacher(admin) to login to the frontend and see a list of the Students(registered users) in the Classroom(user-group A).

The future goal is to allow the teacher to enable/disable students and see all articles published by those Students.


Thanks,

Jeff

Get a Book for SEBLOD