vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   [Naxon] Re-Ordering The showgroups.php (https://vborg.vbsupport.ru/showthread.php?t=142494)

Naxon 03-18-2007 10:00 PM

[Naxon] Re-Ordering The showgroups.php
 
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 :)

Naxon 03-19-2007 11:32 AM

~Reserved~

mat.knott 03-19-2007 08:27 PM

clickes install

TheSh@rk 03-20-2007 01:06 PM

Thank you very much Daniel.
Very useful and looks great.
Clicked install.
Attachment 62112

Naxon 03-20-2007 05:45 PM

Thank's Kfir :)
Why don't you clicked Installed? you have installed this...

m002.p 03-23-2007 06:01 PM

could this be customised for other usergroups?

I mean if i have my own custom usergroups, how would I go about re-ordering them all rather than just the admins & mods?

Nice hack anyway!

Naxon 03-23-2007 10:07 PM

Quote:

<!-- Order="Number Of Order" -->Group's Name
Any group you want :)

thincom2000 03-24-2007 05:22 AM

I have been administrating my forum for almost a year now but...

Where is the link to showgroups.php supposed to be? I don't think I have a link there anywhere in my forum.

Naxon 03-24-2007 09:58 AM

Ummm... Maybe somebody removed it while he was building this skin...

Atakan KOC 03-26-2007 06:44 AM

Thanks....

Naxon 03-31-2007 01:41 PM

Soon will be an add-on! (auto do it..)

Sofia 03-31-2007 02:20 PM

Thanks a lot, Naxon :)

TheFrienzNet 04-01-2007 12:50 AM

Installed, thanks.

Works perfect.

TheFrienzNet 04-01-2007 01:04 AM

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.

Naxon 04-02-2007 07:47 PM

What is this showing to you if you are writing 10?
Try to write 11...

Nkay 07-27-2007 06:04 PM

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.

Naxon 07-28-2007 04:23 PM

It's because you set that the Moderators will be showen as theire group and not by the forums they are moderating.

Wheezy 01-05-2008 08:59 PM

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.

Spank 07-27-2008 01:21 AM

Works a treat. Thanks for this.

popowich 08-29-2009 01:47 PM

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

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


All times are GMT. The time now is 03:28 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.01026 seconds
  • Memory Usage 1,752KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete