USERNAME in mass mail

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Ideas Centre
Post Reply
User avatar
Ulenka
Registered User
Posts: 22
Joined: Sun May 31, 2009 2:47 pm

USERNAME in mass mail

Post by Ulenka » Fri Sep 28, 2018 10:17 am

How can I correctly add variable USERNAME, that the user name in the letter is added at mass sending from admin panel?
I tried to add in includes/acp_email.php

Code: Select all

$template_data = array(
					'CONTACT_EMAIL' => phpbb_get_board_contact($config, $phpEx),
					'MESSAGE'		=> htmlspecialchars_decode($message),
					'USERNAME'		=> htmlspecialchars_decode($user_row['username']),
				);
cleared the cache, it does not help, the name in the email is displayed as {USERNAME}.

Post Reply

Return to “Extension Requests”

Who is online

Users browsing this forum: No registered users and 19 guests