hilaryl
03-25-2015, 12:44 AM
Hi everyone,
Fairly sure this is a simple request, but can't quite figure out how to do it.
I want to include a conditional statement in a users postbit if the user has made more then X posts. I know I can get the total number of posts from the user using this {vb:raw post.posts}
That returns a number like 1,784
How can use that variable in a conditional though?
Essentially 'if {vb:raw post.posts} > 1000' Do this.....
Can anyone help out? What's the correct syntax?
Cheers,
hilaryl
Fairly sure this is a simple request, but can't quite figure out how to do it.
I want to include a conditional statement in a users postbit if the user has made more then X posts. I know I can get the total number of posts from the user using this {vb:raw post.posts}
That returns a number like 1,784
How can use that variable in a conditional though?
Essentially 'if {vb:raw post.posts} > 1000' Do this.....
Can anyone help out? What's the correct syntax?
Cheers,
hilaryl