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!
Here are a couple of issues that I am working to fix this morning, an update should be available shortly.
- LSC Registration Pyramid doesn’t pass SDIF Checker.
- 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.
This evening I committed v.122 of wp-SwimTeam to the WordPress plugin repository. This update completes the work I started about a month ago to overhaul the Event Model and add the ability to Export Meet entries in SDIF format such that they can be imported directly into any of the Meet Management applications.
I have made a lot of changes while working on this new functionality. If you run into anything unusual, please let me know ASAP so I can fix it.
- Added new Team Profile field to identify Coach by WordPress username.
- Fixed numerous potential issues when either Swimmer or User option count was set to zero. The comparison was not accounting for the difference between zero and non-existant which resulted in using the default value of 5 in many instances.
- Initial support for Meet Entries SDIF export. The current implementation makes some assumptions which will eventually be under user control via a form. The exported SDIF validates with the WinSwim SDIF Checker application but has not been tested extensively with any of the Hy-tek tools nor with WinSwim itself.
- Added checking and error messages for all Actions to ensure something is selected when required.
- Added GUI for Meet Entries Export.
I have made an early release of wp-SwimTeam v1.22 available for download. This new version introduces the ability to export a Meet Entries file in SDIF format. I touched a lot of code as I worked on this feature and fixed a bunch of bugs as well as some nits which have always bothered me. This version also adds checking on the various actions to ensure that when a selection is required, one has been made.
Please give it a shot and let me know if you run into any issues.
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.