Quote:
Originally Posted by DanTHEGREAT
Its not a modification. Every 20 posts a member makes creates 1 raffle ticket SO, ...
|
You don't say if you're using vb3 or vb4, but in vb3 although you can't put php in a template, you can cheat by using the side-effect of a condition, like
Code:
<if condition="$post['tickets'] = (int)($post['posts'] / 20)"></if>
Total raffle tickets = $post[tickets]
The same thing might work in vb4 with the appropriate tags, I don't know - or maybe there's a better way to do it in vb4.