Back to vBulletin 3.7 Template Modifications

Simple Staff Shield
Mod Version: 1.00, by private_ale

This modification is in the archives.
vB Version: 3.7.x Rating: (2 votes - 5.00 average) Installs: 21
Released: 25 Jan 2009 Last Update: Never Downloads: 2
Not Supported Template Edits Code Changes Additional Files Re-usable Code  

Simple Staff Shield
<:-----------------------:>

Make your staff stand out!
Simple Staff Shield adds a small 16x16 golden shield to your staff's postbit.
Simple Staff Shield helps bring authority to you and your staff like a shield does to a real life police officer!

For Postbit Legacy (vertical) Users:
Open Template:
Code:
postbit_legacy
Find:
Code:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
Replace with:
Code:
<if condition="is_member_of($post, 5) OR is_member_of($post, 6)"><table cellpadding="0" cellspacing="0" border="0"><tr><td><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a></td><td valign="middle"><img src="images/icons/shield.png" alt="User is a ##YOUR FORUM## Moderator" border="0" /></td></tr></table><else /><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a></if>
For Postbit (horizontal) Users:
Open Template:
Code:
postbit
Find:
Code:
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
Add BEFORE:
Code:
            <if condition="is_member_of($post, 5) OR is_member_of($post, 6)"><img class="inlineimg" src="images/icons/shield.png" alt="User is a ##YOUR FORUM## Moderator" border="0" /> &nbsp;</if>
Additional Instructions:
  • Upload the "shield.png" icon to your images/icons folder
  • Change ##YOUR FORUM## to your forum's name. (only one instance per postbit)
FAQ's:
  • How can I add/remove groups that this gets assigned to?
    • In:
      Code:
      <if condition="is_member_of($post, 5) OR is_member_of($post, 6)">
      add or remove the
      Code:
      OR is_member_of($post, X)
      where X is the usergroup number.
Things to Note:
The current usergroups this is assigned to are 5 and 6 which are Super Moderators and Administrators. You can add or remove usergroups with the instructions above.

Download

No files for download.

Screenshots

Click image for larger version
Name:	shield1.png
Views:	631
Size:	22.3 KB
ID:	93445   Click image for larger version
Name:	shield2.png
Views:	402
Size:	22.5 KB
ID:	93446  

Similar Mods

Very Nice Shield Staff Avatars 100x100 vBulletin Avatar Sets
Shield-Smilie as BB-Code without Hacking! vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024