forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: Catman on February 02, 2007, 08:57:50 pm
-
Hello Stramm,
In topic http://forum.coppermine-gallery.net/index.php?topic=40728.0 it seemed that my problem with the photo_shop was solved, but when a user orders a picture he/she will get the admin mail too. Instead of the user gets his mail and the admin gets his own mail. Did I mis something?
Kind regards
Frank
-
I have no testbed avail atm but from looking at the code again smth seems to be missing
try
photoshop_email_the_user($lang_photoshop_email_admin, $lang_photoshop['email_subject_order_admin'], 'admin');
instead of the similar code I posted in the other thread... that one does exactly what you experience. Sending emails to the user
-
:) Thank you, I really appreciate your help.
But it did not solve the problem; The person who orders the picture still does still get the user email and also the mail which is intended for the admin.
-
Hello Stramm;
Please do not consider this as pushing; But because I did not get any reaction anymore, I was worried whether the smiley in my former reply, made you think the problem was solved. That's why I am sending this reminder.
Kind regards
Frank
-
Check out the original thread and apply the hack again. Should work now ;)
-
I have applied the hack; the admin gets his part of the email now; but the user still gets the admin email too.
-
start with a fresh, unmodded version of checkout.php. Make sure you do exactly as described in the other post. If the user gets both mails, then there's a line to much in the code that doesn't belong there.
-
I did, I use the version1.3.3. But it generates 3 emails. 1 admin mail for the admin and 2 mails for the user. The user mail and the admin mail. I will attach the modified checkout.php. I left the original code as comment.
Regards
Frank
-
I've attached my entire 1.3.3 incl. the mod. Working for me smooth as butter
-
Thanks again;
I only used your photo_shop_checkout.php and everything works fine. I must have made some mistake somewhere.
Regards
Frank
-
cool, and thanks for coming back and solving this thread