Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help on the Registration Page


Cntl_Alt_Del

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...