Loading...
 
Development

Development


Re: Prevent automatic/robot submission-feature for Forums

posts: 3665 United States

I added CAPTCA support for all forms and submissions in my Tiki via http://www.protectwebform.com/. I found it quick and easy to implement, very effective, and it supports accessibility features (such as voice CAPTCHAs).

I don't have a forum on my Tiki, but I added it to:

  • Registration
  • HTML pages that contain form submissions
  • Directory submission


HTH,

-Rick

posts: 22

> I added CAPTCA support for all forms and submissions in my Tiki via http://www.protectwebform.com/. I found it quick and easy to implement, very effective, and it supports accessibility features (such as voice CAPTCHAs).
>

sad

How did you do it? I get a code to copy to the php-file which processes the form, tiki-view_forum.php, right after ?php, but the image doesn't appear on my input form.

However, when I enter something and hit enter, I get the "The image code you have provided does not match the
actual one. Hit the 'back' button of your browser and input the correct code please."-message, which is kind of a success. But there was no way to enter the right code, there was no CAPTCHA-image, and no field to enter the code in.

It seems to me that the CAPTCHA-processing is there in the code, but not the code to display the image + field.

posts: 3665 United States

There are two pieces to add:

  1. Add the PHP code to the appropriate PHP file; in your case: tiki-view_forum.php
  2. Add the HTML code to the appropriate TPL file; in your case: tiki-view_forum.tpl


FWIW, I've found http://www.protectwebform.com to be highly effective. My spam submissions and false registrations have been reduced to nearly 0. biggrin

HTH,

-Rick

posts: 22
Thanx, it's working now, I had misunderstood something. It's really great. What a relief, phew!