Quote:
Originally Posted by RyanFabbro
why wouldn't my recomendation of if condition postcount work for this?
|
Well, for one thing this doesn't work because you can't just list values like that:
Code:
<if condition="$post[postcount] == 1,15,29">
ad code
</if>
but maybe you were thinking of using in_array(), like:
Code:
<if condition="in_array($post[postcount], array(1,15,29))">
ad code
</if>
even so, I think $post[postcount] is the count of the post within the entire thread, and I think the OP asked about the posts on each page (so I think the condition above wouldn't show anything after the first page).