Page 1 of 3

Crazy Maths CAPTCHA Plugin

Posted: Sat Sep 26, 2009 7:27 pm
by Extensions Robot
Modification name: Crazy Maths CAPTCHA Plugin
Author: igorw
Modification description: A CAPTCHA that shows a complex math question to the user / bot in question. The administrator can define these questions and typeset them with LaTeX-style notation.
Modification version: 1.0.0
Tested on phpBB version: 3.0.5

Download file: captcha_math.zip
File size: 37.8 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

-->Modification support<--

Crazy Maths CAPTCHA Plugin

Posted: Sat Sep 26, 2009 7:27 pm
by DavidIQ
Modification validated/released

Notes:
THIS IS A MOD FOR phpBB VERSION 3.0.6 AND HIGHER

Please do not attempt to install or use this MOD on a version prior to 3.0.6.

Crazy Maths CAPTCHA Plugin

Posted: Sat Sep 26, 2009 7:27 pm
by igorw
Requirements

The MOD requires the installation of mimeTeX and uses PHP's exec function.

Screenshot
captcha.png
captcha.png (21.88 KiB) Viewed 9272 times
Installation instructions for mimTeX
  1. Go to the mimeTeX webpage
  2. Scroll down to "Precompiled Binaries"
  3. Download the binary file depending on which OS your server is running (if you don't know, go to the ACP->System->PHP Information)
  4. Upload the mimetex.cgi file to your webhost's cgi-bin folder and set permissions to executable (CHMOD 777)
When you've done that install the captcha plugin and go to the captcha plugin settings -> configuration. There you can set the absolute path to mimeTeX (phpinfo will also help you figure this out). It will be something like: /home/something.com/public_html/cgi-bin/mimetex.cgi.

LaTeX notation

The math questions are inserted using LaTeX math mode style notation. Note, LaTeX has nothing to do with rubber. ;)

It's pretty easy actually. For simple things you can simply enter the question in plain text, like "1 + 1". For more complex stuff you should have a slight knowledge of LaTeX, but it's not so difficult. Here's an example: "\frac{1}{2} * 2". This would result in a fraction like this (1/2) * 2. Some more things you can use are \sin{} \sqrt{} x^2.

Re: Crazy Maths CAPTCHA Plugin

Posted: Sun Sep 27, 2009 9:23 am
by PinoyEngineâ„¢
are the questions in generated image form? or asked by words?

thanks.

Re: Crazy Maths CAPTCHA Plugin

Posted: Sun Sep 27, 2009 5:03 pm
by igorw
It's a generated image. :) EDIT: I've added some more infos and a screenshot to the third post of this topic.

Re: Crazy Maths CAPTCHA Plugin

Posted: Sun Sep 27, 2009 5:40 pm
by Desdenova
Igor, the MOD Robot post shows it works for 3.0.5...this can't be the case, am I right?

Re: Crazy Maths CAPTCHA Plugin

Posted: Sun Sep 27, 2009 5:57 pm
by Jeroen B
I think they can not choose 3.0.6 yet ;)

Re: Crazy Maths CAPTCHA Plugin

Posted: Sun Sep 27, 2009 6:11 pm
by igorw
The 3.0.5 is because 3.0.6 is not released yet. As the notice says, it only works for 3.0.6. It will be updated either manually when 3.0.6 is released or automatically once an update is approved.

Re: Crazy Maths CAPTCHA Plugin

Posted: Mon Sep 28, 2009 7:52 am
by PinoyEngineâ„¢
Gonna install this in my engineer's forum.

Haha. Those are really nerdy questions. :D

Re: Crazy Maths CAPTCHA Plugin

Posted: Mon Sep 28, 2009 6:05 pm
by beyondbg
And who is going to register to the board then? :lol: Maybe I'm not getting it right ,but who will answer this right?

Re: Crazy Maths CAPTCHA Plugin

Posted: Mon Sep 28, 2009 6:17 pm
by igorw
Mathematicians. :lol:

Well, you don't have to put in complex questions. You can just put in stuff like "1 + 1". ;)

EDIT: I've added some more information on how to insert complex questions to the info post.

Re: Crazy Maths CAPTCHA Plugin

Posted: Tue Sep 29, 2009 6:26 pm
by Nelsaidi
This mod is awesome :D - I'd install it on my forum, but it might mean less members registering - or more emails saying they cant solve it rather than read it :P - And naaaah, its only fun with complex stuff!

Re: Crazy Maths CAPTCHA Plugin

Posted: Wed Sep 30, 2009 8:27 pm
by yexusbeliever
Wow! I think even regular people will have trouble getting into the forum! LOL! You wanna make a regular play mod of this into the forum board?

Re: Crazy Maths CAPTCHA Plugin

Posted: Wed Sep 30, 2009 8:42 pm
by RMcGirr83
beyondbg wrote:And who is going to register to the board then? :lol: Maybe I'm not getting it right ,but who will answer this right?
If it's like the example Igor gave, someone with a high tech calculator lying around.

Re: Crazy Maths CAPTCHA Plugin

Posted: Wed Sep 30, 2009 8:44 pm
by igorw
In fact, I have a TI-89 Titanium right here. :lol: