The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey folks,
We've been pretty heavily attacked by bots and spammers recently as they've been trying to login to our member's accounts. Our members are getting pretty annoyed with constantly getting the emails that say "Your account has been locked for 15 minutes because someone tried to enter with wrong password". I know the Strikes system can be disabled, but I'd rather not resort to that. Instead, I'd rather keep the strikes system enabled, but simply disable the notification email that users get each time a bot messes with their account. Can anyone advise as to how to disable that email? |
#2
|
|||
|
|||
![]()
I'm having the same problem. What I would like, though, is to have the e-mail sent to ME instead of the user so I can look into the attacks.
Did you ever figure out how to do this? |
#3
|
||||
|
||||
![]()
Can you find the IPs used?
|
#4
|
|||
|
|||
![]()
That's why I want the notification sent to me, so I can find the IP addresses and block them.
|
#5
|
||||
|
||||
![]()
To send the email address to you in the file includes/functions_login.php find the line:
Code:
vbmail($user['email'], $subject, $message, true); Change it to: Code:
vbmail("youremail@domain.com", $subject, $message, true); That should send it to you instead of the user. To disable the email completely comment out the line like so: Code:
// vbmail($user['email'], $subject, $message, true); |
#6
|
|||
|
|||
![]()
That's great!
I'd like to make it a little more generic, so how would I change $user['email'] to the administrator's e-mail? i.e. userid #1's e-mail as it's stored in the database? That way if I change my e-mail address I don't have to remember to fix this edit... |
#7
|
||||
|
||||
![]() Quote:
I haven't tested this but try: Code:
vbmail($vbulletin->options['webmasteremail'], $subject, $message, true); |
#8
|
|||
|
|||
![]()
Thank you very much!
I'll give this a try and see how it works. -Andy. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|