vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Admins on top of the Showgroup.php (https://vborg.vbsupport.ru/showthread.php?t=91246)

flup 06-27-2005 10:00 PM

Admins on top of the Showgroup.php
 
++ 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

Quote:

Originally Posted by Allan
screen ?

Sure hold on will be in the first post.

Allan 06-29-2005 10:06 AM

Quote:

Originally Posted by flup
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

Quote:

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
Code:

$usergroups
above the
Code:

<if condition="$moderatorbits">
OR

You can also remove the entire moderators bit by removing the following code:
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

Quote:

Originally Posted by iguanairs
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

Quote:

Originally Posted by iguanairs
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

Quote:

Originally Posted by brvheart
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.


All times are GMT. The time now is 08:13 PM.

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.01241 seconds
  • Memory Usage 1,758KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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