RE:Captcha - Stop Spam, Read Books and protect email address

Post your new plugins here!
User avatar
matt_t_hat
Posts: 1123
Joined: Sun Aug 21, 2005 4:45 pm
Location: UK
Contact:

RE:Captcha - Stop Spam, Read Books and protect email address

Postby matt_t_hat » Sat May 26, 2007 4:11 pm

This is a Captcha Turing Test for your blog but it results in a much nicer looking image with advanced reload image and audio options. However you DO NOT need the GD library installed or a server with TT-Font compiled (as I discovered was required) so it should work on slightly more set-ups.

Recaptcha also uses the captcha to correctly digitise old books where OCR has failed. So you know that the distorted text is specifically difficult for computers to read. How this works is explained in depth on the site.

Furthermore you can lock email address links behind a captcha link to prevent bots.

You will need to visit http://recaptcha.net/ and grab a private/Public key for your domain and you may also need to go to http://mailhide.recaptcha.net/apikey to generate a mailhide key pair.

This is all free and takes not very long.

I used the original Captcha plugin as a framework so it has the same flexability of sometimes or all the time and the same spam API awareness.

By default both actions are carried out currently so you will want to get both pairs of keys.

For some reason the default skin messes up the box and this cost me a good few hours wondering why the CSS was not working. Finally I dscovered that it was a bug of the fact that my browser was following CSS rules that are generally ignored during rendering. I found a fix (also used by the captcha but broken by the default CSS. :roll: There is an option (On By Default) that applies a not too vaild under xHTML hot fix.

For many skins it should be possible to do without the fix.

If it is needed fussy coders can add this style statement to thier own sheet but must user "!Important" to force it.

Oh yes, plugin download: http://freestuff.lordmatt.co.uk/my_down ... S%20Stuff/ It's a little under 9KB in size.

Unzip, upload as is to plugin directory. Install. Edit Options and add your keys. Rock and Roll.

BTW: Not recomended for use with other Captcha plugs...
User avatar
matt_t_hat
Posts: 1123
Joined: Sun Aug 21, 2005 4:45 pm
Location: UK
Contact:

Postby matt_t_hat » Sat May 26, 2007 4:36 pm

visit http://lordmatt.co.uk (my blog) to see it in action. 8)
User avatar
daPLAYBOY
Posts: 4
Joined: Sun Jun 10, 2007 6:35 pm

Postby daPLAYBOY » Sun Jun 10, 2007 10:40 pm

Hi matt

Went to Plug-ins, and I can't see the button to upload only the text 'Install New Plugin'

I did however upload via ftp to plug-ins, but still nothing!

Any idea's?

Br.
User avatar
danielck
Posts: 668
Joined: Thu Dec 15, 2005 7:26 am
Contact:

Postby danielck » Mon Jun 11, 2007 3:43 am

pls see this FAQ page on plugin installation.
(I check the site and confirm the link is not down :) )

http://faq.nucleuscms.org/item/35
User avatar
matt_t_hat
Posts: 1123
Joined: Sun Aug 21, 2005 4:45 pm
Location: UK
Contact:

Postby matt_t_hat » Wed Aug 08, 2007 11:27 pm

daPLAYBOY wrote:Hi matt

Went to Plug-ins, and I can't see the button to upload only the text 'Install New Plugin'

I did however upload via ftp to plug-ins, but still nothing!

Any idea's?

Br.
That would be cool though. An upload and install script for plugins... I'll look into it.
phaedrus10
Posts: 1
Joined: Fri Mar 18, 2011 5:11 pm

Cannot get this plugin to work

Postby phaedrus10 » Fri Mar 18, 2011 5:13 pm

I have tried to install this plugin per your instructions, but get the following message in the action log:

[admin] Plugin NP_RECaptcha was not loaded (does not support SqlTablePrefix)

Any ideas?

Thanks,
Phaedrus10
User avatar
matt_t_hat
Posts: 1123
Joined: Sun Aug 21, 2005 4:45 pm
Location: UK
Contact:

Re: Cannot get this plugin to work

Postby matt_t_hat » Mon Jul 18, 2011 2:21 pm

phaedrus10 wrote:I have tried to install this plugin per your instructions, but get the following message in the action log:

[admin] Plugin NP_RECaptcha was not loaded (does not support SqlTablePrefix)

Any ideas?

Thanks,
Phaedrus10
That one is my bad. Everything is done via API and so tables are not used. A quick edit to the code is need to say "yes, actually it does support them".
EmmathePiper
Posts: 3
Joined: Tue Jan 10, 2012 12:22 pm

Postby EmmathePiper » Fri Feb 03, 2012 8:21 pm

The download link on here (http://lordmatt.co.uk/item/812/) is bringing up an unavailable page for me - is this plugin still available?
ihermit
Posts: 9
Joined: Sun Jan 27, 2013 1:49 am
Contact:

Re: Cannot get this plugin to work

Postby ihermit » Sun Feb 24, 2013 11:44 pm

matt_t_hat wrote:
phaedrus10 wrote:I have tried to install this plugin per your instructions, but get the following message in the action log:

[admin] Plugin NP_RECaptcha was not loaded (does not support SqlTablePrefix)

Any ideas?

Thanks,
Phaedrus10
That one is my bad. Everything is done via API and so tables are not used. A quick edit to the code is need to say "yes, actually it does support them".


Mind sharing what the quick edit was, I'm having the same problem.
prevail
Posts: 38
Joined: Thu Aug 03, 2006 4:04 am
Location: Union City, Ca
Contact:

Fixing (does not support SqlTablePrefix) problem

Postby prevail » Sat Mar 23, 2013 7:00 pm

First, I cannot believe I figured this out, and I'm sure than anyone who has ever read one of my posts to this forum can't believe it either.

I got the clue from Lord Matt's "My Bad" casual reply, like it must be something really minor.

So I went looking through the NP_REcaptcha.php file and read it. I noticed there is a part "function supportsFeature" and what seems to be a list of features supported. One of them was SQlTablePrefix.

I noticed that the other features had something after them like return:0, so I added return:0 after SqlTablePrefix. No dice. It still didn't work.

So, I changed the "O" to "1", and it worked.

So, this is what I have now:

function supportsFeature($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
case 'HelpPage':
return 0;
User avatar
WillyP
Nucleus Guru
Nucleus Guru
Posts: 872
Joined: Sun Aug 30, 2009 3:29 am
Location: Pembroke, NH
Contact:

Postby WillyP » Sun Mar 24, 2013 4:10 pm

This is a great plugin and stops all the spam on my site.


Matt, please fix the code in the download.

Prevail, sorry you had to figure this out on your own, the fix was discussed in another thread and I should have added a link from this thread.

Nucleus Support :: View topic - NP_Recaptcha
User avatar
LordMatt
Posts: 33
Joined: Wed May 01, 2013 7:46 pm

Postby LordMatt » Wed May 01, 2013 8:08 pm

WillyP wrote:This is a great plugin and stops all the spam on my site.


Matt, please fix the code in the download.

Prevail, sorry you had to figure this out on your own, the fix was discussed in another thread and I should have added a link from this thread.

Nucleus Support :: View topic - NP_Recaptcha


Sorry about that. Head in the clouds some days.

I've added an updated version to GitHub and will update the old download area later.

https://github.com/Lord-Matt-NucleusCMS ... _RECaptcha
User avatar
WillyP
Nucleus Guru
Nucleus Guru
Posts: 872
Joined: Sun Aug 30, 2009 3:29 am
Location: Pembroke, NH
Contact:

Postby WillyP » Wed May 01, 2013 11:12 pm

Thanks Matt!
User avatar
LordMatt
Posts: 33
Joined: Wed May 01, 2013 7:46 pm

Postby LordMatt » Mon May 06, 2013 11:43 pm

WillyP wrote:Thanks Matt!
You're welcome.
jacy
Posts: 46
Joined: Thu Aug 04, 2005 3:32 pm

Postby jacy » Thu Nov 21, 2013 2:32 pm

Can someone PM me about getting a copy of this plugin? The download link for the plug-in eventually routes to a Christian Laboutin knock-off shoe site...

Thanks!
User avatar
WillyP
Nucleus Guru
Nucleus Guru
Posts: 872
Joined: Sun Aug 30, 2009 3:29 am
Location: Pembroke, NH
Contact:

Postby WillyP » Thu Nov 21, 2013 2:54 pm

The github link works for me.

Return to “Plugin Development”