MyBB Community Forums

Full Version: Warning level in postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I need to show warning level in postbit only when it is higher than 0 %. If there is no warning level -> hide it. Is that possible? Thank you!
You should be able to use Template Conditionals to accomplish this.
I was thinking about this but I am not sure how to
^ template => postbit_warninglevel
<if intval($post['warningpoints']) > 0 then><br />{$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a></if>
Thank you, works fine!