I thought of posting this as a bug, but had second thoughts because I don’t know what the plan is for the veriword function in 0.9.7.
There is some unused and some unreachable code in the current file and, at least on my machine, it won’t work (though it works fine for me under 0.9.6).
I have what I think is an improved version but it won’t work either because I absolutely can’t get it (or the original) to save the session variable and have it be available later. I think it’s because there’s no longer a startCMSSession() function in the core.
I’ve looked for viable alternatives on the web but re-captcha sucks (IMHO) and I can’t find anything else that will work.
One alternative that would avoid images altogether would be to just use a simple Q: and A: to detect humans rather than an image (e.g. What animal goes meow) but you need a lot of questions and, even then, miscreants could just collect them and the answers. Also, they’d all require translation. On the plus side, it’s much more accessible.
Another approach would be to forget about images and just add in the two js options in SPForm that set a min/max time to sign on and can require use of the mouse and/or keyboard.
One last method would be to use the mathstring option in SPForm -- solve the math problem: 2 X 3. This can be done with or without images. Without images, miscreants could potentially write code to parse and solve the math problems. With images, we’re back to the session variable problem.
This form (iirc)
http://www.bobsguides.com/contact-form.html
uses the mathstring, kb/mouse/ and timer options. I haven’t gotten a single spam message through it yet.
But I’ve been completely stumped in trying to save the session variable to make it work in 0.9.7.
Bob