FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » riddlecaptcha?
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
riddlecaptcha? [message #164247] Fri, 14 January 2011 11:24 Go to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
http://cvs.prohost.org/index.php/Riddlecaptcha.plugin resads :
Usage
If enabled, users will see a mathcaptcha when trying to register or when posing anonymously (if enabled).

That's an error ...right?


"I'm a Witcher, I solve human problems; not always using a sword!"
Re: riddlecaptcha? [message #164248 is a reply to message #164247] Fri, 14 January 2011 22:02 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Yes, it looks like an error. Is this a riddle?
Re: riddlecaptcha? [message #164249 is a reply to message #164248] Sat, 15 January 2011 05:31 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
naudefj wrote on Fri, 14 January 2011 21:02
Yes, it looks like an error. Is this a riddle?


Well if you look at it, it almost could be!

<?php
// Initialize plugin.
plugin_add_hook('CAPTCHA', 'plugin_riddlecaptcha');

// Implement a simple riddle CAPTCHA.
function plugin_riddlecaptcha() {
	$riddles = array(
		array('Are you a spammer? (yes or no)', 'NO'),
		array('Are you human? (yes or no)', 'YES'),
		array('Do you hate spam? (yes or no)', 'YES'),
		array('Do you solve captchas for money? (yes or no)', 'NO'),
		array('Fire is... (hot or cold)', 'HOT'),
		array('Are you posing anonymously? (yes or no)', 'YES'),
		array('Ice is... (hot or cold)', 'COLD'),
		array('Enter the value of ten plus six', '16'), 
                array('Is this a mathcaptcha? (yes or no)', 'NO'),
		array('Enter the value of 5 plus seven', '12'),
		array('Please type the second word in this sentence.', 'TYPE'),
		array('What word is fourth in this sentence?', 'FOURTH')
	);

	return $riddles[ array_rand($riddles) ];
}

Laughing Laughing
OK, I fixed the wiki entry, but looking at this it appears that the same method could be used to limit anonymous posters or registrations to only people who would know certain things. For instance I encountered this while working on an installation for a local county.

So changing the questions to something that would generally be known to county residents but not so well known to outsiders would tend to limit registrations and anonymous posting to the counties residents.

This would by no means be foolproof but then nothing is.



"I'm a Witcher, I solve human problems; not always using a sword!"
Re: riddlecaptcha? [message #164253 is a reply to message #164249] Sun, 16 January 2011 03:14 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Yes, you can use it to ask for info that only your members will know, like your gang's secret code.

BTW, thanks for fixing the wiki.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Spoiler mod?
Next Topic: Plugin configuration
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 22 04:29:31 EDT 2017

Total time taken to generate the page: 0.00649 seconds