WordPress.org

Plugin Directory

Customize WordPress Emails and Alerts – Better Notifications for WP

Customize WordPress Emails and Alerts – Better Notifications for WP

Description

Better Notifications for WP est une extension simple mais puissante pour les débutants et utilisateurs avancés qui vous permet de personnaliser les notifications par e-mail que WordPress envoie à l’aide de l’éditeur WYSIWYG et des codes courts. Toutes les notifications par défaut de WordPress par e-mail sont disponibles pour être personnalisées ainsi que de nombreuses nouvelles. Vous pouvez choisir d’envoyer des notifications à des utilisateurs individuels, plusieurs utilisateurs, tous les utilisateurs dans un rôle utilisateur, plusieurs rôles – Vous l’appelez ! Vous pouvez également activer vos notifications avec des modules complémentaires Premium. Les e-mails sont envoyés via votre site Web WordPress (en utilisant wp_mail) mais peuvent être envoyés via SMTP en utilisant une extension tierce appropriée si vous le souhaitez.

Voici une présentation rapide due l’extension en action :

Un exemple :

You want all the users in the Editor role to be notified via email when a new post is published and you’d like to customise it to include your logo along with the author’s name and date / time it was published – with this plugin, that’s easy.

A handy list of shortcodes you can use is available here.

Modules Premium

Activez vos notifications à l’aide de modules complémentaires :

Packs complémentaires de notification – Tout ce dont vous avez besoin pour vos notifications WordPress. Économisez lorsque vous achetez un pack complémentaire. Accès instantané.

Abonnements (RGPD) – Autoriser les utilisateurs/utilisatrices à gérer leurs abonnements aux notifications BNFW.
Pour permettre aux utilisateurs/utilisatrices de créer leurs propres notifications par e-mail, voir notre extension : Content Notify.

Conditional Notifications – Limit certain notifications depending on which categories, tags, post formats, or terms you choose.

Custom Fields – Provides a number of new shortcodes allowing you to include data from custom fields and custom user fields created using ACF.

Send to Any Email – Send notifications to non-WordPress Users.

Résumer – Regroupez plusieurs notifications en une seule notification de résumé.

Global Override – Override some of the settings of notifications directly when editing a post, page, or custom post type.

Reminders – Send a reminder to your users and/or user roles when a post, page, or custom post type hasn’t been updated after a set amount of time. Also send a notification when a user hasn’t logged in for a set amount of time.

Multisite – Ajoute de nouvelles notifications et de nouveaux codes courts pour donner à WordPress Multisite de meilleures notifications.

Générateur de profils – Ajoute la compatibilité et de nouvelles notifications et codes courts pour les extensions Profile Builder Free, Hobbyist et Pro à Better Notifications for WP.

…and more coming soon!

Notifications

The notifications that are currently available to use are:

Admin

  • New User Registration – For Admin
  • User Lost Password – For Admin
  • Mot de passe modifié – Pour l’administrateur
  • User Email Changed – For Admin
  • Rôle du compte modifié – Pour l’administrateur/administratrice
  • Compte connecté – Pour l’administrateur/administratrice
  • Mises à jour automatiques en arrière-plan du cœur de WordPress
  • Privacy – Confirm Action: Export Data Request – For Admin
  • Privacy – Confirm Action: Erase Data Request – For Admin

Transactional

  • New User Registration – For User
  • New User – Post-registration Email
  • User Lost Password – For User
  • Mot de passe modifié – Pour l’utilisateur
  • User Email Changed Confirmation – For User
  • E-mail de l’utilisateur modifié – Pour l’utilisateur
  • Rôle du compte modifié – Pour l’utilisateur/utilisatrice
  • Utilisateur/utilisatrice connecté – Pour l’utilisateur/utilisatrice
  • Comment Reply
  • Privacy – Confirm Action: Export Data Request – For User
  • Privacy – Confirm Action: Erase Data Request – For User
  • Confidentialité – Données exportées – Pour le compte
  • Confidentialité – Données effacées – Pour le compte
  • Profile Builder – Approval Request for Admin (Profile Builder Add-on)
  • Profile Builder – Email Confirmation (Profile Builder Add-on)
  • Profile Builder – Account Approved (Profile Builder Add-on)
  • Profile Builder – Account Unapproved (Profile Builder Add-on)
  • User Login Reminder (Reminders Add-on)

Posts / Custom Post Types

  • New Post Published
  • Post Updated
  • Post Pending Review
  • Nouvelle publication privée
  • Post Scheduled
  • Publication publiée déplacée dans la corbeille
  • Nouveau commentaire
  • Nouveau commentaire en attente de modération
  • Publication – Commentaire approuvé
  • Post – Custom Field Updated (Custom Fields Add-on)
  • Publication – Rappel de mise à jour (Module de rappels)
  • New Trackback
  • New Pingback

Pages

  • New Page Published
  • Page Updated
  • Page Pending Review
  • Nouvelle page privée
  • Page Scheduled
  • Page – New Comment
  • Page – Nouveau commentaire en attente de modération
  • Page – Commentaire approuvé
  • Page – Réponse à un commentaire
  • Page – Custom Field Updated (Custom Fields Add-on)
  • Page – Rappel de mise à jour (Module de rappels)

Média

  • Nouveau média publié
  • Média mis à jour
  • Média – Nouveau commentaire
  • Média – Nouveau commentaire en attente de modération
  • Média – Commentaire approuvé
  • Média – Réponse à un commentaire

Posts

  • Nouvelle catégorie
  • New Tag

Custom Post Types

  • New Term

Multisite (module multisite)

  • New Site Activated or Created – For Network Admin
  • New User Created – For Network Admin
  • Network Admin Email Change Attempted – For New Network Admin
  • Network Admin Email Changed – For Old Network Admin
  • Nouveau site activé ou créé – Pour l’administrateur/administratrice
  • Site supprimé – Pour l’administrateur/administratrice
  • Tentative de modification de l’adresse e-mail de l’admin du site – Pour l’administrateur/administratrice
  • Adresse e-mail de l’admin du site modifiée – Pour l’ancien admin du site
  • Nouveau site activé – Pour l’utilisateur/utilisatrice
  • Nouvel utilisateur/utilisatrice créé – Pour l’utilisateur/utilisatrice
  • Nouvel utilisateur/utilisatrice invité sur le site – Pour l’utilisateur/utilisatrice

If you’d like to see a notification in the list above, please drop me a line in the forum and I’ll see what I can do to add it.

Pour permettre aux utilisateurs/utilisatrices de créer leurs propres notifications par e-mail, voir notre extension : Content Notify.

Like this plugin? Please leave it a great review! Don’t think the plugin is worthy of 5 stars? Having problems? Let me know in the forum and I’ll do my best to help.

DISCLAIMER
This is an incredibly useful and highly rated plugin however, it’s possible that overuse or abuse of this plugin could upset your users by sending them too many notifications. By downloading / installing / using this plugin, you take full responsibility of the management / quantity / types of notifications that are sent out from it including abiding by any SPAM laws in your country / operating areas, dealing with / responding to subscription / unsubscription requests, complaints, and so on. I accept no liability or responsibility for SPAM or abuse of this plugin from the user(s) of or anyone that may receive notifications as a result of the use of this plugin. I’m trusting you, please don’t abuse your users.

Captures d’écran

  • All Notifications

  • Add New / Edit Notification

Installation

  1. Upload the ‘bnfw’ plugin folder to the ‘/wp-content/plugins/’ directory or install it via your WordPress Admin.
  2. Activez l’extension dans le menu « Extensions » de WordPress.
  3. Use the settings in the new ‘Notifications’ Menu item in the sidebar to configure the plugin.
  4. (facultatif) Lire notre article sur comment améliorer la livraison des e-mails dans WordPress.
  5. Test by creating a notification with some shortcodes.

FAQ

Full Documentation for BNFW can be found here.

Cette extension est-elle compatible avec le nouvel éditeur de blocs (Gutenberg) dans WordPress 5 ?

Yes and no. Most notifications work but full support can’t be guaranteed for all notifications at the moment. Full support is on the roadmap but for the time being, I’d recommend using the Classic Editor plugin with BNFW.

What are shortcodes? Where can I use them in this plugin?

Shortcodes are text in square brackets that output content of some kind. For example, if you want to add the content of a post to a notification for ‘New Post Published’, you can use the [post_content] shortcode to display this in the email that is sent out.

Shortcodes can be used in the ‘Subject’ and ‘Message Body’ of your notifications, except for a select few (due to a restriction in WordPress).

A handy list of shortcodes you can use is available here.

What are some scenarios this plugin could be used for?

  • Outreach: A blog/news site with hundreds of subscribers and want to use it to alert them of new blog posts.
  • Communication: A small, internal WordPress site and use it to alert staff of new posts or comments.
  • Monitor: A website for an awesome new product or service and use it for notifications of pingbacks and trackbacks.
  • Security: To receive alerts of password reset requests and their corresponding user.

The possibilities are endless!

Does this plugin work with anti-spam plugins, such as Akismet?

Yes! There is an option for suppressing comments marked as SPAM in the plugin settings.

Cette extension et les modules complémentaires fonctionnent-ils avec Multisite ?

Yes! Full support for WordPress Multisite was added in 1.6.13, alongside the release of the Multisite Add-on.

Les utilisateurs/utilisatrices peuvent-ils créer leurs propres notifications par e-mail ?

Ne pas utiliser BNFW. Pour permettre aux utilisateurs/utilisatrices de créer leurs propres notifications par e-mail, voir notre extension : Content Notify.

Notifications aren’t coming through!

First of all, follow this article about how to find out what might be causing the problem. Additionally, please take a look at this help document to see how you might improve email delivery when using Better Notifications for WP.

De nombreux hébergeurs limitent le nombre d’e-mails qui peuvent être envoyés en moins d’une heure, ce qui peut également retarder l’arrivée des e-mails. Cet article contient une liste assez complète d’hébergeurs et leur limites de taux adresse e-mail correspondante qui valent la peine d’être vérifiées. Alternativement, veuillez vérifier directement auprès de votre hébergeur pour connaître votre limite.

If you’re still having problems, please drop me a line in the Free Support Forums and I’ll do my best to help.

Some of my shortcodes aren’t working!

It’s possible you’re inserting a shortcode into a notification that cannot use it. For example: the ‘New Category’ email notification cannot use any of the author or time shortcodes as WordPress only stores the category name, category slug and category description in the database by default. It’s also worth checking the spelling and underscores in any shortcodes as well as if they are wrapped in square brackets [].

Other emails from WordPress / other plugins are being messed up!

WordPress, by default, sends all emails in Plain Text. If you’d like to include code or use the WYSIWYG editor as part of Better Notifications for WP in your emails, you can change this to HTML using the global setting in Better Notification for WordPress. This can be found under the ‘Notifications > Settings’ screen. Changing this global email format setting will affect how all emails are sent out from WordPress however, so you may experience formatting issues with emails sent out from other plugins if you change the email format setting in this way. If you do, change this setting to Plain Text. You can also set the email format on a per-notification basis when setting-up a new Notification. The caveat is that WordPress will only either allow setting the email format globally (for all emails) or individually for anything that’s non-transactional.

Custom Post Type ‘X’ isn’t showing in the list of available custom post types

This is most likely because it’s public setting is set to false. Try changing this and see if it shows up in the list. If the custom post type has been created by a plugin and is set to private (such as TablePress), you’ll need to get in touch with the plugin author to see if they’ll consider changing it to public instead so that BNFW can send out notifications for it.

Can I translate this plugin?

Yes, of course! The plugin is completely translation-friendly and if you send me your .po file, I’ll make sure to include it in the plugin and credit you in the changelog.

Where do I report security bugs found in this plugin?

Please report security bugs found in the source code of the Better Notification for WP plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.

Avis

16 septembre 2024 7 réponses
[outdated] Requires PHP 8.0, so I cannot use it with 7.4. That’s higher requirements than most of the other WP plug-ins. Probably without any real reason though.
26 août 2024
I don’t usually do this, but this plugin has been wonderful. The plugin authors know their onions well, very fast and experienced. Good job, keep it up!
21 février 2024
2 Years in my website … it saved me a lot of works !!good plugin !!
Lire les 180 avis

Contributeurs/contributrices & développeurs/développeuses

« Customize WordPress Emails and Alerts – Better Notifications for WP » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Customize WordPress Emails and Alerts – Better Notifications for WP” a été traduit dans 9 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Customize WordPress Emails and Alerts – Better Notifications for WP » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

1.9.8 – 5th November 2024

  • Added: Support for the new ‘Send Notification Only Once’ feature in the Digest add-on.
  • Fixed: Various PHP warnings.

1.9.7 – 16th September 2024

  • Resolved: Due to user feedback, I’ve downgraded the PHP requirements for the plugin to PHP 7.4.

1.9.6 – 1st July 2024

  • Added: You can now use [user_ip_address] and [email_user_ip_address] in notifications that can use the User shortcodes.
  • Fixed: An issue with the Global Override add-on where notifications couldn’t be overridden when using the Classic Editor.

1.9.5 – 13th June 2024

  • Fixed: An issue with the Global Override add-on where notifications couldn’t be overridden when using the Block Editor.

1.9.4 – 17th April 2024

  • This is a large release containing lots of bug fixes (both big and small), compatibility fixes, and updates with the most recent versions of WordPress. This includes:
  • PHP 8.0, 8.1, and 8.2 compatibility.
  • Various performance improvements.
  • Added: Some post notifications, such as Post Updated, can now be triggered via a Quick Action.
  • Fixed: Subject of Email Changed notification when triggered using WooCommerce.
  • Fixed: Some notifications weren’t using the correct subjects.
  • Fixed: BNFW was stripping some additional HTML from the notification than what WordPress allows.
  • Various fixes for the Custom Fields add-on.
  • Various fixes for the Conditional Notifications add-on.
  • Various fixes for the Subscriptions add-on.
  • Various fixes for the Global Override add-on.
  • Various fixes for the Digest add-on.
  • Various fixes for the Multisite add-on.

1.9.3 – 16th May 2023

  • IMPORTANT! It is recommended that you update this plugin to the latest version.
  • Fixed: A minor security issue relating to enabling/disabling notifications.

1.9.2 – 30th January 2023

  • Fixed: An issue where the plugin was using the site language but not the user’s language for translations

1.9.1 – 20th September 2022

  • Fixed: A fatal error was shown when using PHP 7 and sending admin notifications.
  • Fixed: Notifications weren’t being sent out when using a shortcode in the Send To field when using the Send to Any Email add-on.

1.9 – 6th September 2022

  • This is large bug fix and minor feature release.
  • New: Notifications – You can now send notification when posts/pages/custom post types/media items are sent to the Trash.
  • New: Shortcodes – You can now use [password_url_raw] and [login_url_raw] in the ‘New User Registration – For User’ notification to output these URLs as plain text (without the link wrapped around them).
  • New: Shortcode – [user_ip_address] can be used in any notification that supports the [user_] shortcode group and will show the IP address of the user who triggered the notification.
  • Added: The email_user and user_ shortcodes are now available to use in the ‘User Email Changed Confirmation – For User’ notification.
  • Added: Support for the ‘Send To’ field in the ‘User Login Reminder’ notification (part of the Reminders add-on and Conditional Notifications).
  • Improved: Full PHP 8.0 compatibility.
  • Improved: The ‘New Comment’ notifications now work with the wp_new_comment, wp_insert_comment, and rest_insert_comment hooks.
  • Fixed: All BNFW screens are now translated using the language the user has set as opposed to the site language.
  • Fixed: The ‘New Private Post’ notification wasn’t being triggered.
  • Fixed: ‘Email Changed’ notifications were sending in plain text instead of HTML, where set.
  • Fixed: PHP Fatal Error when sending notifications to new users who are assigned multiple user roles (props to @intuitart for the fix).
  • Fixed: PHP Fatal Error when disabling multiple notifications at the same time.
  • Fixed: PHP Notice showing on the User Profile screen when the Subscriptions add-on was enabled.
  • Fixed: Notifications weren’t always showing their ‘Notification Type’ on the ‘All Notifications’ screen.

The rest of the changelog can be found here.