PDA

View Full Version : User post count help


dashed
04-15-2007, 07:56 AM
<if condition="$post['posts'] > 1000">
1k post reward goes here
</if>
<if condition="$post['posts'] > 2000">
2k post reward goes here
</if>



I'm trying to do this test code in the postbit template.

But I know it's the wrong one because the $post['posts'] variable is already formated with the comma and therefore is a string. However, is there a variable that doesn't come with comma formated?

Marco van Herwaarden
04-15-2007, 08:13 AM
See:
http://www.vbulletin.com/forum/showpost.php?p=1079780&postcount=18

dashed
04-15-2007, 11:39 PM
Thank you for this.