Version: 1.00, by UltimateOreo!
Developer Last Online: Dec 2009
Category: Miscellaneous Hacks -
Version: 3.8.x
Rating:
Released: 07-19-2009
Last Update: Never
Installs: 69
Template Edits
Re-useable Code Translations
No support by the author.
Support will only be given in this thread to those who clicked install!
Inspired by a popular 4chan feature, this is a great way to show what is and what is not acceptable on your forums. If the entire community can see what what they can get an infraction for, there are less likely to do it.
It's a very simple modification. If a user is given an infraction, it will display the respective text underneath the post, but above the signature. Same if the user is only given a warning. It will not edit or alter any other part of the postbit.
If you don't like the colors, they can be easily changed with either simple HTML knowledge or "googling" hex codes.
<if condition="$post['infraction'] == 2">
<div class="moder-warning"><b>(USER RECEIVED AN WARNING FOR THIS POST)</b></div>
</if>
<if condition="$post['infraction'] == 1">
<div class="moder-infraction"><b>(USER RECEIVED A INFRACTION FOR THIS POST)</b></div>
</if>
Save.
3. Go to Styles & Tempates->Style Manager->Main CSS->
Add in "Additional CSS Definitions" :
Code:
.moder-infraction,.moder-warning{margin:2em;margin-left:auto;margin-right:auto;width:70%!infraction;min-height:40px;clear:both;text-align:justify;vertical-align:middle;border-collapse:collapse;padding:15px 20px 15px 80px;background-position:20px 50%;background-repeat:no-repeat;-moz-border-radius:20px;-khtml-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;}
.moder-infraction{background-color:#ffc;background-image:url(images/infractions/infraction.png);}
.moder-warning{background-color:#fdd;background-image:url(images/infractions/warning.png);}
==== klaush, this is vB original specific for only "warning", because infraction is a small inaccuracy user.. notice.. only notice. If user reaches X points eg infraction for the warning, it will remain in post.
3. Go to Styles & Tempates->Style Manager->Main CSS->
Add in "Additional CSS Definitions" :
Code:
.moder-infraction,.moder-warning{margin:2em;margin-left:auto;margin-right:auto;width:70%!infraction;min-height:40px;clear:both;text-align:justify;vertical-align:middle;border-collapse:collapse;padding:15px 20px 15px 80px;background-position:20px 50%;background-repeat:no-repeat;-moz-border-radius:20px;-khtml-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;}
.moder-infraction{background-color:#ffc;background-image:url(images/infractions/infraction.png);}
.moder-warning{background-color:#fdd;background-image:url(images/infractions/warning.png);}
Hello and thanks for the mod but this CCS addition is giving errors in the W3C validator:
Value Error : width Lexical error at line 410, column 91. Encountered: "n" (110), after : "!i" 70%nfraction;