This contribution is a great idea, but I think I will wait for a new, consolidated release (ie, with the count fix and adding source to customer info, plus any new enhancements) before trying to install again.
I really like this mod
Posted 03 August 2004, 14:09
Posted 04 August 2004, 12:05
Posted 04 August 2004, 12:12
Posted 07 August 2004, 06:21
Quote
// Guest Account Start
if (!$guest_account) {
tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('" . tep_db_input($customer_id) . "', '0', now())");
} else {
tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('" . tep_db_input($customer_id) . "', '-1', now())");
}
// Guest Account End
//Referral start ===========================
tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created, customers_info_source_id) values ('" . (int)$customer_id . "', '0', now(), '". (int)$source . "')");
if ($source == '9999') {
tep_db_query("insert into " . TABLE_SOURCES_OTHER . " (customers_id, sources_other_name) values ('" . (int)$customer_id . "', '". $source_other . "')");
}
//Referral end ============================
Posted 09 August 2004, 14:33
Posted 10 August 2004, 16:17
Posted 10 August 2004, 16:20
PM5K, on Aug 9 2004, 08:33 AM, said:
Posted 10 August 2004, 16:22
dasaro, on Aug 7 2004, 12:21 AM, said:
// Guest Account Start
if (!$guest_account) {
tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created, customers_info_source_id) values ('" . tep_db_input($customer_id) . "', '0', now(), '". (int)$source . "')");
} else {
tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created, customers_info_source_id) values ('" . tep_db_input($customer_id) . "', '-1', now(), '". (int)$source . "')");
}
// Guest Account End
//Referral start ===========================
if ($source == '9999') {
tep_db_query("insert into " . TABLE_SOURCES_OTHER . " (customers_id, sources_other_name) values ('" . (int)$customer_id . "', '". $source_other . "')");
}
//Referral end ============================
Posted 11 August 2004, 04:24
Posted 11 August 2004, 04:56
Posted 11 August 2004, 13:26
Posted 11 August 2004, 16:13
Posted 11 August 2004, 20:15
Posted 13 August 2004, 12:32
Posted 13 August 2004, 13:17
Posted 13 August 2004, 14:30
Posted 17 August 2004, 18:01
Posted 21 August 2004, 20:16
Posted 24 August 2004, 01:19
Posted 02 September 2004, 19:16