View Full Version : Admin receive e-mail from forum user, but wrong recipient when i reply
postcd
05-14-2020, 06:59 PM
Hello,
what if a vbulletin 4 forum admin/mod receive e-mail where user reports some post. And when admin/mod click to reply this e-mail, the recipient is forum admin e-mail, not e-mail of the user (this e-mail is displayed in the e-mail body by the way.
Please which file to edit and what to look for?
snakes1100
05-15-2020, 09:50 AM
Its states specifically NOT to reply to those emails lol
postcd
05-16-2020, 05:15 AM
Its states specifically NOT to reply to those emails lol
It is exatly opposite, dumbo:
"This message has been sent to all moderators of this forum, or all administrators if there are no moderators.
Please respond to this post as applicable."
and i want to respond to thank user and his e-mail auto filled as a recipient.
snakes1100
05-16-2020, 10:31 AM
Sorry DUMBO, mis read what you was asking, good luck.
postcd
09-01-2020, 05:33 PM
:confused:
Logician
09-04-2020, 10:47 AM
Reporting user email is not used by vbulletin because according to your settings, reporting user might not have an email. (eg. when you enable reporting for guests).
But if you are determined to do that anyway, this should do the trick:
Edit includes/class_reportitem.php, find line:
vbmail($moderator['email'], $subject, $message, true);
replace it as
vbmail($moderator['email'], $subject, $message, true, $this->registry->userinfo['email']);
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.