I Modded the security of the Contact Plugin
Posted: Wed Oct 06, 2021 7:36 pm
The contact plugin was getting me allot of spam so I changed it too what I know works on my sites
I left the ROBOT tick box but it does no longer have to be checked
by adding this to contact/index.php
This makes it easy to re enable IT IS ADDED ALREADY
#############################################################
function verifyCaptcha(formId){
if($(formId).attr('captcha') == 'true'){
return true;
}
//return false;
return true;
################################################################
You have to enter the word WEATHER in the new robot place holder or you will get returned to main page and comment will not go thru.
If you enter it you will get a confirmation popup
If you want to change the word, search the index and send feedback its listed once in index.php and 2 times in sendfeedback.php
This makes it much harder for the bots to spam you
the attached zip contains the 2 files needed to make this mod just back up the plugin then replace the 2 files with the one in the zip
I left the ROBOT tick box but it does no longer have to be checked
by adding this to contact/index.php
This makes it easy to re enable IT IS ADDED ALREADY
#############################################################
function verifyCaptcha(formId){
if($(formId).attr('captcha') == 'true'){
return true;
}
//return false;
return true;
################################################################
You have to enter the word WEATHER in the new robot place holder or you will get returned to main page and comment will not go thru.
If you enter it you will get a confirmation popup
If you want to change the word, search the index and send feedback its listed once in index.php and 2 times in sendfeedback.php
This makes it much harder for the bots to spam you
the attached zip contains the 2 files needed to make this mod just back up the plugin then replace the 2 files with the one in the zip