Hello I want to show a "button" to guests of "particular forum" only. I tried this <vb:if condition="in_array($forum['forumid'], array(4,12,36))"> (it has to show button to forum with id's 4 , 12 ,36. But it is not working in vb4 at all.The guests condition is working though.(show[guests]). Similar condition in vb3 is working properly. Help appreciated. Regards
Where are you placing this code exactly? EDIT: Here is a link to vBulletin 4 Template Conditionals List
If you want you can post your code here and tell me where exactly you want it. &what code you want showing.
In forumdisplay {vb:raw footer} <vb:if condition="$show['guest']"> <vb:if condition="in_array($forum['forumid'], array(50,51,52,53,54,58,59,60,61,62,63,64,65,66,72 ,79,80,81,82,83,84,85,89,97,98,99,100,101))"> Show Pic / ad / button </vb:if> </vb:if>
<vb:if condition="$show['guest']" AND "in_array($forum['forumid'], array(1,2,3))"> Show Pic / ad / button </vb:if>