2012-12-15, 05:00 AM
I found out now, I had to use the "additionalgroups" field of the user.
But the code below won't work when the user has more than one field, anyone could help me with that?
<if !in_array($GLOBALS['mybb']->user['usergroup'], array(13,3,6,4)) AND !in_array($GLOBALS['mybb']->user['additionalgroups'], array(13,3,6,4)) then>
<script src="http://ads33751.hotwords.com.br/show.jsp?id=33751&cor=005F00"></script>
</if>
But the code below won't work when the user has more than one field, anyone could help me with that?
<if !in_array($GLOBALS['mybb']->user['usergroup'], array(13,3,6,4)) AND !in_array($GLOBALS['mybb']->user['additionalgroups'], array(13,3,6,4)) then>
<script src="http://ads33751.hotwords.com.br/show.jsp?id=33751&cor=005F00"></script>
</if>