+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20

Thread: New reCAPTCHA plugin

  1. #1
    dennylin93 is offline Registered User
    Join Date
    Dec 2009
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default New reCAPTCHA plugin

    Hi, I've written a plugin that shows a reCAPTCHA box after too many failed login attempts. The failed attempts are saved in SQL and purged after a certain amount of time.

    Fixed issues:
    • MySQL and PostgreSQL are supported.
    • IPs aren't purged if user doesn't visit.
    • Users that fail reCAPTCHA aren't allowed to login. However, the method is crude and ugly.
    • Might conflict with the remember_me plugin.

    The gzipped file: rcguard-0.2.0.tar.gz.

    Also on GitHub: rcguard.

    Comments and suggestions are welcome. This is my first plugin, so there probably are a lot of problems.
    Last edited by dennylin93; 06-08-2010 at 08:33 AM.

  2. #2
    dennylin93 is offline Registered User
    Join Date
    Dec 2009
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default

    All the issues should be fixed with this version: rcguard 0.2.0.
    Last edited by dennylin93; 02-07-2010 at 01:54 PM.

  3. #3
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,085
    Downloads
    5
    Uploads
    0

    Default

    Nice plugin, can you post some screenshots?

  4. #4
    dennylin93 is offline Registered User
    Join Date
    Dec 2009
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default

    Sure, I've attached a screenshot of the login form.
    Attached Images

  5. #5
    lacri's Avatar
    lacri is offline Registered User
    Join Date
    Jan 2009
    Location
    Lutherstadt Wittenberg, Germany
    Posts
    179
    Downloads
    5
    Uploads
    0

    Default

    great work plugin works fine !!!

    many thanks

  6. #6
    lacri's Avatar
    lacri is offline Registered User
    Join Date
    Jan 2009
    Location
    Lutherstadt Wittenberg, Germany
    Posts
    179
    Downloads
    5
    Uploads
    0

    Default

    to change language in capchta
    edit rcguard.js

    and replace
    PHP Code:
    var RecaptchaOptions = {
      
    theme 'white'
    }; 
    with
    PHP Code:
    var RecaptchaOptions = {
      
    theme 'white',
      
    lang 'de'
    }; 
    de for German

    see here for more options
    reCAPTCHA API Documentation

  7. #7
    lacri's Avatar
    lacri is offline Registered User
    Join Date
    Jan 2009
    Location
    Lutherstadt Wittenberg, Germany
    Posts
    179
    Downloads
    5
    Uploads
    0

    Default

    recaptcha dont display correct in some old Browsers IE6 IE7
    to fix this edit rcguard.css and replace all with

    PHP Code:
    @charset "utf-8";

    #rcguard {
        
    margin-bottom0px;
    }

    #recaptcha {
        
    positionrelative;


  8. #8
    dennylin93 is offline Registered User
    Join Date
    Dec 2009
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default

    Hmm... Looks like we have a problem. The fix above doesn't work with Firefox. I'll try to find a solution that works with all browsers.
    Last edited by dennylin93; 02-11-2010 at 12:45 AM.

  9. #9
    lacri's Avatar
    lacri is offline Registered User
    Join Date
    Jan 2009
    Location
    Lutherstadt Wittenberg, Germany
    Posts
    179
    Downloads
    5
    Uploads
    0

    Default

    in my firefox works with this
    tested with FF 3.6 and 3.5 IE6, IE7 and IE8, Opera 10, and Google Chrome tested with Windows 7 and XP and FF 3.6 under linux.

    which FF version you use.

  10. #10
    dennylin93 is offline Registered User
    Join Date
    Dec 2009
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default

    I'm using Firefox 3.6 and Opera 10 under FreeBSD.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts