2011-10-15, 02:02 PM
Hi, maybe you have probably already seen something like this but it is something I use in web site forms in the fight against spam that I thought could be used in MYBB. I always include a field in the form but use css to hide it, i.e.;
and then for the css file:
Then, in the script, if the field is filled out(spam bots tend to regard all fields as required, or so I'm told) I use something to the tune of:
My apologies for the code being in perl as I know nothing of php but it is easy to get the point.
I've used it with good success for quite a while(usually adjust the error code to create a sense that the form was successfully submitted.
Just thought I would mention that because I was looking through your plugins and noticed the javascript plugin that does something similar.
I really like this board---just installed it and in the process of "decorating" it at the moment.
Blessings,
Dave
<div class="invisible"><input type="text"name="policeimpersonator">
and then for the css file:
div.invisible{display:none;}
Then, in the script, if the field is filled out(spam bots tend to regard all fields as required, or so I'm told) I use something to the tune of:
if($policeimpersonater ne ""){print"You're under arrest";}
My apologies for the code being in perl as I know nothing of php but it is easy to get the point.
I've used it with good success for quite a while(usually adjust the error code to create a sense that the form was successfully submitted.
Just thought I would mention that because I was looking through your plugins and noticed the javascript plugin that does something similar.
I really like this board---just installed it and in the process of "decorating" it at the moment.
Blessings,
Dave