The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there a way of finding out if there's only one post on a page within the template? I have an ad displaying underneath the first post and another after the last post. When there is only 1 post on the page there's 2 ads after each other, which doesn't look good.
TIA |
#2
|
||||
|
||||
![]()
Try this for the conditional for the banner after the first post. What it says is: "if this is the first post and not the last, then do this."
Code:
<if condition="$post[postcount]==1 AND !$post['islastshown']"> your ad code </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|