Heisenberg submitted a new resource:
You must be registered for see links
- Show ads for last post on page only when there are more than X repliesvB Version: 4.x.x
By default the ad in the last post will show if there are 2 posts on a page. This results in two successive, often cluttered looking ads. Alternatives if statements to this did not account for multi-page threads where 2 posts were on a page.
Here is the solution:
In postbit find
Code:<vb:if condition="$post['islastshown']">
replace with
Code:<vb:if condition="$post[postcount] % $vboptions[maxposts] > 2 OR...
You must be registered for see links
Last edited: