Highlight Posts that have infractions.

Hoxxy

New Member
To make posts containing existing infractions easier to see, you can highlight the text using CSS and a different background color. This is how you can achieve this effect:

First edit your postbit template and find this line:

HTML:
<div id="post_message_$post[postid]">

Change it to:
HTML:
<div <if condition="$show['redcard'] || $show['yellowcard']">class="post_infraction"</if> id="post_message_$post[postid]">

Then go to MainCSS and in the second Additional CSS Definitions box (bottom most box)

add:
Code:
.post_infraction {
  background-color: #FFCCFF;
}

Any post with a current infraction or warning would be shown with a light red or pink background making it easy to identify by staff members who can see infractions.

Enjoy :)
 
Top