Beherit
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Comment Notification] Customization ExampleThank You for translations 🙂 About Your question – yes, it’s possible. I will try to add this in next version.
Forum: Plugins
In reply to: [Simple Comment Notification] Customization Example@serjao You are talking about default plugin functionality or about additional notification (autoresponder)? Only additional functionality have ability to personalize email title and body. If You only wanted to translate default content please add Your translations here:
https://translate.wordpress.org/locale/pt-br/default/wp-plugins/simple-comment-notification
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?I’m very happy 🙂
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?Yes 🙂
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?@stefanico I just commit a fix, please try a new version: https://downloads.wordpress.org/plugin/simple-comment-notification.zip
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?Do you think it is possible?
Yes 🙂 I will do changes in plugin and let You know.
The problem is that there is no easy plugin to achieve this. Can you create something like this?
If this is something else than the functionality in this plugin please contact with me by this link (You can use contact form or directly via email). Please send me more details etc 😉
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?I think I know where is the problem. On Your site comments must be approved, You want to send autoresponse before approving it?
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?Sorry, I mean “functions.php” (in active theme directory) not “function.php”. I tested it on my website and everything works perfect. Try add such code: http://pastebin.com/VMj11AmH
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?I added this functionality, please test it by install development version: https://downloads.wordpress.org/plugin/simple-comment-notification.zip
First, You must disable default plugin functionality (only if You want) by adding such code in e.g. function.php in Your theme:
add_filter('scn_notify_parent_author', '__return_false');
To enable new functionality please add such code:
add_filter(scn_autoresponder_to_author, '__return_true');Now, to change default email topic You must add such code:
function custom_scn_autoresponder_subject($subject, $comment_object) { return $subject; } add_filter('scn_autoresponder_subject', 'custom_scn_autoresponder_subject', 10, 2);In $comment_object there are informations about comment (author, mail etc).
To change default email body You must add such code:
function custom_scn_autoresponder_body($body, $comment_object) { return $body; } add_filter('scn_autoresponder_body', 'custom_scn_autoresponder_body', 10, 2);Optionally You can set who will receive this notifications by changing capabilities:
function custom_scn_autoresponder_cap() { return 'edit_posts'; } add_filter('scn_autoresponder_cap', 'custom_scn_autoresponder_cap');And that’s it 🙂 Let me know if You found bug or have any suggestions.
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?Thank You, but I looking for small example in english 😉 I must add to plugin default text which of course can be changed.
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?Stephane, I can do it in free time as optional functionality for this plugin (to enable it must add filter in e.g. function.php in theme). Just tell me how such email must look like (subject + text) 🙂
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?But You can edit my plugin and add it for Your own 🙂 There is no need for big changes for such functionality.
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?Sorry but there isn’t such functionality and I don’t think to add this.
Forum: Plugins
In reply to: [Simple Comment Notification] Initial Comment submission autoresponder?This plugin sends email notification to comment author when someone (registered or anonymous user) reply to his comment. E.g. X added comment to post and WordPress sent an email notification to post author (this is standard WordPress functionality). Next, Y replied to X comment and this plugin sent an email notification to X. So yes, this plugin do what You wanted 🙂
Forum: Plugins
In reply to: [XML Sitemap & Google News] This is not a valid feedI forgot to pull it ha 🙂