forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: SaWey on January 05, 2009, 11:28:45 pm

Title: reCAPTCHA plugin
Post by: SaWey on January 05, 2009, 11:28:45 pm
reCAPTCHA plugin v0.9

This plugin replaces the built in CAPTCHA of CPG1.5
Primarily built as an example on how to create a CAPTCHA plugin (as this has some special hooks)

Just upload, install and enjoy.


[edit] I just had an idea to create a CAPTCHA plugin which uses different CAPTCHA techniques and rotates these randomly or by a specified intervall... (if someone wants to do this, be my guest)

Get the free reCaptcha keys for your site here:
reCaptcha Signup at Google (http://www.google.com/recaptcha/whyrecaptcha)
Title: Re: reCAPTCHA plugin
Post by: Joe Carver on March 05, 2010, 02:31:57 am
Update - AJAX reCaptcha v0.9.5 - 2.1

I have updated this plugin with full credits to SaWey here and in the files.

This version of the plugin now uses AJAX to load the reCaptcha. The result is a cleaner look to displayimage.php page with the reCaptcha not visible until the user clicks a button to load it from the remote server. Visitors must have javascript enabled in the browser to use the reCaptcha. It also might be a little more bot resistant with the AJAX load.

There is now a configuration page where the colors/style and language can be selected. There is also an option to not use the AJAX reCaptcha on the contact page so that non-javascript visitors can contact the gallery admin using the reCaptcha <noscript> option.

   +++++++++++
   
   To Install:
   1) Upload and install via plugin manager.
   
   To Uninstall:
   1) Use plugin manager

   Questions?
   1) Read the docs
   
   +++++++++++
       
Get the free reCaptcha keys for your site here:
reCaptcha Signup at Google (http://www.google.com/recaptcha/whyrecaptcha)

   +++++++++++


  Demo Version Link (http://josephcarver.com)

   Bug and usage reports are kindly requested.
 
   Please use the latest available version. Always.

Title: Re: reCAPTCHA plugin
Post by: Joe Carver on March 07, 2010, 03:14:57 am
Release of version 1.0 - AJAX reCaptcha for Coppermine 1.5.x

This is now complete - please reply with any comments, translations for the language files, etc.

Changelog

Note:File Header  info. is not very descriptive.

Many thanks to SaWey + dev. team members whose code I have used as templates.

Title: Re: reCAPTCHA plugin
Post by: Joe Carver on March 30, 2010, 09:08:55 pm
Release of version 1.1

Changelog

New version attached to this post only.

Title: Re: reCAPTCHA plugin
Post by: CFR on April 26, 2010, 12:19:20 pm
Hi!

Icannot instal this last plugin in my gallery :/ I have message:
"Call to undefined function cpg_fetch_icon() in /home/tomushic/public_html/gallery/plugins/recaptcha/init.inc.php  on line 28"

What i must do to?

THX
CFR
Title: Re: reCAPTCHA plugin
Post by: Joe Carver on April 26, 2010, 01:00:19 pm
Posting a link to your Coppermine is required for support - please do so.
Title: Re: reCAPTCHA plugin
Post by: CFR on April 26, 2010, 01:28:55 pm
Sorry :)

http://tomushi.com/gallery/index.php

Title: Re: reCAPTCHA plugin
Post by: Αndré on April 26, 2010, 01:33:52 pm
You're using Coppermine 1.4.26. As you can see, this plugin is designed for cpg1.5.x
Quote
forum.coppermine-gallery.net > Support > cpg1.5.x Support > cpg1.5 plugins > cpg1.5 plugin contributions > Topic: reCAPTCHA plugin
Title: Re: reCAPTCHA plugin
Post by: CFR on April 26, 2010, 01:53:08 pm
Oops, automatic update is going down. Ok, THX i must check my server provider.

THX again
Title: Re: reCAPTCHA plugin
Post by: Criss on June 16, 2010, 08:39:07 am
I'm having problem with recaptcha plugin for registration. "Enter confirmation" button seems to be disabled. Any idea why?

http://joejonasphotos.org/register.php
Title: Re: reCAPTCHA plugin
Post by: Αndré on June 16, 2010, 11:36:36 am
Works for me as expected. I just registered the user 'test', which you can delete.
Title: Re: reCAPTCHA plugin
Post by: Criss on June 16, 2010, 04:14:43 pm
Thanks, it was my template's fault.
Title: Re: reCAPTCHA plugin
Post by: Joe Carver on June 17, 2010, 04:15:17 pm
Release of Version 1.2

Changelog

New version is now attached to this post.
Title: Re: reCAPTCHA plugin - error message on runnin install
Post by: kyber on August 16, 2010, 06:25:45 pm
Installation using plugin manager fails with error message:
"Parse error: parse error, unexpected '(', expecting '}' in /home/sites/site13/otterspace/photos/plugins/recaptcha/codebase.php on line 382"

AJAX reCaptcha (recaptcha): v1.2
Coppermine Photo Gallery 1.5.8 running on Apache on Linux

would welcome suggestions of what to look at.

Everything else seems to be running fine, and other plugin installs have run fine as well.
Title: Re: reCAPTCHA plugin
Post by: Joe Carver on August 16, 2010, 11:47:21 pm
Posting a link to your Coppermine is required for support - please do so.

The file has been corrupted. Use a good set of utilities and a clean copy to try again. Unzip and upload from your local computer if your server is corrupting the files.
Title: Re: reCAPTCHA plugin
Post by: kyber on August 17, 2010, 03:53:48 pm
Same problem.

I downloaded from the above thread, then used a remote ftp client (rather than my local ftp client) to upload and unzip the zip file to the correct place this time (having deleted the recaptcha folder on server first).

(implementation is at otterspace.co.uk slash photos)

note I also have a problem listed under installation covering versioncheck not working correctly, although overall coppermine appears to be working fine

any more suggestions?
Title: Re: reCAPTCHA plugin
Post by: Αndré on August 17, 2010, 04:13:49 pm
Which PHP version do you use?
Title: Re: reCAPTCHA plugin
Post by: kyber on August 17, 2010, 05:39:42 pm
PHP Version 4.3.11, configured as follows:

'./configure' '--host=i386-redhat-linux' '--build=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc/httpd' '--with-config-file-scan-dir=/etc/httpd/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl=/root/software/curl-7.15.5' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-pcre-regex' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--without-oci8' '--with-pear=/usr/share/pear' '--with-kerberos=/usr/kerberos' '--with-ldap' '--with-ldap-sasl' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--with-apxs2filter=/usr/sbin/apxs' '--with-mcrypt' '--enable-shared
Title: Re: reCAPTCHA plugin
Post by: Αndré on August 17, 2010, 06:02:56 pm
Afaik you cannot embed objects in echo outputs in PHP4. Please try to store them in a variable and embed that variable instead of the object.
Title: Re: reCAPTCHA plugin
Post by: kyber on August 17, 2010, 06:28:00 pm
Afaik you cannot embed objects in echo outputs in PHP4. Please try to store them in a variable and embed that variable instead of the object.

Αndré: Who was that intended for? It means nothing to me and does not obviously related. The reCAPTCHA plugin install routine fails for me. I am not going to hack the code to make it work on the host system I use, I would rather find out what it wrong with the setup of the host system.
Title: Re: reCAPTCHA plugin
Post by: Αndré on August 17, 2010, 07:48:59 pm
Who was that intended for?
You ;) Either you have to make the code PHP4 compatible as suggested or update PHP to version 5.
Title: Re: reCAPTCHA plugin
Post by: kyber on August 17, 2010, 08:48:43 pm
Ok, thank you for clarifying. I had missed the requirement for php5. Fair-enough.

I find it a little odd that a plugin has higher requirements than the host application:

Quote
Coppermine Photo Gallery has been tested to work well on IIS, Apache 1.3.24 onwards to the latest Apache 2, on Linux, UNIX, OSX, and Win32 systems. The following settings are required:

    * Good webserver (Apache recommended);
    * PHP (4.2.0 or better);
    * MySQL (3.23.23 or better; 4.x recommended);
    * either GD or ImageMagick (any version);
I guess I can live without for now and use the built in captcha. Shame, I prefer recaptcha and used it on an earlier version. I shall see if my hosting friend will move me to a php5 system. I do not think hacking the code to make it compatible with php4 is a sensible route for me.

Thanks for your help thought, I do appreciate it.
Title: Re: reCAPTCHA plugin
Post by: Joe Carver on August 17, 2010, 11:38:29 pm
Afaik you cannot embed objects in echo outputs in PHP4. Please try to store them in a variable and embed that variable instead of the object.

Thanks Αndré - for both the help and the lesson too.

The plugin is due for an update anyway, and most of the work is done. I am still waiting for the "new recaptcha" to deliver on some language updates that they said to be coming.

I will try your suggestion and include it in the next version, maybe in a week or so.
Title: Re: reCAPTCHA plugin
Post by: Joe Carver on August 19, 2010, 12:08:53 am
@  kyber, Post a real link next time and if you have a password protected gallery that has an issue in a password protected page then post a test user account OR create an unprotected test gallery.

With that said, I am still surprised that a php 4 issue has taken so long to appear. I also can now not foresee creating a new version any time soon.

@  kyber, Try this. It is a line from the cpg 1.4.x version and works with my server's php 5.

Open/edit plugins/recaptcha/codebase.php (make a back up first)
Find:
Code: [Select]
    <form name="cpgform" id="cpgform" action="{$superCage->server->getEscaped('REQUEST_URI')}" method="post">Replace it with:
Code: [Select]
    <form name="cpgform" id="cpgform" action="{$_SERVER['REQUEST_URI']}" method="post">
I hope that it works for you. There is not much else to offer at the moment.
Title: Re: reCAPTCHA plugin
Post by: Αndré on August 19, 2010, 09:22:26 am
$_SERVER['REQUEST_URI'] shouldn't exist in cpg1.5.x, as it has been dropped by Inspekt. That's not what I suggested. My suggestion was to change
Code: [Select]
    <form name="cpgform" id="cpgform" action="{$superCage->server->getEscaped('REQUEST_URI')}" method="post">to something like
Code: [Select]
    $request_uri = $superCage->server->getEscaped('REQUEST_URI');
    <form name="cpgform" id="cpgform" action="$request_uri" method="post">

This will of course not work, as the html stuff is embedded in an echo output. So you cannot just copy & paste, but have to put the first line above echo <<< EOT.
Title: Re: reCAPTCHA plugin
Post by: Joe Carver on August 23, 2010, 01:49:53 am
Release of Version 1.3

Changelog

New version attached here only.
Title: Re: reCAPTCHA plugin
Post by: TheOneAndOnly on September 13, 2010, 11:38:56 pm
Is it just me, or why can´t i see the reCAPTCHA plugin?
(see attached image)

I´m running php 5.
Title: Re: reCAPTCHA plugin
Post by: Joe Carver on September 13, 2010, 11:51:57 pm
Is it just me, or why can´t i see the reCAPTCHA plugin?

Posting a link to your Coppermine is mandatory for all support requests.

Additionally, as it has been stated before. Screen shots should be in English.

Are you asking about the plugin or the built in Captcha?
Title: Re: reCAPTCHA plugin
Post by: Joe Carver on September 18, 2010, 03:10:39 pm
Recaptcha is down for some users. / Down when this was posted.

Users of version 1.3 of this plugin might be having trouble due to server issues with recaptcha. It is down at the time of this post and has been for more than 12 hours now.

As a temporary fix: Uninstall/delete version 1.3 - Upload/install version 1.2
Or change in plugins/recaptcha/codebase.php this:
Code: [Select]
<script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
To this:
Code: [Select]
<script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script>
See the Google Group reCaptcha pages for more info.
http://groups.google.com/group/recaptcha

     =======
Update: The service is back up. There is no need to modify the plugin now.
See the link above if you have trouble in the future.

For power users: The script recaptcha_ajax.js can be self-hosted. It is not recommended in case the script is updated. See the link above, I got a reply from their support stating the same.
Title: Re: reCAPTCHA plugin
Post by: vzbob on October 18, 2010, 07:44:02 am
I installed the recaptcha 1.3 plugin and when I activate it it chops out the Ok buttom on comments. I have re-installed coppermine 3 times but it still does it.

As soon as install the plugin it does it on all themes and when i remove it the ok button shows again.

I have un-installed it until i can find the reason for this happening and have search everywhere for a solution..

The Gallery is set so guests only see thumbnails.
http://eric.bkbobby.com/albums/index.php (http://eric.bkbobby.com/albums/index.php)
Title: Re: reCAPTCHA plugin
Post by: dispen on October 18, 2010, 04:14:53 pm
how to make the recaptcha could be seen always, without pressing a button?
Title: Re: reCAPTCHA plugin
Post by: Joe Carver on October 19, 2010, 12:24:27 am
Being not too sure why / how to answer.  Please read the thread before posting.*
I installed the recaptcha 1.3 plugin and when I activate it it chops out the Ok buttom on comments. I have re-installed coppermine 3 times but it still does it.

Release of Version 1.2

    Changelog
    • Hide OK (submit) button until reCaptcha is called (cleaner, more simple for visitor)
    • ...
    • ...
    • ...

    Coppermine is not something that you uninstall / reinstall to fix some other issues. Read your docs.

    As soon as install the plugin it does it on all themes and when i remove it the ok button shows again.
    That is expected. It was tested with all of the cpg themes.
    If you are not certain that you have entered your recaptcha keys correctly then uninstall /reinstall with the correct keys.


    I have un-installed ...........
    The Gallery is set so guests only see thumbnails.
    Making your help request empty...
    ... if you have a password protected gallery that has an issue in a password protected page then post a test user account OR create an unprotected test gallery.

         +++++
    how to make the recaptcha could be seen always, without pressing a button?

    Posting a link to your Coppermine is mandatory for all support requests.

    Post a real link next time....

    Posting a link to your Coppermine is required for support - please do so.


    Use version 0.9.
    reCAPTCHA plugin v0.9

    This plugin replaces the built in CAPTCHA of CPG1.5......



    [/list]
    Title: Re: reCAPTCHA plugin
    Post by: vzbob on October 19, 2010, 02:35:03 am
    Being not too sure why / how to answer.  Please read the thread before posting.*
    Coppermine is not something that you uninstall / reinstall to fix some other issues. Read your docs.
    That is expected. It was tested with all of the cpg themes.
    If you are not certain that you have entered your recaptcha keys correctly then uninstall /reinstall with the correct keys.

    Making your help request empty...
         +++++

    Use version 0.9.


    [/list]
    Quote
    Being not too sure why / how to answer.  Please read the thread before posting.*
    OK your reply is confusing as you are replying to 2 people.   

    So I did post a link to my gallery and did also created a test account with test/test ID/PW but for some reason my 1st post did not add the last line with the test account.

    I have also read all the documents but to no avail. And searched and read all the posts.

    I have entered the recaptcha keys correctly and it does work.
    But the problem is that with recaptcha activated it removes the OK button to submit the comment when in the Config comments settings it is set not to be used for registered users. And as i said in my post i have disabled it until this is resolved.

    Screenshot attached with the Recaptcha activated for guest and at the end of the comment line shows when the settings are set to use it. And when set to use it only for guests comments only 
    Title: Re: reCAPTCHA plugin
    Post by: Joe Carver on October 19, 2010, 03:37:05 am
    Issue confirmed. You can wait a week or so for a newer version.
    Or, edit / open:     plugins/recaptcha/codebase.php.      Make a backup first.

    Find:
    Code: [Select]
    // HTML template for comment
    Add below it:
    Code: [Select]
    if (($CONFIG['comment_captcha'] == 1) || ($CONFIG['comment_captcha'] == 2 && !USER_ID)) {
    Find:
    Code: [Select]
    // Form comment end
    Add / change to this:
    Code: [Select]
    }
    // Form comment end

    Save + upload.
    Title: Re: reCAPTCHA plugin
    Post by: vzbob on October 19, 2010, 04:19:39 am
    Issue confirmed. You can wait a week or so for a newer version.
    Or, edit / open:     plugins/recaptcha/codebase.php.      Make a backup first.

    Find:
    Code: [Select]
    // HTML template for comment
    Add below it:
    Code: [Select]
    if (($CONFIG['comment_captcha'] == 1) || ($CONFIG['comment_captcha'] == 2 && !USER_ID)) {
    Find:
    Code: [Select]
    // Form comment end
    Add / change to this:
    Code: [Select]
    }
    // Form comment end

    Save + upload.


    Thank you Joe that fixed the problem it works as it should now.

    Test account deleted from the site.
    Title: Re: reCAPTCHA plugin
    Post by: dispen on October 19, 2010, 06:20:50 am
    how to make the recaptcha could be seen always, without pressing a button?

    my gallery - http://fotoclub.peresvet-gorod.ru/

    There is a desire to completely remove the "Enter the confirmation." Module to be visible at all times.
    Title: Re: reCAPTCHA plugin
    Post by: Joe Carver on October 19, 2010, 11:53:01 pm
    There is a desire to completely remove the "Enter the confirmation." Module to be visible at all times.

    I am not sure how to make the AJAX recaptcha show without a user click somewhere.
    The javascript version of recaptcha always shows. You can see a sample by changing the
    setting in recaptcha plugin config for Contact form to use non-AJAX.
    Try version 0.9 of the plugin. It is in the first post of this thread and uses the .js version.

    You are using an older revision of the AJAX recaptcha. You should upgrade it to see if the
    newer interface suits your wishes. Try version 1.3.
    Title: Re: reCAPTCHA plugin
    Post by: dispen on October 20, 2010, 08:12:50 pm
    Quote from: Joe Carver
    ....
    Try version 0.9 of the plugin. It is in the first post of this thread and uses the .js version.

    You are using an older revision of the AJAX recaptcha. You should upgrade it to see if the
    newer interface suits your wishes. Try version 1.3.
    Excellent. Version 0.9 - what we need. (I was version 1.3). As we now change the color of the captcha from red to black  :)
    Title: ReCaptcha activation
    Post by: jlarsen10 on October 20, 2010, 09:13:01 pm
    I just upgraded to 1.5.8 from 1.4x.  I noticed "recaptchalib.php" is installed. I edited in the public and private keys now I need to know how to activate it for login/registration purposes to stop the bots? www.jefflarsen.com/gallery (http://www.jefflarsen.com/gallery)
    Title: Re: reCAPTCHA plugin
    Post by: Joe Carver on October 21, 2010, 01:11:41 am
    ....was version 1.3..
    Your screenshot looked like version 1.1. Try this:
    Release of Version 1.3

    As we now change the color of the captcha from red to black  :)
    I am not sure if that can be done. Check the Google / reCaptcha pages:
    http://code.google.com/apis/recaptcha/intro.html

    [edit]
    Try adding this to the <head> of your template.html:

    Code: [Select]
    <script type="text/javascript">
     var RecaptchaOptions = {
        theme : 'blackglass'
     };
     </script>

    It worked the one time I have now tested it. Good luck.

      
    Title: Re: ReCaptcha activation
    Post by: Joe Carver on October 21, 2010, 01:36:08 am
    This should have been posted in the recaptcha plugin thread. (which by itself might need to be split...)
     
    now I need to know how to activate it ...www.jefflarsen.com/gallery (http://www.jefflarsen.com/gallery)
    It is activated. I tested the registration captcha for both bad / good input. It worked. You now have a user named test that you can delete.

    .... stop the bots?
    The recaptcha plugin will slow down automatic spammers / bots, but will not stop humans from posting spam. Keep that in mind as you use the plugin, because there are more than just a few human spammers.

    www.jefflarsen.com/gallery (http://www.jefflarsen.com/gallery)
    ..... if you have a password protected gallery that has an issue in a password protected page then post a test user account OR create an unprotected test gallery.
    It is impossible to see / test your comments captcha without a password...but because you have the Registration captcha working you should be fine.
    In the future try to remember that a test user account is very helpful in diagnosing problems.


    Title: Re: ReCaptcha activation
    Post by: jlarsen10 on October 21, 2010, 02:33:10 am
    Joe, Thanks for the help.  All good suggestions. Recaptcha ended about 98 percent of my spam while operating a 1.4xv version.  Looks like it's already working again. I found the very well managed plugin after poking around with searches and got it working on my own just before you tested it. Also noticed the plugin on the main CPG website list of plugins.  Wrapping up my upgrade as we speak.  Thanks again.   
    Title: Re: ReCaptcha activation
    Post by: Αndré on October 21, 2010, 10:59:12 am
    This should have been posted in the recaptcha plugin thread
    May I merge these threads, Joe?
    Title: Re: ReCaptcha activation
    Post by: Joe Carver on October 21, 2010, 12:19:42 pm
    Yes please
    I am also not sure if my plugin should belong in SaWey's thread any longer because it has become very different...
    Title: Re: reCAPTCHA plugin
    Post by: Joe Carver on November 11, 2010, 03:06:35 am
    Release of Version 2.0

    Changelog

    Thanks to Michael Martin for the multiline idea and snip (the plugins would have clashed, this is somewhat different and includes a workaround for a Firefox line count issue)

    This should be the last and final version of this plugin barring any glaring bugs.
    Title: Re: reCAPTCHA plugin
    Post by: Αndré on November 11, 2010, 09:13:16 am
    Release of Version 2.0
    Attached to initial post.
    Title: Re: reCAPTCHA plugin
    Post by: Joe Carver on November 11, 2010, 01:00:20 pm
    Attached to initial post.

    Thank You
    Title: Re: reCAPTCHA plugin
    Post by: quick5pnt0 on June 24, 2011, 02:48:50 am
    Is there any way of adding captchas for ecards to this plugin?
    Title: Re: reCAPTCHA plugin
    Post by: Αndré on June 24, 2011, 10:34:38 am
    Is there any way of adding captchas for ecards to this plugin?
    Thanks for not honoring our work by replacing the official footer with your own one. Please read this (http://documentation.coppermine-gallery.net/en/theme_copyright.htm).
    Title: Re: reCAPTCHA plugin
    Post by: quick5pnt0 on June 24, 2011, 10:04:10 pm
    Thanks for not honoring our work by replacing the official footer with your own one. Please read this (http://documentation.coppermine-gallery.net/en/theme_copyright.htm).

    Sorry but years back my coppermine gallery was hacked and after looking through my logs it was found that the way the perpetrators found the gallery was by searching google for that footer signature. After that it was removed.
    Title: Re: reCAPTCHA plugin
    Post by: Felix_F on July 03, 2011, 01:15:54 am
    Hi,

    I just upgraded from 1.4.x to 1.5.12 and installed reCaptcha and it seems to be working ok on the comments but the registration piece does not seem to be on at all.

    Where can I start to troubleshoot?

    Thank you in advance.

    Felix
    Title: Re: reCAPTCHA plugin
    Post by: Felix_F on July 04, 2011, 05:24:52 am
    Nevermind, found the problem.  Well not so much a problem but didn't realize I was supposed to enable it in the config page.  =)
    Title: Re: reCAPTCHA plugin
    Post by: Felix_F on July 04, 2011, 08:10:47 pm
    Well I guess I spoke too soon.  While the captcha confirmation now shows up on the registration page, it is not required to be filled in for registration.

    Any suggestions?
    Title: Re: reCAPTCHA plugin
    Post by: rwhmur on August 07, 2011, 04:11:01 am
    I uploaded the plugin using the plugin manager, but am not sure what to do from here. Can someone please help?
    Title: Re: reCAPTCHA plugin
    Post by: mykee on November 03, 2011, 08:05:27 pm
    I updated from 1.1 to 2.0 version of my plugin, but not working with 1.5.16.  :-[
    Older gallery version worked, but now I click on button under registration, but code not show, nothing happened.
    What's my problem?

    Ok, I found a solution: you need uninstall older version first, and reinstall again this plugin, and will work. Thanks!
    Title: Re: reCAPTCHA plugin
    Post by: dellwo on December 25, 2011, 08:20:22 pm
    Just to let you know. The link to get recaptcha keys didn't work. I got a "not found 404" error.
    I was able to go to the recaptcha site and get the key manually.

    Thanks for the plugin. I was getting loads of spam with the standard captcha.
    Hopefully, this helps.

    Thanks, Joe.
    http://gallery.phoebeallens.com/
    Title: Re: reCAPTCHA plugin
    Post by: Joe Carver on December 26, 2011, 12:27:45 pm
    ...The link to get recaptcha keys didn't work. I got a "not found 404" error.....

    Thanks for that information. It will be fixed on the next release.

    To get the free reCaptcha keys from Google see this link:
    http://www.google.com/recaptcha/whyrecaptcha

    [o/t] You have some cool Hummingbird pictures on your site - those birds have always fascinated me.


    Title: Re: Re: reCAPTCHA plugin
    Post by: dellwo on December 26, 2011, 05:49:01 pm
    Thanks for that information. It will be fixed on the next release.

    To get the free reCaptcha keys from Google see this link:
    http://www.google.com/recaptcha/whyrecaptcha

    [o/t] You have some cool Hummingbird pictures on your site - those birds have always fascinated me.

    You might want to check out my live stream then.
    The chicks are growing fast.
    http://phoebeallens.com/
    Title: Re: reCAPTCHA plugin
    Post by: Lockheed on January 25, 2012, 11:53:59 am
    I don't know what's wrong, but when I upload this through plugin manager, nothing happens. It does not show up on plugin list and so I cannot enable it.
    I am using CP 1.5.x
    Title: Re: reCAPTCHA plugin
    Post by: Joe Carver on January 29, 2012, 01:40:33 am
    ..but when I upload this through plugin manager, nothing happens....

    Does the same thing occur when you upload other zipped plugins?

    Have you looked at your document package about alternative uploading?

    If you need more, please post a link to your Coppermine.
    Title: Re: Re: reCAPTCHA plugin
    Post by: Lockheed on January 29, 2012, 09:28:40 am
    Does the same thing occur when you upload other zipped plugins?

    Have you looked at your document package about alternative uploading?

    If you need more, please post a link to your Coppermine.
    Yes.

    I uploaded it manually, and it now works.
    Title: Re: Re: reCAPTCHA plugin
    Post by: ScottMcf on December 06, 2012, 03:44:09 am
    Thanks for that information. It will be fixed on the next release.

    To get the free reCaptcha keys from Google see this link:
    http://www.google.com/recaptcha/whyrecaptcha

    [o/t] You have some cool Hummingbird pictures on your site - those birds have always fascinated me.

    None of the links to get the keys seem to work.
    Title: Re: reCAPTCHA plugin
    Post by: Jeff Bailey on December 06, 2012, 03:51:27 am
    Worked fine for me. Try this link also https://www.google.com/recaptcha/admin/create
    Title: Re: Re: reCAPTCHA plugin
    Post by: ScottMcf on December 06, 2012, 04:00:43 am
    Worked fine for me. Try this link also https://www.google.com/recaptcha/admin/create

    It was a problem with Fire Fox. FF gives me more trouble then IE. Thanks for the reply
    Title: Re: reCAPTCHA plugin
    Post by: Joe Carver on May 13, 2013, 02:50:32 am
    Release of Version 2.1

    New Features

    New version attached to first posts in this thread.

    To update:

    Title: Re: reCAPTCHA plugin
    Post by: Stettler_Martin on July 10, 2013, 05:53:13 pm
    Hello Joe

    The reCAPTCHA plugin work fine with cpg1.5.x
    Q: It's possible the reCAPTCHA plugin open automatically if write an user the eCard or Pictures Comment?
    Some visitors see not to use the reCAPTCHA plugin as required step.

    Thanks for the answer.
    Bye -  Martin
    Title: Re: reCAPTCHA plugin
    Post by: Joe Carver on July 16, 2013, 01:55:41 am
    I have looked and although it would be possible,
    the amount of changes would take a long time.
    This version plugin is designed around the AJAX recaprcha only.

    Try the first version listed in this thread. (v0.9)

    ........or Pictures Comment?
    Some visitors see not to use the reCAPTCHA plugin as required step.

    You can also edit / change the plugin language file to make the
    instructions more clear to your visitors. (\recaptcha\lang\english.php)

    Title: Re: reCAPTCHA plugin
    Post by: wilk on August 29, 2015, 01:25:31 am
    My old polish translation for 2.1 (w/o docs) and a fix for unsanitized variable use (might be others as well, but haven't checked):

    Code: [Select]
    - <form name="cpgform" id="cpgform" action="{$_SERVER['REQUEST_URI']}" method="post">
    + <form name="cpgform" id="cpgform" action="{$superCage->server->getEscaped('REQUEST_URI')}" method="post">
    Title: Re: reCAPTCHA plugin
    Post by: mr5 on October 16, 2015, 09:51:22 am
    Would appreciate help in analyzing what happened.

    Problem: reCaptcha V2.1 says 'enter two words', but only one is displayed.

      -  I have two galleries http://eja.pri.ee/Gallery1/index.php  and http://eja.pri.ee/Gallery2/index.php  They are identical from SW point of view (some minor customization differences not relevant for this problem).
      -  Both had reCaptcha V2.0 installed with identical configuration (default actually)
      -  Gallery1 was practically not attacked. Gallery2 got quite a lot of intruders.
      -  I wanted to reinstall reCaptcha in Gallery2 and found out that there is V2.1 now.
           -  I deleted V2.0
              Installed V2.1 with the same old keys I had from previous installation
              V2.1 was installed successfully
      But now I have a problem of "one word only is shown."
    Thanks! 
       
    Title: Re: reCAPTCHA plugin
    Post by: mr5 on October 16, 2015, 01:42:16 pm
    ...continuation... don't know how to edit.
    Instead of two words one number is displayed.
    Title: Re: reCAPTCHA plugin
    Post by: Joe Carver on October 16, 2015, 11:35:48 pm
    Backup and edit/open locally, the file plugins/recaptcha/Lang/English.php

    Find the line with of text you want to modify, change it, and maintain the quote marks and semicolons as they were.
    Upload the new/changed file to the same location on the server.

    (I am on a mobile device, capital letters were added to the file and path names)
    Title: Re: reCAPTCHA plugin
    Post by: mr5 on October 17, 2015, 09:49:38 am
    Thanks Joe,
    I was not sure that this is a normal operation. Will modify the text.