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)
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.
Release of version 1.0 - AJAX reCaptcha for Coppermine 1.5.xThis is now complete - please reply with any comments, translations for the language files, etc.
Changelog- admin.php sanitize input
- admin.php check for changes on submit
- all text is via lang. file
- codebase.php change captcha error response for comments
- add inline documentation to package
- add help (greybox pop ups) to admin.php
- english.php additions admin - codebase - error
Note:File Header info. is not very descriptive.
Many thanks to SaWey + dev. team members whose code I have used as templates.
Release of version 1.1Changelog- Add logging for all reCaptcha errors (comment, contact, register)
- Change error text for visitor
New version attached to this post only.
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
Posting a link to your Coppermine is required for support - please do so.
Sorry :)
http://tomushi.com/gallery/index.php
You're using Coppermine 1.4.26. As you can see, this plugin is designed for cpg1.5.x
Quoteforum.coppermine-gallery.net > Support > cpg1.5.x Support > cpg1.5 plugins > cpg1.5 plugin contributions > Topic: reCAPTCHA plugin
Oops, automatic update is going down. Ok, THX i must check my server provider.
THX again
I'm having problem with recaptcha plugin for registration. "Enter confirmation" button seems to be disabled. Any idea why?
http://joejonasphotos.org/register.php
Works for me as expected. I just registered the user 'test', which you can delete.
Thanks, it was my template's fault.
Release of Version 1.2Changelog- Hide OK (submit) button until reCaptcha is called (cleaner, more simple for visitor)
- Add button/function "Hide/Cancel" to hide reCaptcha division
- Change button class to "button"
- Fix layout error in admin.php
New version is now attached to this post.
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.
Quote from: Joe Carver on April 26, 2010, 01:00:19 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.
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?
Which PHP version do you use?
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
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.
Quote from: Α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.
Α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.
Quote from: kyber on August 17, 2010, 06:28:00 PM
Who was that intended for?
You ;) Either you have to make the code PHP4 compatible as suggested or update PHP to version 5.
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:
QuoteCoppermine 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.
Quote from: Α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.
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.
@ 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:
<form name="cpgform" id="cpgform" action="{$superCage->server->getEscaped('REQUEST_URI')}" method="post">
Replace it with:
<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.
$_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
<form name="cpgform" id="cpgform" action="{$superCage->server->getEscaped('REQUEST_URI')}" method="post">
to something like
$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.
Release of Version 1.3Changelog- add New Words button
- change form variable as above
- change default to clean style
- change to google servers/addresses
New version attached here only.
Is it just me, or why can´t i see the reCAPTCHA plugin?
(see attached image)
I´m running php 5.
Quote from: TheOneAndOnly on September 13, 2010, 11:38:56 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?
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:
<script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
To this:
<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.
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)
how to make the recaptcha could be seen always, without pressing a button?
Being not too sure why / how to answer. Please read the thread before posting.*
Quote from: 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.
Quote from: Joe Carver on June 17, 2010, 04:15:17 PM
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.
Quote from: vzbob on October 18, 2010, 07:44:02 AM
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.Quote from: vzbob on October 18, 2010, 07:44:02 AM
I have un-installed ...........
The Gallery is set so guests only see thumbnails.
Making your help request empty...
Quote from: Joe Carver on August 19, 2010, 12:08:53 AM
... 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.
+++++
Quote from: dispen on October 18, 2010, 04:14:53 PM
how to make the recaptcha could be seen always, without pressing a button?
Quote from: Joe Carver on September 13, 2010, 11:51:57 PM
Posting a link to your Coppermine is mandatory for all support requests.
Quote from: Joe Carver on August 19, 2010, 12:08:53 AM
Post a real link next time....
Quote from: Joe Carver on April 26, 2010, 01:00:19 PM
Posting a link to your Coppermine is required for support - please do so.
Use version 0.9.
Quote from: SaWey on January 05, 2009, 11:28:45 PM
reCAPTCHA plugin v0.9
This plugin replaces the built in CAPTCHA of CPG1.5......
[/list]
Quote from: Joe Carver on October 19, 2010, 12:24:27 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]
QuoteBeing 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
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:
// HTML template for comment
Add below it:
if (($CONFIG['comment_captcha'] == 1) || ($CONFIG['comment_captcha'] == 2 && !USER_ID)) {
Find:
// Form comment end
Add / change to this:
}
// Form comment end
Save + upload.
Quote from: 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:
// HTML template for comment
Add below it:
if (($CONFIG['comment_captcha'] == 1) || ($CONFIG['comment_captcha'] == 2 && !USER_ID)) {
Find:
// Form comment end
Add / change to this:
}
// Form comment end
Save + upload.
Thank you Joe that fixed the problem it works as it should now.
Test account deleted from the site.
Quote from: dispen on October 18, 2010, 04:14:53 PM
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.
Quote from: dispen on October 19, 2010, 06:20:50 AM
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.
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 :)
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)
Quote from: dispen on October 20, 2010, 08:12:50 PM
....was version 1.3..
Your screenshot looked like version 1.1. Try this:
Quote from: Joe Carver on August 23, 2010, 01:49:53 AM
Release of Version 1.3
Quote from: dispen on October 20, 2010, 08:12:50 PM
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:
<script type="text/javascript">
var RecaptchaOptions = {
theme : 'blackglass'
};
</script>
It worked the one time I have now tested it. Good luck.
This should have been posted in the recaptcha plugin thread. (which by itself might need to be split...)
Quote from: jlarsen10 on October 20, 2010, 09:13:01 PM
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.
Quote from: jlarsen10 on October 20, 2010, 09:13:01 PM
.... 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.
Quote from: jlarsen10 on October 20, 2010, 09:13:01 PM
www.jefflarsen.com/gallery (http://www.jefflarsen.com/gallery)
Quote from: Joe Carver on August 19, 2010, 12:08:53 AM
..... 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.
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.
Quote from: Joe Carver on October 21, 2010, 01:36:08 AM
This should have been posted in the recaptcha plugin thread
May I merge these threads, Joe?
Yes please
I am also not sure if my plugin should belong in SaWey's thread any longer because it has become very different...
Release of Version 2.0 Changelog - Bug fix for logged user
- Add help text above captcha - set in config
- Style improvements for different R/C themes
- Multiple lines in Comments - set in config. 1 - 9 lines.
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.
Is there any way of adding captchas for ecards to this plugin?
Quote from: quick5pnt0 on June 24, 2011, 02:48:50 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).
Quote from: Αndré on June 24, 2011, 10:34:38 AM
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.
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
Nevermind, found the problem. Well not so much a problem but didn't realize I was supposed to enable it in the config page. =)
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?
I uploaded the plugin using the plugin manager, but am not sure what to do from here. Can someone please help?
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!
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/
Quote from: dellwo on December 25, 2011, 08:20:22 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.
Quote from: Joe Carver on December 26, 2011, 12:27:45 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/
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
Quote from: Lockheed on January 25, 2012, 11:53:59 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.
Quote from: Joe Carver on January 29, 2012, 01:40:33 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.
Quote from: Joe Carver on December 26, 2011, 12:27:45 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.
None of the links to get the keys seem to work.
Worked fine for me. Try this link also https://www.google.com/recaptcha/admin/create
Quote from: 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
It was a problem with Fire Fox. FF gives me more trouble then IE. Thanks for the reply
Release of Version 2.1New Features- reCaptcha for Ecard, with config optionsi
- New style / locations for buttons
- Updated recaptcha library file
New version attached to first posts in this thread.To update:
- Download the zip file from the first posts in this thread
- Backup / copy the reCaptcha keys (use the plugin configuration page).
- Uninstall and delete the plugin using plugin manager
- Upload and install - enter the keys saved earlier
- Use the plugin configuration page to set preferences
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
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)
Quote from: Stettler_Martin on July 10, 2013, 05:53:13 PM
........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)
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):
- <form name="cpgform" id="cpgform" action="{$_SERVER['REQUEST_URI']}" method="post">
+ <form name="cpgform" id="cpgform" action="{$superCage->server->getEscaped('REQUEST_URI')}" method="post">
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!
...continuation... don't know how to edit.
Instead of two words one number is displayed.
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)
Thanks Joe,
I was not sure that this is a normal operation. Will modify the text.
Is there any way to get this Plugin to run with the new Version of the Google Recaptcha V2.
Because the Support off Google Recaptcha runs out this Days, and it will not longer work.
Thanks for your Time
Thank you for reminding me. Although it is not "days", the end of Version 1 is coming soon.
From: https://developers.google.com/recaptcha/docs/faq (https://developers.google.com/recaptcha/docs/faq)
Quote
What happens to reCAPTCHA v1?
Any calls to the v1 API will not work after March 31, 2018. Starting in November 2017, a percentage of reCAPTCHA v1 traffic will begin to show a notice informing users that the old API will soon be retired.
I will try to update the CPG 1.5x plugin in pieces in the next coming weeks. If it looks like
the changes won't be ready, some advance notice will be posted here and on the plugin page one.
(time is a very limited resource these days)
Quote from: Joe Carver on January 30, 2018, 01:37:48 AM
Thank you for reminding me. Although it is not "days", the end of Version 1 is coming soon.
From: https://developers.google.com/recaptcha/docs/faq (https://developers.google.com/recaptcha/docs/faq)
I will try to update the CPG 1.5x plugin in pieces in the next coming weeks. If it looks like
the changes won't be ready, some advance notice will be posted here and on the plugin page one.
(time is a very limited resource these days)
This would be great because V1 stop working on some sites.
The Profile and comment spam is one of the bigest coppermine problems.
Thanks for your Time and Response
Two weeks left...
Thanks, I think we see the same calendar...
After successfully testing one solution and seeing everything lost by by my hosting
company, rebuilding the main and test sites and now dealing with them not allowing/enabling
allow_url_fopen On as a php.ini setting - a second round of testing looks promising.
Long story short - this has to be tested/verified on a live server, something I had been without.
Something is coming.
We need a reCAPTCHA V2 update please !
QuoteAny calls to the v1 API will not work after March 31, 2018. Starting in November 2017, a percentage of reCAPTCHA v1 traffic will begin to show a notice informing users that the old API will soon be retired.
Most websites around the world have already switched to reCAPTCHA v2, where humans pass effortlessly. With our advanced risk analysis engine, reCAPTCHA v2 can effectively separate humans from bots and always stay ahead of the attackers.
If your site still uses reCAPTCHA v1, please upgrade to reCAPTCHA v2 immediately. We no longer support reCAPTCHA v1. Any calls to the v1 API will not work after March 31, 2018. Please register a new key and upgrade to v2.
Recaptcha V1 end of service - 2018-03.
See this thread for a V2 plugin. (http://forum.coppermine-gallery.net/index.php/topic,79335.0.html)