Page 13 of 14 FirstFirst ... 311121314 LastLast
Results 121 to 130 of 134
  1. #121
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,020
    Plugin Contributions
    124

    Default Re: non-CAPTCHA and Honey-pots

    I'd be happy to do the changes I suggested - just let me know.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #122
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: non-CAPTCHA and Honey-pots

    Quote Originally Posted by swguy View Post
    I'd be happy to do the changes I suggested - just let me know.
    Please do. With IE going down a different path with HTML5 and not reading the response from the slider the same as Mozilla the script needs help. I don't have any MS OS any more for VM, used the disks to scare away the birds. I can't test the script.
    Dave
    Always forward thinking... Lost my mind!

  3. #123
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    270
    Plugin Contributions
    6

    Default Re: non-CAPTCHA and Honey-pots

    I have made non-CAPTCHA and Honey-pots work for IE v10 and IE v11 on zc156a. The slider is a bit ugly but functions. I need to put up a notice for IE users to upgrade to something else as IE 11 supports ends this year.

    non-CAPTCHA and Honey-pots is currently in my dev env on 157a and it works. I only use non-CAPTCHA and Honey-pots for creating accounts and contact-us pages.

    I can post my changes if they might be of use.
    Attachment 19282 Initial slide in IE 11
    Attachment 19284 Button pressed and value changed in IE 11

    - - - - -
    environment Dev: Zen Cart 157a; Apache 2.4.46; PHP 7.4.9; MySQL 5.7.31; Windows 10

  4. #124
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: non-CAPTCHA and Honey-pots

    Quote Originally Posted by OldNGrey View Post
    I have made non-CAPTCHA and Honey-pots work for IE v10 and IE v11 on zc156a. The slider is a bit ugly but functions. I need to put up a notice for IE users to upgrade to something else as IE 11 supports ends this year.

    non-CAPTCHA and Honey-pots is currently in my dev env on 157a and it works. I only use non-CAPTCHA and Honey-pots for creating accounts and contact-us pages.

    I can post my changes if they might be of use.
    Attachment 19282 Initial slide in IE 11
    Attachment 19284 Button pressed and value changed in IE 11

    - - - - -
    environment Dev: Zen Cart 157a; Apache 2.4.46; PHP 7.4.9; MySQL 5.7.31; Windows 10
    CAPTCHA is built into ZC157x and has no need for any CAPTCHA add-ons... eye testing nor honey.. so all you're adding is frustration to your customers..

    Allot of users refuse to upgrade to a HTML5 enabled browser. All they see of the slider is a text input field.

    Post your script. Does it work on FF too?
    Dave
    Always forward thinking... Lost my mind!

  5. #125
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    270
    Plugin Contributions
    6

    Default Re: non-CAPTCHA and Honey-pots

    The slider displays in FF, Chrome, Edge and IE 11 & 10.
    HTML Code:
    <script type="text/javascript">
    $(document).ready(function () {
      
    var slideCol = document.getElementById("id1");
    var y = document.getElementById("f");
    
    y.innerHTML = slideCol.value; // Display the default slider value
    slideCol.onchange = displayCol;
    // Update the current slider value (each time you drag the slider handle)
    slideCol.oninput = displayCol;
    function displayCol() {
        y.innerHTML = this.value;
    	    if (this.value == "<?php echo SPAM_TEST; ?>") {
          y.innerHTML = "<?php echo SPAM_ANSWER; ?>";
        }     
    	}
    });
    
    </script>

  6. #126
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: non-CAPTCHA and Honey-pots

    Quote Originally Posted by OldNGrey View Post
    The slider displays in FF, Chrome, Edge and IE 11 & 10.
    So basically you named the function and then hit both the onchange and oninput events... It works, most of the responses are at a micro second... based on focus or order. The input event comes before the corresponding change event if any... However, I beleave all but IE respond to both onchange and oninput. IE response is to the onchange event. So you could just use the onchange event, but that leads to other problems with other browsers.

    For example, this is from an article in Mozilla..
    The onchange event occurs when a control loses the input focus and its value has been modified since gaining focus.

    As shown in the quote above, onchange should always fire after oninput, so the fact that Firefox waits for the range slider to lose focus before firing the event (for both mouse and keyboard) seems to be the correct behaviour. Chrome does not wait until the control is unfocused when using the keyboard, but it does so with the mouse.

    IE11, of course, is completely wrong on two counts: It doesn’t recognize oninput when applied to a range slider and it responds to onchange as if it was oninput, firing the event immediately instead of waiting until the slider stops moving or loses focus.
    Maybe a suggestion such as below; This would not support IE8 and below, but only IE9 and above are HTML5 browsers.
    Code:
    $(document).ready(function () {
      
    var slideCol = document.getElementById("id1");
    var y = document.getElementById("f");
    
    var ie = 'ActiveXObject' in window;
    
    y.innerHTML = slideCol.value; // Display the default slider value
    
    if (ie) {
    slideCol.onchange = displayCol;  // Update slider value (IE)
    } else {
    slideCol.oninput = displayCol;  // Update slider value (Mozilla)
    }
    
    function displayCol() {
        y.innerHTML = this.value;
            if (this.value == "20") {
          y.innerHTML = "Humen";
        }     
        }
    });
    Dave
    Always forward thinking... Lost my mind!

  7. #127
    Join Date
    Jul 2016
    Posts
    59
    Plugin Contributions
    0

    Default Re: non-CAPTCHA and Honey-pots

    Just wanted to say thanks for this plugin, store got hit with a pretty clever script that created accounts, placed items in the cart and then checked out via eway, had over 1000 attempted transactions in a couple of hours. Added this and all stopped, is a great temp fix until I get time to upgrade to 1.5.7c.

  8. #128
    Join Date
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default Re: non-CAPTCHA and Honey-pots

    I'm using Zen Cart 1.5.7d and the built in spam prevention doesn't seem to be working. I'm still getting a lot of spam messages through the contact us page.
    Is there some setting or code that needs to be changed to make it work?

  9. #129
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,314
    Plugin Contributions
    11

    Default Re: non-CAPTCHA and Honey-pots

    The question is... What files on your site are different from a standard 1.5.7d install.

    What template are you using? A store-bought template might not have the proper code imbedded in their files.

  10. #130
    Join Date
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default Re: non-CAPTCHA and Honey-pots

    I'm using the default responsive classic template, no changes to the contact us template file.

    Actually, it seems to be working as intended. I did some testing by making the hidden field visible and then sending some messages putting something in the antispam field and other times leaving it empty. I did not get any of the messages when I put something in the antispam field.

    So it seems the bots just somehow figured it out.

    Can someone suggest any change to the code to fool the bots and make it work?

 

 
Page 13 of 14 FirstFirst ... 311121314 LastLast

Similar Threads

  1. v139h Contact Us Page Honey Pot Implementation On v1.39h
    By lindasdd in forum General Questions
    Replies: 1
    Last Post: 24 Sep 2015, 12:54 PM
  2. CAPTCHA Error: Session not started. The CAPTCHA cannot be used!
    By betheone in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 17 Jan 2014, 05:39 AM
  3. Best Captcha mod for FEC and login pages?
    By split63 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 1 Jul 2010, 04:52 AM
  4. CAPTCHA AND Contact Us change
    By pcnoobie in forum General Questions
    Replies: 1
    Last Post: 8 Jan 2009, 09:19 AM
  5. Replies: 13
    Last Post: 2 Jun 2008, 03:29 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR