First of all thank you for this hack.
I have a banner on the navbar and I want it to be different in different forums. I put this code in the navbar template:
PHP Code:
<if condition="in_array($forumid, array(104))"><ad what="zone:43"/>
<else /><ad what="zone:37" />
In this way I'll have zone:43 in forum 104, and zone:37 anywhere else.
Now I want, for example, to put zone:44 in forum 105 and zone:43 in forum 104 and zone:37 anywhere else. But if I put his code in the template:
PHP Code:
<if condition="in_array($forumid, array(104))"><ad what="zone:43"/>
<else /><ad what="zone:37" />
<if condition="in_array($forumid, array(105))"><ad what="zone:44"/>
<else /><ad what="zone:37" />
I will have two banners in the other forums (two zone:37 are showing up).
Can somebody please tell me how to solve this problem?