Send to Friend madness

This topic contains 10 replies, has 5 voices, and was last updated by  Jason Emanuelson 7 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #296046

    Jason Emanuelson
    Full Member
    Post count: 71

    One of our client’s sites is getting hammered with send to friend spam. Putting in the reCaptcha plugin is not working and I cannot find how to disable the Send to Friend option. There are days when I just get beyond frustrated with finding anything within the plugin settings.

    How do I turn off the send to friend and send enquiry temporarily?

    Why in a form does it not capture the originating ip address? If it can, how does one enable this?

    No, we do not intend to use CloudFlare, as it removes the ability to find the source of attacks, spam, etc.

    In this day and age, should ReCaptcha not be in the core plug-in?

    #296109

    Jason Emanuelson
    Full Member
    Post count: 71

    I have added this function (below) to try to grab a user’s ip address, and then added the [show_ip] shortcode within the Send Email to Friend and Email Enquiry options. It does not parse the shortcode. Is there another way to achieve this, as the spam continues to flow and reCaptcha is not slowing it, nor is css’ing it out working (did not figure that would work, but tried).

    // Display User IP in WordPress

    function get_the_user_ip() {
    if ( ! empty( $_SERVER[‘HTTP_CLIENT_IP’] ) ) {
    //check ip from share internet
    $ip = $_SERVER[‘HTTP_CLIENT_IP’];
    } elseif ( ! empty( $_SERVER[‘HTTP_X_FORWARDED_FOR’] ) ) {
    //to check ip is pass from proxy
    $ip = $_SERVER[‘HTTP_X_FORWARDED_FOR’];
    } else {
    $ip = $_SERVER[‘REMOTE_ADDR’];
    }
    return apply_filters( ‘wpb_get_ip’, $ip );
    }

    add_shortcode(‘show_ip’, ‘get_the_user_ip’);

    #296375

    laurence anthony
    Expired Member
    Post count: 293

    yea, we’re getting hit hard too via this feature. found this..
    https://wpgeodirectory.com/docs/gd-recaptcha-add-on-overview/

    #296411

    Jason Emanuelson
    Full Member
    Post count: 71

    Good day Laurence.

    I think I am confused. I already installed the GD reCaptcha plug-in, but it still was appearing to let through masses of spam. Had to eventually shut off mailing altogether to get it to stop.

    Are you referring to something I should be doing with the plug-in beyond what is normally done?

    #296424

    Paolo
    Site Admin
    Post count: 31206

    Hi Jason,

    if you installed the GD reCAPTCHA add-on correctly and you see the “I’m not a robot” widget in the send to friend form, whoever his spamming is probably doing manually or the widget is not doing what it should.

    If you provide a link and admin credentials in a private reply we will have a look.

    Let us know,

    Thank you

    #296427

    laurence anthony
    Expired Member
    Post count: 293

    Sorry, didn’t realize you already installed recapthca.
    i just disabled the link via “display in sidebar” for email custom field, for now.

    #296461

    Jason Emanuelson
    Full Member
    Post count: 71
    This reply has been marked as private.
    #296573

    Craig Fryer
    Expired Member
    Post count: 110

    I found that enabling the GD reCAPTCHA after the spamming had started didn’t work.

    In my case the bot seemed to be hitting just the one relatively unimportant page, so I just redirected the page.

    Cloudflare also didn’t solve the problem in my case. If anything it complicated the problem because I couldn’t find the IP address the bot was coming from.

    #296579

    Jason Emanuelson
    Full Member
    Post count: 71

    This is why I believe that every single form submitted should have an ip address, even if obscured in the header.

    Were you able to somehow place an ip address in the form notification?

    #296804

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have released a update for the reCaptcha addon, please update is and let me know how it goes.

    Thanks,

    Stiofan

    #299685

    Jason Emanuelson
    Full Member
    Post count: 71

    Hey Stiofan,

    I thought I had already replied, but thank you. Installed. Waiting to see if it resolves the spamming issue. Thank you for the help.
    -jason

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket