vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Change Display Order for Show Groups (Forum Leaders) (https://vborg.vbsupport.ru/showthread.php?t=187300)

sockwater 08-04-2008 10:00 PM

Change Display Order for Show Groups (Forum Leaders)
 
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

Quote:

Originally Posted by davide101 (Post 1592064)
Thanks! An annoying problem elegantly solved!

Quote:

Originally Posted by JJ the Fox (Post 1592067)
Great small but useful mod. Thanks.

Thank you.

Quote:

Originally Posted by Sym0n (Post 1592068)
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?

Quote:

Originally Posted by davide101 (Post 1592071)
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.)

Quote:

Originally Posted by Internetcafe (Post 1592113)
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

Quote:

Originally Posted by jaycob (Post 1592266)
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?


All times are GMT. The time now is 01:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01107 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete