If you did some modifications like the one Sazze suggested, you may need to do other changes as well for it to work.
Nevermind, I copy/pasted and didn't replace $post with $user in the code.
Nevermind, I copy/pasted and didn't replace $post with $user in the code.