I am working on some new functionality to support mixed gender events. While I am at it I have decided to fix a limitation with the current Age Groups where the need to define overlapping age groups works but causes some discrepancies on the roster and other reports.
I have enhanced the definition of an Age Group so it can either be “Standard” (which is what it has always been) or “Combined”. A combined age group can support mixed genders and/or age ranges that span multiple age groups. By differentiating two types of age groups it cleans up the issues with overlapping age groups too.
Here are a couple of screen shots of what the changes look like. I am running through some testing now to make sure everything still works.
As I noted a couple days ago, I have started a “renovation” of sorts to my WordPress Google Forms plugin. I have defined a Custom Post Type which makes it much easier to set up a form. It is no longer necessary to worry about the syntax of a long complicated short code! Here are a couple images of what the Dashboard UI looks like.
Adding a form to a post or page is as simple as adding the
Unable to process Google Form short code.
short code where N maps to the form’s post id. The short code syntax for each Google Form appears in the list of forms.
The Google Form Edit Screen has fields which map directly to all of the short code attributes that were defined in the original short code.
There is no change of operation on the front end – the form should continue to operate as it has previously. If you’re interested in testing this new version, I hope to have a beta available fairly soon which also has some other new features.
Moving to a Custom Post Type may allow for some more robust field validation using the jQuery Validation plugin! Stay tuned for more details on that as I don’t think it will be in the first release of Custom Post Types.
This afternoon I fixed a couple of minor bugs and pushed out v1.34.963. The primary new feature in this release is the ability to export Meet Entries to Hy-tek Team Manager. I have had lots of requests to support Hy-tek over the years so I am happy to say I can finally support it!
As anyone who has read my postings over the past few years knows, I am no fan of Hy-tek. Between the closed data format and the awful user interface, it amazes me that their products have become the defacto standards for Swim Team and Swim Meet management but they have. If you want to play in this space you need to interface with Hy-tek. Fortunately some smart guys decoded the HY3 checksum and through lots of experiments some other people have figured out the HY3 file format so building on the work of others, I can now export a roster and meet entries in HY3 format.
I would appreciate feedback in this area as I have tested what I can but there is no such thing as too much testing and I may not have envisioned every scenario. There is also a very strong possibility that some of the fields in the HY3 format may not be in the right place or contain the right data.
I also fixed a number of issues when browsing Parents, Swimmers, and the Roster where the Search function wasn’t working correctly. Most of these problems were due to the SQL changes I made to address performance issues but a couple of them were due to allowing search against fields which are computed as opposed to extracted from the database.
I see on my Dashboard that WordPress 3.4 is out today. I knew it would be out soon as I follow the WordPress Hackers and WordPress Testers mailing lists but have not done anything with it yet. In the past I have tried to do a basic smoke test against one of the release candidates before the final release is out but this time I haven’t had the time to do it.
So the answer to “will it work?” is “I don’t know!”. I realize that isn’t a very good answer and I will try to test it in the next few days. My recommendation is to hold off until I’ve done some basic testing. I am not aware of anything that will break based on what I know is coming but until I test it, you never know!
I don’t have much documentation for wp-SwimTeam. It is on my to-do list but I haven’t made it a priority. When I first started the plugin, there were not a lot of options and capabilities but that has changed over the past three years. I get a few questions each week on where to start in order to use the plugin. Today I wrote up a quick summary of the steps necessary to get wp-SwimTeam setup and usable.
I also frequently get asked about the various short codes available to put swim team information in posts and on pages. I’ve started adding more information to the Demo site so the syntax of the short codes is clearer. See this post as an example of the various ways a Swim Meet schedule can be displayed.
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.
One of the changes I made in the last week has introduced a pretty significant bug in the Jobs module. If you assign a set of jobs from the Swim Meet tab, it may unassign a bunch of previously assigned jobs, possibly even from prior seasons. I have identified the bug and am in the process of fixing it.
I flew out to Phoenix and back this week and had some airplane time to work on wp-SwimTeam. I have completed what I am calling “Phase 2” of the Event Model changes. Events can now be assigned to a swim meet AND the Opt-In/Opt-Out system is working in the Event Mode (which I had broken in v1.18).
The majority of the work in this build is related to Events and their connection to swim meets which is the precursor to Phase 3 which will be the generation of Meet Entries in SDIF format that can be imported into tools like MeetManager and WinSwim. I have also fixed quite a few bugs in the report manager which were present when either the User or Swimmer option count was set to zero. There was some logic that didn’t test right and would result in using the default count which is 5. So if you have seen checkboxes without labels on the User or Swimmer report generator, this has been fixed.
Please let me know if you run into any issues. I am doing some testing with our team right now and we have our pre-season open house this weekend which tends to result in a good chunk of our registrations. Assuming all goes well, I’ll release an update to the WordPress repository early next week if not sooner.
This afternoon I released v1.18.747 of wp-SwimTeam. This release includes what I am calling Phase 1 of the new Event Model. The event model has been completely overhauled in anticipation of being able to generate Meet Entry files in SDIF format directly from wp-SwimTeam. The whole Events tab looks and works differently. Events are collected into what I call Event Groups. This release adds the ability to import events from a Hy-tek Events File (.hyv). Events are managed (added, deleted, imported, re-ordered, etc.) within the context of an event group. In Phase 2 events will be connected to a swim meet via an event group although the swim meet will still retain the ability to re-order the events on a meet by meet basis.
Key features in this release are:
Phase 1 of overhauled Event Model is complete. The new Event Model introduces the concept of Event Groups. Events are now defined in the context of an Event Group. Swim meets currently do not have any connection to Events but that will chance in a release fairly shortly in Phase 2.
Added ability to import events from a Hy-tek Events File (.hyv) into an Event Group.
Added ability to delete all events from an Event Group.
Changed Google Maps API Key from required to optional. If the API key hasn’t been entered, wp-SwimTeam will now gracefully work without it.
I changed a lot of code in this release, if you run into anything odd or functionality that isn’t working or behaves differently, let me know ASAP and I’ll do my best to fix it quickly. Now that I am back to a stable code base I should be able to turn bug fixes pretty quickly. That is hard to do when you’re doing a bunch of remodeling!
This release has been committed to the WordPress Plugin Repository so you should an update notification on your Dashboard. You can also download it and manually update it from the Download & Installation Page.
Edit (4/16/2012 @ 10:07 AM): This update includes a database update so you must de-activate and re-activate the plugin after updating to have the database upgrade run. One of these days I’ll figure out a more elegant way to do this!