02-05-2010, 08:59 AM
Hi,
I want to add a condition to a content in the header of MyBB.
I have enabled the PHP and templates conditionals and I need to add the code manyally, here is the code:
What I want to do is enable the code with the exception of the array code in this case 2.
Thanks.
I want to add a condition to a content in the header of MyBB.
I have enabled the PHP and templates conditionals and I need to add the code manyally, here is the code:
PHP Code:
<if condition="!in_array($GLOBALS[forumid],array(2))">
Here is the content.
</if>
What I want to do is enable the code with the exception of the array code in this case 2.
Thanks.