Thread: Fighting spam
View Single Post
  #5  
Old 03-14-2008, 09:04 AM
xact Offline
pp regular
 
Join Date: Oct 2007
Posts: 46
I don't know about other methods, but it's more than 2 weeks now since I don't know what spam is (God bless!!). What I did (worked on image_template.html) :
- in the <form> line I've replaced "index.php?x=save_comment" with "index.php?x=saIwantNoSpamcomment";
- after <form> line I've added <TOKEN>
- after </form> line I've added this script:
HTML Code:
<script type="text/javascript">
trueAction = "index.php?x=saIwantNoSpamcomment";
trueAction = trueAction.replace(/IwantNoSpam/g, "ve_");
document.forms.commentform.action = trueAction;
</script>

Instead of "IwantNospam" you can put whatever string you want, as I did in my template.

PS. I keep akismet/defensio disabled and it's all clean. I'm thinking to enable immediate publishing...

Last edited by xact; 04-04-2008 at 08:38 PM.
Reply With Quote