View Full Version : Mini Mods - Change Display Order for Show Groups (Forum Leaders)
sockwater
08-04-2008, 10:00 PM
This modification allows you to change the order the groups are displayed in on the Show Groups (Forum Leaders) page (showgroups.php)
Installation is as easy as importing the XML file and then visiting the Options group to set your preferred order.
Enjoy!
Changes
v 1.1 - Clarified wording in Admin options. No need to upgrade from 1.0.
v 1.2 - Fixed bug when displaying Moderator Block and Moderators Usergroup. Made ordering usergroups in options easier.
v 1.3 - Fixed bug (introduced in 1.2) that caused incorrect display of admin options.
davide101
08-05-2008, 05:59 PM
Thanks! An annoying problem elegantly solved!
JJ the Fox
08-05-2008, 06:02 PM
Great small but useful mod. Thanks.
Sym0n
08-05-2008, 06:03 PM
Sounds good. But I have a question. If I don't include a usergroup in the ACP does it then not show on the forum leaders page?
Ta
davide101
08-05-2008, 06:11 PM
Sym0n, in order to display on the View Leaders page, you must set the group id in the product options and that usergroup must have Show on Show Groups enabled in the usergroup permissions. If either condition is not met, that group won't be displayed.
Internetcafe
08-05-2008, 07:04 PM
Simply adding <!-- Order="1" --> to the usergroup title does the same thing !?
sockwater
08-05-2008, 10:43 PM
Thanks! An annoying problem elegantly solved!
Great small but useful mod. Thanks.
Thank you.
Sounds good. But I have a question. If I don't include a usergroup in the ACP does it then not show on the forum leaders page?
Sym0n, in order to display on the View Leaders page, you must set the group id in the product options and that usergroup must have Show on Show Groups enabled in the usergroup permissions. If either condition is not met, that group won't be displayed.
Actually, this modification *only* changes the order. If you don't include a given usergroupid in the Admin options for this mod, but it is set to "display on forum leaders page" in the usergroup manager, then it will still be displayed (in alphabetical order) after any usergroups that are specified in the options. So this mod only affect order, it will not keep any usergroups from being displayed. I have changed the wording in the Admin options for version 1.1 (That's the only thing changed.)
Simply adding <!-- Order="1" --> to the usergroup title does the same thing !?Yes and no. First of all, this is easier, since you don't have to change the title for all your usergroups, and second, this modification also allows you to change where the moderators block is displayed. Otherwise it's hardcoded at the top of the page.
Koroku
08-05-2008, 11:51 PM
Why is this not default?
THANK YOU. I can finally get rid of the numbers in front of the usergroups...
01 - Administrators
02 - Sub-Administrators
03 - Super Moderators
It looks so bad... :D
ShawneyJ
08-05-2008, 11:54 PM
works great but normal mods do not show, it shows what forums they are modding but does not show there group. Moderators
sockwater
08-06-2008, 03:54 AM
works great but normal mods do not show, it shows what forums they are modding but does not show there group. Moderators
It works fine for me. It shows a table with "Moderators" at the top, then a list of usernames in the left column, the forums that they moderate in the middle column and the contact info in the right column. Can you give me a link to your forums where it's not showing correctly?
Q-v-n-s-Q
08-06-2008, 05:48 AM
- reserved -
Sym0n
08-07-2008, 10:31 AM
Actually, this modification *only* changes the order. If you don't include a given usergroupid in the Admin options for this mod, but it is set to "display on forum leaders page" in the usergroup manager, then it will still be displayed (in alphabetical order) after any usergroups that are specified in the options. So this mod only affect order, it will not keep any usergroups from being displayed. I have changed the wording in the Admin options for version 1.1 (That's the only thing changed.)
Hi,
Thanks for the reply. Just wondering if it would be possible to exclude the default moderators from showing on the forum leaders page in the next version?
The reason I ask is that on our forum we have a moderators usergroup which comprises of global moderators, they are site staff. We then have, at present, one person who only has moderator rights over one section of the forum and isn't classed as staff.
Whilst your product works flawlessly I would like to be able to remove the default moderators table from the forum leaders page without having to hack the showgroups template.
Thanks again.
Sy
sockwater
08-07-2008, 04:38 PM
The Default Moderators Block can be disabled by changing the "Forum Leaders" General setting to "Yes, but disable moderators". In version 1.2 of this product, I've made it clear how to disable that.
Sym0n
08-07-2008, 06:17 PM
The Default Moderators Block can be disabled by changing the "Forum Leaders" General setting to "Yes, but disable moderators". In version 1.2 of this product, I've made it clear how to disable that.
Wow fast and spot on. Thanks for that info and the update. Installed and working perfectly :D
Cust0ms
08-07-2008, 11:03 PM
Nice, thanks! :)
TrIn@dOr
08-08-2008, 01:47 AM
THANK YOU. I can finally get rid of the numbers in front of the usergroups...x2, thanks.
Bexter
08-08-2008, 07:57 AM
I've been looking for something like this for ages, thanks very much :D
ssslippy
08-10-2008, 03:32 AM
This mod is appearing inside cyb advanced forum rules and cyb login to user account
sockwater
08-10-2008, 04:00 AM
This mod is appearing inside cyb advanced forum rules and cyb login to user account
Can you elaborate? And include a screenshot?
EcoCav
08-10-2008, 04:21 AM
I am having the same problem with this. It will add its self to CYB's advanced forum rules, and you can not save or update either one. Here is a screenshot.
https://vborg.vbsupport.ru/external/2008/08/31.png
Sym0n
08-10-2008, 06:15 PM
Yep I'm getting the same under the advanced forum rules settings, see attached screenshot including error message.
*Edit - Just noticed that this is now also showing under 'default registration options' in Vbulletin Options in the ACP. Screenshot attached.
sockwater
08-12-2008, 03:29 PM
Thanks to ssslippy, EcoCav and Sym0n for reporting this bug. It is fixed in v 1.3.
Sym0n
08-13-2008, 06:09 AM
Thanks for the quick fix sockwater. Working beautifully.
Wheezy
08-20-2008, 06:47 PM
THANK YOU! I love this, and it's exactly what I've been looking for :D
ExTincTi0N
08-20-2008, 08:10 PM
Is there anyway to get a live demo or a screen shot of it in action? Please and thankyou.
Sym0n
08-21-2008, 06:49 AM
Here you go, taken from the forum I admin just now for you.
juanpablo
10-18-2008, 09:50 PM
Is It work on 3.6.8?
soqzippo
10-23-2008, 02:12 PM
I love this thing. Like the person said before me. why isn't this a default option by now.. Jeese vb get your stuff in order.. literally!
sockwater
10-31-2008, 06:01 PM
Is It work on 3.6.8?
It very well might work in 3.6.8. You are free to try it and report back if it worked or not.
Barteh
01-08-2009, 09:30 PM
Confirmed to work for 3.8.0 :)
OU812
03-25-2009, 09:37 AM
Possible to make the groups collapsable?
abdulbasitsaeed
04-19-2009, 02:57 AM
Thank you very much for this product. Works perfectly with version 3.8.1. :)
TheLastSuperman
04-19-2009, 04:11 AM
Installed, same here 3.8.1 so Thanks!
S-MAN
Kayden
07-09-2009, 09:40 PM
Works great for 3.8. Awesome.
abdulbasitsaeed
07-29-2009, 10:59 AM
I seem to be having a bit of a problem with this mod.
I have enabled the "Forum Leaders" option with moderators in my vBulletin options. However, this is how the page (http://forums.pakfellows.com/showgroups.php) appears (see attachment too).
The detailed moderators block is enabled. For some reason, it seems that this usergroup isn't taking up the template around it (please notice the absence of the surrounding curves) and it also shows a "contact" column whereas it doesn't show it for ANY other usergroup.
Do you think you can help me out? :)
sockwater
08-03-2009, 03:42 PM
I seem to be having a bit of a problem with this mod.
I have enabled the "Forum Leaders" option with moderators in my vBulletin options. However, this is how the page (http://forums.pakfellows.com/showgroups.php) appears (see attachment too).
The detailed moderators block is enabled. For some reason, it seems that this usergroup isn't taking up the template around it (please notice the absence of the surrounding curves) and it also shows a "contact" column whereas it doesn't show it for ANY other usergroup.
Do you think you can help me out? :)
Do you see this problem when viewing your forums with the default vB style?
abdulbasitsaeed
08-03-2009, 03:57 PM
Yup my friend. Tried that too, thinking that the custom skin may be the reason behind it.
sockwater
08-03-2009, 04:24 PM
Yup my friend. Tried that too, thinking that the custom skin may be the reason behind it.
Customize the showgroups_moderators template to match your current style.
Keesa
08-05-2009, 06:11 AM
Thank you, this rules so hard. SO amazingly simple to use. <3
jesus likes pie
11-21-2009, 06:22 PM
FYI: This works on vB4 beta 4.
louth
12-10-2009, 08:09 PM
Hi there, I can't seem to get this to save the order I enter in the Admin CP. It reports 'Settings Saved Successfully' but then reverts back to the default settings with '10,20,30,40,50,60' for each of the usergroups.
Using vBulletin 3.6.8 Patch Level 2
abdulbasitsaeed
12-30-2009, 05:04 PM
FYI: This works on vB4 beta 4.
Hi there, sockwater.
Is it possible for you to kindly confirm whether this works with version 4?
If not, would you be upgrading it since it's a very nifty mod, in my opinion. :)
thefnool
12-30-2009, 09:10 PM
This is a wonderful plugin. Works absolutely perfectly on 3.8.4. Cheers!
adamdavidconn
01-02-2010, 05:38 PM
This does work with 4.0 PL1
All the features work. Usergroups reorder, detects new ones. I see no faults :)
abdulbasitsaeed
01-05-2010, 02:53 AM
Just to confirm, that yes, this does work with vBulletin Suite, v 4.0. :)
One remaining issue is that if in AdminCP>Options>General Settings> , you set "Enable Forum Leaders" to Yes, then the Moderators usergroup shows twice. Is there any way to fix this?
niadene
01-05-2010, 07:45 AM
i have a site helper there but it's not showing on index page...help please?
https://vborg.vbsupport.ru/external/2010/01/121.jpg
Tettinntil
02-25-2010, 06:21 PM
3.8.4 and perfect. Thanks!
CGC PlaZmA XR
03-22-2010, 02:33 PM
Working perfectly on 4.0.2, you have no idea how much this helped.
Thanks!
Dark Somnium
04-06-2010, 04:14 AM
Thank you, works great!
Speysider
04-07-2010, 06:19 PM
You don't need this hack to order the usergroups.
In your usergroup name, add this at the beginning of :
<!-- Order="x" -->
Replacing x with a number.
This hack has a tendancy of showing usergroups with no users in it.
Thank you! This mod works in version 4.04 - groups are in the order i prefer - but I get this message at the top of the page. I am using the default template. Anyone know what file/change I need to make? Thanks in advance.
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: showgroups_moderators in [path]/includes/functions.php on line 3984
You don't need this hack to order the usergroups.
In your usergroup name, add this at the beginning of :
<!-- Order="x" -->
Replacing x with a number.
This hack has a tendancy of showing usergroups with no users in it.
Thank you for this information. I hate adding a modification script when it isn't necessary. Your code works beautifully.
Jim
abdulbasitsaeed
08-17-2010, 12:12 AM
Did this work for you, Jim? :)
Yes, as I said above, it works beautifully. There is no need for an add-on or plug-in to do this.
Jim
Elber
10-30-2010, 08:13 AM
In vB 4.0.7
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: showgroups_moderators in [path]/includes/functions.php on line 4007
How to fix this ??
emath
11-08-2010, 10:01 AM
please update for vb4
You don't need this hack to order the usergroups.
In your usergroup name, add this at the beginning of :
<!-- Order="x" -->
Replacing x with a number.
This hack has a tendancy of showing usergroups with no users in it.
That worked perfectly for vB 4.0.8 Thank you.
abdulbasitsaeed
11-26-2010, 02:20 AM
You don't need this hack to order the usergroups.
In your usergroup name, add this at the beginning of :
<!-- Order="x" -->Replacing x with a number.
This hack has a tendancy of showing usergroups with no users in it.
Thank you for this, Speysider. This works perfectly. :)
<!-- Order="x" -->
Is not working on 4.1 PL2
An update to this would be great!
horussjr
01-15-2011, 05:55 PM
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: showgroups_moderators in [path]/includes/functions.php on line 4097
Error on 4.1.1
Gamelobby
02-28-2011, 07:35 AM
please update for vb4
4.1.2 Please. :D
Scyther
07-21-2011, 11:06 AM
works well with 3.8.2 also...
Thanks marked installed.
Scyther
11-23-2011, 06:54 AM
Does this work with 4.1.7?
iyihost
02-01-2014, 10:55 PM
don't work 3.8.x
who can help me?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.