Need some changes on Captcha

sjohnson
3 Posts
sjohnson posted this 04 April 2020
Report a bug

While the email integration in Nicepage is a GREAT addition is in need of tuning.

The use of SERVER_NAME in PHP generates results that are inaccurate on servers that use hostname addressing. May I suggest the use of HTTP_HOST instead.

Second. There should be a field that sets the host from which this email will be set. This should be checked in the php. If no match do not send email

Third. There needs to be some tuning on what is spam. Since installing this 3 days ago I have received 50 posts. Only one could be even reasonably considered a message. The rest were porn posts from Russia.

I have attached an example

While the email integration in Nicepage is a GREAT addition is in need of tuning. The use of SERVER_NAME in PHP generates results that are inaccurate on servers that use hostname addressing. May I suggest the use of HTTP_HOST instead. Second. There should be a field that sets the host from which this email will be set. This should be checked in the php. If no match do not send email Third. There needs to be some tuning on what is spam. Since installing this 3 days ago I have received 50 posts. Only one could be even reasonably considered a message. The rest were porn posts from Russia. I have attached an example

Last edited 05 April 2020 by sjohnson

Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 08 April 2020

Hi Scott,

Thanks for your suggestions, we have included them in our wishlist. As for the spam, actually that request is not related to Nicepage. We have added the filter on the minimal amount of the messages from the IP address. We have included the php file with the diagnostic tool that you can launch and it will show if the above-mentioned option is activated.

...................................................
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 Scott, Thanks for your suggestions, we have included them in our wishlist. As for the spam, actually that request is not related to Nicepage. We have added the filter on the minimal amount of the messages from the IP address. We have included the php file with the diagnostic tool that you can launch and it will show if the above-mentioned option is activated. ................................................... 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
sjohnson
3 Posts
sjohnson posted this 08 April 2020

So is there some documentation that I missed on this "added the filter on the minimal amount of the messages from the IP address" anywhere on your site?

So is there some documentation that I missed on this "added the filter on the minimal amount of the messages from the IP address" anywhere on your site?
Support Team
Support Team posted this 30 April 2020

Hello Scott,

sorry for the so late answer.

you can find all logic about spam filtering in FormProcessor.php

by current logic allowed 25 posts from one IP during the last 2 hours.
But you can change this logic and increase the time.

Simple change '-2 hours' on the time you want (e.g. '-24 hours', if you want to allow 25 posts during the last 24 hours)

in the following line:

$db->exec("DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')");

also, you can run form-diagnostics.php and check if spam filtering is activated for you site

...................................................
Sincerely,
Alex
Nicepage Support Team

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

Hello Scott, sorry for the so late answer. you can find all logic about spam filtering in FormProcessor.php by current logic allowed 25 posts from one IP during the last 2 hours. But you can change this logic and increase the time. Simple change '-2 hours' on the time you want (e.g. '-24 hours', if you want to allow 25 posts during the last 24 hours) in the following line: $db->exec("DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')"); also, you can run form-diagnostics.php and check if spam filtering is activated for you site ................................................... Sincerely, Alex Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments