I see that you put in code to put the value of field50 into an html comment - what are you getting as the value? It looks like maybe the userfields aren't set when it's a pm, but that's kind of surprising because I've seen a lot of people do things in the postbit based on a custom profile field, but I don't remember anyone complaining about it not working in a PM.
Edit: Try changing the hook location to postbit_display_complete.
|