W writer New Member Mar 25, 2009 #1 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?
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?
H Hoxxy New Member Mar 25, 2009 #2 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
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