Page 1 of 2 12 LastLast
Results 1 to 10 of 186

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: CAPTCHA Anti-Robot Mod

    Oxxyfx and fontaholic,

    Did you rename the folders under includes/modules/YOUR_TEMPLATE and includes/templates/YOUR_TEMPLATE to the actual name of your template that you are using?
    Did you verify that the SQL installed correctly?

    JT

  2. #2
    Join Date
    Sep 2007
    Posts
    77
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Thanks JT, I E-mailed you and you helped me over the E-mail already. THe problem was that some of the files on my system got coped into the wrong directory on the server.

  3. #3
    Join Date
    May 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Hmmm- well, I certainly did try to install with care.

    I installed the SQL patch by copying the statements rather than uploading a file- tables are structured just like they should be once the statements were executed. I've verified that my database has the anti_robot_reg table added.

    I can see the CATCHPA menu choice in the admin configuration & have everything set to true/on.

    I've tried both split log-in and vertical log-in.

    My zen cart is in a subfolder, so I added the validation pictures to public_html/images/validation.

    And yep, I've added the 3 tpl files (tpl_contact_us_default, tpl_modules_create_account, and tpl_tell_a_friend_default) to BOTH my default template and the template I'm currently using.

    Still don't see a thing on the front side, and I'm not stopped when I try to register a new customer without a catchpa. What did I miss?

  4. #4
    Join Date
    May 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    My mistake. Double checked, and I'd uploaded the wrong tpl file. Got as far as seeing letters, although if I enter the wrong catchpa, no error is thrown. I'll go back and recheck my installation, see what I might've missed.

  5. #5
    Join Date
    May 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Okay, uninstalled, reinstalled, double checked, triple checked. All files are where they should be, database looks like it ought to. Catchpa letters show up fine, but if I enter the wrong letters, no error takes place. Any pointers as to what part of the code I should look at?

  6. #6
    Join Date
    May 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Finally got this. Had to reinstall a few times, but it's working now. THANKS- it's a really helpful mod.

  7. #7
    Join Date
    Jun 2007
    Posts
    195
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Is it possible to add the Captcha form to a custom page?

    For instance I have a page containing only a form which allows others to send link requests to me at http://www.divatoys.com/links/ I have the Captcha mod working on Contact Us etc but wondered whether I could manually add it to this page and if so, how?

    Thanks.

  8. #8
    Join Date
    Sep 2008
    Posts
    397
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Quote Originally Posted by JTheed View Post
    Oxxyfx and fontaholic,

    Did you rename the folders under includes/modules/YOUR_TEMPLATE and includes/templates/YOUR_TEMPLATE to the actual name of your template that you are using?
    Did you verify that the SQL installed correctly?

    JT
    Work fine on tell a friend and contact us. But I don't see on registration. I believe installed correct includes/.

    How to verify SQL correct?

  9. #9
    Join Date
    Apr 2010
    Posts
    319
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    dont see on registration page either ?

    anything worth checking

    thanks
    bryan

  10. #10
    Join Date
    Apr 2010
    Posts
    319
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod with CEON URL

    just an update for anyone using ceon url mapping add no,

    i was getting no captcha showing at all

    in /includes/templates/YOURTEMPLTE/ tpl_modules_create_account.php

    at line 189

    change to

    PHP Code:
    <?php
    if (strstr($_SERVER['REQUEST_URI'],'create-account') && CREATE_ACCOUNT_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && CREATE_ACCOUNT_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'create_account') && CREATE_ACCOUNT_VALIDATION == 'true') { 
    ?>

    <?php
      
    if ($is_read_only == false || (strstr($_SERVER['REQUEST_URI'],'create-account')) || (strstr($_SERVER['REQUEST_URI'],'login')) || (strstr($_SERVER['REQUEST_URI'],'create_account'))) {
        
    $sql "DELETE FROM " TABLE_ANTI_ROBOT_REGISTRATION " WHERE timestamp < '" . (time() - 3600) . "' OR session_id = '" zen_session_id() . "'";
        if( !
    $result $db->Execute($sql) ) { die('Could not delete validation key'); }
        
    $reg_key generate_captcha_code();
        
    $sql "INSERT INTO "TABLE_ANTI_ROBOT_REGISTRATION " VALUES ('" zen_session_id() . "', '" $reg_key "', '" time() . "')";
        if( !
    $result $db->Execute($sql) ) { die('Could not check registration information'); }
    ?>
    this works for me and lets you use captcha if ceon is on or off

    and in includes/templates/YOURTEMPLATE/tpl_contact_us_default.php at line 83 change to

    PHP Code:
    <?php
    if (strstr($_SERVER['REQUEST_URI'],'contact-us') && CONTACT_US_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'contact_us') && CONTACT_US_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && LOGIN_VALIDATION == 'true') { 
    ?>

    <?php
      
    if ($is_read_only == false || (strstr($_SERVER['REQUEST_URI'],'contact-us')) || (strstr($_SERVER['REQUEST_URI'],'contact_us')) || (strstr($_SERVER['REQUEST_URI'],'login'))) {
        
    $sql "DELETE FROM " TABLE_ANTI_ROBOT_REGISTRATION " WHERE timestamp < '" . (time() - 3600) . "' OR session_id = '" zen_session_id() . "'";
        if( !
    $result $db->Execute($sql) ) { die('Could not delete validation key'); }
        
    $reg_key generate_captcha_code();
        
    $sql "INSERT INTO "TABLE_ANTI_ROBOT_REGISTRATION " VALUES ('" zen_session_id() . "', '" $reg_key "', '" time() . "')";
        if( !
    $result $db->Execute($sql) ) { die('Could not check registration information'); }
    ?>
    again this should let you use captcha with ceon offf or on.

    hope this helps someone

    bryan

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. User Verification (Anti-Robot / CAPTCHA)
    By funkey in forum All Other Contributions/Addons
    Replies: 191
    Last Post: 6 Oct 2014, 08:12 PM
  2. CAPTCHA Anti-Robot Registration v1.4 for ZC v1.5 -- support thread
    By Joseph_Greely in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 4 Jul 2013, 09:35 PM
  3. v151 CAPTCHA Anti-Robot Registration v1.4
    By Razzinator in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 5 Mar 2013, 04:45 PM
  4. CAPTCHA Anti-Robot
    By New Directions in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 2 Jun 2010, 03:36 AM
  5. CAPTCHA Anti-Robot Registration module
    By oxicottin in forum General Questions
    Replies: 1
    Last Post: 13 Mar 2008, 09:35 AM

Posting Permissions

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