Re: non-CAPTCHA and Honey-pots
Have I missed it somewhere?
Where would you go to edit the Number that the word Human shows under?
Where would one go to change the word to a different word other than "HUMAN"
where is the configuration section? I am running 155f and I see no where to configure anything for the noncaptcha
Re: non-CAPTCHA and Honey-pots
Thank you I actually just located the information by going through all of the Configuration settings until I located it.
if I had only looked back to where I obviously asked this same question earlier I would have seen the answer!!
Would it be too hard to make it have its own section in the configuration of the website instead of in the Layout section? If I know how I would do it myself!
Thank you again!!
Re: non-CAPTCHA and Honey-pots
Quote:
Originally Posted by
drm1963
Thank you I actually just located the information by going through all of the Configuration settings until I located it.
if I had only looked back to where I obviously asked this same question earlier I would have seen the answer!!
Would it be too hard to make it have its own section in the configuration of the website instead of in the Layout section? If I know how I would do it myself!
Thank you again!!
Not that hard. I have so many configurations that adding another wasn't worth the effort.. especially in a mobile environment the configuration list rolls off the screen.
Re: non-CAPTCHA and Honey-pots
Hi and thanks for this mod. I am wondering if the images in the zip folder are supposed to go to root or the images folder?
Re: non-CAPTCHA and Honey-pots
Quote:
Originally Posted by
nootkan
Hi and thanks for this mod. I am wondering if the images in the zip folder are supposed to go to root or the images folder?
Files outside of admin folder and includes folder is for demonstration and to help you, not your site so they need not be uploaded anywhere.
Re: non-CAPTCHA and Honey-pots
Dave, what guidance should we give to 1.5.7 upgraders now that (at least some of) this functionality has been added to the core?
Re: non-CAPTCHA and Honey-pots
Quote:
Originally Posted by
swguy
Dave, what guidance should we give to 1.5.7 upgraders now that (at least some of) this functionality has been added to the core?
I have 1.5.7 installed and was looking at the code, but haven't had time to run my hacks at it. Looking at the default contact us form for example there is only one input line which should work for most sites, but I would tag it as a email field, bots just can't pass that up..
Code:
autocomplete="off"', 'email')
All in all, I like what was done and would suggest NOT installing non-CAPTCHA at all... I'd like to do a down sized version to give the option of a slider test. Just to give it the full 3 levels of a Honeypot, but really should not need to go that far. I have yet to see a bot get passed level 1!
Re: non-CAPTCHA and Honey-pots
Sorry, I should have been more clear. Scenario:
- Cart is running 1.5.6 plus zenNonCaptcha.
- User wants to go to 1.5.7.
- What changes should be made?
Maybe run the uninstall.sql for example?
From the templates where it was installed, remove the email-pot divs and the block with if (SPAM_USE_SLIDER == 'true') ?
Re: non-CAPTCHA and Honey-pots
Quote:
Originally Posted by
swguy
Sorry, I should have been more clear. Scenario:
- Cart is running 1.5.6 plus zenNonCaptcha.
- User wants to go to 1.5.7.
- What changes should be made?
Maybe run the uninstall.sql for example?
From the templates where it was installed, remove the email-pot divs and the block with if (SPAM_USE_SLIDER == 'true') ?
My Bad.. I would fully remove non-captcha files, I see I missed adding this part. the template files modified should be replaced or edited to match default template files of ZC1.5.7..
remove all three honeypot lines.
Code:
<div class="email-pot">
<label for="email-us"></label>
<?php echo zen_draw_input_field(SPAM_TEST_TEXT, '', ' id="email-us" title="do not fill in!" placeholder="do not fill in!" autocomplete="off"', 'email'); ?>
</div>
<div class="email-pot">
<p><?php echo HUMAN_TEXT_NOT_DISPLAYED; ?></p>
<?php echo zen_draw_radio_field(SPAM_TEST_USER, 'H1', '', 'id="user-1"') . '<span class="input-group-addon"><i class="fa fa-male fa-2x"></i></span>' . zen_draw_radio_field(SPAM_TEST_USER, 'C2', '', 'id="user-2"') . '<span class="input-group-addon"><i class="fa fa-laptop fa-2x"></i></span>'; ?>
</div>
<?php if (SPAM_USE_SLIDER == 'true') { ?>
<div class="slidecontainer">
<p><?php echo HUMAN_TEXT_DISPLAYED; ?></p>
<?php echo zen_draw_input_field(SPAM_TEST_IQ, '', ' min="0" max="50" value="25" class="slider" id="id1"', 'range'); ?>
<br /><br />
<span>Value:</span> <span id="f" style="font-weight:bold;color:red"></span>
</div>
<?php } ?>
after removing the ADMIN/includes/functions/extra_functions/init_noncaptcha.php file open the uninstall.sql file in a text editor, copy all and paste in the ADMIN Sql patch tool and run..
If its missing..
Code:
DELETE FROM configuration WHERE configuration_key = 'SPAM_TEST_TEXT';
DELETE FROM configuration WHERE configuration_key = 'SPAM_TEST_USER';
DELETE FROM configuration WHERE configuration_key = 'SPAM_TEST_IQ';
DELETE FROM configuration WHERE configuration_key = 'SPAM_TEST';
DELETE FROM configuration WHERE configuration_key = 'HUMAN_TEXT_DISPLAYED';
DELETE FROM configuration WHERE configuration_key = 'HUMAN_TEXT_NOT_DISPLAYED';
DELETE FROM configuration WHERE configuration_key = 'SPAM_ERROR';
DELETE FROM configuration WHERE configuration_key = 'SPAM_USE_SLIDER';
DELETE FROM configuration WHERE configuration_key = 'SPAM_ANSWER';
After all is removed, upgrade to ZC1.5.7 per instructions.
I need to do some looking before I can tell you how to update other template files not part of the default install. The mod I'm updating right now well be part of that process/testing.
Re: non-CAPTCHA and Honey-pots
Speaking of 1.5.7 and this mod....
In doing the Accessibility check for 1.5.7 we had noticed what Scott pointed out and dropped the mod out of our test site to not confuse matters.
However, when looking at a 1.5.6c site with the mod installed, we get three accessibility errors with regard to form labels.
Apologies, as I am dumbing this down for those that might not know.
When display:none or display:hidden are used, the browser still processes the data it is not going to display. For instance, if you were to remove the image and header defines for the logo and did display:none for the logoWrapper, the accessibility will take a hit for the items that are not defined even though they will not be displayed. Even a hidden 404 error that might not be picked up without the right tool.
Such is the case with the hidden form input for e-mail-us.
Code:
<div class="email-pot"><label for="email-us">
<input type="email" name="xp0YOfVCAM" id="email-us" title="do not fill in!" placeholder="do not fill in!" autocomplete="off"></div>
The label is started but needs to be finished like
Code:
<div class="email-pot"><label for="email-us">EMail</label>
<input type="email" name="xp0YOfVCAM" id="email-us" title="do not fill in!" placeholder="do not fill in!" autocomplete="off">
Also, the labels are missing on the two radio buttons.
I did not find a github location for this or I would have done a commit to address this.
Thanks for your work on this mod. Several of our clients have been greatly relieved with its use.