wp-SwimTeam v1.33-beta.948 now available

This afternoon I posted an early build of wp-SwimTeam v1.33.  You can download it and manually install it if you would like to try it.  This build addresses a number of bugs which I introduced by changing the SQL in v1.32 for querying user data as it relates to swimmers.

Please let me know if you run into any issues.  I plan to release this later today after some more testing.

Download:  [download#14]

If you run into any problems, please let me know.  I’d like to release this update in the next day or so.

Beta build of v1.32 available

This evening I posted an early build of wp-SwimTeam v1.32.  You can download and manually install it if you would like to try it.  This build introduces new SQL to address some pretty serious performance problems querying user data as it relates to swimmers.

For several weeks our Swim Team Chair has been telling me there is a problem with the Job Commitment Report.  I have been chasing this problem only to have it “go away” and start working correctly.  I finally figure out that it was related to the large number of users registered with the site (we have almost 300).  I was able  replicate the problem by creating a large number of dummy users in my development database.  The manifestation of the problem was most evident on the Job Commitments Report.  The page would “go away” and give the appearance of a hung process. In some cases the report would finish but might take 4-5 minutes (ugh), in others it would timeout and return an error.

I had to solve a similar problem for the Email Users plugin last week so once I figured that one out, it dawned on me what the problem with wp-SwimTeam might be.  Fixing it in wp-SwimTeam is a little more involved because of the database table relationships are a little more complicated.  I’ve learned a lot about JOIN ON this week and this beta release represents completely new SQL for querying user data.

I’ve been through all of the tabs and forms at least once but there is a chance I’ve missed something.  I am running this beta build on the MacDolphins web site and if I don’t run into anything over the next few days, I’ll go ahead and release it.

Download:  [download#14]

If you run into any problems, please let me know.  I’d like to release this update in the next day or so.

wp-SwimTeam v1.31.918 now available

This morning I released an update for wp-SwimTeam.  This version addresses a few issues and completes the Hy-tek Team Manager Roster Import functionality.  You can find it on the Download and Installation page or through the WordPress Dashboard and the Plugin Repository.

  • Completed Hy-tek Roster export. All fields that can be mapped into some sort of logical Hy-tek Team Manager field are now supported. TM supports up to three custom fields in the roster import file, if optional swimmer fields are enabled, the first three (or fewer) will be mapped into the corresponding TM custom field.
  • Fixed bug where in some instances, the first name would be blank.
  • Fixed alignment (right instead of left) of Swimmer Id field on SDIF F0 records in entries export.
  • Fixed minor white space issue in PHP source code which in some cases seems to cause the Job Commitment Report to hang.

wp-SwimTeam v1.30.906 addresses entries export bug

In the processes of getting ready for our first meet I found some swimmers who had scratched still appeared in the entries SDIF file.  Odd, this isn’t supposed to be.  Looking into the problem I found that only Freestyle was being processed correctly, all other strokes were not being recognized for Opt-In or Opt-Out.

I have fixed this bug and uploaded a new version as well as pushed it to the WordPress plugin repository.

wp-SwimTeam v1.29.903 now available

I have just pushed out v1.29.903 of wp-SwimTeam.  This update addresses a couple of bugs, notably with the Job Commitments report, and adds some new functionality.

New in v1.29:

  • Fixed bug which prevented the Job Commitment report from running correctly.
  • Fixed bug which caused “$credit” to appear in the CSV version of the Job Committment Report instead of the actual number.
  • Added new option to set initial value on swimmer labels with numeric sequences.
  • Fixed bug with SDIF profile when Geography was set to US which resulted in a broken form.
  • Elimited some debug code which generated output when exporting entries.

Also included in this build are all of the changes included in the v1.28 beta release which I never formally made available.

  • Added button to Swim Team User Profile form to quickly open user’s WordPress User Profile form.
  • Tidied up several of the reports to make them consistent. Each should now display the HTML report on screen when exporting another format.
  • Re-implemented download solution for actions which generate downloadable files (e.g. CSV, SDIF, etc.)
  • Phase 1 of Hy-tek HY3 export support. Roster can be exported in HY3 format which imports into Hy-tek Team Manager.
  • Fixed bug which enabled job signup for all users regardless of setting on Jobs Options tab.

This update has been committed to the WordPress Plugin Repository and should appear on your WordPress Dashboard shortly and is also available from the Download and Installation page.

wp-SwimTeam v1.27.879 now available

A new build, v1.27.879, is now availble. This build fixes the problem in the Jobs module where previously assigned jobs were not being displayed correctly which resulted in jobs appearing open which actually were not.

This build also addresses a few minor nits which it looks like didn’t make it into the version of the plugin available from the WordPress plugin repository.

  1. I’ve added a new option to Miscellaneous tab to control how time is formatted. Usage of the format is not yet pervasive through the plugin.
  2. Enhanced wpst_meet_schedule shortcode with two new attributes: fmt=’time format’ and ‘showtime=yes|no’. Default is not to show the time and use the time setting from the Miscellaneous tab. The fmt attribute expects a string formatted following the conventions outlined in the PHP date function.
  3. Removed redundant code from Swim Meet module.

The build has been pushed to the WordPress plugin repository and also appears on my Download & Installation page.

Job Bug in v1.25 and v1.26!

There is a pretty serious bug in the last couple of releases. It appears that the changes I made to support Multi-Site affected the Jobs module.

It appears that jobs that have already been committed to one user appear as available to all other users.

I am at a Lacrosse tournament and have limited access from my phone to be sure. For now, I recommend putting your Jobs module in “Admin” sign up mode until I investigate later tonight. Use the Jobs tab on the Options menu to disable User job sign up.

Update 5/13/2012:  This bug has been fixed in v1.27, please update ASAP.

wp-SwimTeam v1.23.838 now available

I have fixed the bugs I noted over the weekend and also re-implemented the SDIF LSC Registration Pyramid export.  The new export validates with the WinSwim SDIF Checker and I have successfully imported the MacDolphins’ 2012 summer roster into WinSwim with it.  I fixed a few other bugs I found including one which prevented updating User Profiles.

The new version is available from the Download page and from the WordPress plugin repository.

As always, if you run into any issues, let me know!

 

Bug Report for v1.22.x

Here are a couple of issues that I am working to fix this morning, an update should be available shortly.

  1. LSC Registration Pyramid doesn’t pass SDIF Checker.
  2. Can’t add or import events for an Event Group that doesn’t have at least one event already.

Please let me know if you’ve encountered any other problems.

Export Meet Entries from wp-SwimTeam!

For the last week or so I’ve been working on a significant chunk of new functionality to export a Meet Entries file directly from wp-SwimTeam.  I’ve got a preliminary version of it working and I am able to generate a SDIF file which passes validation with the WinSwim SDIF Checker (which is absolutely invaluable if you work with SDIF data!).

The current implementation makes some assumptions (e.g. how zero times should be handled) which need to be under the control of the end user via a form. Now that I have it working, building the form should go pretty quickly.

The basic premise of exporting meet entries works is like this:

For each event in a swim meet (a meet must have a set of events connected to it), the active roster is compared against the scratch list and the remaining eligible swimmers have entries created for them.  For relay events, all eligible swimmers are listed as alternate swimmers for the ‘A’ relay team.  Once the entries are in your Meet Management tool, you can re-arrange swimmers into lanes and heats as you would normally do.

I know this new feature will save our team a ton of time as we try to reconcile our scratch list against the WinSwim database – now we won’t have to.  We’ll just import the entries and not have to worry about activating or deactivating swimmers.

I’ve also fixed a number of bugs so I am considering releasing an update with the functionality as it stands so people can try it out.  The bugs would be most obvious when either the User or Swimmer option count was set to zero.  In a number of places, the comparison was wrong and it result in using the default number of options which is 5.