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 (14874 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 (46142 downloads )

Work-Around for Google Forms problem

It is no longer necessary to use this work-around, the WordPress Google Forms plugin now supports the new version of Google Forms.  This post remains here are part of the development history of the plugin.

Thanks to a tip form Kevin Dillon, a work-around to the problem with new Google Forms has been identified!  Legacy Google Forms are still available IF you start creating the form by opening a SpreadSheet first.  Once the spreadsheet is open, select “Create a legacy Form” from the “Tools” menu.  The form editor and published URL will be the same as those that had worked prior to the Google Forms update.

wpGForm_SS-002wpGForm_SS-003

WordPress Google Form Update

I have spent some time comparing low level WP_Http results against wget results and have come to the conclusion that Google Cookies aren’t being passed through the series of redirect which happens when viewing a Google Form with the new URL scheme.

Unfortunately I am not sure what to do about it yet.  The usually very helpful WordPress Hackers mailing list is surprising quiet right now.  I am trying to figure out if I can “remember” cookies and pass them along each time a redirect happens.  I am reasonably confident that is what is needed however making it happen within the WordPress context is another story!

Google change to breaks WordPress Google Form

Last week Google introduced a significant update to Google Forms.  In addition to a very different UI, the format of the public URL has changed AND more importantly, it has broken my WordPress Google Form plugin.

The change only seems to affect forms created from scratch using the new version of Google Forms.  My plugin is dependent on the WordPress HTTP API to retrieve the form from Google and with the new URL format, the API is returning an error.  I am trying to figure out what Google doesn’t like.

What is odd is I am able to successfully retrieve the form using the wget utility (a Unix command line tool for retrieving remote content) however wp_remote_get() doesn’t work.

I wish had some better news to report but right now I am stumped as to why this isn’t working.

If anyone has any ideas, I have posted some of the low level debug stuff on PastBin.

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 (14874 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 (46142 downloads )

Playing with a Chromebook

For the past few days I have been playing with a Samsung Chromebook,  We got it at work to see how useful it would be as a second device or shared device.  I have been a little skeptical on how useful it would be as I can’t imagine not having my PC.  In reality I couldn’t use a Chromebook exclusively, I need tools like Office, Photoshop, Illustrator, VMware, and others for work.

However, I do a lot of volunteer projects (swim team, basketball, soccer, etc.) where I think something like a ChromeBook could be useful and keeping all of the information “in the cloud” would be really useful for transitioning ownership from one person to another.

For the past couple of months I have been using Google Docs exclusively for the church basketball team I am coaching.  I did it sort of as an experiment – can I do everything I need to do using Google Docs?  Not using Excel is a big step for me – we use Excel at work for a million things and I am pretty proficient with it.  It is my go-to tool for many things including, for the past couple years, managing my basketball roster.  Over the course of two seasons I created a spreadsheet which allows me to set my line up.  I can quickly change which players play when and it keeps track of playing time requirements so I make sure all the players meet the playing time requirements.

This season I moved my spreadsheet to Google Docs.  I wasn’t sure all of the formulas would work but they did as did the data validation I had set up to let me select players from a list.  The data validation from a list works a bit differently than Excel does but it is close enough and it is doing what I need it do.

So for my evaluation of the Chromebook, I am trying to do all of my basketball work with it. So far it has been a non-issue.  Now I haven’t add to do anything more complicated then sending email, updating spreadsheets and creating simple documents.

I thought the Chromebook would be pretty limited in what it can do but it isn’t too bad.  I actually like the Samsung machine quite a bit.  It is light and responsive.  I really like the keyboard, it is actually quite a bit better than the keyboard on my Sony Vaio Z1,

While I have had several people login into using their GMail account (no issues there), it doesn’t seem to switch users very well.  When switching users it seems as though it logs the current user out instead of keeping that user’s state in memory.

I’ll continue to play with it over the next month or so.  I can definitely see a use for it in the education market.  If a school uses Google Docs then it is a no brainer and I’d give each of my kids one.  As it is, my kids seem to like it quite a bit.  They’ll pick it up and login with their email address and use it to browse the web.  It will also come in pretty handy on a family vacation as it will allow everyone to keep up with their email pretty easily.

Less clear is how useful it will be at work.  We have a corporate Google Docs account but very few people use it.  I’ll probably give it a try in the next day or two.  If you have Google Apps for your own domain then a Chromebook is a pretty good solution.  It is too bad Google has eliminated the ability to get Google Apps for free.

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.

What is holding up the next wpGForm update?

I’ve had a couple questions about the next version of WordPress Google Form.  I have had a beta version of the next release of WordPress Google Form available for a number of weeks.  So what is holding up the release?  This is a pretty busy time of year for me at work (my real job) and combined with the holidays, I just haven’t had a lot of time to work on it.

This next update really changes how I recommend using the plugin and I want to make sure my Help and Support form can support it and right now it doesn’t.  So until I can find a few minutes to update the Help and Support form, I am going to hold off on the release.

By the Skin of My Nose

 

I haven’t posted about any of my travel in a while but I finally have something worth posting about and it isn’t even a rant!  I re-qualified for United Gold status this week.  I had concluded I was going to come up short so it was a pleasant surprise when I checked my account and saw that I had crawled over the 50k mark by 12 miles!  Who-hoo!  I still like American Airlines better than United but my travels recently are served better by United so I expect I’ll continue to fly them as my primary carrier.

United_Gold_2012

WordPress Google Form v0.46 beta 9 available

I’ve updated the beta version of WordPress Google Form v0.46 this morning to beta-9. This beta update adds a significant new feature and one that has been requested a number of times: The ability to require an email address from the person filling out the form is now possible through a setting on the Google Form custom post type (this is not available through the old gform short code).

I would encourage migrating to the new short code and defining forms with the Google Forms Custom Post Type UI as that is where I am adding new functionality.  The way I added the User Email option should also allow me to allow form specific validation rules (e.g. URL required).

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

Google Forms Beta (58691 downloads )