that's exactly the error Andy… they have no sfmembers data.
so… we detect if the current user has NULL posts… and instead of just setting the post value to zero… set it to zero -> and test it AGAIN.
If it's still NULL, then run sf_create_member_data($userid)
and once again, I must remind you… I code with a brick.
If one of you two fine gentlemen would supply me with an updated file… I will break it with all due haste 🙂