![]() |
Simple Staff Shield
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:For Postbit (horizontal) Users: Open Template:Additional Instructions: FAQ's: 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. |
Although I included the shield in the first post, it is small against the screenshots, so in case anyone misses it I will include it again here.
|
awesome, thanks
|
I amended this slightly to separate the icon from the javascript that opens the drop-down menu when you click on a username, and to make the icon link to my staff page (staff.php). I also added a second icon for site supporters, this time linking to the subscriptions page (payments.php). There's a not-condition included because I only want one icon to display but you could remove this. Here is the code I used, where 28 is my usergroup for subscribers and the icons were uploaded to my images/misc folder:
Code:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> |
nice :) i like it < installed > but why i can't download in attach ?
in the posts attach not yours |
Quote:
________ SEX TUB |
Working great for me...thanks! :up:
|
Quote:
|
I played around with this idea and decided to use several icons for various functions/features and to place them all in a box below the avatar. Here's the code, where the icons are all from the famfamfam silk collection and the usergroup numbers may differ from yours. I also have a "postinfo" class to box the icons and I've moved a lot of the default or additional postbit information into the icons area, such as my photoplog images, blogs, staff page and subscriptions. Hopefully it makes sense.
Code:
<div class="postinfo" align="left" valign="middle">Info: |
*INSTALLED*
Thank you for the neat fix. |
Quote:
Might have to 'borrow' this code for my site ;) Thanks for sharing! |
Questuion:
Does this show up next to their user name on the index page as well? That is what I am looking to do so that I can distinguish the difference between these folks who are in a different user group. Thanks K-bar |
Quote:
No, just in the postbit. I suppose what you could do for what you want is to simple paste Code:
<img class="inlineimg" src="images/icons/shield.png" alt="User is a ##YOUR FORUM## Moderator" border="0" /> |
O have done this, but where do I get the image at? It is not attached, and I see a few posts that shows attached images, but I cant do anything with them....
|
figured out how to do 2 shields, unfortunately... clicking on them does not yet what i want.
Code:
<if condition="is_member_of($post, 6) OR is_member_of($post, 7)"><table cellpadding="0" cellspacing="0" border="0"><tr><td><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> |
Quote:
|
using this code:
Code:
<if condition="is_member_of($post, 6) OR is_member_of($post, 7)"><table cellpadding="0" cellspacing="0" border="0"><tr><td><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> what's wrong with my code ? :confused: |
nobody ? i've been staring at the code for 4-5 hours with out any luck.....
|
Quote:
You just don't have this part Quote:
|
Quote:
thanks. |
HTML Code:
<if condition="is_member_of($post, 6) OR is_member_of($post, 7) OR is_member_of($post, 19)"><table cellpadding="0" cellspacing="0" border="0"><tr><td><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> |
Quote:
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. |
sorry.... it's not working :(
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.. |
Quote:
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. |
thanks....
others are welcome to jump in, would like to get this working so i can move on to the next cool mod :} c'mon folks. |
nevermind, i switched to using YAAS.
|
All times are GMT. The time now is 04:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|