Support > cpg1.5 email
Send notifications to only specific admins
maddogprod:
My set-up has three admins. When there's a new registration or photo submission, everyone gets the email. I'd only like it to go to one person. I don't see a way to do this. Is there a way to regulate which admin(s) get the emails?
Thanks!
Jeff Bailey:
Please post links.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
It would probably be possible if you create a separate group and grant that group admin access in your mysql table.
Or try
In register.php
find:
--- Code: ---$result = cpg_db_query("SELECT user_id, user_email, user_language FROM {$CONFIG['TABLE_USERS']} WHERE user_group = 1");
--- End code ---
replace with:
--- Code: ---$result = cpg_db_query("SELECT user_id, user_email, user_language FROM {$CONFIG['TABLE_USERS']} WHERE user_name = 'username_of_the_admin'");
--- End code ---
maddogprod:
Thanks. Version two, while hard coded, feels better. Though I guess both are "hard coded" of a sort anyway.
In the second, where would I find the similar code to approve photos that are uploaded? And could I add a second user name to that code?
Since you asked....the gallery is at: http://belvederecommunityfoundation.com/photocontest/
Jeff Bailey:
Please start a new thread for additional questions.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270618.html#msg270618
<!--Coppermine Photo Gallery 1.5.14 (stable)-->
Please upgrade.
http://forum.coppermine-gallery.net/index.php/topic,74682.0.html
Please resolve this thread.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631
Thank you for posting your link. Please remember to read the board rules.
http://forum.coppermine-gallery.net/index.php/topic,55415.0.html
maddogprod:
It's updated to the latest, stable version. Now do I get a jellybean and the answer to my very related follow-up questions?
THANKS!
Navigation
[0] Message Index
[#] Next page
Go to full version