Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Naxon] Re-Ordering The showgroups.php Details »»
[Naxon] Re-Ordering The showgroups.php
Version: 1.00, by Naxon Naxon is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Version: 3.6.5 Rating:
Released: 03-18-2007 Last Update: Never Installs: 25
Template Edits
 
No support by the author.

This mod allows you to put the Moderators last, the Administrators first and the Super Moderators second.

Installation:
  1. Open the SHOWGROUPS template.
  2. Find:
    Code:
    <!-- moderators -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
     <td class="tcat" colspan="4">$vbphrase[moderators]</td>
    </tr>
    <tr>
     <td class="thead">&nbsp;</td>
     <td class="thead" width="50%">$vbphrase[username]<if condition="$show['locationfield']"> / $vbphrase[location_perm]</if></td>
     <td class="thead" width="50%">$vbphrase[forums]</td>
     <td class="thead">$vbphrase[contact]</td>
    </tr>
    $moderatorbits
    </table>
    <br />
    <!-- end moderators -->
  3. Remove this.
  4. Find:
    Code:
    $usergroups
  5. Add below:
    Code:
    <!-- moderators -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
     <td class="tcat" colspan="4">$vbphrase[moderators]</td>
    </tr>
    <tr>
     <td class="thead">&nbsp;</td>
     <td class="thead" width="50%">$vbphrase[username]<if condition="$show['locationfield']"> / $vbphrase[location_perm]</if></td>
     <td class="thead" width="50%">$vbphrase[forums]</td>
     <td class="thead">$vbphrase[contact]</td>
    </tr>
    $moderatorbits
    </table>
    <br />
    <!-- end moderators -->
  6. Edit the MembersGroup 'Administrators' and replace the 'Title' with this:
    Code:
    <!-- Order="1" -->Administrators
  7. Save.
  8. Edit the MembersGroup 'Super Moderators' and replace the 'Title' with this:
    Code:
    <!-- Order="2" -->Super Moderators
  9. Save.
Enjoy

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-31-2007, 01:41 PM
Naxon Naxon is offline
 
Join Date: Oct 2006
Location: Israel
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Soon will be an add-on! (auto do it..)
Reply With Quote
  #13  
Old 03-31-2007, 02:20 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot, Naxon
Reply With Quote
  #14  
Old 04-01-2007, 12:50 AM
TheFrienzNet's Avatar
TheFrienzNet TheFrienzNet is offline
 
Join Date: Jan 2007
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thanks.

Works perfect.
Reply With Quote
  #15  
Old 04-01-2007, 01:04 AM
TheFrienzNet's Avatar
TheFrienzNet TheFrienzNet is offline
 
Join Date: Jan 2007
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I got a bug.

We cannot use numbers higher than 9 for order. For example, we cannot use: <!-- Order="10" -->A test group or any number higher than 9.
Reply With Quote
  #16  
Old 04-02-2007, 07:47 PM
Naxon Naxon is offline
 
Join Date: Oct 2006
Location: Israel
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is this showing to you if you are writing 10?
Try to write 11...
Reply With Quote
  #17  
Old 07-27-2007, 06:04 PM
Nkay's Avatar
Nkay Nkay is offline
 
Join Date: Jan 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was the top result when i searched in google.

I've followed every step with precision, my only problem is, that it shows an empty moderator slot at the bottom.

A link to my problem: http://www.ax11.co.uk/forum/showgroups.php

I edited one slight thing with your step by step guide. Instead of making the order for super moderators 2, i changed it so moderators was 2. You'll know why once you visit the link above. We don't have super moderators. If you look at the bottom it is showing another moderator group.
Reply With Quote
  #18  
Old 07-28-2007, 04:23 PM
Naxon Naxon is offline
 
Join Date: Oct 2006
Location: Israel
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's because you set that the Moderators will be showen as theire group and not by the forums they are moderating.
Reply With Quote
  #19  
Old 01-05-2008, 08:59 PM
Wheezy's Avatar
Wheezy Wheezy is offline
 
Join Date: Jun 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cannot get my custom usergroup to follow in this order. The Admin, SuperMod and Mod groups can be ordered according to your instructions, but I cannot get my custom usergroup to show up as 4th.
Reply With Quote
  #20  
Old 07-27-2008, 01:21 AM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works a treat. Thanks for this.
Reply With Quote
  #21  
Old 08-29-2009, 01:47 PM
popowich popowich is offline
 
Join Date: Jun 2004
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For newer forums try this mod, no template edits needed :

https://vborg.vbsupport.ru/showthread.php?t=187300
Reply With Quote
Reply


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


All times are GMT. The time now is 09:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07254 seconds
  • Memory Usage 2,306KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete