Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Fighting Splogs


danbpfr
Participant

@chouf1

i don’t know if robots go directly into db, or use the wp code…

but one thing you can try is to hack a little the register_new_user function in wp-login.php

to ban some email domains like “XXXX@myspacee.info” witch massevely occurs in the past last weeks….

function begins at line 228 (v. 2.8.4a)

add this on line 233

$email_check = explode(“@”, $user_email);

insert also this at line 248

} elseif($email_check[1] == ‘myspacee.info’) {

$errors->add(‘invalid_email’, __(‘ERROR: The email address isn’t correct.’));

insert the same code and change the mail domain name if you need to ban more domains

In use with invisible-defender, wp-ban and wp-spamfree i think you would be quiet for a moment with unwanted registering of blogs or users.

Skip to toolbar