If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / User Verification (Anti-Robot / CAPTCHA)

User Verification (Anti-Robot / CAPTCHA)

Started by funkey on 7 Aug 2006, 8:20 AM · Views: 79,933

Results 121 to 140 of 192
6 Mar 2007, 3:55 AM
#121
funkey avatar

funkey

New Zenner

Join Date:
Jul 2005
Posts:
85
Plugin Contributions:
0

Post #121 by funkey

I think I see the problem:

You seem to have modified the SQL to change your configuration prefix to zen_ -- but your database actually is looking for hotrod_zc1. (requires the dot)

Boognish:

I have reinstalled sql several times and I'm still getting this at the bottom of the page:

[I]1146 Table 'hotrod_zc1.TABLE_ANTI_ROBOT_REGISTRATION' doesn't exist
in:
[DELETE FROM TABLE_ANTI_ROBOT_REGISTRATION WHERE timestamp < '1173066328' OR session_id = '6ee1140ffc6f8e53f4de896c83b68f08'][/I]

> 
> ```
# CAPTCHA Verification SQL Install
# For Zen-Cart 1.3.6
# Last Updated: 31/10/2006

SELECT @sortorder:=max(sort_order)
FROM zen_configuration_group;

INSERT INTO `zen_configuration_group` VALUES (NULL, 'CAPTCHA Validation', 'Anti-Robot Registration/Verification', @sortorder+1, 1);

SELECT @captchaid:=max(configuration_group_id)
FROM zen_configuration_group;

INSERT INTO zen_configuration ( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function ) VALUES ( 'Activate Validation', 'ACCOUNT_VALIDATION', 'true', 'Enables CAPTCHA Verification Code. This is used to verify that the customer is real and valid, rather than a bot or spider session.', @captchaid, 10, NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),' );

INSERT INTO zen_configuration ( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function ) VALUES ( 'Activate Validation on Create Account page', 'CREATE_ACCOUNT_VALIDATION', 'true', 'Enables verification on Create Account page. (Recommended)', @captchaid, 20, NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),' );

INSERT INTO zen_configuration ( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function ) VALUES ( 'Activate Validation on Login page', 'LOGIN_VALIDATION', 'true', 'Enables verification on Login page. (Optional)', @captchaid, 30, NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),' );

INSERT INTO zen_configuration ( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function ) VALUES ( 'Length of Validation Code', 'ENTRY_VALIDATION_LENGTH', '5', 'Default Length = 5, Maximum Length = 32', @captchaid, 50, NULL, NULL );

DROP TABLE IF EXISTS zen_anti_robotreg;

CREATE TABLE zen_anti_robotreg (session_id char(32) DEFAULT '' NOT NULL, reg_key char(32) NOT NULL, timestamp int(11) unsigned NOT NULL, PRIMARY KEY (session_id));
6 Mar 2007, 3:21 PM
#122
boognish avatar

boognish

New Zenner

Join Date:
Feb 2007
Posts:
14
Plugin Contributions:
0

Post #122 by boognish

**hotrod_zc1. is the name of the database that it is looking for which is correct. I started to reinstall the mod one page at a time and checking to see what file made a change. After reinstalling anti_reg_filenames.php it worked. Thanks for the cool mod!

p.s. Compaired to other messageboards I have posted on, I don't think I've ever received such quick responses from people willing to help as I get on this one.

Thanks!:thumbsup:
**

20 Mar 2007, 7:05 AM
#123
babygekko avatar

babygekko

New Zenner

Join Date:
Mar 2007
Posts:
19
Plugin Contributions:
0

Post #123 by babygekko

I just took a quick look at the code and PLEASE correct me if I'm wrong but I believe that a spam bot can still break this captcha thing. A true captcha doesn't really display the img src code....

The bot can break the validation by parsing the HTML content:
images/validation/validation_x.gif
images/validation/validation_y.gif
...
and so on.

Take a look at this - you can view the code in your own create account page (view source): index.php?main_page=login

<div class="centered"><img src="images/validation/validation_x.gif" alt="x" title=" x " width="30" height="30" /><img src="images/validation/validation_y.gif" alt="y" title=" y " width="30" height="30" /><img src="images/validation/validation_f.gif" alt="f" title=" f " width="30" height="30" /><img src="images/validation/validation_s.gif" alt="s" title=" s " width="30" height="30" /><img src="images/validation/validation_e.gif" alt="e" title=" e " width="30" height="30" /><br /></div>
<input type="text" name="antirobotreg" id="antirobotreg" /><span class="alert">* (case insensitive)</span><br class="clearBoth" />
21 Mar 2007, 10:40 PM
#124
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Post #124 by woodymon

babygekko:

I just took a quick look at the code and PLEASE correct me if I'm wrong but I believe that a spam bot can still break this captcha thing.
Yes, this is an OLD captcha mod from zencartskins.com. Robots can now easily break it. I'm not dissing this mod. It served it's purpose but newer captcha technology is required.

So check out Andrew's new CAPTCHA mod for Zen Cart at http://www.zen-cart.com/forum/showthread.php?t=59539

Note: I have his new script working fine on PHP 4.4.4. But I'm currently having an issue running it on PHP 5.1.6. I'm fairly convinced it is a webhost server config issue and nothing to do with the script.

Woody

13 Apr 2007, 5:11 AM
#125
gretzlertech avatar

gretzlertech

New Zenner

Join Date:
Mar 2007
Posts:
36
Plugin Contributions:
0

Post #125 by gretzlertech

I'm getting the following error:

Email Error: Could not instantiate mail function.

AND if I enter the information incorrectly (I receive the error and) it still creates the account. I have applied the patch in the correct manner and put all files into appropriate folders (including override directories). Whadd I do wrong?

20 May 2007, 8:35 PM
#126
imnew2this avatar

imnew2this

New Zenner

Join Date:
May 2007
Posts:
2
Plugin Contributions:
0

Post #126 by imnew2this

Hello,

I am loving this cart its generally pretty easy to set up and as i am new to it all (including programming) I am having a lot of fun. But now i have hit a brick wall. I have uploaded the User verification (anti-robot / CAPTCHA) and the SQL bit seemed to go fine No errors (even though i do have zen_ prefix - i was not sure what i needed to change so just gave it a try as is) All the admin bit seems to be showing and working ok. But my issue is that i do not get anything showing up on my create account for the user to put the letters in and then when i hit submit to create an account it will not let me as it says that the CAPTCHA is not valid. I have changed my defalut template and wonder if that could be why it is not showing. Any help would be great.

Please help

Thanks

20 May 2007, 9:10 PM
#127
imnew2this avatar

imnew2this

New Zenner

Join Date:
May 2007
Posts:
2
Plugin Contributions:
0

Post #127 by imnew2this

The Remove file for the SQL was really helpfull but in my meddling with trying to add zen_ to the fields in the SQL i have manages to create a zen_CAPTCHA Verification in my Configuration tab any ideas how to remove that listing there?

8 Jun 2007, 6:50 PM
#128
evildad avatar

evildad

New Zenner

Join Date:
Jun 2007
Posts:
7
Plugin Contributions:
0

Post #128 by evildad

HI, I tried to include the CAPTCHA.sql File but get the following error.
Anyone knows where's the Problem?

1136 Column count doesn't match value count at row 1
in:
[INSERT INTO configuration_group VALUES (NULL, 'CAPTCHA Validation', 'Anti-Robot Registration/Verification', @sortorder+1, 1);]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

1 Aug 2007, 12:34 PM
#129
dedj avatar

dedj

Zen Follower

Join Date:
Jan 2007
Posts:
129
Plugin Contributions:
0

Post #129 by dedj

gretzlertech:

I'm getting the following error:

AND if I enter the information incorrectly (I receive the error and) it still creates the account. I have applied the patch in the correct manner and put all files into appropriate folders (including override directories). Whadd I do wrong?

Hi. Seems for some reason that you have misstyped an emailadress it sends when registering. I had the same problem under "contact us" but it was that i forgot the "<" ">" signs before and after the emailadress :)

hope it solved your problem.

1 Aug 2007, 12:42 PM
#130
dedj avatar

dedj

Zen Follower

Join Date:
Jan 2007
Posts:
129
Plugin Contributions:
0

Post #130 by dedj

Hi.

Need to doublecheck, "Activate Validation on Login page", this is that users that already has an account still need to validate when they log in to a existing account on your zencart webshop right? If yes, please read below if no, please explain the purpose of this option :cool:

I cant seem to get the "Activate Validation on Login page" thing to work. Its set to true. I've tried to turn off and on the "split login page" under configuration/layout settings/ in zencart.

I installed the http://www.zen-cart.com/index.php?main_page=download_contrib&contrib_id=325&update_id=4
and have 1.3.7 version.

The validation for account creation works like a charm, but not for the login.

Let me know what I can look for that I might have missed.

by the way, I read something about contact us, I'd like to have validation for the contact us aswell. Any tips and ideas of what to do?

Thanks

1 Aug 2007, 9:35 PM
#131
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Post #131 by woodymon

dedj:

I read something about contact us, I'd like to have validation for the contact us aswell. Any tips and ideas of what to do?

I recommend using the mod posted in thread below. It is much more secure and also provides CAPTCHA on the contact page.

http://www.zen-cart.com/forum/showthread.php?t=59539

Woody

18 Sep 2007, 5:02 PM
#132
tvmangum avatar

tvmangum

New Zenner

Join Date:
Sep 2007
Posts:
8
Plugin Contributions:
0

Post #132 by tvmangum

What do you mean "Apply the included CAPTCHA.sql file via the usual method." I'm not a SQL person so this means nothing to me. I tried to create a table and import the file and it bombs. I tried to just import the file and it bombs. Give me clear cut directions and I can do just about anything.

TIA!

19 Sep 2007, 10:07 AM
#133
dedj avatar

dedj

Zen Follower

Join Date:
Jan 2007
Posts:
129
Plugin Contributions:
0

Post #133 by dedj

tvmangum:

What do you mean "Apply the included CAPTCHA.sql file via the usual method." I'm not a SQL person so this means nothing to me. I tried to create a table and import the file and it bombs. I tried to just import the file and it bombs. Give me clear cut directions and I can do just about anything.

TIA!

I DO recommend you to stop that installation and take the more advanced and updated one, with better "captcha security" reaching to contact us etc.
I too installed this one you are trying to install, but quickly changed and installed the one i will paste since its using better secure techniques to keep the computerized bots away. Its still Captcha, but a refined one "CAPTCHA using TTF & GD"
link is here. http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=551

if you still want to proceed with the older one you are trying to install at the moment read below what you need to do.

I think it means this:
Go to Admin->Tools->Install SQL Patches and install the .sql (don't use upload - use copy/paste to install sql)
else it will give you errors.

21 Nov 2007, 7:44 AM
#134
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Post #134 by kimsonvu

Trouble with CAPTCHA User Verification for Zen-Cart 1.3.6

Hi Funkey,

I use your module in my website. After i tested them , it will not work if i use tpl_modules_creat_account.php.

But when i use tpl_modules_creat_account_bk.php file, it work but i can not creat account . It always have this error:

You must select a country from the Countries pull down menu.

Can you tell me something to fix this trouble? I attched file in this email for you to see. file have _bk is origin file in my systems.

This is my website : https://www.handicraft-vn.com

KIMSON

Thanks you & best regards,

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

8 Apr 2008, 3:06 AM
#135
adoy avatar

adoy

New Zenner

Join Date:
Feb 2008
Posts:
45
Plugin Contributions:
0

Post #135 by adoy

hello! i have this problem. i have successfully installed CAPTCHA mod. it's working. but i i test in on my test site: http://latter.jobsground.com/index.php?main_page=create_account , i can still be able to register even when the validation Code that I input is not the same as the given code. any help is appreciated

Zen Cart 1.3.8a
Server OS: Linux 2.6.19.1-grsec-Xeon-DSE-M
Database: MySQL 4.1.22-standard
PHP Version: 4.4.7 (Zend: 1.3.0) PHP Safe Mode: Off

14 May 2008, 8:35 AM
#136
adoy avatar

adoy

New Zenner

Join Date:
Feb 2008
Posts:
45
Plugin Contributions:
0

Post #136 by adoy

adoy:

hello! i have this problem. i have successfully installed CAPTCHA mod. it's working. but i i test in on my test site: http://latter.jobsground.com/index.php?main_page=create_account , i can still be able to register even when the validation Code that I input is not the same as the given code. any help is appreciated

Zen Cart 1.3.8a
Server OS: Linux 2.6.19.1-grsec-Xeon-DSE-M
Database: MySQL 4.1.22-standard
PHP Version: 4.4.7 (Zend: 1.3.0) PHP Safe Mode: Off

any idea please...?

13 Jul 2008, 10:57 PM
#137
robsnowden avatar

robsnowden

Zen Follower

Join Date:
Apr 2004
Location:
Up t'north, UK
Posts:
264
Plugin Contributions:
0

Post #137 by robsnowden

I am having one little issue with this mod. I have installed it fine - great mod in fact, but it seems to appear strangely at the bottom of the login/register page. The first character is on the line next to the instruction and the remaining characters are wrapped round to the line below.

Any ideas how to resolve this please?

if elephants could fly, I'd be a little more optimistic....

18 Jul 2008, 5:33 PM
#138
robsnowden avatar

robsnowden

Zen Follower

Join Date:
Apr 2004
Location:
Up t'north, UK
Posts:
264
Plugin Contributions:
0

Post #138 by robsnowden

Shameless bump!!!!!

Would be ever so grateful if I could get help with this.

Many thanks

Rob

if elephants could fly, I'd be a little more optimistic....

18 Jul 2008, 7:01 PM
#139
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Post #139 by website_rob

One would need to see the site/code used, in order to provide useful feedback.

The learning is in the doing.

Potent Products

28 Jul 2008, 10:28 PM
#140
backstage avatar

backstage

Zen Follower

Join Date:
Jan 2006
Posts:
108
Plugin Contributions:
0

Post #140 by backstage

Can I use the Captcha o contact page too, and if I can, then how do I do that?

Looking forward to your reply

Thanks

Kind regards
Kim :)