Back to vBulletin 4.x Template Modifications

Hide Administrator in "Who is Online" and "Profil stats"
Mod Version: 1.00, by Allan

vB Version: 4.0.0 Rating: (2 votes - 4.50 average) Installs: 27
Released: 15 Dec 2009 Last Update: Never Downloads: 0
Not Supported Template Edits  

This mod hides the presence of the administrator to members.
  • In the "whosonlinebit" template (Who is online ?), add on the top:
PHP Code:
<vb:if condition="$userinfo['userid'] != 1"
  • Add, in the same template, at the bottom:
PHP Code:
</vb:if> 
  • In the "memberinfo_block_aboutme" template, find:
PHP Code:
<vb:if condition="$prepared['action']">
    <
dl class="stats">
        <
dt>{vb:rawphrase current_activity}</dt>
        <
dd> {vb:raw prepared.action} {vb:raw prepared.where}</dd>
    </
dl>
    </
vb:if> 
  • Replace with:
PHP Code:
    <vb:if condition="$userinfo['userid'] != 1">
    <
vb:if condition="$prepared['action']">
    <
dl class="stats">
        <
dt>{vb:rawphrase current_activity}</dt>
        <
dd> {vb:raw prepared.action} {vb:raw prepared.where}</dd>
    </
dl>
    </
vb:if>
    </
vb:if> 
  • in the "memberinfo_block_ministats" template , find:
PHP Code:
<vb:if condition="$prepared['action']">
    <
dl class="stats">
        <
dt>{vb:rawphrase current_activity}</dt>
        <
dd> {vb:raw prepared.action} {vb:raw prepared.where}</dd>
    </
dl>
    </
vb:if> 
  • Replace with:
PHP Code:
        <vb:if condition="$userinfo['userid'] != 1">
        <
vb:if condition="$prepared['action']">
    <
dl class="stats">
        <
dt>{vb:rawphrase current_activity}</dt>
        <
dd> {vb:raw prepared.action} {vb:raw prepared.where}</dd>
    </
dl>
    </
vb:if>
    </
vb:if> 
  • in the "memberinfo_block_statistics" template , find:
PHP Code:
<vb:if condition="$prepared['action']">
        <
dl class="stats">
            <
dt>{vb:rawphrase current_activity}</dt>
            <
dd> {vb:raw prepared.action} {vb:raw prepared.where}</dd>
        </
dl>
        </
vb:if> 
  • Replace with:
PHP Code:
<vb:if condition="$userinfo['userid'] != 1">
        <
vb:if condition="$prepared['action']">
        <
dl class="stats">
            <
dt>{vb:rawphrase current_activity}</dt>
            <
dd> {vb:raw prepared.action} {vb:raw prepared.where}</dd>
        </
dl>
        </
vb:if>
        </
vb:if> 

Download

No files for download.

Screenshots

Click image for larger version
Name:	aboutme.gif
Views:	969
Size:	4.7 KB
ID:	107566   Click image for larger version
Name:	ministats.gif
Views:	951
Size:	17.2 KB
ID:	107567   Click image for larger version
Name:	wol.gif
Views:	804
Size:	6.4 KB
ID:	107568  

Similar Mods

Mini Mods Hide Admin in "Who is Online" and "Profil" vBulletin 3.7 Template Modifications
Hide Admin in "Who is Online" and "Profil" vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024