-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
jillcripps
I think I see an issue - my 'create_account' page is titled 'login' for some reason (when you go to log-in from nav bar). I have tried replicating and changing info in files to login (adding another set of files) and placing them but still not working, now I also see the login page is https and the create_account http...
Not sure what I can do here, not being a zen cart whiz...If I do a test on the login page and click submit, then it takes me to create_account and tells me I have entered code incorrectly and then I can input it, all the info is on that page...
So, I need to get the info on the login page or change the log-in page to direct to the create_account page (but then do I lose the SSL)....? Curioser...
www.ew-trading.com
From your Admin page, click on Configuration, Layout Settings, and set 'Use split-login page' to True. Click Login, select Create Account, and at the bottom of the page, you should/will see the Captcha form. Create Account Captcha cannot be seen unless the Split-Login setting is used, though not mentioned in the original installation instructions.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
Joseph_Greely
From your Admin page, click on Configuration, Layout Settings, and set 'Use split-login page' to True. Click Login, select Create Account, and at the bottom of the page, you should/will see the Captcha form. Create Account Captcha cannot be seen unless the Split-Login setting is used, though not mentioned in the original installation instructions.
I'm having the exact problem with my Captcha working on the Contact page but not showing up on the Reg page. I tried what you said above and set the split page to TRUE and still no Captcha. The reg page also looks no different with that set to TRUE. When I first installed this module there was no change to the Customer Details page. Shouldn't it have added something to turn on/off this particular Captcha? There is a part on there to activate Captcha but I think it's for the other module I also couldn't get to work. Also note when I install the update patch it doesn't install all says one file couldn't be replaced because it already exists. Could that be a problem?
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
OnlySeaDoo
I'm having the exact problem with my Captcha working on the Contact page but not showing up on the Reg page. I tried what you said above and set the split page to TRUE and still no Captcha. The reg page also looks no different with that set to TRUE. When I first installed this module there was no change to the Customer Details page. Shouldn't it have added something to turn on/off this particular Captcha? There is a part on there to activate Captcha but I think it's for the other module I also couldn't get to work. Also note when I install the update patch it doesn't install all says one file couldn't be replaced because it already exists. Could that be a problem?
We need more info from you.
First, what are your settings for Captcha in Admin? (Configuration, CAPTCHA validation) Are they all set to TRUE, or, are some set to FALSE? If any are set to FALSE, they are turned off, and need to be turned on, by setting to TRUE.
If still not working, what version of Zen-Cart do you have in use, exact version of CAPTCHA and Author(since there are several), PHP, MySQL, and all other Add-ons(listed with version number and date, or update date of version).
Last, but also most importantly, re-check all the code that you put in place for CAPTCHA and verify that your not missing any commas, or ";". The reason I say that, is that missing the ";" or a comma when coding a new Add-on, has usually been the primary reason something doesn't work, not always, but usually.
So, Check the settings in you Admin for CAPTCHA, re-check your coding for any missing comma's, or ";", and if still not working properly, let us have the information on software and add-ons requested above, so that we can try to address the issue for you. For I have been unable to duplicate your problem, except for causes already mentioned, so far.
-
Re: CAPTCHA Anti-Robot Mod
A real shame that this captcha does not work, fresh install of zen cart 1.50, uploaded files and tried to install sql but fails everytime.
Is there any other captchas available for 1.50??
-
Re: CAPTCHA Anti-Robot Mod
crazy, another fresh install with bare 1.50 zen cart and no matter what I do the sql patch will not install, error everytime!
Maybe it is better to downgrade zen cart and use another captcha :no:
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
Jay76
A real shame that this captcha does not work, fresh install of zen cart 1.50, uploaded files and tried to install sql but fails everytime.
Is there any other captchas available for 1.50??
Quote:
Originally Posted by
Jay76
crazy, another fresh install with bare 1.50 zen cart and no matter what I do the sql patch will not install, error everytime!
Maybe it is better to downgrade zen cart and use another captcha :no:
You know what would help??? If you both posted what the error is you are getting instead of just saying "it's broken"..
Just sayin'..:yes:
-
Re: CAPTCHA Anti-Robot Mod
When installing the sql patch through admin, the following error message shows up.
Quote:
WARNING: An Error occurred, please refresh the page and try again.
This is probably the error previous posters are talking about.
Per the ReadMe file, verified that these are correct
Quote:
# Add-Ons already or, made changes to this table, you will need to set those numbers to what the next setting would be for them, in Sequential Order
Tina
-
Re: CAPTCHA Anti-Robot Mod
1.3.8a, been working fine since the beginning (not to rub it in)
Is there any way to remove zeroes and o's from the random generation?
Customers are getting frustrated (customer service too) on this one.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
sbbemn
Is there any way to remove zeroes and o's from the random generation?
Anyone who needs to change the font, I succeeded by using the reference to a .gdf font file. This then prompted me to up the size of the image too, which was nice
PHP Code:
//Add randomly generated string in black to the image
$font = imageloadfont('./atommicclock.gdf');
ImageString($image, $font, 40, 10, $pass, $black);
-
Re: CAPTCHA Anti-Robot Mod
Should the bottom of eg
tpl_contact_us_default.php
be
?>
</form>
</div>
instead of
?>
</div>
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
charmedbytina2
When installing the sql patch through admin, the following error message shows up.
This is probably the error previous posters are talking about.
This can also happen when the TYPE=MyISAM in the SQL file conflicts with the MySQL version that the user is running.
Changing it to ENGINE=MyISAM solves the problem, as per post by DrByte
Installing the patch from within phpMyAdmin will give detailed error messages.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
charmedbytina2
When installing the sql patch through admin, the following error message shows up.
This is probably the error previous posters are talking about.
Per the ReadMe file, verified that these are correct
Tina
Quote:
Originally Posted by
simon1066
Installing the patch from within phpMyAdmin will give detailed error messages.
That generic error message when installing an SQL file will mean that an error log was also created. THIS is where the error details are contained..
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
DivaVocals
That generic error message when installing an SQL file will mean that an error log was also created. THIS is where the error details are contained..
Ah! I see, thanks
-
Re: CAPTCHA Anti-Robot Mod
The Captcha works on the contact us (except that it erases your message if you type the wrong captcha phrase, any way to keep this from happening?
Using version 1.3.9h
-
CAPTCHA images not displaying
I have installed the mod - pretty sure correctly - except that the images don't display.
Through debugging it looks like the function zen_image is returning nothing, although it works on other places on the site.
For now I've added a temporary fix bypassing the zen_image function with direct-coded img tags instead.
Here's my website
ethnosuperlounge.com/eslshop
Any advice much appreciated.
-
Re: CAPTCHA images not displaying
Quote:
Originally Posted by
shen
I have installed the mod - pretty sure correctly - except that the images don't display.
Through debugging it looks like the function zen_image is returning nothing, although it works on other places on the site.
For now I've added a temporary fix bypassing the zen_image function with direct-coded img tags instead.
Here's my website
ethnosuperlounge.com/eslshop
Any advice much appreciated.
To verify, which version of Zen-Cart are you using, and what add-ons, and version of add-ons? In the event another add-on is causing a conflict with the Captcha add-on.
Then check and verify that your images are in the appropriate location. Based on the coding, your images for the validation folder should be located: YOUR STORE SITE/IMAGES/VALIDATION/"images here".
The most common problem with the Captcha add-on, is the failure to utilize the split log-on setting. Not using that, will hide items related to the Captcha add-on.
All this information for the most part, has been fully covered in the thread. True, a lot of information is listed in the forum, and can take some time to find, but should this not help resolve your issue, the answer should be here. Though maybe seems somewhat buried.
-
Re: CAPTCHA images not displaying
Quote:
Originally Posted by
Joseph_Greely
To verify, which version of Zen-Cart are you using, and what add-ons, and version of add-ons? In the event another add-on is causing a conflict with the Captcha add-on.
Then check and verify that your images are in the appropriate location. Based on the coding, your images for the validation folder should be located: YOUR STORE SITE/IMAGES/VALIDATION/"images here".
The most common problem with the Captcha add-on, is the failure to utilize the split log-on setting. Not using that, will hide items related to the Captcha add-on.
All this information for the most part, has been fully covered in the thread. True, a lot of information is listed in the forum, and can take some time to find, but should this not help resolve your issue, the answer should be here. Though maybe seems somewhat buried.
I'm using Zen Cart 1.50. I don't think any of the add-ons I'm using would interfere with zen_image(), but they are: Google Analytics 1.2.5b, Automatic Currency Updates, Paypal Session Viewer 3.02.
The pics are all in the right place, otherwise it wouldn't work with my hack bypassing zen_image(). I have split log-on setting activated. I've been through the thread and found a couple of people (fontaholic and oxxyfx, pages 6-8) who also didn't get images displaying, but no solution is posted.
-
Re: CAPTCHA images not displaying
also having issues with capcha not installing sql with error WARNING: An Error occurred, please refresh the page and try again.
have taken a mydebug
[04-Jun-2012 14:36:22] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Version 1.3, which was the base code used for v1.4. SELECT @sortorder:=max(sort_' at line 1 :: Version 1.3, which was the base code used for v1.4. SELECT @sortorder:=max(sort_order) FROM configuration_group; in /var/www/vhosts/mywebsite.co.uk/httpdocs/includes/classes/db/mysql/query_factory.php on line 101
any ideas please
thanks
-
Re: CAPTCHA images not displaying
Okay folks,
I needed this to work for me on several sites as I have a friend (not) in Croatia who's not too happy about my catching him trying to hack our WHMCS system. He has started attacking every site we manage so.... time to get CAPTCHA working with v1.5.0 instead of its beta version.
Tell-a-Friend is no more, the tpl files were missing a </form>, the sql is changed to automatically install without errors and will remove any previous version of CAPTCHA that is installed on Zen-Cart v1.5.0.
I did not mess with the split login as we use it on all our sites.
I would appreciate it if someone would try this out prior to my submitting it in the Plugins area. (BACKUP!!!!!!!!!!!!)
The license file is temporarily missing in order to keep the file below the 48k limit for zip files.
THANX
-
Re: CAPTCHA images not displaying
Hi
Have tried the zip file .I didn't delete the old files just over wrote ..The sql worked fine as did contact us with me having to input a code and failed if I didn't ...
On account setup it wasn't there but then again I am using fast easy checkout ,should that be a problem or can you over come that
I don't know if it's possible but would also like it to work with Links Manager if not will have to scrap it
thanks for update though
-
Re: CAPTCHA images not displaying
It doesn't play nice with customer login in my test install. It plays nice with the default contact us but not with a 2nd, separate instance of contact us that is a feature of the template we are currently configuring but that's a horse of a different color.
Login just give a blank screen. Restore backup and login functions.
Default setup with no addons installed yet other than a few templates for testing. I just dropped the files into place without doing anything that might have been said in the readme file other than changing template name and admin folder name.
I won't have time until later today to look more deeply.
-
Re: CAPTCHA images not displaying
ATSWorld
First of all, thanks for letting us know the sql worked.
Along with RixStix ,you may have made the cardinal mistake of not reading the readme throughout. My mother used to call it "jumping on your horse and riding madly off in all directions."
The readme says a couple of very important things.
- The included files that overwrite core files DO NOT contain ANY changes other than those specifically for CAPTCHA 1.5.
- If you had made any other changes to those files with another mod, those changes are now gone.
- The readme specifically reminds you to backup, WinMerge (or something similar), and THEN upload.
- Apologies if "I didn't delete the old files just over wrote" actually meant you check first to make sure you weren't wiping a previous mod's info from your site.
- The files included are meant to be used with Zen-Cart v1.5.0 and its basic install.
- Again, the readme states that the login works with the split-login set to true. (I did not work on this as all our sites use split login. Maybe in the near future.)
- Trying to create a version that will work with FEC, LM, or any other mod that involves a submission form would bloat the mod beyond imagination. If no one is reading the docs now, I can only imagine the size of the support thread for a bloated mod. (Ultimate SEO comes to mind).
One of the things about open source is that you are free to change things to suit your needs. We all do it with just the basic cart or else every Zen Cart site would have the "Welcome" notice. From the simple beginnings to the adding of mods, pages, etc; we all strive to get it just right and maybe learn something along the way.
On the subject of Links Manager, CAPTCHA adds the following to contact_us (includes\templates\YOUR_TEMPLATE\templates\tpl_contact_us_default.php):
Quote:
<!--START CAPTCHA INPUT HERE -->
<?php
if (ACCOUNT_VALIDATION == 'true' && CONTACT_US_VALIDATION == 'true') {
?>
<?php
if (strstr($_SERVER['REQUEST_URI'],'contact_us') && CONTACT_US_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && LOGIN_VALIDATION == 'true') {
?>
<?php
if ($is_read_only == false || (strstr($_SERVER['REQUEST_URI'],'contact_us')) || (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" />
<?php
}
?>
<?php
}
?>
<?php
}
?>
</fieldset>
<!-- END CAPTCHA INPUT -->
This comes after a </filedset> and before the <div class="buttonRow forward....
You might try entering the above code around line 158 of the includes\templates\YOUR_TEMPLATE\templates\tpl_lings_submit_default.php
MAKE SURE YOU BACK EVERYTHING UP FIRST!!!!
-
Re: CAPTCHA images not displaying
Quote:
Originally Posted by
RixStix
It doesn't play nice with customer login in my test install. ... I just dropped the files into place without doing anything that might have been said in the readme file other than changing template name and admin folder name.
As noted with ATSWorld, I can't imagine anyone doing a mod install as either of you have done.
Well, maybe back in 2004 as a noob, I might have jumped in with both feet.
I'm harping on the both of you ONLY to prevent others from trying this the same way. Did either of you have any concerns when your FTP program said it was going to overwrite files? I hope your FTP program is not set to automatically overwrite.
Maybe you both were doing this on a test site with total backup. If so, that's your choice but, each time we state something in the forum we are leaving a trail that others will follow.
<petPeeves>
- Giving shortcuts to some procedure that is detailed in the tutorials/FAQs, or docs, or readme.
- Posting an "I've got the exact same problem" post rather than a new thread.
- Not following the posting tips (see number 2)
- Obviously failing to do a search before posting (see number 2)
- Thinking that the virtual shrink-wrap on the tutorials/FAQs, docs, or readme is impervious to all, including super-heroes.
- Folks who want us to feed them a fish rather than asking how to fish.
</petPeeves>
After all that, yes I did see in the CAPTCHA thread that folks were having a problem with plain login but, I did not see any solution provided. As stated in the readme, we do not use any of the logins other than the split-login. However, I will take another look at what can be done before submission.
I humbly accept any suggestions on that fishing expedition.:P
-
Re: CAPTCHA images not displaying
Quote:
Did either of you have any concerns when your FTP program said it was going to overwrite files?
Not really, since it was a default install with no mods yet installed. On my live sites, Yes, I would have looked more closely.
Quote:
Maybe you both were doing this on a test site with total backup. If so, that's your choice but,
That sounds like that having a total backup even for a test site is a bad thing, but I know that isn't the intention.:smile:
That's why I said that I hadn't read the readme but assumed that since I was dropping it into a default v1.5 install that I wouldn't get caught with my drawers around my knees or needed to worry about checking/merging files. That'll teach me not to read. I only consider myself a step and a half above a noob but know that "Backup is my friend". Sorry, I thought that I was helping but am also smart enough to realize that I only know enough to be dangerous.
Yes, I always use my test domain just in case something goes unexpected but even then, a backup is the last click immediately prior to uploading anything new.
-
Re: CAPTCHA images not displaying
Just installed again, after reading the readme. Didn't need to change a thing. Split Login was already true.
All seems to be playing well together this time. Contact and Create Account captcha both functioning as expected.
-
Re: CAPTCHA images not displaying
lol not a problem :) ... I had a full site backup anyway ..(I make 1 once a week) as for the fec and links was only asking :P lol ..I am happy as it is right now as was mostly concerned about spamming messages that is on the increase ..this will put a stop to it I hope
but thanks for the update much appreciated
-
Re: CAPTCHA images not displaying
Sorry for the rant.
My point was really meant to be that NO ONE should EVER upload a mod without checking everything out first. It doesn't matter if it's a clean install with three backups. You just don't know what the mod author had in mind. Some will include a snippet of code to be inserted in a core file.
I certainly wouldn't overwrite any core file with my FTP till I found out what was going on.
That said, I'm still open for suggestions on the login versus split-login settings.
-
Re: CAPTCHA Anti-Robot Mod
Hello, I have a similar problem. Install this contribution and works great except for create account. The box does not appear at the end, however, after a client has sent your registration, by magic, the captcha is asked not previously revealed.
Anyone know what may be happening, I've reviewed a thousand times the installation and everything is fine.
Thanks in advance.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
fandara
Hello, I have a similar problem. Install this contribution and works great except for create account. The box does not appear at the end, however, after a client has sent your registration, by magic, the captcha is asked not previously revealed.
Anyone know what may be happening, I've reviewed a thousand times the installation and everything is fine.
Thanks in advance.
http://www.ojovel.com.ve/cctv/index.php?main_page=login
-
Re: CAPTCHA Anti-Robot Mod
Are you using the split login as in the readme?
-
Re: CAPTCHA Anti-Robot Mod
Anyway I tried the coding/place you suggested and it didn't like it ,so have removed it ..thanks for trying though
-
Re: CAPTCHA Anti-Robot Mod
It was a quick guess. Since it's one of Clyde's mods, I feel I owe it to him to look a little further. If it is added to CAPTCHA, it will be an option for folks to find in the readme.:shocking:
Now to find some time this week.
-
Re: CAPTCHA Anti-Robot Mod
that would be fine by me ....Clyde is sorely missed as I use a lot of his add ons
-
Re: CAPTCHA Anti-Robot Mod
I installed this mod (http://www.zen-cart.com/downloads.php?do=file&id=215) on a ZC 1.39h website. It does show the captcha on the Create Account page, but it does NOT show it on the Login/Create account page (http://mywebsite.com/index.php?main_page=login). How can I get it to show up on that page as well?
Thanks!
--------------
I should have done a bit more searching before posting. The solution is to use the split login setting in Configuration>Layout Settings.
-
Re: CAPTCHA Anti-Robot Mod
I finally got this installed and now I try to turn it on through my admin. I go to Configuration-> Captcha Validation and it shows Sitemap XML. It's like my Captcha Validation points to Sitemap XML also under configuration. Does anyone know why this would be. Thanks for any help.
-
Re: CAPTCHA Anti-Robot Mod
Ok I got it installed I messed up on phpMyAdmin side and took the last GID and Sort order from there and it should be from configuration_pages. Now it is just blank I will sort through this thread to see for any help with this.
-
Re: CAPTCHA Anti-Robot Mod
I let it sit overnight and I still have a blank screen in the admin side of this captcha mod. Does anyone know why this would be?
-
Re: CAPTCHA Anti-Robot Mod
-
Re: CAPTCHA Anti-Robot Mod
I don't know what is going on I re-uploaded all the files and still the same thing. I checked to make sure everything was there through my cpanel. I uploaded using Filezilla. It would be easier if I could get an error from this but nothing is showing up in the logs folder. I noted in your tpl file you don't have
<!--START CAPTCHA INPUT HERE -->
<?php
if (ACCOUNT_VALIDATION == 'true' && CONTACT_US_VALIDATION == 'true') {
?>
<?php
if (strstr($_SERVER['REQUEST_URI'],'contact_us') && CONTACT_US_VALIDATION == 'true' || strstr($_SERVER['REQUEST_URI'],'login') && LOGIN_VALIDATION == 'true') {
?>
<?php
if ($is_read_only == false || (strstr($_SERVER['REQUEST_URI'],'contact_us')) || (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" />
<?php
}
?>
<?php
}
?>
<?php
}
?>
<!-- END CAPTCHA INPUT -->
Well at least most of this. It is in the other tpl files maybe this is causing a problem. Maybe I should try another captcha mod? Does english.php on the admin side create all the listings for this mod on the admin side. True/False on each page to turn on the mod on that page.
-
Re: CAPTCHA Anti-Robot Mod
I believe I have installed Captcha correctly but when I click on Captcha Validation in the Admin / Config it pulls up Easy Populate instead. What have I done wrong or forgot to do. Any help is greatly appreciated. I am using ZC 1.5
Thanks
Mark
-
Re: CAPTCHA Anti-Robot Mod
I had that same problem you have to change you sql file as in the readme on the top of the sql. I had to go into phpAdmin > your database > Configuration_group and then you have to see what the next two numbers would be at the end of your group GID:34 Sort order: 34 something like that and then change that in your sql file you load. Otherwise it just seems to put that Captcha Validation in whatever file has that GID: and Sort Order: that you had in the sql file you uploaded. There can be more than one page for this Configuration_group folder also if you have a lot of add-ons. Hope this helps.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
timbojrjr1
I had that same problem you have to change you sql file as in the readme on the top of the sql. I had to go into phpAdmin > your database > Configuration_group and then you have to see what the next two numbers would be at the end of your group GID:34 Sort order: 34 something like that and then change that in your sql file you load. Otherwise it just seems to put that Captcha Validation in whatever file has that GID: and Sort Order: that you had in the sql file you uploaded. There can be more than one page for this Configuration_group folder also if you have a lot of add-ons. Hope this helps.
This does help some for me. I currently only have Easy Populate and CkEditor installed for addons. I guess I don't quit understand what I am supposed to change the GID and Sort Order to. The Read Me states "However, if you have added additional # Add-Ons already or, made changes to this table, you will need to set those numbers to what the next setting would be for them, in Sequential Order." I am not sure what number they need to be. Any help is greatly appreciated.
Thanks
Mark
-
Re: CAPTCHA Anti-Robot Mod
I had to go into cpanel to find that info. Under phpAdmin click on configuration_group and look at the list it will show those files for the add-ons in there. See what the bottom one has for GID and Sort Order. For example it might have GID:34 and Sort order: 29. Then you would have to edit the sql file and put GID: 35 and Sort Order: 30 and that should fix your problem. If you don't have Cpanel or phpAdmin I am not sure how to do this. If you still can't figure that out I would need to see a screen shot of your phpAdmin Configuration_group folder to see what to do. I hope this helps.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
timbojrjr1
I had to go into cpanel to find that info. Under phpAdmin click on configuration_group and look at the list it will show those files for the add-ons in there. See what the bottom one has for GID and Sort Order. For example it might have GID:34 and Sort order: 29. Then you would have to edit the sql file and put GID: 35 and Sort Order: 30 and that should fix your problem. If you don't have Cpanel or phpAdmin I am not sure how to do this. If you still can't figure that out I would need to see a screen shot of your phpAdmin Configuration_group folder to see what to do. I hope this helps.
Thanks I figured it out and now I cannot upload the SQL file. I try to do a copy and paste and hit send and I get the error message "WARNING: An Error occurred, please refresh the page and try again.". Any idea why I am getting the message.
Thanks
Mark
-
Re: CAPTCHA Anti-Robot Mod
Did you copy everything including the text before the sql. Just copy from
SELECT @sortorder:=max(sort_order) down and paste and hit send. This one seems to not be able to copy everything and hit send. Just copy the code.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
timbojrjr1
Did you copy everything including the text before the sql. Just copy from
SELECT @sortorder:=max(sort_order) down and paste and hit send. This one seems to not be able to copy everything and hit send. Just copy the code.
I am only trying to copy the code as you indicated and I only get the error message "WARNING: An Error occurred, please refresh the page and try again." This error message pops up on a new page and not at the top of ZC like a normal program saying sucessfully uploaded. It is a new page like a 404 Error. Hopefully someone can help with this.
Thanks
Mark
-
Re: CAPTCHA Anti-Robot Mod
I am pretty new at this and am not sure then why that is happening. I gave up on this mod because it would not show up in my admin panel to change those pages to true. I installed Google reCaptcha and that was really easy. A little harder to read but should work the same but I can't change the fonts or anything. I may try this mod again sometime but for now I will stock with the google reCaptcha.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
timbojrjr1
I installed Google reCaptcha and that was really easy. A little harder to read but should work the same but I can't change the fonts or anything. I may try this mod again sometime but for now I will stock with the google reCaptcha.
Hi Tim - Just thought I'd let you know that you can change the font with the Google reCaptcha. See my post in the support thread on customising the look of it.
Regards
David
-
Re: CAPTCHA Anti-Robot Mod
Thank you for the mod and the info. I will try and use the clean one and see how that looks.
-
Re: CAPTCHA Anti-Robot Mod
I found the error in the debug but am not sure what to do. Can someone help me. The error states "[31-Oct-2012 12:38:13] PHP Fatal error: 1062uplicate entry 'configCaptchaValidation' for key 'page_key' :: INSERT INTO zen_admin_pages ( page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order ) VALUES ( 'configCaptchaValidation', 'BOX_CONFIGURATION_CAPTCHA_VALIDATION', 'FILENAME_CONFIGURATION', 'gID=32', 'configuration', 'Y', '32'); in /home/firstcap/public_html/includes/classes/db/mysql/query_factory.php on line 101"
I am getting the error message ""WARNING: An Error occurred, please refresh the page and try again." when I click send on SQL Patch in Admin. I was told this debug error message will help me but I am not sure what to do. Any help is greatly appreciated.
Thanks
Mark
-
Re: CAPTCHA Anti-Robot Mod
Already answered in your other duplicate post: http://www.zen-cart.com/showthread.p...-Error-Message
(Please don't post duplicates!!!!!!)
-
Re: CAPTCHA Anti-Robot Mod
I uninstalled Captcha and reinstalled it. I am able to go to Admin-Captcha Validation and the page pulls up but there is nothing there. In the readme file it states to set the pages to "true". I am pretty sure something is wrong as I don't have anything on the Captcha Validation. What do I need to do to fix this.
Thanks
Mark
-
Re: CAPTCHA Anti-Robot Mod
this is pretty much usless, nothing is sorted by date or even relates to the 1.5.0 issues.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
stantcb
this is pretty much usless, nothing is sorted by date or even relates to the 1.5.0 issues.
and this post isn't helpful either.. (can't tell if you're just posting a general grip or if you've posted in the wrong thread)
What would be helpful is if you posted what issue you are having so that those who volunteer to help others can actually help..
-
Re: CAPTCHA Anti-Robot Mod
I have installed captcha verification and some how on the create account page it is displaying 2 verification boxes. If someone could tell me how I can remove one of them that would be great. I am using zencart 151. I have re installed the files but it is still show 2 boxes. I am thinking that it is in the database some how. But i could be wrong
Thanks,
Tom
-
Re: CAPTCHA Anti-Robot Mod
The activity here seems to have died a while back. Is this still a supported Plugin? I am getting spammed to death lol. I really need this for 1.5.1.
If its not still active, does anyone have a better solution?
Thanks
Chris
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
g2ktcf
The activity here seems to have died a while back. Is this still a supported Plugin? I am getting spammed to death lol. I really need this for 1.5.1.
If its not still active, does anyone have a better solution?
Thanks
Chris
Anti-spam preventions are built into Zen Cart v1.5.x
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
DivaVocals
Anti-spam preventions are built into Zen Cart v1.5.x
ok, I am going to have to ask since I cannot seem to find anything. Where? I get around 50-60 spam messages a day from the "Website Inquiry" side from bots.
-
Re: CAPTCHA Anti-Robot Mod
What 1.5.1 does is include an invisible item that the bots think needs to be filled in. If it is, the bot will get a confirmation of sending but, the email(s) will not go out.
What you are experiencing is happening to a lot of us. In some 4th world country, individuals are being paid to search for contact_us pages and fill each one with a bogus add. Just a single entry that does not raise any flags. And, if needed, the employee will fill in the required captcha data. For around $10 a day, they're getting a human to act as a s p a m bot sending out one every minute or two. In their ten-hour day, that's 300 to 600 a day. I imagine some are faster.
There is no way to stop this kind of spam. You can only take away the form submission process or remove your e-mail address from the site. Even, changing the contact_us page naming convention to something like spamTrap would probably not work for long.
What I use with my e-mail is Mailwasher. There is a free version and a paid version. It allows you to bounce, delete, and/or report emails while preventing the sender from ever knowing that their e-mail was viewed. Any other program will automatically send an acknowledgement if an e-mail is simply viewed in ANY other program.
Using its connection to spamcop.net, I can easily report offenders and do so to the tune of 30 or so a day per site. The more we identify, the more cpanel and other s p a m services will be able to stop.
You have to consider just how many valid queries are coming in and decide if they are low enough to make real customers call versus e-mail. IMHO, if real questions are 25% or more, I'm gonna live with the spam.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
g2ktcf
ok, I am going to have to ask since I cannot seem to find anything. Where? I get around 50-60 spam messages a day from the "Website Inquiry" side from bots.
It's a "deterrent" which means it will help prevent most normal spam.. but it's not bullet-proof and neither is CAPTCHA..
Quote:
Originally Posted by
dbltoe
What 1.5.1 does is include an invisible item that the bots think needs to be filled in. If it is, the bot will get a confirmation of sending but, the email(s) will not go out.
What you are experiencing is happening to a lot of us. In some 4th world country, individuals are being paid to search for contact_us pages and fill each one with a bogus add. Just a single entry that does not raise any flags. And, if needed, the employee will fill in the required captcha data. For around $10 a day, they're getting a human to act as a s p a m bot sending out one every minute or two. In their ten-hour day, that's 300 to 600 a day. I imagine some are faster.
There is no way to stop this kind of spam. You can only take away the form submission process or remove your e-mail address from the site. Even, changing the contact_us page naming convention to something like spamTrap would probably not work for long.
Exactly.. So like you pointed out SOME of the spam battle has to be manage using your e-mail client/host..
-
Re: CAPTCHA Anti-Robot Mod
Are you using a template that makes use of the MegaMenu. I am not a coder and I cannot find the thread where I thought I read that the ContactUs functionality within the MegaMenu uses different code than the stock ContactUs code and may not have the Spam protection embedded within that portion of the code.
We started receiving Spam from our Sandbox site after installing a template using Megamenu. Prior to that, we never received any Spam.
Maybe a coder can either confirm or dispute these observations.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
DivaVocals
It's a "deterrent" which means it will help prevent most normal spam.. but it's not bullet-proof and neither is CAPTCHA..
Exactly.. So like you pointed out SOME of the spam battle has to be manage using your e-mail client/host..
Well, I have both all my host's systems activated as well prior to even asking this question.
-
Re: CAPTCHA Anti-Robot Mod
I am indeed using the Abbington Mega Template where the Mega Menus are used.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
RixStix
Are you using a template that makes use of the MegaMenu. I am not a coder and I cannot find the thread where I thought I read that the ContactUs functionality within the MegaMenu uses different code than the stock ContactUs code and may not have the Spam protection embedded within that portion of the code.
We started receiving Spam from our Sandbox site after installing a template using Megamenu. Prior to that, we never received any Spam.
Maybe a coder can either confirm or dispute these observations.
and THAT is the issue.. The contact form in the mega menu does not use the built in spam deterrents that are a part of Zen Cart's default Contact Us page.. It is my understanding that Anne opted not to use the CSS spam deterrent code for the contact_us form in the mega menu because it didn't validate..
HTML validation not a FINAL answer because the validator does still choke on code that is NOT invalid.. Adding the code CSS SPam deterrent code back to the mega menu contact us form will solve the issue.. I can't remember which support thread I saw this on, but it's posted on the forum somewhere..
Quote:
Validate the code: Is it always necessary to pass the validation?
Assuming that for a developer being able to validate the code he’s creating usually represents a personal satisfaction as well as a challenge with himself, is it always necessary to pass the validation?
The green check mark that indicates a validated code is generated by a software in accordance with the result provided by an algorithm developed to verify the correctness of the code under exam. Considering that a software has some very strict rules, it can happen that the code of a Web document, even if perfectly developed, for whatever kind of banality not foreseen by the validation algorithm, may not be validated
-
Re: CAPTCHA Anti-Robot Mod
and one more..
Quote:
Acceptable Validation Errors Ideally all your pages would be 100% valid, though it’s not practical or even desirable at times to achieve 100% validation.
Some code that’s commonly used just won’t validate.
Vender specific prefixes such as -webkit and -moz will never validate by definition. That doesn’t mean you shouldn’t use those vendor specific prefixes.
Hacks for specific browsers (I’m looking at you Internet Explorer) also won’t validate, though it’s unlikely you’ll find a developer who’s never written a coding hack. Sometimes they’re all you have to get the page working right.
Validators will also issues warnings in addition to errors. 100% valid code means 0 errors, but it could include any number of warnings. Some of those warnings aren’t going to be things you’ll want to fix. Many tracking parameters you add to the end of a url will give a warning for example.
In the end you shouldn’t sweat it if your pages aren’t 100% valid. Some errors and many warnings are perfectly acceptable as part of a well-coded page.
-
Re: CAPTCHA Anti-Robot Mod
and I couldn't resist one more.. Source: http://net.tutsplus.com/articles/gen...esnt-validate/
GOOD article on the real value of validation..
Quote:
Validation is Not…- A game. Don’t waste time achieving a 100% score, when you know exactly what you’re doing. However, do use it to point out your mistakes.
- An all-encompassing checker. While it does test for errors, it does not point out bad practices, accessibility issues, etc.
- To be used as an excuse for not embracing the latest CSS3 techniques. The longer you say to yourself, “I’ll use this in a few years…” the further you’ll fall behind.
and here is the answer to the CSS spam code not being included in the mega menu:
http://www.zen-cart.com/showthread.p...87#post1199787
The file that needs changing is /YOURSHOP/includes/templates/responsive_sheffield_blue/common/tpl_mega_menu.php
Quote:
Originally Posted by
Design75
Add this line
PHP Code:
<?php echo zen_draw_input_field('should_be_empty', '', ' size="40" id="CUAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?>
after
PHP Code:
<br class="clearBoth" />
<label for="enquiry">Message<span class="required"> *</span></label>
<textarea name="enquiry" cols="40" rows="3" id="enquiry"></textarea>
and YES, this code will cause the template to fail w3c xhtml validation. This the reason why it was not included in the mega menu code. but to quote Design75:
Quote:
Originally Posted by
Design75
Ahh the autocomplete error :) That is one of those error I ignore completely, like the ones thrown at us about id's facebook uses
For those of you OBSESSED with that 100% validation score, you can use an encoding tool to encode this code which will shut the validators up.. (and for those getting ready to ask, you will need to Google encoding or start a separate thread to discuss further..)
-
Re: CAPTCHA Anti-Robot Mod
I could care less about Validation! :) I need to get my old copy of my local store setup to verify this before I make any live changes.
THANKS!!
Chris
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
g2ktcf
I could care less about Validation! :) I need to get my old copy of my local store setup to verify this before I make any live changes.
THANKS!!
Chris
Well validation IS important.. it's just not the holy grail that many believe it is..
Good luck..
-
Re: CAPTCHA Anti-Robot Mod
Well, changes made and its made little if any difference. The comment about folks being paid to "contact us" appears to be valid. I was tempted to filter the IPs but I am sure that I would end up getting some good emails with that approach as well.
So...I will keep using the delete button :(
-
Re: CAPTCHA Anti-Robot Mod
so since 1.5+ ahs its own spam detterent this mod is really not needed anymore?
Cause I installed it and then went to admin, set the layourt setting as instructed then clicked the link for captcha and the page comes up empty
Attachment 13503
-
Re: CAPTCHA Anti-Robot Mod
Will this work on Testimonial Manager?
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
DarkAngel
so since 1.5+ ahs its own spam detterent this mod is really not needed anymore?
Cause I installed it and then went to admin, set the layourt setting as instructed then clicked the link for captcha and the page comes up empty
Attachment 13503
as has been said several times, v1.5.x has a built in spam deterrent. So NO this module is no longer needed..
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
gsallen101289
Will this work on Testimonial Manager?
the best spam deterrent is to not allow testimonials from non registered visitors..
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
DivaVocals
the best spam deterrent is to not allow testimonials from non registered visitors..
I agree. Although some customers will not leave one to avoid the hassle of registering or may just not want to register. Maybe I just need to migrate to 1.5.
-
Re: CAPTCHA Anti-Robot Mod
Mwaaaaa haaaaaa haaaaa yay! one less mod to install...LOL
ty
-
Re: CAPTCHA Anti-Robot Mod
Of late I am getting spammed across all of my v1.5 sites via the contact us form. How can I eliminate this?
-
Re: CAPTCHA Anti-Robot Mod
I had the same result. I noticed that the sql file were missing quotes on a lot of table names and other places.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
timbojrjr1
I had that same problem you have to change you sql file as in the readme on the top of the sql. I had to go into phpAdmin > your database > Configuration_group and then you have to see what the next two numbers would be at the end of your group GID:34 Sort order: 34 something like that and then change that in your sql file you load. Otherwise it just seems to put that Captcha Validation in whatever file has that GID: and Sort Order: that you had in the sql file you uploaded. There can be more than one page for this Configuration_group folder also if you have a lot of add-ons. Hope this helps.
Configuration group only gives gID not sort order. So where do find the right sort order?
This mod was poorly explained in readme. No mention is made of appending dbase prefix like zen_ or whatever. Missing quotes in sql file make installing database tables difficult.
-
Re: CAPTCHA Anti-Robot Mod
Does this need to be turned on in 1.5.1 or is it on by default. I've been getting spam from my contact us page the last couple of weeks. I'm not sure if it's someone manually doing it or a robot/crawler.
Thanks
-
Re: CAPTCHA Anti-Robot Mod
Shortly after upgrading to 1.5.3 I am not getting a tonne of contact form spam. I had captcha working on my old 1.3.9h system, but it seems that the magical new default spam blocking in 1.5.3 is not working for me. I'm on the cusp of installing this module to block it, but thought I would check if anyone else is having the same issue.
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
ts232
Shortly after upgrading to 1.5.3 I am not getting a tonne of contact form spam. I had captcha working on my old 1.3.9h system, but it seems that the magical new default spam blocking in 1.5.3 is not working for me. I'm on the cusp of installing this module to block it, but thought I would check if anyone else is having the same issue.
I think I may have found the problem. in Configuration->Email, make sure "Email Friendly Errors" is set to "true". It was set to false by default when I upgraded to 1.5.3, but after switching it to true I have not had any spam message (going on 48 hours, knock on wood).
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
ts232
I think I may have found the problem. in Configuration->Email, make sure "Email Friendly Errors" is set to "true". It was set to false by default when I upgraded to 1.5.3, but after switching it to true I have not had any spam message (going on 48 hours, knock on wood).
Spoke to early. After a break of a few days the spam resumed.
-
Re: CAPTCHA Anti-Robot Mod
Anyway to make this compatible with version 1.5.3 and using Dover Fine Template?
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
jbblsb29
Anyway to make this compatible with version 1.5.3 and using Dover Fine Template?
Works without CAPTCHA... The built in honeypot in ZC 1.5.x works, however, too many times we talked about how it works and what the trap is. What works is to change the words 'should_be_empty' to something no one but you should know, even better, don't use correct spelling!
in... includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php
and..includes/modules/pages/contact_us/header_php.php
change to the same words in both files... any info request forms should be using honeypots... you need to change there wording too.
-
Re: CAPTCHA Anti-Robot Mod
Is there a setting/configuration to make the verification work with the Honeypots? I changed the two files but it looks like an normal contact us form with no security? Maybe its the template for Dover Fine?
-
Re: CAPTCHA Anti-Robot Mod
Quote:
Originally Posted by
jbblsb29
Is there a setting/configuration to make the verification work with the Honeypots? I changed the two files but it looks like an normal contact us form with no security? Maybe its the template for Dover Fine?
The trap is always active, no switch to mess with.
A normal looking from is what I'm after... no eye testing customers.