|
ECB SEO SHOP SOFTWARE - IMEDES SOFTWARE DOWNLOADS
*****************************************
* *
* INSTALLATION-GUIDE *
* *
*****************************************
* @package Double-Opt-In *
* (C) 2008 Imedes.de *
* info@imedes.de *
* @compatible SP2.1 *
*****************************************
--------------
NEW FILES:
--------------
create_account_success.php
create_account_verify.php
cronjob.delete_inactive_customer.php
includes/functions/database.php
templates/xtc4/mail/english/create_password_mail.html
templates/xtc4/mail/english/create_password_mail.txt
templates/xtc4/mail/german/create_password_mail.html
templates/xtc4/mail/german/create_password_mail.txt
templates/xtc4/module/create_account_success.html
templates/xtc4/module/create_account_verify.html
--------------
NEW DIRS:
--------------
imedes_library
includes/classes/adodb_full
--------------
CHANGED FILES:
--------------
admin/customers.php
admin/includes/application_top.php
admin/includes/functions/sessions.php
create_account.php
includes/application_top.php
includes/filenames.php
includes/form_check.js.php
includes/functions/sessions.php
lang/english/admin/customers.php
lang/english/lang_english.conf
lang/german/admin/customers.php
lang/german/lang_german.conf
templates/xtc4/mail/english/create_account_mail.html
templates/xtc4/mail/english/create_account_mail.txt
templates/xtc4/mail/german/create_account_mail.html
templates/xtc4/mail/german/create_account_mail.txt
templates/xtc4/module/create_account.html
-------------
INSTALLATION:
-------------
1. new_files kopieren.
2. changed_files kopieren, oder bei nicht standard-version folgende änderungen durchführen:
-admin/customers.php
---------------------------------------------------------------------------------------------------
finde folgendes:
if ($_GET['action']) {
switch ($_GET['action']) {
und füge danach ein:
case 'remove_inactive1' :
// Delete all inactive customers
$check_query = xtc_db_query("SELECT * FROM ".TABLE_CUSTOMERS." WHERE customers_password = '-notactive-'");
while($check = xtc_db_fetch_array($check_query)) {
$customers_id = xtc_db_prepare_input($check['customers_id']);
$reviews_query = xtc_db_query("select reviews_id from ".TABLE_REVIEWS." where customers_id = '".xtc_db_input($customers_id)."'");
while ($reviews = xtc_db_fetch_array($reviews_query)) {
xtc_db_query("delete from ".TABLE_REVIEWS_DESCRIPTION." where reviews_id = '".$reviews['reviews_id']."'");
}
xtc_db_query("delete from ".TABLE_REVIEWS." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_ADDRESS_BOOK." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_INFO." where customers_info_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_BASKET." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_BASKET_ATTRIBUTES." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_PRODUCTS_NOTIFICATIONS." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_WHOS_ONLINE." where customer_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_STATUS_HISTORY." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_IP." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_ADMIN_ACCESS." where customers_id = '".xtc_db_input($customers_id)."'");
}
break;
case 'remove_inactive2' :
// Delete all inactive customers
$check_query = xtc_db_query("SELECT * FROM ".TABLE_CUSTOMERS." WHERE customers_password = '-notactive-'");
while($check = xtc_db_fetch_array($check_query)) {
$days_till_remove = 7;
$secs_till_remove = $days_till_remove * 24 * 60 * 60;
$timestamp_added = strtotime($check['customers_date_added']);
$timestamp_now = time();
$timestamp_expire = $timestamp_added + $secs_till_remove;
// Check if the expire date is past
if ($timestamp_expire < $timestamp_now) {
$customers_id = xtc_db_prepare_input($check['customers_id']);
$reviews_query = xtc_db_query("select reviews_id from ".TABLE_REVIEWS." where customers_id = '".xtc_db_input($customers_id)."'");
while ($reviews = xtc_db_fetch_array($reviews_query)) {
xtc_db_query("delete from ".TABLE_REVIEWS_DESCRIPTION." where reviews_id = '".$reviews['reviews_id']."'");
}
xtc_db_query("delete from ".TABLE_REVIEWS." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_ADDRESS_BOOK." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_INFO." where customers_info_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_BASKET." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_BASKET_ATTRIBUTES." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_PRODUCTS_NOTIFICATIONS." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_WHOS_ONLINE." where customer_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_STATUS_HISTORY." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_IP." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_ADMIN_ACCESS." where customers_id = '".xtc_db_input($customers_id)."'");
}
}
break;
---------------------------------------------------------------------------------------------------
finde folgendes:
$sort = 'order by c.customers_lastname DESC';
break;
und füge danach ein:
case 'customers_password' :
$sort = 'order by c.customers_password';
break;
case 'customers_password-desc' :
$sort = 'order by c.customers_password DESC';
break;
---------------------------------------------------------------------------------------------------
finde folgendes:
c.customers_vat_id_status,
c.customers_lastname,
c.customers_firstname,
und füge danach ein:
c.customers_password,
---------------------------------------------------------------------------------------------------
finde folgendes:
<td class="dataTableContent" align="right"><?php echo xtc_date_short($info['date_account_created']); ?></td>
und füge davor ein:
<td class="dataTableContent" align="right"><?php if ($customers['customers_password'] == '-notactive-') { echo xtc_image(DIR_WS_IMAGES . 'icon_status_red.gif'); } else { echo xtc_image(DIR_WS_IMAGES . 'icon_status_green.gif'); }?></td>
---------------------------------------------------------------------------------------------------
finde folgendes (ca. Zeile 1112):
?>
</table></td>
</tr>
</table></td>
<?php
und ersetze es mit:
?>
</table></td>
</tr>
<tr>
<td colspan="8" style="padding-top:18px;"><?php echo xtc_image(DIR_WS_IMAGES . 'icon_status_red.gif'); ?> <a href="<?php echo xtc_href_link(FILENAME_CUSTOMERS, xtc_get_all_get_params(array ('cID', 'action')).'cID='.$cInfo->customers_id.'&action=confirminactive1'); ?>" style="text-decoration:underline;"><?php echo TEXT_DELETE_INACTIVE_1; ?></a><br /><?php echo xtc_image(DIR_WS_IMAGES . 'icon_status_red.gif'); ?> <a href="<?php echo xtc_href_link(FILENAME_CUSTOMERS, xtc_get_all_get_params(array ('cID', 'action')).'cID='.$cInfo->customers_id.'&action=confirminactive2'); ?>" style="text-decoration:underline;"><?php echo TEXT_DELETE_INACTIVE_2; ?></a></td>
</tr>
</table></td>
<?php
---------------------------------------------------------------------------------------------------
finde folgendes:
case 'editstatus' :
und füge davor ein:
case 'confirminactive1' :
$heading[] = array ('text' => '<b>'.TEXT_INFO_HEADING_DELETE_INACTIVE_CUSTOMER.'</b>');
$contents = array ('form' => xtc_draw_form('customers', FILENAME_CUSTOMERS, xtc_get_all_get_params(array ('cID', 'action')).'cID='.$cInfo->customers_id.'&action=remove_inactive1'));
$contents[] = array ('text' => TEXT_DELETE_INACTIVE_INTRO_1);
$contents[] = array ('align' => 'center', 'text' => '<br /><input type="submit" class="button" value="'.BUTTON_DELETE.'"><a class="button" href="'.xtc_href_link(FILENAME_CUSTOMERS, xtc_get_all_get_params(array ('cID', 'action')).'cID='.$cInfo->customers_id).'">'.BUTTON_CANCEL.'</a>');
break;
case 'confirminactive2' :
$heading[] = array ('text' => '<b>'.TEXT_INFO_HEADING_DELETE_INACTIVE_CUSTOMER.'</b>');
$contents = array ('form' => xtc_draw_form('customers', FILENAME_CUSTOMERS, xtc_get_all_get_params(array ('cID', 'action')).'cID='.$cInfo->customers_id.'&action=remove_inactive2'));
$contents[] = array ('text' => TEXT_DELETE_INACTIVE_INTRO_2);
$contents[] = array ('align' => 'center', 'text' => '<br /><input type="submit" class="button" value="'.BUTTON_DELETE.'"><a class="button" href="'.xtc_href_link(FILENAME_CUSTOMERS, xtc_get_all_get_params(array ('cID', 'action')).'cID='.$cInfo->customers_id).'">'.BUTTON_CANCEL.'</a>');
break;
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/application_top.php
---------------------------------------------------------------------------------------------------
finde folgendes:
require_once(DIR_FS_INC . 'xtc_db_connect.inc.php');
require_once(DIR_FS_INC . 'xtc_db_close.inc.php');
require_once(DIR_FS_INC . 'xtc_db_error.inc.php');
require_once(DIR_FS_INC . 'xtc_db_query.inc.php');
require_once(DIR_FS_INC . 'xtc_db_queryCached.inc.php');
require_once(DIR_FS_INC . 'xtc_db_perform.inc.php');
require_once(DIR_FS_INC . 'xtc_db_fetch_array.inc.php');
require_once(DIR_FS_INC . 'xtc_db_num_rows.inc.php');
require_once(DIR_FS_INC . 'xtc_db_data_seek.inc.php');
require_once(DIR_FS_INC . 'xtc_db_insert_id.inc.php');
require_once(DIR_FS_INC . 'xtc_db_free_result.inc.php');
require_once(DIR_FS_INC . 'xtc_db_fetch_fields.inc.php');
require_once(DIR_FS_INC . 'xtc_db_output.inc.php');
require_once(DIR_FS_INC . 'xtc_db_input.inc.php');
und ersetze es mit:
require_once('../'.DIR_WS_FUNCTIONS.'database.php');
// require_once(DIR_FS_INC . 'xtc_db_connect.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_close.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_error.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_query.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_queryCached.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_perform.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_fetch_array.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_num_rows.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_data_seek.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_insert_id.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_free_result.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_fetch_fields.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_output.inc.php');
// require_once(DIR_FS_INC . 'xtc_db_input.inc.php');
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_db_connect() or die('Unable to connect to database server!');
und ersetze es mit:
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');
db_connect_alt() or die('Unable to connect to database server!');
global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE=ADODB_FETCH_ASSOC;
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/functions/sessions.php
---------------------------------------------------------------------------------------------------
finde folgendes:
function _sess_write($key, $val) {
global $SESS_LIFE;
und füge danach ein:
if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird
global$db;
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');
db_connect_alt() or die('Unable to connect to database server!');
$db->Execute("SET NAMES '".$_SESSION['language_charset']."'");
$db->Execute("SET CHARACTER_SET_CLIENT=".$_SESSION['language_charset']);
$db->Execute("SET CHARACTER_SET_RESULTS=".$_SESSION['language_charset']);
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-create_account.php
---------------------------------------------------------------------------------------------------
finde folgendes:
require_once (DIR_FS_INC.'xtc_encrypt_password.inc.php');
und lösche es
---------------------------------------------------------------------------------------------------
finde folgendes:
$password = xtc_db_prepare_input($_POST['password']);
$confirmation = xtc_db_prepare_input($_POST['confirmation']);
und lösche es
---------------------------------------------------------------------------------------------------
finde folgendes:
if (strlen($password) < ENTRY_PASSWORD_MIN_LENGTH) {
$error = true;
$messageStack->add('create_account', ENTRY_PASSWORD_ERROR);
}
elseif ($password != $confirmation) {
$error = true;
$messageStack->add('create_account', ENTRY_PASSWORD_ERROR_NOT_MATCHING);
}
und lösche es
---------------------------------------------------------------------------------------------------
finde folgendes:
$sql_data_array = array ('customers_vat_id' => $vat, 'customers_vat_id_status' => $customers_vat_id_status, 'customers_status' => $customers_status, 'customers_firstname' => $firstname, 'customers_lastname' => $lastname, 'customers_email_address' => $email_address, 'customers_telephone' => $telephone, 'customers_fax' => $fax, 'customers_newsletter' => $newsletter, 'customers_password' => xtc_encrypt_password($password),'customers_date_added' => 'now()','customers_last_modified' => 'now()');
und ersetze es mit:
$sql_data_array = array ('customers_vat_id' => $vat, 'customers_vat_id_status' => $customers_vat_id_status, 'customers_status' => $customers_status, 'customers_firstname' => $firstname, 'customers_lastname' => $lastname, 'customers_email_address' => $email_address, 'customers_telephone' => $telephone, 'customers_fax' => $fax, 'customers_newsletter' => $newsletter, 'customers_password' => '-notactive-','customers_date_added' => 'now()','customers_last_modified' => 'now()');
---------------------------------------------------------------------------------------------------
finde folgendes:
$sql_data_array = array ('customers_id' => $_SESSION['customer_id'], 'entry_firstname' => $firstname, 'entry_lastname' => $lastname, 'entry_street_address' => $street_address, 'entry_postcode' => $postcode, 'entry_city' => $city, 'entry_country_id' => $country,'address_date_added' => 'now()','address_last_modified' => 'now()');
und ersetze es mit:
$sql_data_array = array ('customers_id' => $user_id, 'entry_firstname' => $firstname, 'entry_lastname' => $lastname, 'entry_street_address' => $street_address, 'entry_postcode' => $postcode, 'entry_city' => $city, 'entry_country_id' => $country,'address_date_added' => 'now()','address_last_modified' => 'now()');
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_db_query("update ".TABLE_CUSTOMERS." set customers_default_address_id = '".$address_id."' where customers_id = '".(int) $_SESSION['customer_id']."'");
und ersetze es mit:
xtc_db_query("update ".TABLE_CUSTOMERS." set customers_default_address_id = '".$address_id."' where customers_id = '".(int) $user_id."'");
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_db_query("insert into ".TABLE_CUSTOMERS_INFO." (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('".(int) $_SESSION['customer_id']."', '0', now())");
und ersetze es mit:
xtc_db_query("insert into ".TABLE_CUSTOMERS_INFO." (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('".(int) $user_id."', '0', now())");
---------------------------------------------------------------------------------------------------
finde folgendes:
$_SESSION['customer_first_name'] = $firstname;
$_SESSION['customer_last_name'] = $lastname;
$_SESSION['customer_default_address_id'] = $address_id;
$_SESSION['customer_country_id'] = $country;
$_SESSION['customer_zone_id'] = $zone_id;
$_SESSION['customer_vat_id'] = $vat;
und lösche es
---------------------------------------------------------------------------------------------------
finde folgendes:
// build the message content
$name = $firstname.' '.$lastname;
und füge danach ein:
$link = HTTP_SERVER.DIR_WS_CATALOG.FILENAME_ACCOUNT_VERIFY.'?verify='.md5($_SESSION['customer_id']);
---------------------------------------------------------------------------------------------------
finde folgendes:
$module_content = array ('MAIL_NAME' => $name, 'MAIL_REPLY_ADDRESS' => EMAIL_SUPPORT_REPLY_ADDRESS, 'MAIL_GENDER' => $gender);
und ersetze es mit:
$module_content = array ('MAIL_NAME' => $name, 'MAIL_REPLY_ADDRESS' => EMAIL_SUPPORT_REPLY_ADDRESS, 'MAIL_GENDER' => $gender, 'MAIL_VERIFY_LINK' => $link);
---------------------------------------------------------------------------------------------------
finde folgendes:
where customers_id = '".(int) $_SESSION['customer_id']."'");
und ersetze es mit:
where customers_id = '".(int) $user_id."'");
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_php_mail(EMAIL_SUPPORT_ADDRESS, EMAIL_SUPPORT_NAME, $email_address, $name, EMAIL_SUPPORT_FORWARDING_STRING, EMAIL_SUPPORT_REPLY_ADDRESS, EMAIL_SUPPORT_REPLY_ADDRESS_NAME, '', '', EMAIL_SUPPORT_SUBJECT, $html_mail, $txt_mail);
und füge danach ein:
// Unset SESSION - User will be logged off instead of logged in
unset ($_SESSION['customer_id']);
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_redirect(xtc_href_link(FILENAME_SHOPPING_CART, '', 'SSL'));
und ersetze es mit:
xtc_redirect(xtc_href_link(FILENAME_ACCOUNT_SUCCESS, '', 'SSL'));
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('INPUT_PASSWORD', xtc_draw_password_fieldNote(array ('name' => 'password', 'text' => ' '. (xtc_not_null(ENTRY_PASSWORD_TEXT) ? '<span class="inputRequirement">'.ENTRY_PASSWORD_TEXT.'</span>' : ''))));
$smarty->assign('INPUT_CONFIRMATION', xtc_draw_password_fieldNote(array ('name' => 'confirmation', 'text' => ' '. (xtc_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="inputRequirement">'.ENTRY_PASSWORD_CONFIRMATION_TEXT.'</span>' : ''))));
und lösche diese
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/application_top.php
---------------------------------------------------------------------------------------------------
finde folgendes:
require_once (DIR_FS_INC.'xtc_db_connect.inc.php');
require_once (DIR_FS_INC.'xtc_db_close.inc.php');
require_once (DIR_FS_INC.'xtc_db_error.inc.php');
require_once (DIR_FS_INC.'xtc_db_perform.inc.php');
require_once (DIR_FS_INC.'xtc_db_query.inc.php');
require_once (DIR_FS_INC.'xtc_db_queryCached.inc.php');
require_once (DIR_FS_INC.'xtc_db_fetch_array.inc.php');
require_once (DIR_FS_INC.'xtc_db_num_rows.inc.php');
require_once (DIR_FS_INC.'xtc_db_data_seek.inc.php');
require_once (DIR_FS_INC.'xtc_db_insert_id.inc.php');
require_once (DIR_FS_INC.'xtc_db_free_result.inc.php');
require_once (DIR_FS_INC.'xtc_db_fetch_fields.inc.php');
require_once (DIR_FS_INC.'xtc_db_output.inc.php');
require_once (DIR_FS_INC.'xtc_db_input.inc.php');
und ersetze es mit:
require_once(DIR_WS_FUNCTIONS.'database.php');
// require_once (DIR_FS_INC.'xtc_db_connect.inc.php');
// require_once (DIR_FS_INC.'xtc_db_close.inc.php');
// require_once (DIR_FS_INC.'xtc_db_error.inc.php');
// require_once (DIR_FS_INC.'xtc_db_perform.inc.php');
// require_once (DIR_FS_INC.'xtc_db_query.inc.php');
// require_once (DIR_FS_INC.'xtc_db_queryCached.inc.php');
// require_once (DIR_FS_INC.'xtc_db_fetch_array.inc.php');
// require_once (DIR_FS_INC.'xtc_db_num_rows.inc.php');
// require_once (DIR_FS_INC.'xtc_db_data_seek.inc.php');
// require_once (DIR_FS_INC.'xtc_db_insert_id.inc.php');
// require_once (DIR_FS_INC.'xtc_db_free_result.inc.php');
// require_once (DIR_FS_INC.'xtc_db_fetch_fields.inc.php');
// require_once (DIR_FS_INC.'xtc_db_output.inc.php');
// require_once (DIR_FS_INC.'xtc_db_input.inc.php');
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_db_connect() or die('Unable to connect to database server!');
und ersetze es mit:
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');
db_connect_alt() or die('Unable to connect to database server!');
global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE=ADODB_FETCH_ASSOC;
---------------------------------------------------------------------------------------------------
finde folgendes:
require (DIR_WS_LANGUAGES.$_SESSION['language'].'/'.$_SESSION['language'].'.php');
und füge danach ein:
$db->Execute("SET NAMES '".$_SESSION['language_charset']."'");
$db->Execute("SET CHARACTER_SET_CLIENT=".$_SESSION['language_charset']);
$db->Execute("SET CHARACTER_SET_RESULTS=".$_SESSION['language_charset']);
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/filenames.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('FILENAME_BANNER', 'banners.php');
und füge danach ein:
define('FILENAME_ACCOUNT_SUCCESS', 'create_account_success.php');
define('FILENAME_ACCOUNT_VERIFY', 'create_account_verify.php');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/form_check.js.php
---------------------------------------------------------------------------------------------------
finde folgendes:
check_password("password", "confirmation", <?php echo ENTRY_PASSWORD_MIN_LENGTH; ?>, "<?php echo xtc_js_lang(ENTRY_PASSWORD_ERROR); ?>", "<?php echo xtc_js_lang(ENTRY_PASSWORD_ERROR_NOT_MATCHING); ?>");
check_password_new("password_current", "password_new", "password_confirmation", <?php echo xtc_js_lang(ENTRY_PASSWORD_MIN_LENGTH); ?>, "<?php echo xtc_js_lang(ENTRY_PASSWORD_ERROR); ?>", "<?php echo xtc_js_lang(ENTRY_PASSWORD_NEW_ERROR); ?>", "<?php echo xtc_js_lang(ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING); ?>");
und lösche diese
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/functions/sessions.php
---------------------------------------------------------------------------------------------------
finde folgendes:
function _sess_write($key, $val) {
global $SESS_LIFE;
und füge danach ein:
if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird
global$db;
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');
db_connect_alt() or die('Unable to connect to database server!');
$db->Execute("SET NAMES '".$_SESSION['language_charset']."'");
$db->Execute("SET CHARACTER_SET_CLIENT=".$_SESSION['language_charset']);
$db->Execute("SET CHARACTER_SET_RESULTS=".$_SESSION['language_charset']);
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/customers.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TABLE_HEADING_ACTION', 'Action');
und füge danach ein:
define('TABLE_HEADING_STATUS', 'Status');
define('TEXT_DELETE_INACTIVE_INTRO_1', 'Are you sure you want to delete all inactive customers?');
define('TEXT_DELETE_INACTIVE_INTRO_2', 'Are you sure you want to delete all inactive customers, that did not confirmed their e-mail address since 7 days?');
define('TEXT_DELETE_INACTIVE_1', 'Delete all inactive customers');
define('TEXT_DELETE_INACTIVE_2', 'Delete only those inactive customers, which did not confirmed their e-mail address since 7 days');
define('TEXT_INFO_HEADING_DELETE_INACTIVE_CUSTOMER', 'Delete inactive customers');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/lang_english.conf
---------------------------------------------------------------------------------------------------
finde folgendes:
[create_account]
heading_create_account = 'Information on your customer account'
und füge danach ein:
text_description = 'If your registration was successful, you will receive a confirmation mail. After confirmation you will receive your password.'
---------------------------------------------------------------------------------------------------
und ganz am Ende einfügen:
[create_account_success]
heading_create_account_success = 'Thank you!'
text_verify = 'Thank you for your registration. You received an e-mail with a confirmation link.'
[create_account_verify]
heading_create_account_verify = 'Confirmation'
text_verify_true = 'Your e-mail address has been successfully confirmed. You received an e-mail with your personal password. Click <a href="login.php" style="text-decoration: underline;">here</a> to login.'
text_verify_false = 'Your account is already confirmed. Click <a href="login.php" style="text-decoration: underline;">here</a> to login.'
text_verify_error = 'An error appeared. Please step in contact with us.'
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/customers.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TABLE_HEADING_ACTION', 'Aktion');
und füge danach ein:
define('TABLE_HEADING_STATUS', 'Status');
define('TEXT_DELETE_INACTIVE_INTRO_1', 'Wollen Sie alle inaktiven Kunden wirklich löschen?');
define('TEXT_DELETE_INACTIVE_INTRO_2', 'Wollen Sie alle Kunden, die ihre E-Mail Adresse seit 7 Tagen nicht bestätigt haben wirklich löschen?');
define('TEXT_DELETE_INACTIVE_1', 'Alle inaktiven Kunden löschen');
define('TEXT_DELETE_INACTIVE_2', 'Nur die inaktiven Kunden löschen, die ihre E-Mail Adresse seit über einer Woche nicht bestätigt haben');
define('TEXT_INFO_HEADING_DELETE_INACTIVE_CUSTOMER', 'Inaktive Kunden löschen');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/lang_german.conf
---------------------------------------------------------------------------------------------------
finde folgendes:
[create_account]
heading_create_account = 'Informationen zu Ihrem Kundenkonto'
und füge danach ein:
text_description = 'Nach dem ausfüllen des Formulars, erhalten Sie eine E-Mail mit einem Bestätigungs-Link. Ihr Passwort wird Ihnen nach erfolgreicher Bestätigung zugeschickt.'
---------------------------------------------------------------------------------------------------
und füge ganz am Ende ein:
[create_account_success]
heading_create_account_success = 'Vielen Dank!'
text_verify = 'Vielen Dank für Ihre Registrierung. Sie haben soeben eine E-Mail mit einem Bestätigungs-Link erhalten.'
[create_account_verify]
heading_create_account_verify = 'Bestätigung'
text_verify_true = 'Ihre E-Mail Adresse wurde erfolgreich bestätigt. Sie haben soeben eine E-Mail mit Ihrem persönlichen Passwort erhalten. Loggen Sie sich <a href="login.php" style="text-decoration: underline;">hier</a> ein.'
text_verify_false = 'Ihr Account ist bereits bestätigt. Bitte loggen Sie sich <a href="login.php" style="text-decoration: underline;">hier</a> ein.'
text_verify_error = 'Es ist ein Fehler aufgetreten. Bitte kontaktieren Sie uns. Wir bitten das Problem zu entschuldigen.'
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/english/create_account_mail.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td><p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Dear Customer ,</strong></font> <br>
<br>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif">You successful created your Customer Account, now you got following featues in our shop.</font><br>
und ersetze es mit:
<td><p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Dear Customer ,</strong></font>
</p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Thank you for your registration. Please confirm your e-mail address by clicking the following link: <a href="{$content.MAIL_VERIFY_LINK}" target="_blank">{$content.MAIL_VERIFY_LINK}</a><br />
Afterwards you will receive your password.</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">You got following featues in our shop.</font><br>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/english/create_account_mail.txt
---------------------------------------------------------------------------------------------------
finde folgendes:
You successful created your Customer Account, now you got following featues in our shop.
und ersetze es mit:
Thank you for your registration. Please confirm your e-mail address by clicking the following link: {$content.MAIL_VERIFY_LINK}
Afterwards you will receive your password.
You got following featues in our shop.
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/german/create_account_mail.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Sehr geehrter Kunde,</strong></font> <br>
<br>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif">Sie haben soeben Ihr Kundenkonto erfolgreich erstellt, als registrierter Kunde haben sie folgende Vorteile in unserem Shop.</font><br>
und ersetze es mit:
<td><p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Sehr geehrter Kunde,</strong></font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Vielen Dank für Ihre Registrierung. Bitte bestätigen Sie diese E-Mail Adresse indem Sie diesen Link in Ihrem Browser aufrufen: <a href="{$content.MAIL_VERIFY_LINK}" target="_blank">{$content.MAIL_VERIFY_LINK}</a>.<br />
Anschließend bekommen Sie Ihr Passwort zugeschickt.</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Als registrierter Kunde haben sie folgende Vorteile in unserem Shop.</font><br>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/german/create_account_mail.txt
---------------------------------------------------------------------------------------------------
finde folgendes:
Sie haben soeben Ihr Kundenkonto erfolgreich erstellt, als registrierter Kunde haben sie folgende Vorteile in unserem Shop.
und ersetze es mit:
Vielen Dank für Ihre Registrierung. Bitte bestätigen Sie diese E-Mail Adresse indem Sie diesen Link in Ihrem Browser aufrufen: {$content.MAIL_VERIFY_LINK}
Anschließend bekommen Sie Ihr Passwort zugeschickt.
Als registrierter Kunde haben sie folgende Vorteile in unserem Shop.
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/create_account.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{if $error!=''}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$error}</td>
</tr>
</table>
{/if}
und füge danach ein:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{#text_description#}</td>
</tr>
</table>
---------------------------------------------------------------------------------------------------
finde folgendes:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main"> </td>
</tr>
<tr>
<td class="main"><strong>{#title_password#}</strong></td>
</tr>
</table>
<table class="formArea" width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="200" class="main">{#text_password#}</td>
<td class="inputRequirement">{$INPUT_PASSWORD}</td>
</tr>
<tr>
<td class="main">{#text_confirmation#}</td>
<td class="inputRequirement">{$INPUT_CONFIRMATION}</td>
</tr>
</table>
und lösche diese
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
|