Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2011, 03:10 PM
MReardon MReardon is offline
 
Join Date: Oct 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!!
Reply With Quote
  #2  
Old 01-04-2011, 03:28 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ===).
Reply With Quote
  #3  
Old 01-04-2011, 03:58 PM
MReardon MReardon is offline
 
Join Date: Oct 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

thank you kh99, I'm good to go!

cheers!
Reply With Quote
  #4  
Old 01-04-2011, 06:43 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10122 seconds
  • Memory Usage 2,184KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete