PDA

View Full Version : [Naxon] Re-Ordering The showgroups.php


Naxon
03-18-2007, 10:00 PM
This mod allows you to put the Moderators last, the Administrators first and the Super Moderators second.

Installation:

Open the SHOWGROUPS template.
Find:

<!-- 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 -->

Remove this.
Find:

$usergroups

Add below:

<!-- 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 -->

Edit the MembersGroup 'Administrators' and replace the 'Title' with this:

<!-- Order="1" -->Administrators

Save.
Edit the MembersGroup 'Super Moderators' and replace the 'Title' with this:

<!-- Order="2" -->Super Moderators

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.
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
<!-- 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