I have searched, but don't see an answer. So before I dig into the code, I thought I would ask. Is there a hook that would fire to let me know of changes to the profiles? I am considering ways to improve the RealName module and it might be good if I can see something like I might from hook_user so that I can maintain a separate list of converted user names.

Comments

andreiashu’s picture

Hi NancyDru,
I think you can solve your problem by implementing a hook_nodeapi() and check if that node is a content profile with is_content_profile($node).
Hope this helps.
Good luck,
andreiashu

nancydru’s picture

Yes, I have already thought of that. It would be nice, however, if CP would emulate the core profile module a little more closely. My module supports both, so this means largely duplicating code in both hook_nodeapi and hook_user.

andreiashu’s picture

Point taken. but for this to be implemented i think we should ping fago :)