Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic Reply to topic
Author Message
matt_t_hat
Nucleus Geek


Joined: 21 Aug 2005
Posts: 1124
Location: UK

Post Posted: Sat May 26, 2007 4:11 pm   Post subject: RE:Captcha - Stop Spam, Read Books and protect email address
Reply with quote

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. Rolling Eyes 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_downloads/NucleusCMS%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...

_________________
Host Plugins | Blog | Hundred Quid A Day | My Big Fat Arse

Back to top

View user's profile Send private message Visit poster's website
matt_t_hat
Nucleus Geek


Joined: 21 Aug 2005
Posts: 1124
Location: UK

Post Posted: Sat May 26, 2007 4:36 pm   Post subject:
Reply with quote

visit http://lordmatt.co.uk (my blog) to see it in action. Cool
_________________
Host Plugins | Blog | Hundred Quid A Day | My Big Fat Arse

Back to top

View user's profile Send private message Visit poster's website
daPLAYBOY
Nucleus Newbie


Joined: 10 Jun 2007
Posts: 4

Post Posted: Sun Jun 10, 2007 10:40 pm   Post subject:
Reply with quote

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.

Back to top

View user's profile Send private message
danielck
Nucleus PhD


Joined: 15 Dec 2005
Posts: 668

Post Posted: Mon Jun 11, 2007 3:43 am   Post subject:
Reply with quote

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

http://faq.nucleuscms.org/item/35

_________________

Soulworks | Blogcoli | Inspire! | Digital Reminiscence

Back to top

View user's profile Send private message Visit poster's website
matt_t_hat
Nucleus Geek


Joined: 21 Aug 2005
Posts: 1124
Location: UK

Post Posted: Wed Aug 08, 2007 11:27 pm   Post subject:
Reply with quote

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.
_________________
Host Plugins | Blog | Hundred Quid A Day | My Big Fat Arse

Back to top

View user's profile Send private message Visit poster's website
phaedrus10
Nucleus Newbie


Joined: 18 Mar 2011
Posts: 1

Post Posted: Fri Mar 18, 2011 5:13 pm   Post subject: Cannot get this plugin to work
Reply with quote

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

Back to top

View user's profile Send private message
matt_t_hat
Nucleus Geek


Joined: 21 Aug 2005
Posts: 1124
Location: UK

Post Posted: Mon Jul 18, 2011 2:21 pm   Post subject: Re: Cannot get this plugin to work
Reply with quote

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".
_________________
Host Plugins | Blog | Hundred Quid A Day | My Big Fat Arse

Back to top

View user's profile Send private message Visit poster's website
EmmathePiper
Nucleus Newbie


Joined: 10 Jan 2012
Posts: 3

Post Posted: Fri Feb 03, 2012 8:21 pm   Post subject:
Reply with quote

The download link on here (http://lordmatt.co.uk/item/812/) is bringing up an unavailable page for me - is this plugin still available?

Back to top

View user's profile Send private message
ihermit
Nucleus Newbie


Joined: 27 Jan 2013
Posts: 9

Post Posted: Sun Feb 24, 2013 11:44 pm   Post subject: Re: Cannot get this plugin to work
Reply with quote

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.

Back to top

View user's profile Send private message Visit poster's website
prevail
Nucleus Fan


Joined: 03 Aug 2006
Posts: 36
Location: Union City, Ca

Post Posted: Sat Mar 23, 2013 7:00 pm   Post subject: Fixing (does not support SqlTablePrefix) problem
Reply with quote

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;

Back to top

View user's profile Send private message Visit poster's website
Post new topic Reply to topic
Display posts from previous:   

Goto page 1, 2  Next

Page 1 of 2

All times are GMT + 1 Hour

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group