The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Failed Login Notification on.... CC the admins?
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); } } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|