Page 2 of 3

Re: Crazy Maths CAPTCHA Plugin

Posted: Wed Sep 30, 2009 11:04 pm
by Desdenova
I counter with my TI-83+! *shing!* :lol:

Re: Crazy Maths CAPTCHA Plugin

Posted: Thu Oct 01, 2009 2:52 am
by RMcGirr83
I counter with a beer!!

I win again!

:lol:

Good luck with your mod Igor, I'm sure it will be well received.

Re: Crazy Maths CAPTCHA Plugin

Posted: Sat Nov 28, 2009 2:18 pm
by Neuropass
eviL<3 wrote:Requirements

The MOD requires the installation of mimeTeX and uses PHP's exec function.
  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)
    .

My server is linux i686. it's not listed in the Operative system there.. what should i do? i can't install it? :cry:

Re: Crazy Maths CAPTCHA Plugin

Posted: Sat Nov 28, 2009 3:12 pm
by igorw
Linux i386 should work. I believe it is compatible with 686.

Re: Crazy Maths CAPTCHA Plugin

Posted: Mon Nov 30, 2009 2:27 pm
by Neuropass
I can't get it to work... i think i set everything correctly. But in the preview there is"preview" text the captcha isn't showing... Any help guys?

Also after i changed the permission i got error 500... It's not really easy to set this captcha...

Re: Crazy Maths CAPTCHA Plugin

Posted: Mon Nov 30, 2009 6:01 pm
by igorw
1. Are you sure you specified the correct absolute path?
2. What does your error log (you can usually find this in your hosting control panel) say about mimetex.cgi?

Re: Crazy Maths CAPTCHA Plugin

Posted: Wed Dec 02, 2009 7:37 pm
by Darth Wong
Not to be overly geeky or anything, but the example question is (sin(x))(x)/(2x)=42, which simplifies to sin(x)/2=42 or sin(x)=84, but the sine function ranges from -1 to 1, so it's impossible to solve. Just saying ...

Re: Crazy Maths CAPTCHA Plugin

Posted: Wed Dec 02, 2009 9:37 pm
by igorw
Nice one. :ugeek:

Re: Crazy Maths CAPTCHA Plugin

Posted: Thu Dec 03, 2009 6:38 pm
by TrZ
Wow, I wouldn't have caught that one :/

Re: Crazy Maths CAPTCHA Plugin

Posted: Sat Dec 05, 2009 9:58 pm
by Darth Wong
I just couldn't help it. That's been bugging me ever since I first saw this mod, and I finally decided I had to say something. For extra geek points, I would also note that even if the value was between -1 and 1, the solution would still be ambiguous because the question doesn't specify whether x should be in degrees or radians :)

Re: Crazy Maths CAPTCHA Plugin

Posted: Sun Dec 06, 2009 3:53 am
by aelunii
Ordinarily, you'd assume it's in radians if there's no symbol, wouldn't you?

I've given a link to the image to my mods in case anyone complains about captchas in the future :D (the fact that the question has no answer is only a bonus!) Sadly, I can't really use the mod myself since I think my users would revolt.

Re: Crazy Maths CAPTCHA Plugin

Posted: Wed Dec 09, 2009 12:22 am
by AlleyKat
Danish lang file translation

Code: Select all

<?php
/**
*
* math captcha [Danish]
*
* @package language
* @version $Id$
* @copyright (c) 2009 phpBB Group
* @copyright (c) 2009 Danish lang file by AlleyKat - phpbb2.dk
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
	'CAPTCHA_MATH'				=> 'Crazy Maths CAPTCHA',
	'CONFIRM_QUESTION_EXPLAIN'	=> 'For at bevise at du er et menneske, løs følgende matematiske spørgsmål.',
	'CONFIRM_QUESTION_WRONG'	=> 'Du har angivet et ugyldigt svar til bekræftelses-spørgsmålet.',

	'QUESTION_ANSWER'			=> 'Svar',
	'ANSWER_EXPLAIN'			=> 'Indtast et gyldigt svar på spørgsmålet.',
	'CONFIRM_QUESTION'			=> 'Spørgsmål',
	'QUESTIONS'				=> 'Spørgsmål',

	'ANSWER'					=> 'Svar',
	'EDIT_QUESTION'				=> 'Rediger spørgsmål',
	'QUESTION_DELETED'			=> 'Spørgsmål slettet',

	'QUESTION_TEXT'				=> 'Spørgsmål',
	'QUESTION_TEXT_EXPLAIN'		=> 'Spørgsmål der stilles ved registrering.',

	'QUESTION_ANSWER'			=> 'Svar',
	'QUESTION_ANSWER_EXPLAIN'		=> 'Svaret på spørgsmålet.',

	'MATH_ERROR_MSG'			=> 'Udfyld venligst alle felter.',

	'QUESTION_STORED'			=> 'Spørgsmålet blev gemt.',
	'QUESTION_DATA'				=> 'Spørgsmål-data',
	
	'ADD_QUESTION'				=> 'Tilføj spørgsmål',
	
	'CONFIG_NO_PERMISSION'			=> 'Ikke-grundlæggere kan ikke ændre konfigurationen for math CAPTCHA.',
	
	'CAPTCHA_MATH_MIMETEX'			=> 'mimetex-sti',
	'CAPTCHA_MATH_MIMETEX_EXPLAIN'		=> 'Indtast stien til din binære mimetex fil.',
));

?>
Also available as zip file from http://www.phpbb2.dk/forum/viewtopic.php?t=11657

Re: Crazy Maths CAPTCHA Plugin

Posted: Wed Dec 09, 2009 3:13 pm
by igorw
Thanks for the translation! :)

Re: Crazy Maths CAPTCHA Plugin

Posted: Sat Dec 26, 2009 7:44 pm
by beyondbg
Well I can't do it.

I downloaded the mimetex.cgi & uploaded it to cgi-bin ,added the correct /home/mywebsite/public_html/cgi-bin/mimetex.cgi ,but it doesn't display any image..

I used even your examples..
What do I miss?

Re: Crazy Maths CAPTCHA Plugin

Posted: Mon Dec 28, 2009 1:30 pm
by igorw
Are you sure you got the correct binary, put it in the right folder and specified the right folder in the ACP?

Could you (in your webbrowser) go to www.yoursite.com/cgi-bin/mimetex.cgi?test
Is there any output?