View Full Version : Conditional Problem


Asterik
18th November 2003, 12:30 AM
Hmm ok... i have this condition *no not with me, my boards silly ;) *:

<if condition="is_member_of($post[usergroupid], 6)>

Ok... how would i make it negative so that its like:

if NO a member of usergroup 6

? :confused:

Floris
18th November 2003, 01:17 AM
<if condition="$post[usergroupid] != 6">blah</if>

Hopefully that works :)

Asterik
18th November 2003, 01:19 AM
hmm.... but theres no way 2 use the code i have posted? Because technically, the code i posted would be better 2 use than that. :O

Neeto
22nd November 2003, 05:23 PM
I wasn't aware that i_member_of was actual code. I assure you that usergroupid looks for precisely that though. So if that is what you wanna do, and your code doesn't do it...how is your code better?