Jump to the post that solved this thread.
Solved: 4 Years, 11 Months ago Warning level in postbit
#1
Solved: 4 Years, 11 Months ago Question 
Hi,

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!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#2
Solved: 4 Years, 11 Months ago
You should be able to use Template Conditionals to accomplish this.
Reply
#3
Solved: 4 Years, 11 Months ago
I was thinking about this but I am not sure how to
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#4
Solved: 4 Years, 11 Months ago
^ template => postbit_warninglevel
<if intval($post['warningpoints']) > 0 then><br />{$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a></if>
Reply
#5
Solved: 4 Years, 11 Months ago
Thank you, works fine!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)