nrep
Well-known member
I need to use some basic hashing in bulk e-mails, which I can do with {xen:calc} in the e-mail body - however this doesn't appear to work.
I had a look at user.php in library/XenForo/ControllerAdmin and found this fucntion:
It seems to run through the 3 replacements mentioned on the bulk e-mail page:
Is there a way I can add my own replacement in there via an addon without modifying the core code?
I had a look at user.php in library/XenForo/ControllerAdmin and found this fucntion:
protected function _sendEmail(array $user, array $email, Zend_Mail_Transport_Abstract $transport)
It seems to run through the 3 replacements mentioned on the bulk e-mail page:
$replacements = array(
'{name}' => htmlspecialchars($user['username']),
'{email}' => htmlspecialchars($user['email']),
'{id}' => $user['user_id']
);
Is there a way I can add my own replacement in there via an addon without modifying the core code?