PDA

View Full Version : Usergroup Permission


Pocket Aces
11-10-2007, 12:01 PM
How do i restrict a code to certain usergroups?
Something like this...

<if condition="$show['usergroupid5','usergroupid8','usergroupid10']">
code here
</if>

Antivirus
11-10-2007, 02:06 PM
use the is_member_of conditional instead.

Analogpoint
11-10-2007, 02:10 PM
<if condition="is_member_of($bbuserinfo, 5, 8, 10)">

Pocket Aces
11-11-2007, 05:30 AM
<if condition="is_member_of($bbuserinfo, 5, 8, 10)">
Thanks for a detailed response. :up: