forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 ecards & email => Topic started by: eventide on December 09, 2009, 12:00:23 am

Title: Customizing notification email sent to admin
Post by: eventide on December 09, 2009, 12:00:23 am
I have the Config settings so that the admin gets an email notifying that someone registered at he photo gallery.

Is there a way to add the registered email address to that notification email? If so, how?

Thanks for anyone's help.

http://www.kokospetspa.com
Title: Re: Customizing notification email sent to admin
Post by: Jeff Bailey on December 09, 2009, 12:10:59 am
full link -> http://www.kokospetspa.com/gallery/index.php
You can try this -> http://forum.coppermine-gallery.net/index.php/topic,59101.0.html
Title: Re: Customizing notification email sent to admin
Post by: eventide on December 09, 2009, 01:16:39 pm
Thank you.

I will implement and test and post back here if I was successful or not.
Title: Re: Customizing notification email sent to admin
Post by: eventide on December 09, 2009, 05:26:33 pm
Thank you again, Jeff. That post had the info that I needed. Must've missed that when I searched...

One thing I want to make sure I'm clear on, however: Am I correct in saying that any upgrades to Coppermine will overwrite any modifications done to any files outside of the themes folder, such as modifying register.php and english.php?
Title: Re: Customizing notification email sent to admin
Post by: Joachim Müller on December 09, 2009, 05:38:30 pm
Yes. Upgrade instructions say that you need to upload all files from the new package, overwriting the existing old files. Subsequently, you need to re-apply any hacks for the new files. That's why it's not recommended to hack the core, but to restrict yourself to your custom theme. To change the core logic, it's recommended to use plugins, as they are not changed during an update. Only as a last resotr (if you have no other option and need a feature very badly) should you perform hacks of the core code.
Title: Re: Customizing notification email sent to admin
Post by: eventide on December 09, 2009, 05:45:29 pm
I thought so. At least I've been taking notes about where I've been modifying those files.

Thanks for the clarification, Joahcim.