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)
-   -   Hide Admin in "Who is Online" and "Profil" (https://vborg.vbsupport.ru/showthread.php?t=135767)

Allan 01-06-2007 10:00 PM

Hide Admin in "Who is Online" and "Profil"
 
Hide Admin in "Who is Online" and "Profil"
(Compatible with All vB3.6)


Description: Hide Admin in "Who is Online" and "Profil"
Recommandation: Install this plugin so: https://vborg.vbsupport.ru/showpost....05&postcount=4 ;)
  • In the whosonlinebit template, to the top, add:
PHP Code:

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

  • In the same template, at the bottom, add:
PHP Code:

</if> 

  • In the memberinfo template, find:
PHP Code:

<if condition="$show['lastactivity']"

  • Add before:
PHP Code:

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

  • In the same template, find:
PHP Code:

<div>$userinfo[action$userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div

  • Add after:
PHP Code:

</if> 

PS: If you use this mod, click on Install please :)


ConqSoft 01-07-2007 08:37 AM

You can just make yourself invisible to accomplish the same thing.... It's built in.

my3shadows 01-09-2007 03:19 AM

Quote:

Originally Posted by ConqSoft (Post 1152476)
You can just make yourself invisible to accomplish the same thing.... It's built in.

Yes, but what if you have a usergroup that you've allowed to see invisible people, but you don't want them to see you? Isn't that what this is for?

G_Man 01-09-2007 03:53 AM

Quote:

Originally Posted by my3shadows (Post 1154256)
Yes, but what if you have a usergroup that you've allowed to see invisible people, but you don't want them to see you? Isn't that what this is for?

Exactly. I have asked about this before and never gotten so much as a reply.

Very Nice.

Allan 01-10-2007 07:38 AM

Recommandation: Install this plugin so: https://vborg.vbsupport.ru/showpost....05&postcount=4 ;)

RFViet 01-11-2007 02:08 PM

So, supermod and mod won't see admin on who's online ??

rjmjr69 01-27-2007 08:28 AM

Are there any install instructions for the one you posted Allen?

G_Man 01-29-2007 12:57 AM

I installed this and... well... nothing.

Odd.

Was wondering if this would cause the Admin to not show up on forumehome, either (assuming I can get it to work at all)...

brvheart 01-29-2007 01:35 AM

thank you :) *installs*

PinkDaisy 02-12-2007 02:19 PM

I'm wondering about this...
If you have a custom profile field that users/admin can fill out, how do you get that to show up as their 'location' instead of hiding them or their real location, know what I mean ?? What code would you use to make that happen instead of hiding them ??

Thanks in advance!


All times are GMT. The time now is 12:57 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.01107 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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