![]() |
|
Send Email after a comment - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Send Email after a comment (/thread-4859.html) |
Send Email after a comment - miky76 - 2009-03-16 Hi, What can I do for it? Send Email after a comment - sbillard - 2009-03-17 To whom do you want to send the mail? When do you want it sent? Send Email after a comment - miky76 - 2009-03-17 yes you are right, I didn't give you enough info, when somebody write a comment to a picture, I'd like that an email is sent with a custom text to the author of the gallery and to the Admin. is it possible? thanks Send Email after a comment - acrylian - 2009-03-17 You need to enable the checkbox on options > comment configuration. A custom text is not possible though. Send Email after a comment - miky76 - 2009-03-20 the "Enable comment notification" is already enabled and a valid email address is set for the Admin. If I use the code below in a page, I receive the email in my email address, so I don't understand why I don't get the one from the comment Send Email after a comment - sbillard - 2009-03-20 Well, zenphoto is using Send Email after a comment - miky76 - 2009-03-20 in which file can I find the zp_mail function? (for import it in my page) Send Email after a comment - sbillard - 2009-03-20 It is in functions.php. However, you do not need to import it. It will be available to your page. Send Email after a comment - acrylian - 2009-03-20 It might be that your server is not configured for php mailing or it is not allowed. Our mail function uses actually the standard php mail() function as a base. Send Email after a comment - miky76 - 2009-03-23 OK I made ti to work, thank you!! Now, how can I send the email to the owner of the picture or to the person that wrote the previous comment? Send Email after a comment - sbillard - 2009-03-24 There is a plugin named filter-comments.php that is part of the 1.2.4 release. You can get a preview of this release by downloading the nightly build. You can make modifications to this plugin to do what you wish. At present it will send the mail to everyone who has posted a comment on the image. Send Email after a comment - miky76 - 2009-03-24 ok I'll wait the release of the 1.2.4 thanks |