Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Simple Comment Notification

Mô tả

Sends an simply email notification to the comment author, when someone replies to his comment. No configuration, support WordPress translation process.

Cài đặt

In most cases you can install automatically from plugins page in admin panel.

However, if you want to install it manually, follow these steps:

  1. Download the plugin and unzip the archive.
  2. Upload the entire simple-comment-notification folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the Plugins menu in WordPress.

Hỏi đáp

Subscription

It’s possible to send email notification only if user checked subscription checkbox. To enable this functionality you must add such code (e.g. in functions.php in the active theme):

add_filter('scn_enable_subscription', '__return_true');

Optionally, you can also change default checkbox value to true:

add_filter('scn_subscribe_value', '__return_true');

Autoresponder

Plugin have a hidden functionality that sends autoresponder to the author of the comment. To turn it on you must add such code (e.g. in functions.php in the active theme):

add_filter('scn_autoresponder_to_author', '__return_true');

Optionally, you can also turn off default plugin functionality:

add_filter('scn_notify_parent_author', '__return_false');

The title and content of the autoresponder can be personalized:

function custom_scn_autoresponder_subject($subject, $comment_object) {
    return $subject;
}
add_filter('scn_autoresponder_subject', 'custom_scn_autoresponder_subject', 10, 2);

function custom_scn_autoresponder_body($body, $comment_object) {
    return $body;
}
add_filter('scn_autoresponder_body', 'custom_scn_autoresponder_body', 10, 2);

You can even set who will not receive this notifications by changing minimum required user capabilities:

function custom_scn_autoresponder_cap() {
    return 'edit_posts';
}
add_filter('scn_autoresponder_cap', 'custom_scn_autoresponder_cap');

Đánh giá

Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“Simple Comment Notification” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Simple Comment Notification” đã được dịch qua 7 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Simple Comment Notification” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.2.4 (2020-04-08)

  • Fixed typos.

1.2.2 (2020-04-08)

  • Minor bugfix.

1.2 (2020-04-08)

  • Added subscription functionality (disabled by default).

1.1 (2017-03-12)

  • Fix the URL to a new comment.
  • Sending autoresponder to the author of the comment (disabled by default).

1.0.2 (2016-03-12)

  • Add POT file and remove language files to allow WordPress.org language packs to take effect.

1.0 (2016-03-06)

  • First public version.