Re: Modifying Site Admin Mail
I am not sure if this is related to this topic, but this is the one and only post related to this function at all so I decided to write it here.
Basically, I was trying to modify this function to put some more information about the registered user and pass this info in email to the admin. When you call the function somewhere in the content (template), it’s ok, it works. When you register new user – it doesn’t, it will not print these data. Weird, huh?
On top of that, I don’t know why and it’s not the major thing, but I am using mailpress plugin to send the emails and apparently when calling this function from template it send nice html email but again, when user tries to register it sends plain text only.
Any ideas where to start or how to fix this problem?
Oh, btw, I am using this method to fetch data from database:
$more_info = BP_XProfile_ProfileData::get_value_byid(7,$user_id);
(and yes, it returns the field I need properly everywhere else)
Thanks in advance