vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Admin receive e-mail from forum user, but wrong recipient when i reply (https://vborg.vbsupport.ru/showthread.php?t=328020)

postcd 05-14-2020 06:59 PM

Admin receive e-mail from forum user, but wrong recipient when i reply
 
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

Quote:

Originally Posted by snakes1100 (Post 2602950)
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:
Code:

    vbmail($moderator['email'], $subject, $message, true);

replace it as
Code:

vbmail($moderator['email'], $subject, $message, true, $this->registry->userinfo['email']);


All times are GMT. The time now is 04:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01564 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete