1

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

2

Re: eMail admin of new reports

+1 to this

3

Re: eMail admin of new reports

+1
With links
to reported content and
to reporter's profile.

4

Re: eMail admin of new reports

+1, such feauture is necessary.

5

Re: eMail admin of new reports

+1 for this

6

Re: eMail admin of new reports

+1 for this

7

Re: eMail admin of new reports

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

8

Re: eMail admin of new reports

Well done fox2night, Thanks.
Added this to my site

9

Re: eMail admin of new reports

thanks ...

10

Re: eMail admin of new reports

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...

11

Re: eMail admin of new reports

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 03:46:45)

12

Re: eMail admin of new reports

Thanks mate for the reply but I am more confused now sad

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 smile

13

Re: eMail admin of new reports

This is confusing to me as well. BigDog, did you get it working?

14

Re: eMail admin of new reports

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 smile post back here if you get it working...

15

Re: eMail admin of new reports

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?

16

Re: eMail admin of new reports

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

17

Re: eMail admin of new reports

Is there an easy way to include the Member's ID inside the email notification that goes out to the site administrator?

18

Re: eMail admin of new reports

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;

19

Re: eMail admin of new reports

LawsHosting wrote
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?

20

Re: eMail admin of new reports

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 04:58:05)

21

Re: eMail admin of new reports

I want something like this, but for gift notification. It's possible?

22

Re: eMail admin of new reports

+ 1 for this.
Why it has not been added yet into the system?

23

Re: eMail admin of new reports

Emailing of reports is already added into the system.