If the members who's profile is being viewed is a member of a usergroup where the code is to be visable use:
Code:
<if condition="$userinfo[usergroupid]=x">$userinfo[fieldy]</if>
where x is the usergroup id number for the group that you wish to display this code for, and y is the profile field number.
If the viewing member is to have permission to view the field regardless of who's profile use:
Code:
<if condition="$bbuserinfo[usergroupid]=x">$userinfo[fieldy]</if>
where x and y are as above.
If you want to do it in the postbit, then use
inside the if instead.