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:
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:
Find:
Code:
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&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> </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" /> </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
|