Finished the Job Commitment Report

This evening I finished the Job Commitment Report.  I am not sure why but I had a tough time getting going on this one.  It will appear as a new tab on the Reports menu and will report the total number of credits a user has committed to for the requested season.  The report is limited to the users who have swimmers registered for the specified season.

While working on this new functionality I also found a couple of minor bug which I have also fixed.  One of the bug failed to account for a swimmer unregistering for a season so they still would have been seen as active.

I hope to have a release  out in the next day or so.

New Opt-In/Opt-Out Event model running

I have completed all of changes to support the opt-in/opt-out event model I described late last week.  I have not released the update yet as I am still doing some testing.  I have it running on the wp-SwimTeam demo site.  You can see an example of what one of the reports would look like when swimmers are registered on an event basis instead of a stroke basis.

While working on this I found some problems with the Events module which I have also fixed.  One was a very odd case which only was exposed in Chrome as it worked fine under IE9 and FireFox 4.  It turned out to be some sort of a Javascript difference between browsers so I have changed the GUI for the Load Events form.

If you switch from the stroke based model to the event based model for opt-in/opt-out, you may see some empty or unknown events for existing records.  These are due to a non-existent event id in the record.  It doesn’t really hurt anything but does look odd on the report so I plan to look into it.

I am looking for someone to do some testing before I release an update, if you want to help, get in touch with me.

wp-SwimTeam v1.7.608 now available

A quick turnaround on the bug reported a short time ago.  It has been fixed and I have posted v1.7.608 of wp-SwimTeam.  This fixes the bug which essentially made the Manage->Users tab almost unusable unless you had a very small number of users.

This release has also been pushed to the WordPress plugin repository so it should be available via the plugin updater fairly soon.

wp-SwimTeam v1.6.605 released

It took longer than I wanted and I didn’t get all of the features I wanted done, but I have release v1.6.605 of wp-SwimTeam tonight.  This release addresses a number of things my own team has been asking for, in particular with respect to jobs.  A number of our parents have asked how they can see which jobs they have signed up for and if they have scratched their swimmers or not.  A key new feature in this release is the Swim Meets report is now exposed to all users but the information presented to users is limited to their swimmers and their jobs.

  • Fixed bug when optional user and/or swimmer field count is zero preventing reports from running.
  • Added My Jobs tab for all users. User can now easily see which jobs they’ve signed up for.
  • Added e-mail field to user profile. Users are familiar with the swim team profile, easy to update.
  • Exposed Swim Meet report to all users allowing users to see their swimmer opt-in/out and jobs easily.
  • Added Dashboard widget.
  • Fixed quite a few minor bugs – too many to list!

This release is available now on the Download page and will be available from the WordPress plugin updater later tonight

Potential Report Bug

There is a bug with the User and Swimmer reports which will manifest itself when either the User or Swimmer optional field count is set to zero AND the table where the optional fields are stored is completely empty.  I have fixed the bug and checked it but am not quite ready to do a release due to some other changes I am in the process of making not being finished yet.  The bug will also manifest itself when trying to export a list of users or swimmers as CSV.

If you run into this problem, let me know – there is a fairly easy work-around that will prevent it from happening.

wp-SwimTeam v1.5.579 released

I have just released wp-SwimTeam v.1.5.579, you can find it on the download page and shortly, via the automatic plugin updater.  This release fixes an issue which has bothered me personally for a long time.

There was a problem in the E-mail Confirmation code for both registrations and opt-in/opt-out.  This same code was used for the new Jobs module so it existed there too.  For a long time the confirmation e-mails were duplicated and if a swimmer had to two contacts, only one of them would receive the e-mail.  I have finally found and fixed this problem so e-mail confirmation should be cleaner and sent to the appropriate people.

wp-SwimTeam v1.4.573 released

This evening I released wp-SwimTeam v1.4.573.  It can be downloaded from this web site or from the WordPress plugin repository.  The plugin auto-update will also update to this release.  New and fixed in this release are:

  • Fixed bug in Opt-In/Opt-Out e-mail confirmation which duplicated recipients.
  • Fixed bug in handling Country when set to US Only.
  • Added Club Profile initialization based on State or Province in Team Profile.
  • Added E-mail confirmation for Job Assignments.
  • Added Job Options tab on Options page to configuring Jobs module.

Make sure you visit the Job Options tab to configure your jobs module.  There is still work to be done to report the number of credits a user has signed up for and to flag which users have not met the threshold.  Hopefully that functionality will come in the next week or two.

Update: This release had a minor update due to a file missing from the WordPress plugin repository.  The missing file prevented the Jobs Options tab from rendering.  Other minor tweaks were also made to the Jobs Confirmation e-mails.

wp-SwimTeam v1.3.561 now available

A new release of wp-SwimTeam is now available for download.  It is also available via automatic update from the WordPress plugin repository.  This release fixes a couple of bugs and adds two new features, one of which addresses functionality that was coded but never exposed correctly.

  1. Fixed bug in wpst_meet_report short code.
  2. Fixed bug in Add/Update Club Profile due to invalid URL field(s).
  3. Added showmaplinks option to wpst_meet_report short code.
  4. Added URL sanitatization to Google Maps and Mapquest URL fields on club profile.
  5. Added notes to use Google URL shortner for URLs that don’t validate.

I am not sure when it was added but MapQuest now generates “shortened” URLs when mapping an address, I wish Google would do likewise.  The URLs that Google Maps generates tend to be a mile long and full of characters.  My suggestion is to use Google’s URL shortener to generate a simple URL that can be saved within WordPress easily.  That is what I am doing for the MacDolphins web site.

The phpHtmlLib library which wp-SwimTeam depends on has also had a minor bug fix which I found testing URL validation.  This plugin can also be updated t v2.6.2.3546 using the WordPress plugin updater or can be downloaded and installed as in the past.

Add Swim Club bug

There is a bug in the “Add Swim Club” functionality.  I ran into this issue this morning but haven’t had a chance to diagnose it yet.  I hope to have it identified and fixed sometime today.  I apologize for the inconvenience.  To work around this problem I am choosing “None” as the opponent and then adding a note in the description field.

Update

This bug only occurs when the Google Maps URL is used.  I am trying to determine what in the Google Maps URL the validation isn’t happy with and why the data is reported as saved when it is not.