vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Disable or change delivery address of 5 Strikes Email (https://vborg.vbsupport.ru/showthread.php?t=312414)

BirdOPrey5 06-24-2014 10:00 PM

Disable or change delivery address of 5 Strikes Email
 
1 Attachment(s)
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('someone@email.com'$subject$messagetrue); 

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.


All times are GMT. The time now is 11:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01028 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete