Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Cel Forum Leaders - show only primary usergroups on showgroups.php Details »
Cel Forum Leaders - show only primary usergroups on showgroups.php
Mod Version: 4.0.001, by cellarius (Coder) cellarius is offline
Developer Last Online: Mar 2017 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (3 votes - 4.00 average) Installs: 31
Released: 16 Dec 2009 Last Update: Never Downloads: 138
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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below that line add in a new line

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 no longer 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:
  • 4.0.001: Initial release
### Don't forget to click install! ###
(No support if you don't)

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Cel Show Primary Usergroups Only on showgroups.php cellarius vBulletin 3.8 Add-ons 12 23 Mar 2010 20:54

Comments
  #2  
Old 16 Dec 2009, 23:48
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Nice that has always bothered me about the default showgroups page. Tagged
__________________
Reply With Quote
  #3  
Old 23 Dec 2009, 06:22
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Changed mod settings to reflect compatibility with vB4 Gold.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #4  
Old 20 Sep 2010, 07:41
dawges dawges is offline
 
Join Date: May 2007
Thank you for this. I needed to hide some forum leaders and this worked like a charm on 4.06.
Reply With Quote
  #5  
Old 22 Oct 2010, 20:24
denman75 denman75 is offline
 
Join Date: Aug 2006
Real name: Dennis
works as a charm on 4.08.
Reply With Quote
  #6  
Old 14 Aug 2011, 14:27
Mdrop Mdrop is offline
 
Join Date: Mar 2008
Not working for me on 4.1.5PL2, more people with problems?
Reply With Quote
  #7  
Old 10 Oct 2011, 12:01
TinCow1 TinCow1 is offline
 
Join Date: Mar 2007
Yes, stopped working for me after upgrading from 4.1.4 to 4.1.6

[edit] NM, had to reapply the second step of the install instructions. Works fine for me now.

Last edited by TinCow1; 10 Oct 2011 at 12:06.
Reply With Quote
  #8  
Old 17 Feb 2012, 22:04
Diana Notacat's Avatar
Diana Notacat Diana Notacat is offline
 
Join Date: Dec 2003
Real name: Diana Webster
I seem to have a small problem with Super Mods who have Admin as the secondary group. D: Normal members with Admin as a secondary will not show up. But Super Mods still do. (And for obvious reasons, I don't want them to show up under 'Administrators'!)

Is that something fixable?
Reply With Quote
  #9  
Old 06 Oct 2012, 12:38
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Hi cellarius,

trying to use your addon on vB 4.2 but it does not work like described for me.
I have a user being Primary Admin and Secondary SMod for internal reasons.
Only Primary Groups should be listed but he is still shown with his Secondary Group also.

Can you please check this?
__________________
Ciao jluerken
Reply With Quote
  #10  
Old 17 Dec 2012, 01:59
MG Zebra MG Zebra is offline
 
Join Date: Sep 2012
Real name: Josh
It doesn't work for me in 4.2.0 PL2. Please get this fixed. I could really use this.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 21:55.

Layout Options | Width: Wide Color: