Innanzittutto grazie, posto il file readme, per chiedervi qualche chiarimento,
How to install:
##############################################################################
1. Copy all files to your directory Fatto
2. ---*Deleted*--- suppongo non significhi nulla
3.
Execute Sql command:
ALTER TABLE `products` ADD `customer_id` INT( 11 ) NOT NULL AFTER `manufacturers_id` ;
4.
Execute Sql command:
INSERT INTO `customers` ( `customers_id` , `customers_gender` , `customers_firstname` , `customers_lastname` , `customers_dob` , `customers_email_address` , `customers_default_address_id` , `customers_telephone` , `customers_fax` , `customers_password` , `customers_newsletter` )
VALUES ('0', 'm', 'Administrator', '', '0000-00-00 00:00:00', '', '0', '', NULL , '', NULL);
Qui iniziano i miei problemi, che dovrei fare?
5.
## Open file: admin/includes/languages/english.php
## Add code :
define('ADDED_ADMIN', 'Added by Administrator');
define('TABLE_HEADING_CUSTOMER', 'Product Added By');
6.
## Open file: includes/languages/english.php
## Add code :
define('MY_ADD_PRODUCT_TITLE', 'Add new Product');
define('MY_ADD_PRODUCT_TITLE', 'Add Product');
qui non penso che si siano problemi
7.
Execute Sql command:
ALTER TABLE `customers` ADD `customers_ap` INT( 11 ) NOT NULL AFTER `customers_password` ;
Come prima come dovrei fare?
8.
## Open file: admin/customers.php at line :30
## Add code :
$customers_app = tep_db_prepare_input($HTTP_POST_VARS['customers_app']);
9. ## Open file: admin/customers.php at line :158(end)
## Add code :
'customers_ap' => $customers_app,
10.
## Open file: admin/customers.php at line :225(after "select c.customers_id,")
## Add code :
c.customers_ap,
11.
## Open file: admin/customers.php at line :468(end)
## Add code :
<? require('customers_app.inc.php');?>
12.
## Open file: admin/includes/languages/customers.php at line :468(end)
## Add code :
define('CATEGORY_CUSTOMER_APP', 'Approve Customer');
define('ENTRY_CUSTOMER_APP', 'Approve customer');
define('YES', 'Yes');
define('NO', 'No');
13.
## Create directory "thumb" in "images" directory
## Set permission for "thumb" to 777
14.
## Open file: popup_image.php at line :36
## Replace line 36 with this code :
//BOF:Customer Add product
<? if (is_file(DIR_WS_IMAGES ."thumb/".$products['products_image'])){$temp="thumb/";}else{$temp=NULL;}?>
<?php echo tep_image(DIR_WS_IMAGES .$temp. $products['products_image'], $products['products_name']); ?>
//EOF:Customer add product
15.
## Open file: product_reviews_write.php at line :51
## Add code :
//BOF:Customer Add product
$pcustomer_query = tep_db_query("select customers_firstname, customers_lastname,customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$product_info['customer_id'] . "'");
$pcustomer = tep_db_fetch_array($pcustomer_query);
define(EMAIL_TEXT_SUBJECT,'New review added for your product');
$mail = "There New Review added for product ".$product_info['products_name']." you add\n\n";
$mail .= "Review :\n".$review."\n\n";
tep_mail($pcustomer['customers_firstname'] . ' ' . $pcustomer['customers_lastname'], $pcustomer['customers_email_address'], EMAIL_TEXT_SUBJECT, $mail, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
//EOF:Customer add product
Penso che non ci siano problemi
16.
Coded by empo.
email:
emposha@gmail.com icq:213523
Go to -
http://procreator.info for any question or support.
Spero possiate aiutarmi
Grazie Mille