I went to that file and the following code that seems to pertain to email is this:
Code:
$email_address = zen_db_prepare_input($_POST['email_address']);
if (strlen($email_address) < ENTRY_EMAIL_ADDRESS_MIN_LENGTH) {
$error = true;
$messageStack->add('no_account', ENTRY_EMAIL_ADDRESS_ERROR);
} elseif (zen_validate_email($email_address) == false) {
$error = true;
$messageStack->add('no_account', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
} else {
$check_email_query = "select count(*) as total
from " . TABLE_CUSTOMERS . "
where customers_email_address = '" . zen_db_input($email_address) . "'
and COWOA_account != 1";
$check_email = $db->Execute($check_email_query);
if ($check_email->fields['total'] > 0) {
$error = true;
$messageStack->add('no_account', ENTRY_EMAIL_ADDRESS_COWOA_ERROR_EXISTS);
I don't know if this helps or if this is what you are asking. I will also search the COWOA forum like you say I should.
Thanks for your help
Bookmarks