RustedBucket
02-25-2005, 10:14 PM
Here's the conditional I'm using to make banner ads appear between the first and second post on each page.
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
What would I need to change to not do this if there is only one post on the page. (ie: If there are 10 posts per page, then on page 1 I don't want the ad to display until someone posts a second ad, likewise, on page two, if post #11 is the only one on the page I do not want to display the add, until #12 is added.) That make sense at all? Is this possible without major effort?
Thanks
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
What would I need to change to not do this if there is only one post on the page. (ie: If there are 10 posts per page, then on page 1 I don't want the ad to display until someone posts a second ad, likewise, on page two, if post #11 is the only one on the page I do not want to display the add, until #12 is added.) That make sense at all? Is this possible without major effort?
Thanks