vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Admin Invisible on Who's Online...Even to other Admins!! (https://vborg.vbsupport.ru/showthread.php?t=38312)

Chris M 05-06-2002 02:17 PM

Admin Invisible on Who's Online...Even to other Admins!!
 
How would this be achieved?

I dont want certain Admins to know I am online, and be able to bug me, but I still want them to be able to see other invisible users...

Satan

Chris M 05-07-2002 06:58 PM

Come on?

Nobody?

Satan

N!ck 05-08-2002 12:58 AM

You really don't like your fellow admins, do you?

Neo 05-08-2002 01:34 AM

just a sec

Neo 05-08-2002 01:43 AM

find in index.php

PHP Code:

if ($loggedin['invisible'] == 1) { // Invisible User but show to Admin
        
$invisibleuser '*';
      }
      if (
$loggedin['usergroupid'] == and $highlightadmin) {
        
$username "<b><i>$loggedin[username]</i></b>"

and replace with

PHP Code:

      if ($loggedin['invisible'] == and $loggedin['userid']==1) { // Invisible User but show to Admin
        
$invisibleuser '';
      } else if (
$loggedin['invisible'] == 1) {
        
$invisibleuser '*';
      }
      if (
$loggedin['usergroupid'] == and $highlightadmin and $loggedin['userid']==1) {
          
$username "";
                  } else if (
$loggedin['usergroupid'] == and $highlightadmin) {
                      
$username "<b><i>$loggedin[username]</i></b>"

there you go...

Chris M 05-08-2002 10:25 AM

Thanks...

How would I change it to my Userid?

Change the userid==1 to userid==13?

Satan

irn-bru 06-04-2002 08:23 PM

Replace 1 with 13 :)

Chris M 06-05-2002 01:47 AM

Lol...

This thread is quite old...

Satan

willie3wire 09-23-2002 01:48 AM

Flaw with this solution. There's like a.. , , in place of your name, which they'd eventually pickup and as far as Whose online, you still appear there. Does anybody know how to Completely HIDE a single admin(user id =1) from Index.php AND whoseonline. Would like 2 hide from ALL admin but me.

MugenSi00 03-04-2003 05:11 AM

worked, but still shows the "," with nothing after in the active member list and the active member count still reflects being online. Who's online still shows the location the admin is at as well. Any ideas?


All times are GMT. The time now is 10:03 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.01043 seconds
  • Memory Usage 1,734KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete