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)
-   -   Simple Modification: Hide your name in the Forum Leaders. (https://vborg.vbsupport.ru/showthread.php?t=135503)

GNeRaL 01-03-2007 10:00 PM

Simple Modification: Hide your name in the Forum Leaders.
 
If you have an admin waiting for emergency and If you want to not to show him in forum leaders, follow these steps:


Learn your user ID, like 1.

Open your showgroups.php3 (or showgroups.php) @ www root:

Find (line: 120):
PHP Code:

if ($user['userid']) 



Change to:
PHP Code:

if ($user['userid'] != 1




and Save...

Marco van Herwaarden 01-04-2007 10:25 AM

...or put them in a seperate usergroup that is not set to show on Forum Leaders ;)

Dawnf1 01-04-2007 05:52 PM

I have 2 admins who just do techincal stuff for me and who don't want to be bothered by members about other stuff, so I wanted to take them off the forum leaders page. I made a seperate usergroup for them, and this removed them from the forum leaders page, only for some reason that group can't view some things it ought to be able to that everyone else can see. (various hacks/modifications).
I like the modification you have here, but can I use it for 2 members? And if so, how...?

GNeRaL 01-04-2007 07:01 PM

Quote:

Originally Posted by Dawnf1 (Post 1150755)
I have 2 admins who just do techincal stuff for me and who don't want to be bothered by members about other stuff, so I wanted to take them off the forum leaders page. I made a seperate usergroup for them, and this removed them from the forum leaders page, only for some reason that group can't view some things it ought to be able to that everyone else can see. (various hacks/modifications).
I like the modification you have here, but can I use it for 2 members? And if so, how...?

For 2+ admins,

Change it to:
PHP Code:

if ($user['userid'] != and $user['userid'] != and $user['userid'] != 3


Dawnf1 01-04-2007 07:26 PM

thanks :)
it worked a treat.

GNeRaL 01-04-2007 07:45 PM

Quote:

Originally Posted by Dawnf1 (Post 1150836)
thanks :)
it worked a treat.

You're welcome, Have fun ;)

asj 01-05-2007 12:28 PM

thanks

GNeRaL 01-07-2007 05:59 PM

Quote:

Originally Posted by asj (Post 1151291)
thanks

You're welcome. ;)

Gato 11-09-2010 07:59 AM

And for 3.8.x version?? I canĀ“t find a solution for this version.


All times are GMT. The time now is 10:47 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.01095 seconds
  • Memory Usage 1,731KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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