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 Modded the security of the Contact Plugin
- Daali
- Advisor
- Posts: 56
- Joined: Mon Jul 26, 2021 8:06 pm
- Location: Georgia, US
- Station model: Ecowitt GW1002
- Software: Meteobridge, FOSHKplugin
- Contact:
Re: I Modded the security of the Contact Plugin
Good job! Thanks!
https://www.jeffersonweather.com
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture