vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Mini Mods - Hide Admin in "Who is Online" and "Profil" (https://vborg.vbsupport.ru/showthread.php?t=179115)

Allan 05-12-2008 10:00 PM

Hide Admin in "Who is Online" and "Profil"
 
Hide Admin in "Who is Online" and "Profil"


Description: Hide Admin in "Who is Online" and "Profil"
Recommandation: Install this plugin so: https://vborg.vbsupport.ru/showp...05&postcount=4 ;) (no tested for vB 3.7)

PS: Only User ID1 with this condition ^^
  • In the "MEMBERINFO" template (profil), find:
Code:

<if condition="$prepared['action']">
                            <span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
                        </if>

  • Remplace by:
Code:

<if condition="$userinfo['userid'] != 1">
                        <if condition="$prepared['action']">
                            <span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
                        </if></if>

  • In the "memberinfo_block_statistics" template (profil), find:
Code:

<if condition="$prepared['action']">
                <li><span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]</li>
            </if>

  • Replace by:
Code:

<if condition="$userinfo['userid'] != 1">
            <if condition="$prepared['action']">
                <li><span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]</li>
            </if>
</if>

  • In the "whosonlinebit" template (who is online), add to the top:
Code:

<if condition="$userinfo['userid'] != 1">
  • And bottom, add:
Code:

</if>

whitetigergrowl 05-13-2008 08:13 PM

Wouldn't being invisible accomplish the same thing?!

SwollenCranium 05-13-2008 10:24 PM

Quote:

Originally Posted by whitetigergrowl (Post 1518706)
Wouldn't being invisible accomplish the same thing?!


Not to mention 100X easier.

choccyclaire 05-14-2008 11:35 AM

^ But I'm guessing some forum owners want moderators to see other members that are invisible but they don't want them same mods to see they are invisible.

Boofo 05-14-2008 12:05 PM

Plus it doesn't let your mods or anyone else know where you are at on the site. I've been doing this for years on my site.

whitetigergrowl 05-14-2008 12:43 PM

I still thought there was a setting for this already where mods could or could not see whos invisible. I always have it so they can't see who's invisible. Making it so only admins can see who's invisible...if you have more than 1. But I usually never give people the same powers I have anyways. For obvious reasons.

Dev.Sun 05-21-2008 09:57 AM

Oh. if you have more admin and you must add more id at here
Code:

<if condition="$userinfo['userid'] != 1">
you can change userid to usergroup
Group Admin have id = 6

carrlos 05-31-2008 03:23 AM

You can also include "Last activity"!!! Installed!

Charlie98902 06-12-2008 01:10 AM

So if I wanted Super Mods only to be able to see admins would it look like this :

Code:

<if condition="$userinfo['group'] != 6"> != 5">
or

Code:

<if condition="$userinfo['group'] != 6" 5">

Darkfire122333 06-12-2008 07:32 AM

Code:

<if condition="$userinfo['group'] != 6,5">
I believe that is correct


All times are GMT. The time now is 11:37 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.01119 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (1)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