Firefox PHP

Non-graphical CAPTCHA when posting

Posted by sheik 
Re: Non-graphical CAPTCHA when posting
February 08, 2006 09:31AM
I'm not too sure what you mean Maurice.
I was talking about this kind of thing in the template:

if (!empty($_POST["preview"])){
// show post button
}

I am only interested in using a CAPTCHA on non-registered users, so forcing such users to preview first wouldn't bother me unduly ;-)

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: Non-graphical CAPTCHA when posting
February 08, 2006 09:46AM
Actually, your comments have made me rethink - thanks.

I think I was just being dense before. There is no need to either always show the CAPTCHA or hide the "post" button. All I really need to do is override the post button to show the preview screen, which then contains the CAPTCHA.

- So, users browsing the forums see Preview/Post form as normal, with no CAPTCHA.
- Unregistered users wishing to reply either click "Preview" and are then shown the CAPTCHA, or click "Post" and get redirected to the "Preview / CAPTCHA" page instead.
- Registered users don't see a CAPTCHA at all (in my system anyway, this can be changed in the module settings)

That to me seems like an ideal solution.
Unless anyone sees a problem with this approach I will repackage the module later and release this as v0.3.

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: Non-graphical CAPTCHA when posting
February 08, 2006 10:38AM
v0.3 released, (download link in first message in this thread):

Changelog
- Trimmed user response so whitespace doesn't cause the CAPTCHA to fail.
- Now not showing CAPTCHA on normal Post form, redirecting to Preview instead.
- Included .htaccess file for security

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: Non-graphical CAPTCHA when posting
February 22, 2006 06:19AM
Just a short update on this module. I've been running it since I released it, and haven't had a single spam. Prior to that, I was getting hundreds (sometimes thousands a week).

I'm thinking of updating the script to obfuscate the codes a bit more - perhaps by HTML encoding them. At the moment, it would be fairly trivial for an automated spambot to detect the words and spot the correct code.

Like I say though, for the time being, it seems to be working.

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: Non-graphical CAPTCHA when posting
March 13, 2006 05:53AM
Can the countless people posting to my live sites please stop doing so?!
I've clearly requested at the top of this thread that people don't post to the links I've provided, and yet people still are.

It seems I've stopped the problem of spam, only to replace it with idiots posting "JUst thesting the CAPCHA" :-(

Thanks,

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: Non-graphical CAPTCHA when posting
March 13, 2006 06:35AM
Remove the link from your post...

---
-=[ Panu ]=-
Re: Non-graphical CAPTCHA when posting
March 13, 2006 02:01PM
I will do if people continue to abuse them.
The only purpose for posting the links was so that people could see examples of the different ways the CAPTCHA could be implemented, without having to install the module.

/\

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: Non-graphical CAPTCHA when posting
April 04, 2006 11:15AM
Hi /\dam,

Quote
sheik
note, module has not yet been tested with Phorum v5.1

Tested, not working. But in the last two hours I wasn't able to find the problem... Any idea?

Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Non-graphical CAPTCHA when posting
April 12, 2006 06:48AM
Sorry Oliver,
I haven't installed the 5.1 version to any of my sites yet and won't have a chance for at least the next few weeks.
I'd imagine the problem is linked to the template changes in 5.1, but that is a pure guess.

Do you see the CAPTCHA at all? If not, it is extremely likely to be a template thing.

/\dam

--
My notable Phorum sites:
Movie Deaths Database - "review comments" system mostly powered by Phorum
Learn Chinese! - integrated forum quiz
Re: Non-graphical CAPTCHA when posting
April 12, 2006 07:01AM
Hi Adam,

Quote
sheik
Do you see the CAPTCHA at all?

Yes, the CAPTCHA is shown, but each post is accepted even without entering the correct word.

Oliver
Sorry, only registered users may post in this forum.

Click here to login