Re-captcha V3

anouck2
2 Posts
anouck2 posted this 04 June 2020
Ask a Question

Hello,
I insert a Google Re-Captcha V3 in the Nicepage form, but unfortunately the spam filter is very bad and I receive lots of spam everyday. I was using re-captcha V2 with other CMS and everything was working perfectly.
I red in the forum that another Nicepage customer has the same problem... could you provide an alternative?
If not, it would be a real problem, because we can not get so much spam every day... same for our clients.
Thank you for your answer
Olivier

Hello, I insert a Google Re-Captcha V3 in the Nicepage form, but unfortunately the spam filter is very bad and I receive lots of spam everyday. I was using re-captcha V2 with other CMS and everything was working perfectly. I red in the forum that another Nicepage customer has the same problem... could you provide an alternative? If not, it would be a real problem, because we can not get so much spam every day... same for our clients. Thank you for your answer Olivier
Vote to pay developers attention to this features or issue.
4 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 04 June 2020

Hi Olivier,

We only have the 3 version of recaptcha. Maybe it does not work well now, but we have no option for any other spam filter.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Olivier, We only have the 3 version of recaptcha. Maybe it does not work well now, but we have no option for any other spam filter. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
frey2
7 Posts
frey2 posted this 20 July 2020

same problem

same problem
simonusher3
28 Posts
simonusher3 posted this 20 July 2020

Hi,

I have encountered the same problem, you have only got one of two options.

  1. Use a custom php script to process the contact form instead of the default one nicepage uses or,
  2. edit the formprocessor.php and reduce the number of submissions from an IP within an set time period.
    Currently the settings are 25 submissions within a 2 hour time frame, if you want to edit this to say, 3 submissions and the time frame to say 4 hours, these are the sections needed to be edited.

                $db->exec("CREATE TABLE Submission_History (IP VARCHAR(39), Submission_Date TIMESTAMP)");
        }
        $db->exec("DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')");
    

Change to:

DATETIME('now','-4 hours')");

and

            $stmt = $db->prepare("SELECT COUNT(1) FROM Submission_History WHERE IP = :ip;");
        $stmt->bindParam(':ip', $ip);
        $stmt->execute();
        if ($stmt->fetchColumn() > 25) {
            $tooManySubmissions

Change to:

if ($stmt->fetchColumn() > 3)

This won't stop the spam completely, It will however reduce the amount and stop the host account be suspended because of it. Please remember, if you update your site and export to HTML, the formprocessor.php will be over-written and you will need to edit it again before you upload to your server.

Simon..

Hi, I have encountered the same problem, you have only got one of two options. 1. Use a custom php script to process the contact form instead of the default one nicepage uses or, 2. edit the formprocessor.php and reduce the number of submissions from an IP within an set time period. Currently the settings are 25 submissions within a 2 hour time frame, if you want to edit this to say, 3 submissions and the time frame to say 4 hours, these are the sections needed to be edited. $db->exec("CREATE TABLE Submission_History (IP VARCHAR(39), Submission_Date TIMESTAMP)"); } $db->exec("DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')"); Change to: **DATETIME('now','-4 hours')");** and $stmt = $db->prepare("SELECT COUNT(1) FROM Submission_History WHERE IP = :ip;"); $stmt->bindParam(':ip', $ip); $stmt->execute(); if ($stmt->fetchColumn() > 25) { $tooManySubmissions Change to: **if ($stmt->fetchColumn() > 3)** This won't stop the spam completely, It will however reduce the amount and stop the host account be suspended because of it. Please remember, if you update your site and export to HTML, the formprocessor.php will be over-written and you will need to edit it again before you upload to your server. Simon..

Last edited 20 July 2020 by simonusher3

frey2
7 Posts
frey2 posted this 23 March 2023

Hi all

Yes... the spam problem cannot be completely solved even with these adjustments, but it is already better.

Slowly but surely, we should really think about a solution.
A matehamatic task would help here 3+2 and the problem would be solved.

Have a meeting at Nicepage, and don't write the same answer to every request.
By now it should be clear to you that it is not done with (ReCaptcha into your site).

BR Martin

Hi all Yes... the spam problem cannot be completely solved even with these adjustments, but it is already better. Slowly but surely, we should really think about a solution. A matehamatic task would help here 3+2 and the problem would be solved. Have a meeting at Nicepage, and don't write the same answer to every request. By now it should be clear to you that it is not done with (ReCaptcha into your site). BR Martin

Last edited 23 March 2023 by frey2

You must log in or register to leave comments