PDA

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


HPIA
28 Oct 2006, 19:59
<if condition="$show[('$forumid ==169')]">

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

ragtek
28 Oct 2006, 20:39
it is
<if condition="$forumid==15">

HPIA
28 Oct 2006, 22:26
Perfect! Thanks!

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

Princeton
29 Oct 2006, 20:29
try $forum[forumid]==777

or $foruminfo[forumid]==777

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

manguish
29 Oct 2006, 22:41
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
30 Oct 2006, 00:54
Perfect, thanks guys!

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