2012-05-24, 10:09 AM
You are actually confusing yourself as well as myself, lol.
You want to SHOW PARTICULAR THING to those WHO BELONGS TO YOUR SPECIFIED GROUP or those WHO DOES NOT belongs to specified groups?
If for example, you YOU WANT to show something to usergroups 1,2,3,4,5,6,7,8,9 and DO NOT want to show it to usergroup 10 and 11, use this code instead:
You want to SHOW PARTICULAR THING to those WHO BELONGS TO YOUR SPECIFIED GROUP or those WHO DOES NOT belongs to specified groups?
If for example, you YOU WANT to show something to usergroups 1,2,3,4,5,6,7,8,9 and DO NOT want to show it to usergroup 10 and 11, use this code instead:
<if !in_array($GLOBALS['users']['usergroup'], array(10,11)) then>
//Anything here shows to members of usergroup (1 to 9) and members from usergroup 10 and 11 won't be able to see this. Replace this with your actual variable/code.
</if>