Full service web hosting, great prices and support. Starts at $1.99/month!
Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Recaptcha V3.x

  1. #1
    Senior Member
    Recaptcha V3.x


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    76


    Default Recaptcha V3.x

    Anyone else working on installing this? I don't see much chatter here, so I am putting in these two links - from osCommerce you need something called Hook System (no idea if compatible with osCmax) Recaptcha V3



  2. #2
    Senior Member
    Recaptcha V3.x


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    76


    Default Re: Recaptcha V3.x

    looks like V3 may not work at all with osCmax, so will try to set up V2 reCaptcha...

  3. #3
    osCMax Development Team

    Recaptcha V3.x

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    100


    Thumbs up Re: Recaptcha V3.x

    I'm still popping in here, periodically.
    Thanks for pursuing this!

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  4. #4
    Member
    Recaptcha V3.x


    Join Date
    May 2017
    Posts
    84
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    Markcm     $ 0.00
    Rep Power
    9


    1 out of 1 members found this post helpful.

    Default Re: Recaptcha V3.x

    Heads up, in my experience V2 is now updated. Although I've moved to opencart, I was getting blasted with bots creating accounts. V2 no longer slowed them down. V3 stopped the bot accounts 100%.

  5. #5
    osCMax Development Team

    Recaptcha V3.x

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    100


    Thumbs up Re: Recaptcha V3.x

    Thanks for the heads up!

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  6. #6
    Senior Member
    Recaptcha V3.x


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    76


    Default Re: Recaptcha V3.x

    I have found a relatively easy way to purge the database of these annoying registrations.

    I am NOT going into details publicly (who knows who reads this?) but I can give you this for free: Do NOT log into your data base with permissions stronger than r/w as you don't want to break the data base! Logging in with r/w privileges should only allow you to EDIT the data only, but not able to create or edit the structure. I made that mistake and it took me longer than it should have (I forgot to backup prior to editing - idiot!) to restore the database.

    Anyway, once you are in the DB (in r/w mode only) take a look at what the unwanted folks are filling in. You should see a pattern you can use in the Customers DB. With luck purging the customers first will delete the listings in address_book!

    I too am planning on moving to OpenCart, but stalled with everything else that is happening with Covid-19...

    Make you you have turned off Comments, Reviews, and anything else the 'customer' can do that might compromise your site!

    DO NOT POST IN CLEAR HERE WHAT YOU ARE DOING! THAT MAY TEACH THE BOTS HOW TO MAKE IT HARDER TO PURGE THE CUSTOMER LIST!

    I hope this helps some folks purge these bot generated 'customers'.
    Last edited by JRR; 04-13-2020 at 10:34 AM.

  7. #7
    osCMax Development Team

    Recaptcha V3.x

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    100


    Default Re: Recaptcha V3.x

    I put a very simple question in the registration form, such as "what colour is an orange" or "what's 10 + 1" and that amazingly stops all of them so far.

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  8. #8
    Senior Member
    Recaptcha V3.x


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    76


    Default Re: Recaptcha V3.x

    Good solution!
    Hmm, how did you add that? I assume a wee bit of code...
    Thanks!

  9. #9
    osCMax Development Team

    Recaptcha V3.x

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    100


    Arrow Re: Recaptcha V3.x

    Quote Originally Posted by JRR View Post
    Good solution!
    Hmm, how did you add that? I assume a wee bit of code...
    Thanks!
    5-10 minutes should see it added. Remember to take a copy of your files before editing though.
    catalog/create_account.php
    About line 100..
    Code:
        // end modification for reCaptcha
    
        $antirobot = tep_db_prepare_input($_POST['antirobot']);
    Once added, then about line 213..
    Code:
        // end modification for reCaptcha
        
        if ( ($antirobot == 'no') OR ($antirobot == 'No') ) {
           $error = false;
           } else {
           $error = true;
           $messageStack->add('create_account', ENTRY_SECURITY_CHECK_ERROR);
         }
    The condition to check for could be a word, a phrase, a number etc. but keep it simple, to avoid frustration - hence the check allowing for lowercase or capital. (You need to also consider '1' or 'one' or 'One' if you request a number.) Not the most elegant bit of code but appears to do what's required.

    Then,
    catalog/includes/languages/english/create_account.php
    Add before the last ?>
    Code:
    define('ENTRY_ANTI_ROBOT','Anti-robot question');
    define('ENTRY_ANTI_ROBOT_TEXT','<- Are you a robot');
    Of course, you can word the prompt to whatever you want ("what letter comes after r") but try to consider all possible (sensible) answers - preferably with no variants. Also consider your market, not everyone calls nappies, diapers!

    Finally,
    catalog/templates/your_template/content/create_account.tpl.php
    Just after the Recaptcha..
    Code:
    <!-- reCAPTCHA - end -->
    
          <tr>
            <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
          </tr>
          <tr>
            <td>      
              <table border="0" width="100%" cellspacing="1" cellpadding="2">
                <tr>
                 <td class="main" width="150">
                    <?php echo ENTRY_ANTI_ROBOT; ?>
                 </td>
                 <td class="main">
                    <?php echo tep_draw_input_field('antirobot') .  '&nbsp;' . (tep_not_null(ENTRY_ANTI_ROBOT_TEXT) ? '<span  class="inputRequirement">' . ENTRY_ANTI_ROBOT_TEXT . '</span>':  ''); ?>
                 </td>
                </tr>
             </table>
           </td>
          </tr>
    If you use an additional eg.mobile, template then remember to add it there too.
    Job Done.

    If it doesn't stop 'em or only works for a while, just change the question and response. I've not needed to do so yet and it's been active for many months. Touch wood.
    Last edited by ridexbuilder; 04-13-2020 at 02:15 PM.

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  10. #10
    Senior Member
    Recaptcha V3.x


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    76


    1 out of 1 members found this post helpful.

    Default Re: Recaptcha V3.x - one resolution that works!

    That worked! Just as advertised! I made it a simple math question...

    (example question)

    define('ENTRY_ANTI_ROBOT_TEXT','<- 1+1= ?');

    (example answer)

    if ( ($antirobot == '2') OR ($antirobot == 'two') )

    Thanks for saving me endless hours of poking at the code!

    Do you have a PayPal tip jar??

    John :-#)#

Page 1 of 3 123 LastLast

Similar Threads

  1. osC reCaptcha
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 12-18-2008, 02:00 PM
  2. osC reCaptcha
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 12-08-2008, 04:55 PM
  3. osC reCaptcha
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 12-08-2008, 03:51 PM
  4. osC reCaptcha
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 12-08-2008, 03:10 PM
  5. osC reCaptcha
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-16-2008, 02:00 PM

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

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