<if condition="$post['rank'] AND $bbuserinfo['fieldxx'] != 'No' "> Rank Code</if>
<if condition="$bbuserinfo[fieldx] == No">
<if condition="$bbuserinfo['fieldx'] == No">