Highlight Posts that have infractions.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74132

    [vB 3.7] Highlight Posts that have infractions.

    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 Code:
             <div id="post_message_$post[postid]">
    Change it to:
    HTML Code:
            <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.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...