PDA

View Full Version : Listing SuperMods in Moderators of this Forum Section


Wakey
05-05-2016, 09:02 AM
Does anyone know a way of adding Supermods to this list via a plugin

MarkFL
05-06-2016, 02:11 AM
I have attached a product that should do what you are asking. Once you import the product, go to its settings and enable it, and enter the list of usergroupids whose primary members will be added to the forum moderator lists.

For example, if I wanted admins and supermods to be added to the list, with admins first, then supermods, I would enter:

6,5

into the usergroups settings. Individual users will be sorted in ascending order by userid within each group.

Please let me know if there are any problems or features you would like to be added. :)

Wakey
05-06-2016, 08:38 AM
I have attached a product that should do what you are asking. Once you import the product, go to its settings and enable it, and enter the list of usergroupids whose primary members will be added to the forum moderator lists.

For example, if I wanted admins and supermods to be added to the list, with admins first, then supermods, I would enter:

6,5

into the usergroups settings. Individual users will be sorted in ascending order by userid within each group.

Please let me know if there are any problems or features you would like to be added. :)

Thats more help than I was expected so thanks for that. I made a small change myself to include secondary users of the selected usergroups as well.

If Anyone else uses this and wants to make the change just add

OR membergroupids IN (" . $vbulletin->options['markfl_addmods_groups'] . ")

after the WHERE clause on both the SQL statements

MarkFL
05-06-2016, 02:07 PM
Unfortunately, it's not quite that simple...that will only get the first groupid within the membergroupids column. :)

I have published this product, after having added the option to include secondary usergroups or not:

Add To Forum Moderators Lists (https://vborg.vbsupport.ru/showthread.php?t=322556)

I have cited you in the "Supporters / CoAuthors" section because this was your idea. ;)