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

    Quote Originally Posted by richphitzwell View Post
    Just loaded this on a test site and the one issue I found was the captcha div does not show when registering on first try. It does redirect back showing the proper error and then the captcha div and all appropriate fields show to be entered.

    http://www.kroghfamilyranch.com/cart if you want to see

    just fyi.
    After looking over that part of the Code, there is quick fix for this if you do not want to use the Split Login Screen.

    Look for this in includes/templates/YOUR-TEMPLATES/tpl_modules_create_account.php around line 189:
    Code:
    <?php
    if (strstr($_SERVER['REQUEST_URI'],'create_account') && CREATE_ACCOUNT_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && LOGIN_VALIDATION == 'true') { 
    ?>
    Change it to this
    Code:
    <?php
    if (strstr($_SERVER['REQUEST_URI'],'create_account') && CREATE_ACCOUNT_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && CREATE_ACCOUNT_VALIDATION == 'true') { 
    ?>
    In the next release, I will make this a toggle as well.

  2. #2
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Just wanted to say, thanks for the contribution.
    It was a breeze to install and, it works!

  3. #3
    Join Date
    Jul 2010
    Location
    My heart will always be in the NorEast
    Posts
    106
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Agreed, and thanks for letting us know the code for non split screen.

  4. #4
    Join Date
    Sep 2010
    Posts
    129
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Quote Originally Posted by JTheed View Post
    After looking over that part of the Code, there is quick fix for this if you do not want to use the Split Login Screen.

    Look for this in includes/templates/YOUR-TEMPLATES/tpl_modules_create_account.php around line 189:
    Code:
    <?php
    if (strstr($_SERVER['REQUEST_URI'],'create_account') && CREATE_ACCOUNT_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && LOGIN_VALIDATION == 'true') { 
    ?>
    Change it to this
    Code:
    <?php
    if (strstr($_SERVER['REQUEST_URI'],'create_account') && CREATE_ACCOUNT_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && CREATE_ACCOUNT_VALIDATION == 'true') { 
    ?>
    In the next release, I will make this a toggle as well.
    This is an error actually the file to be amended is /includes/modules/create_account.php

    There is no such code in tpl_modules_create_account.php

    save you some head scratching
    Silver Jewellery

    RESPECT to the Zen Cart Team, I'm PERFECTLY Zenned!

  5. #5
    Join Date
    Sep 2010
    Posts
    129
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    some useful info here on integrating with FEC

    http://www.zen-cart.com/forum/showth...814#post950814
    Silver Jewellery

    RESPECT to the Zen Cart Team, I'm PERFECTLY Zenned!

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

    Default Re: CAPTCHA Anti-Robot Mod

    Quote Originally Posted by aozhaver View Post
    This is an error actually the file to be amended is /includes/modules/create_account.php

    There is no such code in tpl_modules_create_account.php

    save you some head scratching
    Maybe in someone else's version but I am looking at mine and in tpl_modules_create_account.php at line 189 and it is there, not in create_account.php . Also, in my current version create_account.php would be located in modules/YOUR_TEMPLATE/create_account.php

  7. #7
    Join Date
    Sep 2010
    Posts
    129
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Well then you must have changed it since when I downloaded it (which was only about 2 weeks ago).

    My version readme states "Last Updated: 08/11/2010"

    I checked both the original CAPTCHA files and the FEC create_account files all the references to that code is in the modules files and yes your fix works even there.

    Great simple fix to a great big problem that was driving me mad
    Silver Jewellery

    RESPECT to the Zen Cart Team, I'm PERFECTLY Zenned!

  8. #8
    Join Date
    Sep 2010
    Posts
    129
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    By the way is there anywhere I can download an alternative image file for the anti-robot challenge images? I find the current format quite confusing even to humans

    I guess thats a matter of opinion but if you could point me in the right direction I'd like to see all my options.

    Cheers!
    Silver Jewellery

    RESPECT to the Zen Cart Team, I'm PERFECTLY Zenned!

  9. #9
    Join Date
    May 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    I reinstalled CAPTCHA today on my site to add the 'Contact Us' page functionality. I see the option in my Admin, just not seeing it on the site, until I attempt to send a message then it shows up ?
    http://bbmetalfab.com/metalart

  10. #10
    Join Date
    May 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: CAPTCHA Anti-Robot Mod

    Quote Originally Posted by robinsonjas View Post
    I reinstalled CAPTCHA today on my site to add the 'Contact Us' page functionality. I see the option in my Admin, just not seeing it on the site, until I attempt to send a message then it shows up ?
    http://bbmetalfab.com/metalart
    I think it has to do with the Magic SEO URL add-on. When I disable it temporarily the CAPTHCA works on Contact Us page.

    Any ideas?

 

 

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