I want to display Ads in All category, but i do not want to display Ads for specific categories & all threads under it, Even for guests also.
I dont want ads display in this category:
7, 33, 145, 87
I using the below code but Didn't worked for me.
PHP Code:
<if condition="$show['guest'] && !in_array($foruminfo['forumid'], array(7,33,145,87))">
This is Ads
</if>
Please help me!
Thank you
--------------- Added [DATE]1357339292[/DATE] at [TIME]1357339292[/TIME] ---------------
Using this : $GLOBALS['forumid']
Solved