Can we change email address for Reports given by users about any video,picture etc? These reports should come to the admin panel. It would have been easy to manage it instead of checking emails. I am asking about changing the email cause mostly when a user report an email is send to admin@mysite.com but i want it to be report@mysite.com, so it would be easy to manage it. Umar Haroon |
Umar Haroon |
Normally emails are sent out from the address you specify in the admin for all emails. You want to change it for a specific email which means some code changes. I think people are less interested lately in spending time creating solutions and posting them in the forum. Perhaps if you post in the jobs section, http://boonex.com/jobs. Geeks, making the world a better place |
In inc/classes/BxDolFilesModule.php
Find the line (about line number 549) :
if ($this->sendFileInfo($GLOBALS['site']['email'], nl2br(process_pass_data($_POST['messageText'])), $sFileUrl, $_POST['mediaAction']))
Change $GLOBALS['site']['email'] to whatever email you wish. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz |
If you are interested in a comprehensive reporting feature, check out the Reporting Tool module. Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz |
Brilliant. So any 3rd party module can also be added to it?
If you are interested in a comprehensive reporting feature, check out the Reporting Tool module.
Umar Haroon |
Yes, most modules that have an actions block can be integrated.
Brilliant. So any 3rd party module can also be added to it?
If you are interested in a comprehensive reporting feature, check out the Reporting Tool module.
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz |
After changing the line shown as below, it is giving me blank white page on my whole website. Admin side is working fine
if ($this->sendFileInfo(report@mywebsite.com, nl2br(process_pass_data($_POST['messageText'])), $sFileUrl, $_POST['mediaAction']))
In inc/classes/BxDolFilesModule.php
Find the line (about line number 549) :
if ($this->sendFileInfo($GLOBALS['site']['email'], nl2br(process_pass_data($_POST['messageText'])), $sFileUrl, $_POST['mediaAction']))
Change $GLOBALS['site']['email'] to whatever email you wish.
Umar Haroon |
Think you might have to put this in:
if ($this->sendFileInfo($GLOBALS['site']['report@mywebsite.com'], nl2br(process_pass_data($_POST['messageText'])), $sFileUrl, $_POST['mediaAction']))
|