Quick update to wpSwimTeam v1.12.662

There was a typo in one of commits I made over the weekend which resulted in the Opt-In/Opt-Out CC address not working correctly.  This release fixes that problem (which was affecting the MacDolphins).  The release is available from the Download page and has also been committed to the Plugin repository.  It should appear via the Auto-Updater in the next hour or two.

Update: I had the version number wrong in the post title – the correct version is 1.12.662.

wp-SwimTeam v1.11.659 now available

About a week ago one of the volunteers inadvertently registered (Opt-In) our entire rosters for a swim meet.  An Opt-In will supercede any existing Opt-In or Opt-Out information so we lost our entire scratch list for our meet this past Tuesday.  I was out running errands getting my son ready to go on a mission trip when I started seeing numerous registration e-mails coming across my phone.  Yikes – what happened?  Initially I thought someone had gotten administrative access to our database and was playing games.

As it turns out the mistake our volunteer made was an honest one and I tracked it down by examining the Opt-In/Opt-Out records in the database.  I have always logged the user ID for the user who submitted an Opt-In/Opt-Out request but never displayed it as I never had a need.  It would have been really useful last weekend – imagine digging through your database using phpMyAdmin on an iPhone which is how I found it because I wasn’t anywhere near a computer at the time.

As a result of this exercise I have enhanced the Swim Meet Report on the Report menu to optionally show the user detail for the user who submitted the request.  I also changed the Time Stamp so it can be shown if desired.  Both of these options are on by default.

This release also addresses a bug where Opt-In/Opt-Out email confirmations were being sent to the Registration e-mail address.  For a lot of teams this is probably same address but for the MacDolphins it is not.  The result was our Accountant was being flooded with Opt-In/Opt-Out email confirmations and has been for the past three years!  She never mentioned it to me until recently.  Oops!

The release is now available from the Download page but has not been committed to the WordPress Plugin Repository yet because WordPress changed all of their passwords last week.  While I can login to WordPress.com without any problems, I cannot get access to the plugin repository.  Hopefully I will get this sorted out soon and then it should appear as an automatic update from the WordPress plugin repository shortly.

Update: I finally got my WordPress.org password issue straightened out and have committed the latest set of changes.  The automatic update process should proceed within a couple hours.

wp-SwimTeam v1.10.651 now available

I have tracked down the problem that was causing the opt-in/opt-out list to be displayed incorrectly when called from the wpst_meet_report short code.  I have fixed the problem and made a new release available.  The release is now available from the Download page and has been committed to the WordPress Plugin Repository.  It should appear as an automatic update from the WordPress automatic update process in the next couple of hours.

 

Definite bug in Swim Meet Report short code

There is definitely an issue with the Swim Meet Report, particularly the opt-in/opt-out list, produced by the wpst_meet_report short code.  It produces different results depending on whether or not a user is logged in to the web site and what WordPress capabilities the user has.  I hope to have a solution this morning as it is causing a fair amount of confusion with my own team!

Looking at Meet Entries

I have started looking at generating meet entries (SDIF) directly from wp-SwimTeam.  When you factor in events, strokes, registrations, scratches, and relays, the problem of generating meet entries becomes fairly complicated.  I’ve been sitting on the couch watching golf and perusing the SDIF specification and have a pretty good idea of what I want to do, now I just need to decide how to do it.  For the time being, I think I am going to focus on individual events as they are much easier generate than the relay events.  However, I don’t want code myself into a corner and make relay events hard to implement so I can’t decide what to do.  I also need to decide if I approach this from a roster perspective (ie by swimmer) or from the meet perspective (ie by event).  Hmmm …. decisions, decisions!

Possible Bug in Meet Report Short Code

I noticed an inconsistency on our meet opt-in/opt-out page (which is based on the short code) earlier this week and it was also seen by another team.  I suspect there is a bug that I need to track down.  In my case the report generated from the short code didn’t include all of the swimmers that the meet report generated from the Options->Reports->Swim Meets tab on the Dashboard included.  In looking at it, the Dashboard report was correct, the short code report was not.  I plan to chase this down in the next day or so.

wp-SwimTeam 1.9.646 now with Job Reminders!

I have uploaded an early release of 1.9.646 to the Downloads page.  This new version has the ability to send out Job Assignment reminder e-mails.  There is a new action available from the Manage->Swim Meets tab called “Job Reminders”.  This action will pull all of the job assignments for the requested meet and send a reminder e-mail to each person.

The MacDolphins are testing this functionality this weekend for our Time Trials on Tuesday and barring any problems, I’ll make it available via the WordPress plugin repository later tonight or early tomorrow.  If you want it early, download it and install it manually from the Download page.

Job Reminder E-mails

Several clubs, including my own, have asked if I would add a feature to send out reminder e-mails to people for the Jobs they have signed up for.  Today I implemented this feature and am in the process of testing it on the wp-SwimTeam Demo site.

The Job Reminder e-mail will look fairly similar to a Job Sign Up e-mail and will be sent when the Admin chooses to initiate the action.  E-mails can be controlled to limit who receives them based on the Job Duration (Full Meet, Partial Meet, Full Season, etc.).  In most cases, the Reminders need to be sent out to the people working the Meet Jobs.

Look for this update in the next day or so after I’ve done a bit of testing with it.

wp-SwimTeam v1.8.642 now available

Over the past week or so I’ve been working on some new functionality that is finally ready to go.  The opt-in/opt-out module has been based on strokes since the initial implementation and this model worked well for the MacDolphins but some other teams prefer to register (or scratch) swimmers on a per event basis.

Events have been supported for a while but other than adding them to a swim meet, nothing has been done with them.  The existing event functionality is the basis for the results work I hope to complete some day.  Because the Event information is already defined, allowing the Opt-In/Opt-Out module to be based on the actual events was pretty straight forward.  There is a new setting on the Options->Swim Team tab which controls which Opt-In/Opt-Out model wp-SwimTeam uses (Event or Stroke).  By default it will continue to use Stroke since that was the original functionality.

The new functionality had a ripple effect across much of the plugin, causing changes to the Reports module and other places too.  While working on the Reports I decided to expose the Job Assignments and Swimmers Reports for all users however non-admin users will only see their own job assignments or their own swimmers.  This new functionality also came from one of the MacDolphins parents who wanted to be able to see which jobs she had signed up for.  In the same conversation, another parent asked me if I could make it so she could see if she had scratched her swimmers.  These two requests led to exposing some of the Reports in a limited fashion to all users.

The last major feature is the ability to run a report that shows the parents of active swimmers and their status against the volunteer (jobs) commitment set by the team (set it to zero for no commitment).  This is a feature our volunteer coordinator has been after me to implement for some time.  While the Report works fine, it is a little slow, particularly the first time it is run so be patient.

The new version modifies the database tables so PLEASE BACKUP your database before you install it.  I don’t expect any issues and I’ve been running it on the MacDolphins site for the last two days but it is always a good idea to backup your database before upgrading.

There are a few other minor bug fixes and cosmetic changes that I made while working on these improvements.  I ran into one very odd bug that only exposed itself on Chrome – I’ve changed the Load All Events functionality because the Javascript that pulled all of the events from one list box to another didn’t work on Chrome.

There are still some things to improve – I’d like the list of events a swimmer can be registered for be limited to the events for their age group but don’t have good solution for that right now.  I am considering using icons across the action bar instead of the drop down menu.  I had moved away from buttons because they didn’t fit but the dropdown actions are confusing so don’t be surprised to see icons in the near future if I can find some I like!

The WordPress plugin repository has been updated so the plugin should begin to auto-update soon too but in the meantime, you can find the latest release on the download page.