Email-Users 4.4.1-beta-3 available

This afternoon I updated the beta version of Email Users 4.4.1 to beta-3.  This version improves the Custom Group filter options by introducing a new Custom Group Meta Key filter.  It builds on the Custom Group Meta Filter but eliminates a lot of the work required if a filter on a Meta Key is desired instead of a Meta Key and Value pair.

For example the following code will yield a Send to Group Form with selections based on any possible value of a User Meta Key by the name of ‘department’:

add_action( 'mailusers_group_custom_meta_key_filter', 'send_to_departments', 5 );
function send_to_departments()
{
mailusers_register_group_custom_meta_key_filter('department', null, 'send_to_departments_label');
}
function send_to_departments_label($mk, $mv)
{
return(ucwords($mk) . ' = ' . ucwords($mv)) ;
}

The only required argument is the first one, which is the name of the Meta Key.  The second argument is an optional Meta Value and the third argument is an optional callback which accepts two strings, Meta Key and Meta Value, and returns a string which is used as the selection text on the form.

EU_SS_07

I have updated the example plugin again to create the filter which results in the image above, the examples I have done previously are still in the file however are commented out.  You can download it and drop it into  your plugins directory to see menus like shown in the beta-1 post.

Email Users Custom List (5588 downloads )

Please download and test the beta release.  Report back any issues and I’ll do what I can to fix them quickly.

Email Users Beta (5015 downloads )

Email-Users 4.4.1-beta-2 available

I have uploaded v4.4.1. beta-2 for Email Users.  This version changes the custom filters previously defined to be a “user” filter and introduces a “group” filter.  If you have used the “Send to Group” feature, you can now define a series of filters that you can send to.   There are examples of sending to the “Police” and “Fire” departments in the example filter plugin (see below).

EU_SS_06

I have updated the example plugin to create the filters, you download it and drop it into  your plugins directory to see menus like shown in the beta-1 post.

There is also a new option on the plugin settings page to control where bounced emails are sent.

Email Users Custom List (5588 downloads )

Please download and test the beta release.  Report back any issues and I’ll do what I can to fix them quickly.

Email Users Beta (5015 downloads )

Email-Users 4.4.1-beta-1 available

I have fixed a couple of minor bugs, added German Language support and introduced new functionality to send email to a custom list of users based on meta data.  The ability to target a specific list of users based on user meta data is a feature that was requested a while back on the WordPress support form.

The new Customer Meta Filter List functionality allows the the site to create a custom list of users by adding an action in either the theme’s functions.php file or in a stand-alone plugin.

EU_SS_04 EU_SS_05

Unfortunately I ran into a WordPress limitation while working on this functionality.  The  ability to match user meta data through the WordPress get_users() API doesn’t work as expected with the LIKE and NOT LIKE comparisons.  In an effort to protect the SQL, WordPress wraps the value being compared with wildcards to the match is either too permissive (matches too much) or too restrictive (matches to little).

I have opened a WordPress Trac ticket and submitted a patch for this problem but until it gets fixed (or the patch in the Trac ticket is applied), only standard comparisons work.  The “Last Name: M” example won’t work without the patch nor will the “First Name: Not D”.

I have written an example plugin to create the above filters, you download it and drop it into  your plugins directory to see menus like shown above:

Email Users Custom List (5588 downloads )

Please download and test the beta release.  Report back any issues and I’ll do what I can to fix them quickly.

Email Users Beta (5015 downloads )

Understanding Email-Users Settings

Periodically I receive Help Requests (either from the WordPress Support Forum, a comment on my blog, or an email) for Email-Users.  Most of the requests involve why some users do or don’t receive email.

Each user has two values associated with their user id:

  1. Does the user receive mass email?
  2. Does the user receive post and/or page notifications?

The ability to control these settings by the user from their User Profile page was a feature of Email-Users long before I got involved.  I have enhanced this functionality to allow an Administrator have the ability to change the settings for a specific user as well as adding the ability to bulk change the settings for a large number of users.

The bulk change feature appears under the Email-Users menu as “User Settings”.  Looking at this page will show you the current state of each user with respect to receiving mass email and post/page notifications.

The administrator can also remove the ability for a user to change their own settings through the plugin settings.

When using the “Send Email to User(s)” or “Send Email to Group(s)” feature, the list of users or groups is extracted from the database based on the settings for their user id.  You can always send email to a single user regardless of their setting however if you select more than one recipient, the Mass Email setting for a user is honored and they will be dropped from the recipient list.

Here are some screen shots to illustrate the points made above.

Email Users v4.3.15 is now available

This afternoon I released v4.3.15 of Email Users. This update includes a number of enhancements, some bug fixes, and a bunch of translation improvements. Thanks in particular to Ponç J. Llaneras for helping with the myriad of translation issues.

  • Replaced use of deprecated function the_editor() with wp_editor().
  • Fixed Javascript conflict which affects Dashboard and Menu Management resulting from enqueing the WordPress ‘post’ library.
  • Fixed bug where user settings are not saved correctly when toggling user setting control.
  • Fixed bug when the dollar sign character ($) appears in the content of a page or post.
  • Added option to include sender in recipient list.
  • Numerous updates to make translation easier.
  • Updated Spanish and French translation files.

You can find the update on your Dashboard or in the WordPress Plugin Repository.

Email Users v4.3.15-beta-6 available

This morning I made a beta-6 version of Email Users v4.3.15 available for download from this site. I  hope this is the final beta version before the final release.  I am not aware of any outstanding bugs at this time.  This latest beta version has some more tweaks to aid in translation.

Download the beta release and please let me know if you run into any issues.

Email Users Beta (5015 downloads )

Email Users v4.3.15-beta-5 available

This evening I made a beta-4 beta-5 version of Email Users v4.3.15 available for download from this site. I still hope to incorporate as many translation package updates as I can before the final release. This latest beta version has some more tuning to aid in translation.

Download the beta release and please let me know if you run into any issues.

Email Users Beta (5015 downloads )

Email Users v4.3.15-beta-3 available

This morning I made a beta-3 version of Email Users v4.3.15 available for download from this site. I still hope to incorporate as many translation package updates as I can before the final release.

This latest beta version fixes some bugs where the names and ids or users or roles was not displayed in the recipient lists.

Download the beta release and please let me know if you run into any issues.

Email Users Beta (5015 downloads )

Email Users v4.3.15-beta-2 available

This evening I have made a beta-2 version of Email Users v4.3.15 available for download from this site. I have not posted this version to the WordPress plugin repository yet as I’d like to incorporate as many translation package updates as I can before the final release.

This latest beta version includes translation catalog files generated with Poedit to help make the translation process easier.

Download the beta release and please let me know if you run into any issues.

Email Users Beta (5015 downloads )

Email Users v4.3.15-beta available

This morning I have made a beta version of Email Users v4.3.15 available for download from this site. I have not posted this version to the WordPress plugin repository yet as I’d like to get some additional testing done on it before doing so as well as incorporate any translation package updates as I can before the final release (which I will likely label v4.4.0).

There are a couple of significant new features and a number of bug fixes in this version.

  1. Fixed the problem where a dollar sign in the post or page content followed by a number disappears.  This was happening due to  preg_replace() seeing the $nn pattern as part of its regular expression processing.
  2. Fixed issues with user settings disappearing.
  3. Added the ability to include the sender in the recipient list as an options setting.
  4. Fixed bug which prevented WordPress Dashboard and Menu Manager from working correctly.
  5. Changed a number of strings to make the process of creating a language package much easier.

Download the beta release and please let me know if you run into any issues.

Email Users Beta (5015 downloads )