Log in

View Full Version : if condition="$post[usergroupid]==x" for memberinfo?


LostForWords
04-26-2010, 06:14 PM
I'm currently using the 'if condition="$post[usergroupid]==6"' for the memberinfo as a way to add an extra title for different membergroups. This works fantastially however I was wondering if there was an equivalent I could use in the memberinfo? - as this only works in the postbit.

Lynne
04-26-2010, 06:24 PM
Probably something like:
<if condition="is_member_of($userinfo, 6)"> stuff </if>

Or, try $prepared instead of $userinfo

LostForWords
04-26-2010, 06:36 PM
That worked perfectly, thankyou :)