View Full Version : Display Order "0" Emergency??
aveon
06-27-2007, 06:56 PM
hey guys
in my forums i faced this problem and i want to solve it but i couldnt figure it out...
you see to exclude some category from forumhome i set display order as "0" and it worked as i want it to but now another problem accured you see i cant move threads from that category it doesnt even show the categoru on the list please help me is there any other way to exclude the category from forumhome wihout setting the display order as "0"???
Dismounted
06-28-2007, 06:47 AM
You'll have to wrap conditionals around the forumbit template.
aveon
06-28-2007, 02:06 PM
You'll have to wrap conditionals around the forumbit template.
like what can you give me the conditional??
Dismounted
06-29-2007, 06:17 AM
Either
<if condition="$forum['forumid'] != HIDDENFORUMID">
Or
<if condition="$foruminfo['forumid'] != HIDDENFORUMID">
aveon
06-29-2007, 12:49 PM
hey dismouned i tried the firest code but it didnt work and i used the other one and i eddited my forumehome template like <if condition="$foruminfo['forumid'] != 369"><else />$forumbits</if> and after that every category on forumhome was hidden i just wanted to hide "369"but every other forum was hidden so what did i do wrong??
dyna88
06-29-2007, 01:02 PM
How about...
<if condition="$forumid != X">
forumhome_forumbit_level1_nopost template
</if>
Or an array
<if condition="!in_array($forumid, array(X,Y,Z))">
forumhome_forumbit_level1_nopost template
</if>
aveon
06-29-2007, 02:21 PM
How about...
<if condition="$forumid != X">
forumhome_forumbit_level1_nopost template
</if>
Or an array
<if condition="!in_array($forumid, array(X,Y,Z))">
forumhome_forumbit_level1_nopost template
</if>
thanx mate works perfectly
ReQueM
09-26-2007, 10:05 PM
How about...
<if condition="$forumid != X">
forumhome_forumbit_level1_nopost template
</if>
Or an array
<if condition="!in_array($forumid, array(X,Y,Z))">
forumhome_forumbit_level1_nopost template
</if>
Thanx
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.