PDA

View Full Version : Managing Large Numbers of Secondary Usergroups


bl4ze
07-19-2015, 11:45 PM
Hello all,

Here is my current conundrum; hopefully one of you know of a mod/option that will do what I need.

My site uses a LOT of secondary usergroups (easily 500+).

What I'm looking for is a way to put the secondary usergroups into "groupings" in the admincp, so that admins don't have a page that is a mile long every time they go in and edit a user.

Example:

Currently:
[] UsergroupA-1
[] UsergroupA-2
[] UsergroupA-3
[] UsergroupB-1
[] UsergroupB-2
[] UsergroupB-3
[] UsergroupC-1
[] UsergroupC-2
[] UsergroupC-3

Desired:
UsergroupA (collapsible expansion)
[] 1
[] 2
[] 3
UsergroupB (collapsible expansion)
[] 1
[] 2
[] 3
UsergroupC (collapsible expansion)
[] 1
[] 2
[] 3

This could cut the size of the page by over 1/2, and make it MUCH easier for my admins to navigate, reduces errors, increasing efficiency, etc...

If anyone knows of a way to accomplish this, PLEASE let me know.

kh99
07-20-2015, 07:26 AM
You'd have to modify code to do that. In includes/adminfunctions.php, there's a function called print_membergroup_row() that outputs the html for the membergroup section, so you could probably modify that to make collapsible sections.