Not Solved PHP in Templates and Template Conditionals
Not Solved
Maybe this:
<if !array_intersect(array('X', 'Y', 'Z'), explode($mybb->user['additionalgroups'] ? $mybb->user['usergroup'].','.$mybb->user['additionalgroups'] : $mybb->user['usergroup'])) then>
<script src="http://ads33751.hotwords.com.br/show.jsp?id=33751&cor=005F00"></script>
</if>

X, Y, Z are the groups which are not supposed to see the ads.
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply


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

Forum Jump:


Users browsing this thread: 25 Guest(s)