PDA

View Full Version : How do you make things only show up in one particular forum?


HPIA
10-28-2006, 05:59 PM
<if condition="$show[('$forumid ==169')]">

I used that code, and it didn't work. Any ideas or anything?

ragtek
10-28-2006, 06:39 PM
it is
<if condition="$forumid==15">

HPIA
10-28-2006, 08:26 PM
Perfect! Thanks!

People say that doesn't work in firefox...any ideas?

Princeton
10-29-2006, 06:29 PM
try $forum[forumid]==777

or $foruminfo[forumid]==777

ragtek
10-29-2006, 07:20 PM
why shout this dont work in firefox?
what have the browser to do with what php is doing?

manguish
10-29-2006, 08:41 PM
I use :

<if condition="in_array($forumid, array(25, 104, 105, 106, 107, 108))">

But put your own forum numbers in replacement.

Works just fine in all browsers.

HPIA
10-29-2006, 10:54 PM
Perfect, thanks guys!

Someone told me it didn't, but I think they were wrong...