Text to select groups

writer

New Member
why this code:
Code:
<if condition="is_member_of($post, 6)">test</if>
don't work in my 3.8.1 board nulled by DGT?
 
If Usergroup Is or Is Not X

If the user is a member of the x usergroup then show the code
PHP:
<if condition="$post['usergroupid'] == 6"></if>

and then you can use the ! to tell it to not show it to the x usergroup but show it to everyone else.

PHP:
<if condition="$post['usergroupid'] != 6"></if>

check my sig for "conditionals list" for more info
 
Back
Top