Topic: eMail admin of new reports
When a member makes a report I'd like to get an email telling me that _____ has made a report.
I always forget to check reports that members make and sometimes they go along time without me looking at them.
thanks
You are not logged in.
When a member makes a report I'd like to get an email telling me that _____ has made a report.
I always forget to check reports that members make and sometimes they go along time without me looking at them.
thanks
+1 to this
+1
With links
to reported content and
to reporter's profile.
+1, such feauture is necessary.
+1 for this
+1 for this
a quick dirty hack, but it do the trick
edit the file ./includes/hp/hp.report.php and at the bottom of the file, before
exit;add this line
mail("yourmailbox@yourdomain.com","New Report Notification","$type","From: system@yourserver.com");
exit;enjoy
Well done fox2night, Thanks.
Added this to my site
thanks ...
This sounds like a great mod, but can someone please explain further what needs to go in these two fields;
yourmailbox@yourdomain.com & system@yourserver.com
Thanks in advance...
yourmailbox@yourdomain.com--->bigdog@your_site.com---> your email address
system@yourserver.com--->bigdog's_website@your_site.com--->your website
yourmailbox@yourdomain.com --->to: you
system@yourserver.com---> from: your website
Last edited by seeme101 (2009-06-20 04:46:45)
Thanks mate for the reply but I am more confused now ![]()
I understand that yourmailbox@yourdomain.com >> admin@mydomain.com which is my email address setup for the site.
I still have no idea what system@yourserver.com >> bigdog's_website@your_site.com--->your website should really be.
If you could make that clearer that would be great ![]()
This is confusing to me as well. BigDog, did you get it working?
Sorry Caciquer I could not get it working so I gave up, great idea but instructions a little to cryptic for me, I am no programmer just someone trying to develop a site.
Wish you luck, maybe you have more techo skills then I do
post back here if you get it working...
I am confused about this too. I get the 'your email address' bit, but not the server bit. Do you mean, if the name of the site was www.dates.org, it would be Dates@dates.org?
the system@yourserver.com email refers to:
From what email should the report notifications appear as beying sent from
for example if you have an email that is used to receive messages like: info@yourdomain.com or support@yourdomain.com then you could set system@yourserver.com to one of those emails
so that you will receive the email to the adress yourmailbox@yourdomain.com and will apear sent from
system@yourserver.com
Is there an easy way to include the Member's ID inside the email notification that goes out to the site administrator?
Is there an easy way to include the Member's ID inside the email notification that goes out to the site administrator?
$body = "Reported Id: ".$reporter_id."\r";
$body .= "Member Id: ".$member_id."\r";
$body .= "Report Type: ".$type."\r";
mail("yourmailbox@yourdomain.com","New Report Notification",$body,"From: system@yourserver.com");
exit;
cbbanescu wrote:Is there an easy way to include the Member's ID inside the email notification that goes out to the site administrator?
$body = "Reported Id: ".$reporter_id."\r";
$body .= "Member Id: ".$member_id."\r";
$body .= "Report Type: ".$type."\r";
mail("yourmailbox@yourdomain.com","New Report Notification",$body,"From: system@yourserver.com");
exit;
Yes but how do you search in the control panel for Member id number? I can't seem to do that. Is there a way to change it to user name?
I have changed the code to it give a URL to the profiles of the reporter and member
$body = "A User has made a report, please login to the admin and check.\r\r";
$body .= "Reported Id: http://www.YOUDOMAIN.COM/index.php?m=member_profile&p=profile&id=".$reporter_id."\r";
$body .= "Member Id: http://www.YOURDOMAIN.COM/index.php?m=member_profile&p=profile&id=".$member_id."\r";
$body .= "Report Type: ".$type."\r";
mail("EMAIL@YOURDOMAIN.COM","New Report Notification",$body,"From: system@YOURDOMAIN.COM");Last edited by Garry (2010-07-23 05:58:05)
I want something like this, but for gift notification. It's possible?
+ 1 for this.
Why it has not been added yet into the system?
Emailing of reports is already added into the system.