Announcement

Collapse
No announcement yet.

3.2 Captcha - which files to change

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 3.2 Captcha - which files to change

    In this thread I needed help identifying which file I needed to change to get the front-end quick search to work.

    Need help with another 3.2 feature. That which allows you to set some CAPTCHA settings, including the ability to have it only appear after a few failed attempts. I would LOVE to enable this for my login page (and anywhere else CAPTCHA is used).

    Anybody know which files I need to look at to get that working? I have customized my store, so I have a LOT of files that I've changed.

    Thanks for any info you may have.

    Mike
    www.KarensCookies.net
    Cookie Decorating Simplified

  • #2
    I thought there was a setting in 3.2 for that already?

    DaveW

    Comment


    • #3
      Originally posted by DaveW View Post
      I thought there was a setting in 3.2 for that already?

      DaveW
      Sorry I wasn't clear. Yes, there is I believe. However, if you've modified several of your own files to create your store (which I have), then some of the upgrades don't come through (they don't want to overwrite your custom files.)

      Usually if you knew enough to modify the files in the first place you can also pick out the new bits of code and place them in your modified files, which I can probably handle... just need to know which files those are.

      Mike
      www.KarensCookies.net
      Cookie Decorating Simplified

      Comment


      • #4
        Originally posted by maksum View Post
        Need help with another 3.2 feature. That which allows you to set some CAPTCHA settings, including the ability to have it only appear after a few failed attempts. I would LOVE to enable this for my login page (and anywhere else CAPTCHA is used).

        Anybody know which files I need to look at to get that working? I have customized my store, so I have a LOT of files that I've changed.
        Mike,

        Did you ever figure it out?

        I'm upgrading our current template too. In the end, I figured it was easier than switching to a new template and having to re-customize it!!! :p

        I'll work on re-designing the template later....after all the 3.2 upgrades are in place.....

        Comment


        • #5
          Not yet... really want to get it implemented though. Hopefully I can find time to buckle down and figure it out.
          www.KarensCookies.net
          Cookie Decorating Simplified

          Comment


          • #6
            Originally posted by maksum View Post
            Not yet... really want to get it implemented though. Hopefully I can find time to buckle down and figure it out.
            OK, I just figured it out for the CRM (Contact Us) Page.

            I tried looking through the code for subtle changes so I could just copy/paste in those and I did find a few, but they didn't seem to have any effect.

            So, in the end, I replaced the entire <script> code at the top of the contact_us.html AND everything between the <form></form> tags and, voila! :D

            One of the other nice things about the 3.2 upgrades to the contact us page is that it no longer requires the customer to give their phone number. I had done a workaround for this (thanks to you!), but because 3.2 has that integrated, I could easily just copy/paste over the <form> code without affecting any other customizations I had made to the page (most of which had nothing to do with the actual contact form anyway!).

            Now to figure out the Customer Reviews page.....!!! :p

            Comment


            • #7
              awesome, thanks for posting. Is it also possible to remove the captcha for the login page?

              Mike
              www.KarensCookies.net
              Cookie Decorating Simplified

              Comment


              • #8
                Yeah, you're welcome. :)

                I'm not sure about the Account Log In page. I'm assuming that it can only be removed for the Contact Us and Product Review page. I'm basing that assumption on the fact that they put the 2 check boxes in Settings > General > Store Modules > Captcha that allow you to turn off Captcha for those 2 pages.

                I seem to recall that when we tried to remove Captcha on those pages before this 3.2 upgrade, the pages just didn't work properly.....?

                Comment


                • #9
                  Hmm, you are indeed right. I guess I made an assumption with the 3rd option which reads: "Login Attempts Before Show Captcha". Technically the only page you're really logging into is the login page right? Or not? With the submission of a CRM ticket you're not logging in.

                  So can anyone confirm this. Is it possible or not to remove captcha from any other page (such as login) other than CRM and reviews?

                  Thanks.
                  www.KarensCookies.net
                  Cookie Decorating Simplified

                  Comment


                  • #10
                    For account log in the capcha might be a good thing and may be required for PCI compliance.

                    Regarding the customer:

                    If a robot got into to a account personal info could be acquired. Most info public record but in one place and include previous purchases. With some sites this could be an issue even over and above getting spammed.

                    Regarding your business:

                    They could possibly use the account to make a fraudulent purchase shipped elsewhere that you would assume was from a trusted repeat customer and ship where otherwise you might look twice before completing it.

                    Just my thoughts,

                    Comment


                    • #11
                      Remove CAPTCHA for Review Product Page

                      You want to edit the product_review_new.html page

                      I fiddled around a bit with this and tidied up the code, but I really think the only thing you have to change in order to update it to 3.2 (and allow the capability to turn OFF CAPTCHA) is to add the HTML comments <!--START: captcha--> and <!--END: captcha-->. For example...

                      HTML Code:
                      <!--START: captcha-->
                      				<tr>
                      					<td class="price-info">Verification:</td>
                      					<td class="price-info">
                      						<img src="admin/image_pw.asp" border="0" width="148">
                      						<br>Type the word above.<br>
                      						<input type="text" name="ramdomWord" id="ramdomWord" autocomplete="off" value="" size="25" maxlength="30"  class="txtBoxStyle">&nbsp;<img src="assets/templates/common/images/error2.gif" width="12" height="12">
                      					</td>
                      				</tr>
                      				<!--END: captcha-->
                      AND THEN...

                      HTML Code:
                      		<!--START: captchascript-->
                      	frmvalidator.addValidation("ramdomWord","maxlen=20");
                      	frmvalidator.addValidation("ramdomWord","req","Please enter the verification word.");	
                      		<!--END: captchascript-->
                      Worked for me! I'm really glad to have this turned off now. :)

                      Comment


                      • #12
                        Originally posted by maksum View Post
                        awesome, thanks for posting. Is it also possible to remove the captcha for the login page?

                        Mike
                        Mike, were you talking about the Customer Account Login page? Because I just looked and CAPTCHA doesn't show up on that page for us!

                        I just looked at my code for that page and I do see <!--START: captcha--><!--END: captcha-->, but no code between the tags. I don't remember what html page this is so I can't look and see. Do you know which page it is?

                        Jennie

                        Comment

                        Working...
                        X