2014-01-11, 10:51 AM
Clean value is $post['reputation'].
You can download Template Conditionals: http://mybbhacks.zingaburga.com/showthread.php?tid=464, then upload both .txt and .php file to inc/plugins, activate and use this code in postbit templates:
Upload images to your theme folder.
You can download Template Conditionals: http://mybbhacks.zingaburga.com/showthread.php?tid=464, then upload both .txt and .php file to inc/plugins, activate and use this code in postbit templates:
<img src="<if $post['reputation'] < 0 then>{$theme['imgdir']}/rep_neg.png" alt="Bad" title="Bad<elseif $post['reputation'] == 0 then>{$theme['imgdir']}/rep_neu.png" alt="Neutral" title="Neutral<else>{$theme['imgdir']}/rep_pos.png" alt="Good" title="Good</if>" />
Upload images to your theme folder.