vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Login Strike - Need to disable automatic email generation.... (https://vborg.vbsupport.ru/showthread.php?t=256483)

MReardon 01-04-2011 03:10 PM

Login Strike - Need to disable automatic email generation....
 
To all -

I've searched the forums for the answer to this question......and have found many similar questions but haven't been able to find what I'm looking for... so i do apologize if this can be found somewhere else....

My forums (vBulletin 3.8.2) have been recently been pounded by persons attempting to use usernames displayed on the forums public page with various passwords, locking the actual user out for the standard 15mins and generating an email that has the default message which is sent to the user's registered email address....

What we've discovered is that with the removal of lots of publicly displayed usernames, no one has successfully logged in.......and the problem is NOT that the strike system is not working.... but that the email's generated are (predictably) freaking out the users.

Since there has been no successful logins by the culprits, I'd simply like to disable the automatic email generation...most users don't post often enough to complain about not being able to login every 15 mins, but they are complaining about getting tons of emails saying someone has tried to login unsuccessfully with their username...which they forward to me.

So does anyone know how i might go about continuing to use the "login strike" but disable the automatic generation and sending of the error notification email??

Any help would be greatly appreciated......and if this has been answered elsewhere, I apologize, just point me in the right direction and close this thread....

Thank you in advance for your help!!

kh99 01-04-2011 03:28 PM

In includes/functions_login.php there's a call to vbmail, I think if you comment it out that should do it.

If you don't want to edit any files, you could try making a new plugin using hook location mail_send with this code:

Code:

if (substr($subject, 25) === 'Failed Login Notification')
{
    return false;
}


Of course that assumes that you haven't changed that phrase. (BTW, I haven't tried any of this.)

(Edit: ...changed if to ===).

MReardon 01-04-2011 03:58 PM

wow, what a fast response....and dead on the money :)

thank you kh99, I'm good to go!

cheers!

BirdOPrey5 01-04-2011 06:43 PM

Someone else had this issue a couple weeks back- you may want to send the emails to yourself instead of the user this way you know it's happening.

https://vborg.vbsupport.ru/showthread.php?t=209552

check out - https://vborg.vbsupport.ru/showthread.php?t=312414


All times are GMT. The time now is 10:04 AM.

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.01105 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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