Not Solved PHP in Templates and Template Conditionals
Not Solved
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>
Reply


Messages In This Thread
RE: PHP in Templates and Template Conditionals - by blogantinom - 2012-12-15, 05:00 AM
RE: Template conditionals - by expat - 2015-01-31, 05:28 AM

Forum Jump:


Users browsing this thread: 81 Guest(s)