reCAPTCHA plugin reCAPTCHA plugin
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

reCAPTCHA plugin

Started by SaWey, January 05, 2009, 11:28:45 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

SaWey

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

Joe Carver

#1
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

   +++++++++++


  Demo Version Link

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


Joe Carver

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
    • 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.


    Joe Carver

    Release of version 1.1

      Changelog
      • Add logging for all reCaptcha errors (comment, contact, register)
      • Change error text for visitor

      New version attached to this post only.


      CFR

      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

      Joe Carver

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

      CFR


      Αndré

      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

      CFR

      Oops, automatic update is going down. Ok, THX i must check my server provider.

      THX again

      Criss

      I'm having problem with recaptcha plugin for registration. "Enter confirmation" button seems to be disabled. Any idea why?

      http://joejonasphotos.org/register.php

      Αndré

      Works for me as expected. I just registered the user 'test', which you can delete.

      Criss

      Thanks, it was my template's fault.

      Joe Carver

      Release of Version 1.2

        Changelog
        • 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.

        kyber

        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.

        Joe Carver

        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.

        kyber

        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?

        Αndré

        Which PHP version do you use?

        kyber

        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

        Αndré

        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.

        kyber

        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.