I’ve had a number of reports recently regarding loss of line breaks when sending out Post or Page notifications. Nothing has changed in Email Users with respect to formatting the post prior to sending it via email. However, the fact that several people has run into this problem concerns me.
The only thing I can think of which would result in loss of line breaks is if the the_content() or the_excerpt() functions are not calling the wpauto filter (which both do by default unless turned off). As noted in the Codex page, some plugins and themes remove the action.
I’ve added a check within the Email Users Dashboard widget to report the state of the hooks which could reformat the text. The the_content hook is the most likely to change the formatting of the post content but the other two listed could also affect it in some cases.
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.
I released a second build today, v1.26.871 was pushed out late tonight. I don’t like to do this as constantly having the Update notice on your Dashboard can be a bit of a nuisance. We’re gearing up for Swim Team, he have our season opening party in one week so I’ve am trying to get ready and have been working on the plugin a lot over the past few days.
This build addresses a few minor nits but the primary new feature is the ability to display the meet time as part of the wpst_meet_schedule short code.
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.
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.
It will be summer swim team season before I know it so it is time to start gearing up for the upcoming season. I haven’t really looked at wp-SwimTeam since last fall and WordPress has had several updates since then. I found out today that one of the updates causes the “real name” for the users not to be returned so that is first on my list of things to fix. There are also some GUI inconsistencies that I’d like to fix.
This is my short list of items which I want to implement this season:
New/update Swim Team theme. This really isn’t related to wp-SwimTeam per se but our site is looking a little dated and it is time to freshen it up.
Results Import: I said I was going to do this last season and I never finished it. I really want to get this done this year.
Export of Meet Entries: The wp-SwimTeam plugin has all of the informtation (roster, scratch list, event list, etc.) to generate a Meet Entries file in SDIF format. Providing this file will greatly simplify getting a team’s entries into either Hy-tek or WinSwim (or any other tool which imports meet entries). This will likely be first on my list after fixing the name bug and the GUI inconsistencies.
Document all of the short codes on the wp-SwimTeam demo site. I really need to do this. It would make it much easier for new people to pick up the plugin and do something useful with it quickly.
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.
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!
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.
Last night I committed a bunch of changes to clean up the Meet Schedule Short Code. Previously it only worked for the current season, the optional seasonid argument was ignored. It is now working – if the seasonid argument is not included in the short code then the active season will be used.
I also added a column for the Id in the Admin view of the seasons, swim clubs, and meets since the Id is used in the short codes. By putting the Id in the list, there isn’t a need to drill down into the item detail to see what the Id is in order to use it in a short code.