Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to stop spam registrations

  • @iameverywhere

    Participant

    Hey guys, I have an idea that maybe has already been done. If it has please tell me XD

    I get spam accounts who post their website on my activity feed. They come in waves like 3 or 4 at a time. It’s always the same pattern. They create an account, post a status saying check out my site and give a link.

    Is it possible to just automatically delete every new account that posts a link in their activity feed within the first 15 minutes of creating their account?

    Ive never seen a real person post a status update within 15 minutes of creating an account, and the spam bots do it immediately, so it would be a great way to automate having to delete spam accounts.

    Any thoughts?

Viewing 6 replies - 1 through 6 (of 6 total)
  • @danbp

    Participant

    @buddyboss

    Participant

    @iameverywhere

    I have thought about this a lot as well. BuddyPress spam is SO obvious for a human to figure out. You can detect spammers with almost perfect accuracy in just a few seconds. They all do the same thing. They create an account, then post garbage links. If you have Groups enabled, they create groups full of links in the description. I don’t know of a plugin that will do this, but the best way to block BP spam I think would be to put users in moderation if they post links to groups or activity, just like the setting we have for blog post comments.

    @iameverywhere

    Participant

    no one has done it yet? seems like such a quick fix… maybe ill make a plugin

    @iameverywhere

    Participant

    Would this work?

    function spammersdeletion() {
    global $wpdb;
    $from = strtotime('-30 day', time());
    $wpdb->query('DELETE FROM wp_users WHERE DATE(user_registered) < "'.date('Y-m-d', $from).'"AND user_status = "2"');
    }
    
    add_action('init','spammersdeletion');

    @jslom

    Participant

    Use wanguard.. It has stopped all spam registrations for me 100%
    https://wordpress.org/plugins/wangguard/

    @ubernaut

    Participant

    yup wangguard rulez

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to stop spam registrations’ is closed to new replies.
Skip to toolbar