I'm trying to hide this adbrite ad from users in these 3 usergroups with this if statement but supposedly it's not working. I put the following in the footer template. Is this correct for me to do or is there something wrong here?
Code:
<if condition="!in_array($bbuserinfo['usergroupid'], array(5, 6, 7))">
<!-- Begin: AdBrite -->
<script type="text/javascript" src="http://ads.adbrite.com/mb/text_group.php?sid=XXX&br=1"></script>
<!-- End: AdBrite --></if>