vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Keep Admin From Showing on Forum Leaders Page? (https://vborg.vbsupport.ru/showthread.php?t=33546)

Destee 12-27-2001 12:43 PM

Hello Everyone,

I have an additional admin username that I use when working/browsing (cloaked) my forum and never post using it. I'd like for it to not show up on the Forum Leaders page.

Is there a way for me to maintain this username as an admin, but not display it on the Forum Leaders page?

Firefly suggested I ask over here. Any advice on how to make this happen would be greatly appreciated.

Destee

nuno 12-27-2001 12:48 PM

CP » User Groups » Modify » Administrators » [edit] » Viewable on Show Groups? » Set it to NO

Destee 12-27-2001 12:55 PM

Thanks for your response Nuno, sorry for not making myself more clear. I don't want to disable the feature for all admins, only one. Firefly said there would be some hacking involved (showgroups.php).

nuno 12-27-2001 01:04 PM

oh i c
yes then its a hack :D

amykhar 12-27-2001 01:06 PM

Couldn't the extra testing admin be put in a new usergroup that doesn't show on the forum leaders page? Then, you just give that new user group admin priveleges.

Amy

Destee 12-27-2001 01:24 PM

Nuno, if all else fails, your suggestion may be used. Everyone knows I'm the admin, so there's really no need (other than my ego) that I be listed on that page.

Amy, I've not created a new usergroup before. I'm going to play with it now and see if I can resolve this.

Thanks both of you.

Destee

Admin 12-27-2001 01:29 PM

Hi Destee, remember me? :)

Anyhow, in showgroups.php, replace this:
Code:

                LEFT JOIN userfield ON (userfield.userid = user.userid)
                WHERE usergroup.showgroup = 1

with the following:
Code:

                LEFT JOIN userfield ON (userfield.userid = user.userid)
                WHERE usergroup.showgroup = 1[high] AND user.username<>'YOUR_NAME'[/high]

Replace YOUR_NAME with the hidden admin's username, and that's it.

Destee 12-27-2001 01:44 PM

Haaaay Firefly !! Yesss I remember you !!

This works perfectly! Thank You Very Much! :)

Thanks Everyone.

Destee


All times are GMT. The time now is 09:03 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.01869 seconds
  • Memory Usage 1,715KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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