Cntl_Alt_Del Posted May 31, 2009 Share Posted May 31, 2009 Hi all, I am new to osCommerce and just get started configurating and setting up my site. Now I wanted to add a security code feature (Captcha) which I had already got it working separately into the customer registration page but i am facing some doubts on the code. My problems are: 1) Understand that i need to do some amendment to includes\languages\english (Spanish and German as well) but for instance, i want to amend the following codes define('ENTRY_PASSWORD', 'Password:'); define('ENTRY_PASSWORD_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.'); define('ENTRY_PASSWORD_ERROR_NOT_MATCHING', 'The Password Confirmation must match your Password.'); Where can i find the ENTRY_PASSWORD, ENTRY_PASSWORD_ERROR & ENTRY_PASSWORD_ERROR_NOT_MATCHING files? 2) When i try to add an additional field (Security Code) and input box (textbox to input the code) on the includes\languages\english & create_account.php by writing define('ENTRY_SECURITY_PASSWORD', 'Security Password:'); define('ENTRY_SECURITY_PASSWORD', '*'); $security_password = tep_db_prepare_input($HTTP_POST_VARS['security_password']); and I cant get it display on the page. Is there something that i had miss out beside these two pages? Any help will be greatly appreciated. Thanks in advance.. CAD Link to comment Share on other sites More sharing options...
Cntl_Alt_Del Posted May 31, 2009 Author Share Posted May 31, 2009 2) When i try to add an additional field (Security Code) and input box (textbox to input the code) on the includes\languages\english & create_account.php by writing define('ENTRY_SECURITY_PASSWORD', 'Security Password:'); define('ENTRY_SECURITY_PASSWORD', '*'); $security_password = tep_db_prepare_input($HTTP_POST_VARS['security_password']); and I cant get it display on the page. I had managed to solve the above mentioned problem but now, i still need help on my problem 1. Problem 3: Where can i add my authenication codes for my captcha? What i mean is do i just add in to the create_account.php or do i add it to somewhere else? Help are greatly appreciated. CAD Link to comment Share on other sites More sharing options...
Cntl_Alt_Del Posted June 1, 2009 Author Share Posted June 1, 2009 Anybody can help? Sincere Thanks CAD Link to comment Share on other sites More sharing options...
♥14steve14 Posted June 2, 2009 Share Posted June 2, 2009 There are several captcha contributions already. Could you not use one of those, or modift their code to suit your purposes. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.