Hi Anne,
I am having issues with big numbers of spam emails coming through the contact us form on one of my sites - the emails contain links - is there any way to disallow html code in the contact us form?
cheers,
Mike
p.s. Is the form you have used the standard one used by Zencart or is it different?
Thanks Anne - I omitted to say that I do have Captcha installed - I did that when the problem first appeared however it isn't stopping the perpetrator - I just need to be able to disallow html, apply a rule? I have seen it before in contact forms on some other sites where when you click send if you have used html in the dialogue box it brings up an error message - are you familiar with that?
cheers,
Mike
Why not block his IP address in your Cpanel? It's easy and effective
Hi Anne!
I'm building a new site and using your Abbington Mega as my base starting point. Thanks for the great template. Very nice, and the css3 mega menu is a nice step forward.
I was modding the contact portion of the code to at a subject line and noticed that you do not include the code for CSS anti-spam. Since this is now part of the core code in tpl_contact_us_default.php, I thought perhaps you might want to also add it to the common/tpl_mega_menu.php
I just put this snippet in above the div for the from button:
Works as expected, and will not send mail if there is any value in the value field.Code:<br class="clearBoth" /> <label for="should_be_empty"></label> <input name="should_be_empty" type="text" id="CUAS" size="30" value="" style="visibility:hidden; display:none;" autocomplete="off" />
-chadd
Found one more >tiny< thing that's probably inconsequential...
in includes/languages/abbington_meg/english.php line 22 (or so) you have:
@setlocale(LC_TIME, 'en_US.ISO_8859-1');
I believe this should now be:
@setlocale(LC_TIME, 'en_US');
To coincide with the default english.php and since just a few line down the charset is defined at utf-8
I have no idea if this actually make any difference. But I'm one of those guys that actually READS the code ;p
-chadd
Bookmarks