Back to vBulletin 3.8 Add-ons

Cel Show Primary Usergroups Only on showgroups.php
Mod Version: 3.8.001, by cellarius

vB Version: 3.8.x Rating: (2 votes - 5.00 average) Installs: 12
Released: 10 Sep 2009 Last Update: 10 Sep 2009 Downloads: 87
Not Supported Uses Plugins Translations  

This mod will patch showgroups.php to show only users that are in certain primary usergroups. Normally, the page will also show users that have, say, super-moderator as secondary usergroup.

With this mod you can, for instance, have testusers in normally listed usergroups, that will not be displayed on showgroups if you assign them a secondary usergroup only. Or you can give new moderators time incognito to get used to the new functionality before announcing them to the public.

This is a quite simple mod for something I needed on my board - I looked around and found nothing the like, so I'll release it. Maybe someone else will find this useful, too.

This mod can hook in at two different places:

First, to patch the listing of administrators and super moderators, simply install the product file of the mod. If that's all you want, you're done.

Second, if you have activated the listing of forum moderators and you want that patched, too, you'll have to do a very simple file hack - but a file hack nonetheless.
If you want to do this second step, open showgroups.php file and find
Code:
        WHERE moderator.forumid <> -1
Below that line add in a new line
Code:
        $sqlwhere
Note that you have to install the product file, too, for this to work, i.e. step two is not standalone.

Now, in AdminCP->Options you can set the primary usergroups you want to be shown. Default is 5, 6, and 7 - administrators, supermoderators, moderators.

No screenshot - the page looks no different, and there's no way to capture something that's simply not there

This mod will probably work with earlier versions of vB, too. As far as I'm aware the showgroups page has not changed much, so as long as the required hook is there (showgroups_start), it should work. Tested only with 3.8, tho.

Version history:
  • 3.8.001: Initial release


### Don't forget to click install! ###

(No support if you don't)

Download

File Type: %1$s product-cel_filter_showgroups_3-8-001.zip (1.8 KB, 96 downloads)

Similar Mods

Mini Mods Site Supporter Button in Postbit - Primary/Additional Usergroups supported vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024