OK... when a user chooses to NOT show ranks in their options, do you want that to mean it doesn't show THEIR rank in THEIR posts or it doesn't show anyone's ranks in any posts (basically turning off the rank system for them).
Post $post['field5'] turns it off only for the posts of whoever's profile "No" was set to.
To turn it off completely for the user try:
$bbuserinfo['field5'] instead of $post['field5']
|