vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hide Admin from Online page (https://vborg.vbsupport.ru/showthread.php?t=98759)

q8manar 10-19-2005 08:01 AM

Hide Admin from Online page
 
Is there any way to hide the name of Admin (userid=1) from online user page

I don't want to display specfic user on online page
becuase I don't want any user to see the admin what is he doing now ?

is there any modifcation need in any template

zagman76 10-19-2005 08:44 AM

Quote:

Originally Posted by q8manar
Is there any way to hide the name of Admin (userid=1) from online user page

I don't want to display specfic user on online page
becuase I don't want any user to see the admin what is he doing now ?


is there any modifcation need in any template

in the userCP, there is the option of making yourself invisible. as long as you have other usergroups set to not have the ability to see invisible users, you should be all set.

Boofo 10-19-2005 09:16 AM

Quote:

Originally Posted by q8manar
Is there any way to hide the name of Admin (userid=1) from online user page

I don't want to display specfic user on online page
becuase I don't want any user to see the admin what is he doing now ?


is there any modifcation need in any template

Easy. In the whosonlinebit template, at the very top put:

Quote:

<if condition="$userinfo['userid'] != '1'">
and at the very bottom put:

Quote:

</if>
;)

q8manar 10-19-2005 09:58 AM

Quote:

Originally Posted by zagman76
in the userCP, there is the option of making yourself invisible. as long as you have other usergroups set to not have the ability to see invisible users, you should be all set.


Thank you zagman76

I know that :)

Quote:

Originally Posted by Boofo
Easy. In the whosonlinebit template, at the very top put:



and at the very bottom put:



;)


Thanks alot alot alot

that what I need

:up:

weaver 10-19-2005 10:04 AM

How do you remove the excluded person from the count?

Boofo 10-19-2005 10:35 AM

Quote:

Originally Posted by weaver
How do you remove the excluded person from the count?

That would take file edits, I think.

Mungky 02-16-2007 06:10 PM

Quote:

Originally Posted by Boofo (Post 799401)
Easy. In the whosonlinebit template, at the very top put:

Quote:

<if condition="$userinfo['userid'] != '1'">

and at the very bottom put:

Quote:

</if>

I would love to implement this except have it apply to specific usergroups. If that's possible, could some PHP-savvy soul please provide the correct code for the initial block?

Many thanks in advance!


All times are GMT. The time now is 09:22 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.01084 seconds
  • Memory Usage 1,729KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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