PDA

View Full Version : if condition="$forum[forumid] != not working!


Ghostt
07-01-2010, 05:38 PM
<a class="p1" href="showthread.php?t=$thread[realthreadid]" ><img src="<if condition="$forum[forumid] != 669">http://example.com/thumb.php?url=</if>$thread[thumbnailurl]" title="&nbsp;" alt="Loading..." width="56" style="max-height: 82px;"/></a>






why is is the important <if condition="$forum[forumid] != 669">Conditional part not working?

if the user is in the forum 669 in the forumdsplay.php the part with the thumbnailurl "http://example.com/thumb.php?url=" shouldnt be shown..

can you help here?

Speysider
07-01-2010, 05:44 PM
Try:
<if condition="!$forum[forumid] = 669">

Ghostt
07-01-2010, 05:59 PM
Try:
<if condition="!$forum[forumid] = 669">

i have tested this. its make the oposite... all forum havent the thumb url.

if its needed: the code is placed in the threadbit template.

i cant understand why it isnt working oO