Send to Friend madness
This topic contains 10 replies, has 5 voices, and was last updated by Jason Emanuelson 8 years, 11 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
November 1, 2016 at 4:58 pm #296046
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?
November 1, 2016 at 5:41 pm #296109I 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’);
November 1, 2016 at 10:35 pm #296375yea, we’re getting hit hard too via this feature. found this..
https://wpgeodirectory.com/docs/gd-recaptcha-add-on-overview/November 1, 2016 at 10:55 pm #296411Good 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?
November 1, 2016 at 11:10 pm #296424Hi 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
November 1, 2016 at 11:17 pm #296427Sorry, didn’t realize you already installed recapthca.
i just disabled the link via “display in sidebar” for email custom field, for now.November 2, 2016 at 12:28 am #296461This reply has been marked as private.November 2, 2016 at 4:29 am #296573I 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.
November 2, 2016 at 5:18 am #296579This 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?
November 2, 2016 at 3:25 pm #296804I have released a update for the reCaptcha addon, please update is and let me know how it goes.
Thanks,
Stiofan
November 7, 2016 at 6:36 pm #299685Hey 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 -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket