Thanks, I'll go try that.. I clicked an add to say thanks on your demo site too
Okay, I tried that and got the following error. If I take out your top line the error goes away. The error is:
Code:
The following error occurred when attempting to evaluate this template:
Unclosed Tag
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
This is for the line of code:
Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1">
Ok, fixed it..... it needed a / at the end so should read:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1"/>
However, it still ads an ad on the 2nd, 3rd posts too....