PDA

View Full Version : if condition = Post text based on forum number??


nintendo
02-25-2011, 07:22 AM
Is there any way to use the if condition to make different text come up in an area based on which forum you're at??? For example...

<if condition="$forum['5,9,15']">Text to show up on these three forums only.</if>

I want to do this on the New Thread page, and the quick reply area at the thread page.

Version 3.5.3

kh99
02-25-2011, 12:46 PM
Try:

<if condition="in_array($foruminfo[forumid], array(5, 9, 15))">Text to show up on these three forums only.</if>