Back to vBulletin 4.x Add-ons

Disable or change delivery address of 5 Strikes Email
Mod Version: 1.00, by BirdOPrey5

vB Version: 4.2.2 Rating: (0 vote - 0 average) Installs: 8
Released: 25 Jun 2014 Last Update: Never Downloads: 0
Not Supported Code Changes Re-usable Code  

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:
PHP Code:
vbmail($user['email'], $subject$messagetrue); 
(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:
PHP Code:
// 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:
PHP Code:
vbmail('email'$subject$messagetrue); 
Change email 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.

Download

No files for download.

Similar Mods

Profile Enhancements Prevent Email Address Change Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024