Page 15 of 20 FirstFirst ... 51314151617 ... LastLast
Results 141 to 150 of 192
  1. #141
    Join Date
    Aug 2008
    Posts
    26
    Plugin Contributions
    0

    Default Re: User Verification (Anti-Robot / CAPTCHA)

    Hi,

    I have the same trouble, I need start in a new line the CAPTCHA code.

    Thanks

    Rolando Maldonado
    www.todoenguate.com

  2. #142
    Join Date
    Jun 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: User Verification (Anti-Robot / CAPTCHA)

    Quote Originally Posted by Woodymon View Post
    The "validation code" box should display at the bottom of create account form

    /index.php?main_page=create_account

    In admin under Configuration > CAPTCHA Validation, are you certain you have "Activate Validation on Create Account page" set to TRUE ?

    Which version of CAPTCHA mod have you installed?

    If employing the new Zen cart 1.37 split login option, be aware the CAPTCHA mod does NOT support the "Login" page. but still works on "Create Account" page.

    Are you certain you have the below code block near the end of your tpl_modules_create_account.php ????

    Code:
    <?php
    if (ACCOUNT_VALIDATION == 'true') {
    ?>
    
    <?php
    if (strstr($_SERVER['REQUEST_URI'],'create_account') && CREATE_ACCOUNT_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && LOGIN_VALIDATION == 'true') { 
    ?>
    
    <?php
      if ($is_read_only == false || (strstr($_SERVER['REQUEST_URI'],'create_account')) || (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'); }
    ?>
    
    <fieldset>
    <legend><?php echo CATEGORY_ANTIROBOTREG; ?></legend>
    <label class="inputLabel" for="antirobotreg"><?php echo ENTRY_ANTIROBOTREG ?></label>
    
    <?php
    $validation_images = '';
    for($i = 0; $i < ENTRY_VALIDATION_LENGTH; $i++)
        {
        $parse_image = 'validation/validation_' . $reg_key{$i} . '.gif';
        $parse_image_alt = $reg_key{$i};
        $validation_images .= zen_image(DIR_WS_IMAGES . $parse_image, $parse_image_alt);
        }
        echo '<div class="centered">';
        echo $validation_images . '<br />';
        echo '</div>';
    ?>
    
    <?php echo zen_draw_input_field('antirobotreg','', 'id="antirobotreg"') . (zen_not_null(ENTRY_ANTIROBOTREG) ? '<span class="alert">' . ENTRY_ANTIROBOTREG_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />

    Does the validation related HTML show up when you view the source for the create_account web page?

    Woody
    I am following this thread and have the sam problem.
    The code does not show up in the view sorce of the html.

    Also I can not find the end resolution to mgrunk problem

  3. #143
    Join Date
    May 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: User Verification (Anti-Robot / CAPTCHA)

    Can someone provide uninstall instructions? Of course, my back ups have a days worth of work that are not included and now I'd like to uninstall.

    I replaced/deleted the files that were uploaded with the originals since I had those, but I'm wondering about the database.

    I installed, thought I was happy, did a bunch of other work today and now I want to try a different CAPTCHA since this one does not include a CAPTCHA for the contact us page.

    I'll keep it if I can get the contact us page to work, but I'm noting some concerns here about security.

    I could backtrack through the .sql file to see if I can undo what the script did, but instructions would be appreciated.

    Thanks in advance.

  4. #144
    Join Date
    Jan 2008
    Posts
    38
    Plugin Contributions
    1

    Default Re: User Verification (Anti-Robot / CAPTCHA)

    Not sure if anyone's mentioned this already, but this mod have issues when used with a URL rewriting mod like Magic SEO URLs. Problem is in tpl_modules_create_account.php:
    PHP Code:
      if ((strstr($_SERVER['REQUEST_URI'],'create_account') && CREATE_ACCOUNT_VALIDATION == 'true') || (strstr($_SERVER['REQUEST_URI'],'login') && LOGIN_VALIDATION == 'true')) { 
    To check if the including page is the Create Account or Login page, the code assumes the presence of "create_account" or "login" in the REQUEST_URI string. On my site, MSEO URLs is changing the former to account/create.html, so it's not matching.

    Changing $_SERVER['REQUEST_URI'] to $_GET['main_page'] seems to be more reliable.
    PHP Code:
      if (($_GET['main_page'] == 'create_account' && CREATE_ACCOUNT_VALIDATION == 'true') || ($_GET['main_page'] == 'login' && LOGIN_VALIDATION == 'true')) { 
        if (
    $is_read_only == false || $_GET['main_page'] == 'create_account' || $_GET['main_page'] == 'login') { 

  5. #145
    Join Date
    May 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: User Verification (Anti-Robot / CAPTCHA)

    I just installed the latest version (june 2010) of this, it is allowing me to create the account even thought I entered an invalid captcha verification code.

    I am using fast and easy checkout add on, but tested with the create account flow.

    Has anyone experienced this? Suggestions?

    ~ Heritage

  6. #146
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: User Verification (Anti-Robot / CAPTCHA)

    Quote Originally Posted by heritage View Post
    I just installed the latest version (june 2010) of this, it is allowing me to create the account even thought I entered an invalid captcha verification code.

    I am using fast and easy checkout add on, but tested with the create account flow.

    Has anyone experienced this? Suggestions?

    ~ Heritage
    Did you install a template or do you use the Classic Template?

    If you have a different template and there is a YOUR_TEMPLATE folder under includes/modules, did you copy the includes/modules/create_account.php
    into includes/modules/YOUR_TEMPLATE/ folder?

    Also, a new Thread has been started for this mod:


    http://www.zen-cart.com/forum/showth...hlight=CAPTCHA
    Last edited by JTheed; 9 Jun 2010 at 02:54 AM.

  7. #147
    Join Date
    May 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: User Verification (Anti-Robot / CAPTCHA)

    hi JTheed,

    Yes, I installed all the files in the correct directory including the cYeate_account.php in my template folder. I am using a customized template.

    Thanks for directing me to the other thread, I will check it out...

    ~Heritage

  8. #148
    Join Date
    May 2010
    Location
    Texas
    Posts
    508
    Plugin Contributions
    0

    help question Re: User Verification (Anti-Robot / CAPTCHA)

    Is this compatible with v1.3.9d and FEC?

    Also, I don't use the tell-a-friend page, can I disregard the files:
    * includes/templates/template_default/tpl_tell_a_friend.php
    * includes/modules/pages/tell_a_friend/header_php.php

    thanks

  9. #149
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: User Verification (Anti-Robot / CAPTCHA)

    Quote Originally Posted by split63 View Post
    Is this compatible with v1.3.9d and FEC?

    Also, I don't use the tell-a-friend page, can I disregard the files:
    * includes/templates/template_default/tpl_tell_a_friend.php
    * includes/modules/pages/tell_a_friend/header_php.php

    thanks
    This one does, as it says in the title that it is 139 compatable, they don't give a letter in the dropdown choices, but yes 1.3.9d.
    http://www.zen-cart.com/index.php?ma...roducts_id=325

    and you wouldn't have to install the tell a friend files as you can just leave the originals in place.

  10. #150
    Join Date
    Nov 2010
    Location
    Queen Creek, Arizona, United States
    Posts
    5
    Plugin Contributions
    0

    Default Re: User Verification (Anti-Robot / CAPTCHA)

    I had no issues installing it and I am very impressed by the clarity of the captcha letters and it's seamless integration into the template.

 

 
Page 15 of 20 FirstFirst ... 51314151617 ... LastLast

Similar Threads

  1. CAPTCHA Anti-Robot Mod
    By JTheed in forum All Other Contributions/Addons
    Replies: 185
    Last Post: 26 Dec 2014, 05:43 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