wp-SwimTeam v0.1.375 – Age Group Cutoff fixes and more

I have just uploaded  v0.1.375 of the wp-SwimTeam plugin to the downloads page.  This build fixes an issue with swimmers who have birthdates in close proximity to the age cutoff AND they are at the maximum age.  The calculation of the “adjusted” age was incorrect in some cases resulting in swimmers not being able to be registered.

In addition to fixing this problem, I added some additional error checking and validation around swimmer birthdates and registering for an active season.  The Add Swimmer capability now includes an “override” to allow swimmers who are too old to be added to the database.  This is being done to support team records, which likely has swimmers who have long since aged out of swim team.

This build also fixes an issue with database queries that appears from time to time when a large number of swimmers was in the database.  The query infrastructure has been improved to leverage the existing WordPress query structure.

There were also a few more UI clean up changes.

This build has not had an extensive amount of testing but I believe it is an improvement over the last build.  I hope to get some solid testing in tonight using a dump from the MacDolphins database.

wp-SwimTeam v0.1.371 – UI improvements, Opt-In, Opt-Out

This afternoon I posted v0.1.371 of the wp-SwimTeam plugin on the download page.  This build cleans up some UI issues and adds the baseline functionality for Opt-In/Opt-Out (aka Register and Scratch).

I have been noodling on how to implement the MacDolphins need for an online scratch sheet solution since I started this project.  It was one of the areas we really struggle with.  We’ve had a scratch sheet posted on the bulletin board for people to sign up on but it was ineffective.  We’ve tried using e-mail which worked better but getting the information from the collection point to the heat sheet continued to be problematic.  Hopefully connecting it to the web site will be a good solution to this ongoing problem.

The basic functionality is now working.  When a swim meet is entered into the system, it is characterized as either Opt-In or Opt-Out (the labels can be set from the Options menu).  An Opt-In meet requires all swimmers to register in order to participate.  An Opt-Out swim meet assumes all active swimmers are participating unless the swimmer withdraws from a meet (or subset of meet events).  For the MacDolphins, all dual meets are Opt-Out events and our local invitational city meet is an Opt-In event.

In addition to the new Opt-In/Opt-Out functionality (which doesn’t include reports yet), I made quite a few improvements to the UI, particularly with the messages which are displayed after an action is executed.  I also took care of some CSS issues which were most notable when using the default light blue Dashboard color scheme.  I prefer the grey one which is why I hadn’t noticed the problem previously.

The next phase of Opt-In/Opt-Out will be reporting followed by exporting a meet specific roster in SDIF format.

wp-SwimTeam v0.1.357 available

This morning I uploaded v0.1.357 of the wp-SwimTeam plugin.  You can download it from the download page.  Note the bump of the minor version number from 0 to 1 in this build.

This build completes the changes to the option model for the optional fields for users and swimmers.  In prior builds the optional fields were hard coded at 5 for both swimmers and users and the data was stored as part of the user and swimmer records.  This build allows an administrator to set the number of optional fields for users and swimmers (independently) and offers several new types of optional fields (required and optional URLs and e-mail addresses) and stores optional data in a separate table.

The extent of this change was pretty extensive which is why there hasn’t been a release in almost a month.  Unfortunately the old option data is not migrated to the new table so if you are using optional fields, you may have to re-enter some data.  I had to do this with my own swim team.  It is a nuisance.  The old data is still in the database in the users and swimmers table but not accessed.

This build also fixes numerous GUI nits with messages and guidance, it should all be consistent now although I am sure I have missed something.  It also fixes a bug with age groups when swimmer label prefixes are not being used.

I strongly recommend backing up your database before installing this update!

wp-SwimTeam v0.0.326 available

This afternoon I posted a new version of the wp-SwimTeam plugin to the download page.  This update adds new functionality to the swimmer registration process.  There is also the initial stages of registration fees.  You can define what the registration fee is globally and then override it at the age group level.  There is no support currently for a family discount.


If your team has Terms of Use (aka Rules and Regulations) and/or Billing information posted on your web site, you can add the URL(s) to the Registration Options and the link(s) will be displayed on the Registration Form and the user will be required to acknowledge the information via a Check Box.  The MacDolphins needed this for billing purposes.

The other new feature is the addition of e-mail confirmation of registration (and unregistration).  The person performing the action is sent an e-mail as is the list of e-mail addresses set up on the Registration Options tab.

Bug Fixes

A couple of minor form layout items were fixed in this build, nothing of major significance.

wp-SwimTeam v0.0.322 posted

This afternoon I uploaded v0.0.322 of the wp-SwimTeam plugin.

Bug Fixes

  • Permission requirements were wrong – to do much of anything required the user to have Administrator permissions.  It now works as outlined in the earlier post today.
  • Reporting has been fixed to account for an odd database query issue where in some cases, the age group for swimmers would show up as “none”.


  • Registration has been enhanced to support registration fees.  This is still a work in progress.  The fees can be entered but nothing is done with them yet.

wp-SwimTeam v0.0.313

wp-SwimTeam v0.0.313 is now available from the download page.


This update adds new reporting functionality for both swimmers and parents.  Full details for a swimmer, including their primary and secondary contact, can be generated.  Output of HTML (in a web page) reports is now supported.

Bug Fixes

This update fixes a problem with the Update Swimmer function which resulted in the form being displayed again after a save but only when nothing was changed.

wp-SwimTeam v0.0.310 available

As I noted in an earlier post, a minor update to the wp-SwimTeam plugin has been posted and is available for download.  This update fixes a the issues I encountered as I worked on the MacDolphins registration.  A couple of them were just dumb mistakes – some hardcoded paths that assumed the plugin path (from before I knew how to determine the plugin path).

While I was fixing the Report Generator I enhanced it – it can now export the primary and secondary contact details but only to the CSV version of the report.  The HTML report will be updated as well in the next day or two.

Note:  Make sure you download and install the phpHtmlLib plugin!  wp-SwimTeam won’t work with it.

wp-Swimteam v0.0.307 posted

A minor update to the wp-SwimTeam plugin has been posted and is available for download.  This update fixes a few minor issues I encountered as I prepared for a presentation to the Tarheel Swimming Association.  I am changing the way the Guidance for each user and management tab is displayed.  What was previously a DIV is now a table and looks a little better and more consistent across browsers.

Note:  Make sure you download and install the phpHtmlLib plugin!  wp-SwimTeam won’t work with it.