PDA

View Full Version : If the message has answers I do not want to display the banner


jorgejgm
07-01-2010, 05:43 PM
Hello,

Would greatly appreciate any help.

Use the following code to display banners in the number of post I want:

<if condition="(($post[postcount] % $vboptions[maxposts] == 2)) and ($show['guest']) and ($postcount!=1)">
<span style="margin: 0px; float: left;">
-banner code-
</span>
</if>

Now I need a banner to be displayed in the first message (Thread) but on the condition that only if that message has no Responses.

If the message (Thread) has answers I do not want to display the banner.



Regards.