Version: 1.00, by private_ale
Developer Last Online: Nov 2023
Category: Miscellaneous Hacks -
Version: 3.7.x
Rating:
Released: 01-24-2009
Last Update: Never
Installs: 21
Template Edits
Re-useable Code Code Changes Additional Files
No support by the author.
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!
<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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
take this part of the code OR is_member_of($post, 7) and copy it and paste it right next to it, and then change the 7 to 19 and it will work.
You just don't have this part added, which is why it is not showing up.
sorry, not understanding this.... you know i want (for now) a shield for admin/mod (which works) and a different shield for VIP's (which are in usergroup 19)
sorry, not understanding this.... you know i want (for now) a shield for admin/mod (which works) and a different shield for VIP's (which are in usergroup 19)
thanks.
For a shield for VIPs, upload the image to the same directory that you did it for the "staff" shield, and edit the code to point to the VIP shield. However, I am not that gread with coding to say exactly how to do it, but I know that is the general process.
what's your forum, can i check it out how it looks ? when i put your code in everybody has both shields and the username appears twice..
Well that isnt the code I used. I just took your code and modified it to include what you were missing. Unfortunately I am not good with coding (still learning) so I wouldnt begin to know the code to point to your vip shield.
My webmaster should know. I sent him a link to this thread.