PDA

View Full Version : Administrative and Maintenance Tools - Disable or change delivery address of 5 Strikes Email


BirdOPrey5
06-24-2014, 10:00 PM
Unfortunately this is a manual file edit- not a mod you can install. I do not recommend anyone use it unless their forum is under some kind of attack and your users are being spammed by dozens of these messages.

vBulletin offers no way to disable these emails without disabling the entire strikes system but during these attacks is the worst time to disable the entire system.

Open the file: includes/functions_login.php

Find the line:
vbmail($user['email'], $subject, $message, true);
(This is line 109 in VB 4.2.2 & 4.2.3 but may vary in your version.)

To STOP all emails about the strikes system change the line to:
// vbmail($user['email'], $subject, $message, true);


To send the email to YOU or some other specific email address so you can keep records of it change the line to:
vbmail('someone@email.com', $subject, $message, true);
Change someone@email.com to a valid email address.

Save changes to the file and re-upload it.

I suggest you test it works by making 5 wrong attempts to log into a dummy account. NOTE- You may be locked out for 15 minutes if you are logged out of your main account. Make sure you either can sign in from another IP address or have 15 minutes to wait if it does work.

Sorry this can't be made into a nice mod- no hook available where needed.

BirdOPrey5
07-21-2015, 06:03 PM
Double checked and same change for VB 4.2.3. :up:

joyboy2001
12-28-2015, 07:26 PM
Not clear on what this mod actually does

Dave
12-28-2015, 07:37 PM
Prevents the "your account has been locked" email from being sent when someone tried to login into your account 5 times.

BirdOPrey5
12-29-2015, 11:49 PM
It's the kind of mod where if you don't know what it is you don't need it. But Dave gave a good explanation.

It's only necessary if your users are complaining about too many emails generated by the strikes system.