Log in

View Full Version : Admins on top of the Showgroup.php


flup
06-27-2005, 10:00 PM
++ By: flup

++ What does this hack do?
Normally if you click the button 'show forum leaders' you will see moderators above the administrators.
If you don't like that (like me) and you think YOU should be on top as administrator,
this little template edit is just what you need.

It will display the Administrators on top of showgroups.php/Show Forum Leaders.

Have fun!

bigcurt
06-28-2005, 07:56 PM
Work with 3.0.X?

EDIT: I think it does, but not sure.

Allan
06-28-2005, 09:15 PM
screen ?

flup
06-29-2005, 07:44 AM
screen ?

Sure hold on will be in the first post.

Allan
06-29-2005, 10:06 AM
Sure hold on will be in the first post.
thanks Flup :)

Sovereign
07-22-2005, 09:34 PM
I feel more important now :)

Primeval
08-01-2005, 01:53 PM
Work with 3.0.X?

EDIT: I think it does, but not sure.

Yes it does.
That is an easy fix, there are 2 ways for BOTH 3.5.x and 3.0.x users:
use the current php showgroup change as what the hack mentioned on the first post
or
use admin cp and move the $usergroups above the <if condition="$moderatorbits">

OR

You can also remove the entire moderators bit by removing the following code:
<if condition="$moderatorbits">
<!-- 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 -->
</if>
in your admin cp skin settings on showgroups to make the forum leader list neat and organized (can be either via admin cp or php.. I perfer the admin cp in case if you want to re-use the moderator code in future use). You'll have to change the current moderators group to show group to yes when you removed the entire moderator code so that the current mods will be back on the showgroup list instead of the entire staff.

This is not the hack I was looking for though... :(

Rich
08-12-2005, 01:52 PM
Hello,

The order of how they are displayed SHOULD be administrators, super moderators, and then moderators by default anyways! I never could figure out why it wasn't. That is the order of power, it should be the default listing of power as well! Thanks for this.

Mith
08-16-2005, 08:08 PM
Hello,

The order of how they are displayed SHOULD be administrators, super moderators, and then moderators by default anyways! I never could figure out why it wasn't. That is the order of power, it should be the default listing of power as well! Thanks for this.

I agree, does anyone know how to make it so?

Cheers

MegaHertz
10-31-2005, 04:12 AM
Hello,

The order of how they are displayed SHOULD be administrators, super moderators, and then moderators by default anyways! I never could figure out why it wasn't. That is the order of power, it should be the default listing of power as well! Thanks for this.I also agree that the groups should be displayed in in order of rank, but if you look at showgroups.php you'll see it is because the groups are being sorted and displayed alphabetically. Which means in order for it to be displayed differently it would require some code modification.

Blind Guardian
10-31-2005, 01:16 PM
Thanks, installed and working fine.

Nathan2006
03-16-2006, 12:11 AM
Thanks it looks a lot better now lol ;)

Install

Kroziun
03-28-2006, 09:18 PM
Thank you. Installed.

GT2.0
03-29-2006, 08:46 PM
Thanks for that, was wondering why we could not change it.

R34GTT
04-30-2006, 05:15 PM
Im sure there is something I have done wrong. But I seem to have it duplicated. Any reason why?

Everything looks fine, but when you scroll down, its repeated. I have checked the code which looks OK.

MThornback
06-07-2006, 03:07 AM
All this did for me was put the List of which mod mods which forum at the bottom. Did I miss something?

brvheart
08-28-2006, 02:20 AM
will this work in 3.6?

Shazz
08-28-2006, 02:23 AM
will this work in 3.6?
Yes..

brvheart
08-28-2006, 02:32 AM
thank you :)

EragonSN
01-19-2007, 03:27 PM
thank you, works like charm with 3.6.4

Installed.

Pamela
02-29-2008, 04:45 AM
Does anyone know if this would work on 3.7.0? If not, any idea what edits would need to be made?

Thank you!!! :)


Update: Nevermind. Works perfectly on 3.7.0 Beta 5. :)

abdulbasitsaeed
04-17-2009, 04:45 PM
Thank you very much for this simple modification. It works perfectly with version 3.8.1 too. :)

jhon.vaught
06-04-2009, 12:51 AM
This doesn't work for me.

If you notice..

http://community.visionire.com/showgroups.php

I changed the code correctly and everything. Maybe there is a new code I can put? My Administrators are all at the bottom.