cori Posted April 19, 2007 Posted April 19, 2007 I installed the complete reviews system and at is great! It does exactly what I want... except I just noticed that the email that gets sent to the administratior notifying them to approve or reject a review is coming through with the variables in the body and email fields rather than the values for the variables. For example.. here is the body of the email: ADMIN_EMAIL_MESSAGE Has anyone run into this before? Cori Quote
crash3903 Posted April 20, 2007 Posted April 20, 2007 (edited) I installed the complete reviews system and at is great! It does exactly what I want... except I just noticed that the email that gets sent to the administratior notifying them to approve or reject a review is coming through with the variables in the body and email fields rather than the values for the variables. For example.. here is the body of the email: ADMIN_EMAIL_MESSAGE Has anyone run into this before? Cori make sure you have uploaded all the files in the package including this file catalog/includes/languages/english/product_reviews_write.php These fill in the defines that you are talking about Edited April 20, 2007 by crash3903 Quote Regards Mark A Reynolds
apache510 Posted May 20, 2009 Posted May 20, 2009 did you ever figure out the problem? I have checked and I do have all the files installed. Quote
spooks Posted May 20, 2009 Posted May 20, 2009 I had corrected this, but hav'nt got round to updating the contrib in product_reviews_write.php find: tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, ADMIN_EMAIL_SUBJECT, ADMIN_EMAIL_MESSAGE, ADMIN_EMAIL_FROM_NAME, STORE_OWNER_EMAIL_ADDRESS); tep_redirect(tep_href_link(FILENAME_REVIEW_NOTICE, tep_get_all_get_params(array('action')))); replace with: $name = tep_db_input($customer['customers_firstname']) . ' ' . tep_db_input($customer['customers_lastname']); tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, 'New Review Submitted', 'A new review has been submitted for approval, please log in and check.', $name, $email); tep_redirect(tep_href_link(FILENAME_REVIEW_NOTICE, tep_get_all_get_params(array('action')))); Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.