This morning I released a minor update to wp-SwimTeam. Unless you are running under WordPress multi-site, you will not see a difference. Under Multi-Site there was a bug in the database query that pulls the list of users from the WordPress database. Because not all users stored in the user table should be visible to a particular site, the list of users needs to be filtered and limited to just those who have access to the site. It was this filter portion of the query which was wrong.
Today I learned of a bug with wp-SwimTeam where the list of Users associated with the site doesn’t get populated when running under WordPress multi-site. This problem does not happen on standard installations of WordPress.
I am looking into the problem but it isn’t a simple solution as the query references the explicit users table which isn’t the same under WordPress multi-site.
I thought I had a quick solution but it didn’t work so I will need to sit down for an hour or two and sort this out over the next couple of days.
This evening I posted beta-1 of Google Forms v0.75. This beta release contains a new option to turn off the HTML filter which has been part of Google Forms since the very early iterations of the plugin. In the early days of the Google Forms plugin, the HTML Google generated was full of unnecessary stuff and as a result, it tended to mess up the rendering of the form within WordPress. Over the years Google has iterated on forms a number of times and the HTML is much cleaner and includes new attributes for things like accessibility.
Based on a user request to support the accessibility attributes I decided to offer an option to turn off filtering completely. The disable HTML filtering option is located on the Advanced Tab of the plugin settings.
The NCAA basketball tournament starts Thursday (well, technically tonight with the 1st Four). This is the Most Wonderful Time of the Year (I have that Christmas carol running through my head which Staples also uses for very funny, if you are a parent, Back to School shopping commercial) – I love college basketball and the week of conference tournaments and the NCAA tournament is one of my favorite times of the year. It is also one of my most least productive times of the year.
I graduated from Villanova (hence the VU logo for my avatar) and am bullish on the Wildcats this year. I think they can play with anyone in the country save Kentucky. Living in North Carolina, I am particularly intrigued by the potential match up on Saturday with NC State. VU has not done well in the tournament since their 2009 Final 4 run. I am hoping the recent string of early exits ends this year.
If you’re wondering why updates to Email Users and Google Forms are so slow coming out, it is because I am a bit preoccupied and wasting lots of time reading the analysis from all of the college hoop pundits. I am also going over my brackets for the various pools I am in. Once the tournament is over, particularly after Villanova loses, my attention will return to my various projects and updates will become a bit more predictable.
This evening I released beta-2 of Email Users v4.7.1. This build addresses a couple of issues and introduces a new filter which allows manipulation of portions of the generated email headers.
The Dashboard Widget can now be disabled. It is on by default but can be turned off with a setting (Dashboard > Settings > Email Users).
There have been several requests to support wpMandrill. It wasn’t until recently that I learned that in addition to overloading wp_mail(), Mandrill requires the recipient addresses to be in the TO header where as Email Users uses the BCC header to send email.
I didn’t want to make it simple to use the TO header instead of the BCC header as I view it as risky. Exposing the recipients of a mass mailing is a no-no. However, Mandrill is widely used and with several requests, I needed a safe yet viable solution.
The new mailusers_manipulate_headers allows the user to modify the headers so they’ll work with Mandrill while not making it too easy to do so. Here is an example of how the headers could/would be modified to have the recipients in the TO header instead of the BCC header.
* wpMandrill needs the recipients in the TO header instead
* of the BCC header which Email Users uses by default. This
* filter will move all of the recipients from the BCC header
* into the TO header and clean up any formatting and then nuke
* the BCC header.
function mailusers_mandrill_headers($to, $headers, $bcc)
// Copy the BCC headers to the TO header without the "Bcc:" prefix
$to = preg_replace('/^Bcc:\s+/', '', $bcc) ;
// Empty out the BCC header
$bcc = array() ;
return array($to, $headers, $bcc) ;
add_filter('mailusers_manipulate_headers', 'mailusers_mandrill_headers', 10, 3) ;
This code would be placed in the functions.php file. More details can found in the ReadMe.txt file. The example above is now included with the plugin, you can find it in the examples directory.
This evening I released beta-4 of Google Forms v0.73. This builds add support for Right to Left (RTL) languages by adding a column order option when using multiple columns. This functionality was requested earlier today on the Support Forum and was very easy to implement as the jQuery Columnizer plugin already supported RTL. The only other change is an update of the language translation files.
This afternoon I posted beta-1 of Email Users v4.7.1. This release addresses a warning related to the max_input_vars setting when the server doesn’t have the configuration variable defined. This happens on some older server configurations, notably, those running PHP 5.3.8 and earlier.
This evening I released beta-2 of Google Forms v0.73. This beta build addresses a problem recently reported on the WordPress Support Forum.
This problem appears to be due to a change in the HTML Google generates for the “Other” field. The change in the HTML resulted in the jQuery selector no longer working. A new selector has been implemented in beta-2.
After submission, Google Forms show, unless hidden with CSS, a “Submit another response” link which links back to the Google Docs version of the form. This link is now replaced with the proper link to URL where the form appears on the WordPress site.
Please do some testing with this beta version and report any problems. I will do my best to fix them quickly as I would like to get this version released as soon as possible.