RedTyger Website Design, Hosting and Domains

Conditionals dont work .

In Discussion , Project Tools , vB Ad Management , Bug .

I try to work with condinitionals on my site but dont work

Category: Unknown
Affected Version: 4.02
Priority: Unknown
Type: Unconfirmed
Fixed Version: (none)

Subscribe to this issue 115 Conditionals dont work by chiflaos.

Hi,

I try this code and dont work.

I use this in the Postbit adcode:


Code:
<if condition="in_array($forum, array(3,37,22,23,24,25,38,26,43,44,45,46))">xxx add 1|xxx add 2|xxx add 3|xxx add 4<else />normal add 1|normal add 2|normal add 3</if>
And this in the Header adcode:

Code:
Code:
<if condition="in_array($forum, array(3,37,22,23,24,25,38,26,43,44,45,46))">xxx add 1|xxx add 2|xxx add 3|xxx add 4</if>
With this 2 codes, I dont get any header add on my forum, and with the postbit only shows the normal adds (also in the xxx forums only show normal adds).

I try to change the code "$forum" to "$forumid", but still the same.

"3,37,22,23,24,25,38,26,43,44,45,46" this are the ids of my xxx forums, I want xxx adds on that forums, and in the rest normal adds...

I have 4.02 version working on 3.6.8 Level 2.

Submitted at 17:41, 25th January, 2008.

Are you able to reproduce this bug?