Hi.
Would like to get a copy of the email, which is sent to the users, once they get locked out by the strikes system...
Have made a amateurish attempt by adding ";
webmaster@domain.tld", to the functions_login.php, but that didn't work
Any suggestions on how to accomplish this? Thanks.
Code:
if ($strikes_user['strikes'] == 4) // We're about to add the 5th Strike for a user
{
if ($user = $vbulletin->db->query_first("SELECT userid, username, email, languageid FROM " . TABLE_PREFIX . "user WHERE username = '" . $vbulletin->db->escape_string($username) . "' AND usergroupid <> 3"))
{
$ip = IPADDRESS;
eval(fetch_email_phrases('accountlocked', $user['languageid']));
vbmail($user['email']; webmaster@domain.tld, $subject, $message, true);
}
}