Hi Xena. Could you please put your code into a practice board so it can be seen? Dunno if I can help but will sure be happy to look at it. If not, maybe someone else can.
When you block a person, they can no longer invite you to a private message or post to your profile wall. Replies and comments they make will be collapsed/hidden by default. Finally, you'll never receive email notifications about content they create or likes they designate for your content.
Note: if you proceed, you will no longer be following .