Comment Reply Email Notification

Descripción

This plugin allows visitors to subscribe to get answers to their comments via e-mail.

Advertencia

This plugin uses the “wp_insert_comment” hook, therefore, everytime a comment is created, a notification is likely to be sent. If you are importing comments into your blog, it’s a good idea to disable this plugin.

Sending e-mails does not work?

The plugin uses the standard WordPress e-mail function. If you have problems getting e-mails sent, you might try using plugins like https://wordpress.org/plugins/wp-mail-smtp/ to improve sending e-mails from your site.

Customizing the layout of the checkboxes

The label next to the checkboxes don’t contain a whitespace. Depending on your theme you might want to add a custom style like this to get a space between the checkbox and the label:

input#cren_subscribe_to_comment, input#cren_gdpr {
  margin-right: 0.5em;
}

The plugin does not add this style be default as it depends on your theme if this is neccessary.

Personalizando la plantilla de correo electrónico

To customize the email template, copy the “templates” folder to your theme folder (a child theme should be used to avoid losing the custom templates when the theme is updated). The plugin will look for templates on the “/wp-content/themes/[THEME]/templates/cren/” folder; if a custom template is not found, then it will fallback to the default template.

Templates folder on GitHub: https://github.com/arnowelzel/worpdress-comment-reply-email-notification/tree/master/templates

Cambiar la etiqueta de la casilla de verificación de suscripció

La etiqueta de la casilla de verificación se puede cambiar con el filtro cren_comment_checkbox_label. De esta manera, puede actualizar el texto a su gusto y mantener el complemento actualizado.

Cambiar la etiqueta de la casilla de verificación GDPR

La etiqueta de la casilla de verificación GDPR se puede cambiar con el filtro cren_gdpr_checkbox_label. De esta manera, puede actualizar el texto a su gusto y mantener el complemento actualizado.

Modifiying HTML output

Using the filters cren_gdpr_checkbox_html and cren_comment_subscribe_html you can modify the HTML output of the checkboxes if needed.

Example:

add_filter('cren_gdpr_checkbox_html', function(string $html_output, string $label_text, string $privacy_policy_url): string {
    $html_output = '<div class="comment-form-gdpr-consent form-check mb-3"><input id="cren_gdpr" class="form-check-input" name="cren_gdpr" type="checkbox" value="yes" required checked><label for="cren_gdpr" class="form-check-label">' . $label_text . '<span class="text-danger fw-bold">*</span> (<a href="' . $privacy_policy_url . '" title="Privacy Policy" target="_blank" rel="internal">Privacy Policy</a>)</label></div>';

    return $html_output;
}, 10, 3);

add_filter('cren_comment_subscribe_html', function(string $html_output, string $label_text, bool $checked_default): string {
    $checked = $checked_default ? 'checked' : '';
    $html_output = '<div class="comment-form-email-consent form-check mb-3"><input id="cren_subscribe_to_comment" class="form-check-input" name="cren_subscribe_to_comment" type="checkbox" value="on" ' . $checked . '><label for="cren_subscribe_to_comment" class="form-check-label">' . $label_text . '</label></div>';

    return $html_output;
}, 10, 3);

Instalación

Cómo instalar el plugin:

  1. Extract the contents of the package to the /wp-content/plugins/comment-reply-email-notification directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Para obtener mejores resultados, configure un complemento para enviar correos electrónicos mediante SMTP.

Reseñas

21 de junio de 2024
I just wanted a simply solution to allow people to get email notifications. This works great. I tested the one with more downloaded and like this one better. It just works. I wish it was easier to edit the email template and design, but that isn’t a big deal. Using it on DIVI blog and it works great for me. Takes a few minutes to send but maybe that is my email server not the plugin. Check it out in action here: mattenser.me/blog/is-belief-in-god-reasonable/ Thanks for the great plugin!
20 de noviembre de 2023 2 respuestas
I tried it with a test comment using an actual email address and then replied to the comment using another actual email address but did not receive any email on the first one. Any idea how this could work?
25 de agosto de 2023 1 respuesta
Not sure if this works with previous WP version but it does not work with WP 6.3. If you set your WP discussion settings to “email me whenever anyone posts a comment” — that should send an email to the author. If this plugin is then installed, the email will go to the site admin address and no email will be sent to the post author. When I removed the plugin, the Wordpress Settings worked as expected and notifications went to the post author.
14 de agosto de 2023
This plugin seems like a viable replacement to Subscribe to Comments Reloaded.
Leer todas las 31 reseñas

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

“Comment Reply Email Notification” ha sido traducido a 12 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce “Comment Reply Email Notification” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.34.0

  • Updated WordPress compatibility information.

1.33.0

  • Updated WordPress compatibility information.

1.32.0

  • Updated WordPress compatibility information.

1.31.0

  • Added option to set a custom from address for outgoing e-mails.

1.30.0

  • Updated WordPress compatibility information.

1.29.0

  • Changed loading of translations so the custom files provided by LOCO Translate also work.
  • Added option for custom e-mail subject for comment notifications.

1.28.0

  • Added Farsi (Iran) translation (thanks to Mahdi for this contribution).

1.27.0

  • Removed the option for comment approval as there is no real usecase for it and only causes confusion.

1.26.0

  • Added option to send notification on comment approval (thanks to Saumya Majumder for this extension).
  • Added filters to modify HTML output (thanks to Saumya Majumder for this extension).
  • Added Japanese translation (thanks to Kaede Fujisaki for this).

1.24.0

  • Update compatibility for WordPress 6.0

1.23.0

  • Fixed a warning for wrong use of add_submenu_page().

1.22.0

  • Fixed a bug handling the template for the notification e-mail.

1.21.0

  • Fixed sorting in subscription list.
  • Updated some translations.

1.20.0

  • Updated compatibility information for WordPress 5.9.
  • Implemented subscriber list in WordPress backend comments menu.

1.13.0

  • Updated compatibility information for WordPress 5.8.

1.12.0

  • Reverted renaming of main plugin file to avoid potential update issues

1.11.0

  • Major code refactoring (class based, better PSR compliance)

1.10.1

  • Fixed localization domain (thanks to Arno Welzel!)

1.10.0

  • Changed localization domain (thanks to Arno Welzel!)

1.9.0

  • Se agregó la traducción al Griego (¡gracias Chrysovalantis Chatzigeorgiou!)
  • Se agregó la traducción al Checo (¡gracias Zbyněk Gilar!)

1.8.0

  • Se agregó la traducción al Coreano
  • Se corrigió el error del filtro cren_gdpr_checkbox_label

1.7.1

  • Se corrigió la codificación del título del blog

1.7.0

  • Se corrigió el error donde la casilla de verificación de suscripción siempre estaba marcada
  • Se agregó la traducción al Chino Peninsular (¡gracias hsu1943!)

1.6.1

  • Se corrigió la configuración predeterminada que no está configurada

1.6.0

  • Se agregó la traducción al turco (¡gracias Bünyamin Yildirim!)
  • Se agregaron filtros a la etiqueta de la casilla de verificación
  • Cuadro GDPR agregado
  • Se agregó la página de configuración de administrador
  • Decodificación de entidades HTML agregadas al título del correo electrónico

1.5.0

  • Se agregó traducción al Italiano (¡gracias a Giacomo Bellisi!)
  • Se agregó traducción al Hebreo (¡gracias a Lea Cohen!)

1.4.4

  • Se corrigió variable indefinida
  • Actualizada traducción al Francés

1.4.3

  • Actualizada traducción al Español
  • Se agregó traducción al Alemán (¡gracias a Nathanael Dalliard!)

1.4.2

  • Se agregó traducción al Francés

1.4.1

  • Se corrigió plantilla de página de cancelación de suscripción

1.4.0

  • Se agregó la posibilidad de usar una plantilla de correo electrónico personalizado
  • Se agregó opciones de renderizado del plugin
  • Se corrigió enlace de cancelación de suscripción

1.3.3

  • Traducciones actualizadas y dominio de traducción.

1.3.2

  • Se corrigió filtro de tipo de contenido de correo electrónico que interfiere con otros correos electrónicos
  • Se eliminó el asterisco de la casilla de suscripción de formulario de comentario

1.3.1

  • Se corrigió la variable faltante en la plantilla de casilla de verificación
  • Fixed notification being sent to the comment author when he replies his own comment

1.3.0

  • Se ha corregido la casilla de verificación para los usuarios registrados.
  • Traducciones en ruso y ucraniano (¡gracias a Oleh Astappiev!)
  • Added unsubscribe link to email

1.2.0

  • Added opt-in checkbox to comment form

1.1.1

  • Se corrigió el error tipográfico en el gancho.

1.1.0

  • Traducciones agregadas de ES y PT-BR
  • Añadido script de construcción

1.0.0

  • Primer publicación