PDA

View Full Version : Usergroup Conditional


ntock
07-01-2007, 11:03 AM
Trying to figure out how to hide a segment of a template only from a single usergroup, as opposed to the concept where you only allow certain usergroups. Not sure if that's possible, reason I ask is people are part of multiple groups and I need to hide certain spots just from the one group.

Many thanks for any help provided :)

Dismounted
07-01-2007, 11:12 AM
<if condition="!is_member_of($vbulletin->userinfo, 4,5,6)">CODE</if>
Of course, change "4,5,6". :)

ntock
07-02-2007, 01:10 AM
Thanks :)

That would however show whatever code to 4,5,6 ?

Dismounted
07-02-2007, 03:45 AM
It wouldn't show the code, note the "!".