Quote:
Originally Posted by Silviu
Well, the thing is that I'm trying to use the postbit_legacy ad location to show one ad code in a particular section and another for the rest of the forum (the ads are displayed as the last post in a thread).
So my code looks like this:
HTML Code:
<if condition="$forumid == 22">
<div align="left">
{first ad script}
</div>
<else />
{second ad script}
</if>
But the conditional doesn't work, and both ads are displayed everywhere
Later edit: I also tried <if condition="$thread['forumid'] == 22">, but it doesn't work either.
|
you must edit ad_postbit_below if you want use the condition in postbit&postbit_legacy
just put the code in template ad_postbit_below betwen
<if condition="$thread['forumid'] == 22"> and </if>