PDA

View Full Version : Thread Rating Conditional


Daniel
02-05-2015, 08:35 AM
Hey!

Can someone fix this conditional for me?

<vb:if thread rating = "more than 3">This thread has a rating average of at least 3</vb:if>

and/or

<vb:if thread rating = "3,4,5">This thread averages 3, 4, or 5 stars</vb:if>

Black Snow
02-05-2015, 08:50 AM
What about:
<vb:if thread rating >= "3">This thread has a rating average of at least 3</vb:if>

nerbert
02-05-2015, 12:37 PM
Try this :

<vb:if condition="$thread['rating'] >= 3">.....................................</vb:if>