OK, it took a little work, but I think I've figured this out.
For the purpose of illustration, I'll use these infraction point levels:
<3 being green
3 - 5 being yellow
6 - 9 being orange
10 - 12 being red
13+ would display your "banned" icon.
First, edit your postbit (or postbit_legacy) template to add the line in red:
You'll need to adjust the path to the images, and probably adjust which infraction levels trigger the relevant color-coded images. If you want the images to trigger on the user's number of infractions instead, then use $post[infractions] instead of $post[ipoints] in the if's above.
Save the plug-in.
Tested on 3.8.6 PL1. The above code works even if the "Display infractions" setting in post #2 is turned off. :up:
wooooooooooooooooooooooooooooooooooooooooooooooooo ooooooooooooooooooow
I am very thankful Mr JamesC70
Its working. Thanks a loooooooooooooooooooooooooooooooooooooot!!!!