Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Make admins 'invisible' to users. Details »»
Make admins 'invisible' to users.
Version: 1.00, by FleaBag FleaBag is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 05-20-2002 Last Update: Never Installs: 21
 
No support by the author.

Credits
The code edits in this hack are soley the work of FireFly. Only the idea was mine, I just thought this might become useful to others as well as myself.

What does this hack do?
This hack removes the identity of the admins from public viewing [eg. they won't show as bold and italic on your Who's Online] - while retaining the status of the Moderators in both Who's Online and Forum Leaders. If like on my board, you wish to run your forums while appearing as a 'regular' user, this will come in useful. Personally I don't want to draw attention to myself or try to be of higher status than the rest of my users, for example I host forums for others and don't want to 'steal the thunder' from the moderators - this is the solution.

How hard is this hack to install?
This hack should be easy for anyone to install. If you can point, click, cut and paste - you're sorted.

Installation instructions...
Log into your Control Panel...

:: Click vBulletin Options.
Click 'FORUMS HOME PAGE OPTIONS'.
Set Highlight Admin to ON.

:: Click Modify under User Groups.
Edit your Administrators User Group.
Change User Status to "Registered".
Set Viewable on Show Groups? to NO.

:: Code edits.

In index.php, replace both...

PHP Code:
if ($loggedin['usergroupid'] == and $highlightadmin) { 
...with...

PHP Code:
if ($loggedin['usergroupid'] == and $highlightadmin and 'foo' == 'bar') { 
In online.php, replace...

PHP Code:
        if ($user['usergroupid'] == and $highlightadmin) {
          
$userinfo["$key"]['username'] = "<b><i>$user[username]</i></b>";
        } else if ((
$mod["$key"] or $user['usergroupid'] == 5)and $highlightadmin) { 
...with...

PHP Code:
        if (($mod["$key"] or $user['usergroupid'] == 5)and $highlightadmin) { 
That's all there is to it. I know this works in all 2.2.x versions and version 2.3.0.

There is a version of this hack here for users of the Who was on-line today hack.

Please click Install and leave comments if you've used this hack, it'd be nice to know if anyone else found this useful apart from me. I know this isn't for everyone, but if it is, enjoy! Again, thanks to FireFly.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 05-28-2002, 01:11 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by GamerForums
This hack removes the identity of the admins from public viewing [eg. they won't show as bold and italic on your Who's Online] - while retaining the status of the Moderators in both Who's Online and Forum Leaders.
Can you say confuse the enemy?
Reply With Quote
  #13  
Old 05-28-2002, 01:18 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I sure can, and you sure just confused me LOL.
Reply With Quote
  #14  
Old 02-25-2003, 07:51 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Confirmed working in all 2.2.x versions and 2.3.0.

There is a version of this hack here for users of the Who was on-line today hack.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04571 seconds
  • Memory Usage 2,248KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete