MSTW League Manager 2.7 Fixed

I believe version 2.7 of League Manager is fixed and posted in the wordpress.org plugin repository. I did not change the version number, so you will not get a notice on your plugins page that it’s been updated. If you have previously installed it, deactivate it, delete it, and add it again. You can search for ‘MSTW League Manager’ on your site admin plugin screen, and it should pop right up.

I hope this is that last post on this subject, but if you encounter any other issues, please let me know and I will address it ASAP. But hopefully you won’t have to hear from me again until tournaments (MSTW Bracket Builder) are updated, and tournament games can be displayed in the League Manager schedules.

BTW, some of you have asked, and yes, the format for the [mstw_league_schedule_table] shortcode did change to better accommodate ‘meets’ in that schedule table. You will only see this if you are using the extensions in the MSTW League Manager Add-ons plugin.

Problems found in League Manager 2.7

Users have alerted me to the following problems with MSTW League Manager 2.7. If you haven’t installed it yet, WAIT a bit while we sort things out. I’m confident there are not significant issues, just some mistakes, but before I get to the specifics of the 2.7 builds, here are a couple of general pointers:

  • If you use the extensions in the MSTW League Manager Add-ons plugin, you should always install the SAME VERSION of League Manager and the Add-ons. I forgot to mention this in my release announcement/email.
  • If you expect to see the output of a plugin, maybe a pretty schedule table, and instead you see some text like [mstw_league_schedule_table league=league-slug season=season-slug], it’s always because the plugin code is not found. (This applies to all WordPress plugins, not just MSTW.)

As for the specifics:

  1. If you are using the MSTW League Manager Add-ons plugin, and you install the MSTW League Manager plugin version 2.7 but don’t install version 2.7 of the Add-ons, you may see a text message just like the one above. Install MSTW League Manager Add-ons version 2.7.
  2. If you see a text message like [mstw_team_schedule team=team-slug season=season-slug], it’s because I made an error packaging the build. I’m testing a patch tonight. I will post/email a message when the patch is available on wordpress.org.

I apologize for any inconvenience caused to plugin admin/users, and want to thank those who have helped me sort this out.

MSTW League Manager & LM Add-ons v2.7

New in MSTW League Manager – “Meets” with shortcode and template support. Watch more about meets …

Also in version 2.7 an “All Sports” sport concept intended for sites with a large number of teams, sometimes the high schools in an entire state. Watch more about All Sports:

“Local” sites generally track a manageable set of local leagues and teams – schedules, league standings, team rosters, highlights, and so forth. However they must manage a large set of teams on the site for non-league games and state playoff games against local teams. These sites don’t store any information about these non-local teams other than including them on local team schedules, tournament brackets, and meets. In particular, the site has no interest in tracking these teams’ leagues.

But here’s the problem: when creating a non-league game, all teams playing league’s sport so up in the drop-down list of teams for the game. But leagues, not teams, are attached to sports. So admins would create a “generic” league for a sport, and put teams in it. This works, but a non-local school may compete against local schools in many sports, and they have to be added to a “generic” league for each sport. This becomes a significant maintenance burden for literally hundreds of ‘non-league’ teams.

“All Sports” is one solution: In version 2.7 a “generic” league can be created as an “All Sports” league. If school A has 10 teams in 10 sports, one school A team can be created and placed in the “All Sports” league. That team will then appear in the team dropdowns for all leagues, regardless of the league’s sport.

League Manager & Add-ons 2.6 Released

Versions 2.6 of both the MSTW League Manager and the MSTW League Manager Add-ons plugins have been released. There are three main enhancements:

  • Added support for BYEs (or open dates). BYE games can now be created in Add Games and Manage Games screens, and then displayed in the shortcodes. This will support a much improved display of brackets with an “odd number of teams” in next release of MSTW Bracket Builder. Read more here.
  • Added the option to link game time/result to a media URL in the Settings screen, schedules tab. If there is a media link for a game, the link will be added and a media icon will be displayed in the time/result field AND YouTube links will be automatically embedded in the single game page content. Read more here.
  • Added a new multi-team schedule shortcode [mstw_multi_team_schedule], which behaves much like the multi-league standings and schedules shortcodes.
A number of minor bug fixes and JavaScript upgrades are also included.

There were no major upgrades to the MSTW League Manager Add-ons, it was simply updated to support the changes in MSTW League Manager, for example, support for BYEs in its plugins.

MSTW League Manager update should come up on your admin Dashboard -> Plugins. If you have purchased the add-ons, you should be able to access the update using the same link you received originally. If not, just let me know.

Patch for MSTW League Manager Version 2.4

I have been alerted to an annoying bug in MSTW League Manager v2.4 by a member of the MSTW community. (Thanks Michael.) If you are seeing messages like:

Warning: include_once(mstw-lm-duplicate-teams-class.php): failed to open stream: No such file or directory in /your-site/wp-content/plugins/mstw-league-manager/includes/mstw-lm-admin.php on line 98

Warning: include_once(): Failed opening ‘mstw-lm-duplicate-teams-class.php’ for inclusion (include_path=’.:/usr/local/php56/pear’) in /your-site/wp-content/plugins/mstw-league-manager/includes/mstw-lm-admin.php on line 98

on your live site or your admin dashboard. They are caused by my carelessness in releasing the build. (Chalk it up to “trying to do too many things at once”.)

Other than being annoying, these warnings do not indicate any dysfunction in the plugin. So if you haven’t seen them, don’t worry about it. But if they are annoying you and you’d like to eliminate them, there are three ways to do so:

  1. If you are code savvy, you can open the mstw-lm-admin.php file in your site’s plugins/mstw-league-manager/includes directory and remark out line 98 that includes the mstw-lm-duplicate-teams-class.php file.
  2. Pull the mstw-lm-admin.php file from the development trunk on wordpress.org ( https://plugins.svn.wordpress.org/mstw-league-manager/trunk/includes/ ). Right click on the file and select Save Link As from the pop-up menu. This is download the file to the location you choose.
  3. De-activate and delete the plugin from your site, and re-install and re-activate it.

League Manager 2.4 Released

MSTW League Manager version 2.4 is now available at WordPress.org (League Manager).

This release contains the following upgrades and bug fixes:

  • The Update Games screen can now be filtered by sport and date in addition to league and season. For example, it’s now easy to filter and update all the football games on a Friday night.
  • A bug was corrected in the Date Picker. It now functions properly across several screens.

League Manager 2.3 & Addons Available

MSTW League Manager and MSTW League Manager Add-ons version 2.3 are now available on WordPress.org (League Manager) and the MSTW Store (LM Addons).

MSTW League Manager 2.3 contains the following new features:

  • New multi schedule shortcode [mstw_multi_schedule_table]
  • New sport schedule table [mstw_lm_sport_schedule]
  • Added new fields for games: “Game Name”, “Status Replace”,and “Status Append”. These fields modify the game time/status/result blocks in all front end displays: schedule tables, tickers, sliders, and galleries, and the single game page.
  • Modified the way mstw_multi_standings_table ‘remembers’ the value of the selected league. It no longer uses cookies.
  • Fixed a bug with the Google Maps link images in the Venue Table.

In this release, there is no new functionality in the addons, but the plugin has been modified to support new features in League Manager. It is always recommended that you keep the releases in sync.

The multi schedule shortcode [mstw_multi_schedule_table leagues='league-slug-1,league-slug-2'] provides functionality that is very similar to the multi standings shortcode. A drop-down control with the leagues (or groups in the case below) passed in the leagues argument, and a drop-down control with the seasons for those leagues are provided. The table then shows the schedule for the selected team in the selected season as shown in the screenshot below.

A typical way this might be used is to display the current and all the archived seasons for one league using relatively little screen space.

New Releases of League Manager & LM Addons

MSTW League Manager 2.2 and MSTW League Manager Add-ons 2.2 are now available on WordPress.org (League Manager) and the MSTW Store (LM Addons).

The MSTW League Manager Add-ons are designed for websites that use MSTW League Manager to maintain multiple league schedules, and large numbers of teams and games. MSTW League Manager 2.2 has been enhanced to better support the features of the LM Addons for large sites, but it will run just as before without the add-ons.

NEW in Version 2.2

  • The School (or organization) database allows Teams to be assigned to schools. Any missing team data – names, mascots, logos, etc. – is inherited from the teams’s school. This greatly reduces the data entry requirements when teams are moved forward to new years/seasons.
  • The Sport database allows Sports to be assigned to Schools. This association may then be used in page templates, which can greatly reduce the number of pages and their maintenance for websites with large numbers of leagues, schools, and teams.
  • Rosters from the MSTW Team Rosters plugin can be linked to a team. (Version 4.1.3 of Team Rosters is required to support this feature.)
  • Changed a ‘design decision’ that prevented more than 300 games from displaying properly in sliders and tickers.
  • A media icon (with link to a media file or website) can be displayed on schedule sliders, tickers, galleries, and scoreboards.
  • The display in the Media column in schedule tables when no media link is found now defaults to a blank (rather than “No media found.”), which allows the column to be ‘re-purposed’ more flexibly.
  • Added filters provide control over the message displayed when no media is found and when no location is found.

In addition, a SCHOOL Scoreboard shortcode has been added to the existing LM Add-ons shortcodes for TEAM sliders, SCHOOL sliders, SPORT sliders, and LEAGUE Scoreboards. TEAM, SCHOOL, and SPORT tickers and a SPORT scoreboard are on the drawing board for a future releases, which will be included as part of the plugin’s support. Read more about these features in the MSTW Store and on the MSTW League Manager Add-ons man pages.

MSTW Bracket Builder – New Release & Planned Builds

Version 1.1 of the MSTW Bracket Builder Premium plugin is now available. It is primarily a maintenance build, including:

  • Extensive work done in the plugin’s default stylesheet (/css/mstw-bb-styles.css). The tournament brackets display beautifully in my development theme (a WP Twentyeleven child theme). See http://dev.shoalsummitsolutions.com/t-test/. Some CSS work may be required for your theme. The primary driver is the width of the bracket’s containing element. It should be at least 750 pixels wide for basic single elim brackets and 900 pixels wide for double elimination brackets with consolation games.
  • Fixed bug that displayed -1 in the League column of tournaments table on the Tournaments screen when no league has been selected.
  • Fixed bug that displayed -1 as the team name when no games had been entered (updated) on the Update Games screen.
  • Updated the users manual. Check it out at http://shoalsummitsolutions.com/category/users-manuals/.

Upcoming versions of the MSTW Bracket Builder Premium plugin will include:

  • Restructure tournament set-up. The current tournament setup of the first round is awkward and non-intuitive. We will try to improve it. The improvements will also accommodate the two enhancements described below. If you have some suggestions, please send them along ASAP.
  • Better display of multiple first round BYEs. Ever build a 10 team tournament? It’s annoying to deal with six first round BYEs, and the team receiving the BYE can be advanced to the second round, the first round byes need not appear in the graphical display of the bracket.
  • Group or round-robin play. There have been many requests to better incorporate group play to fill the bracket (or knockout round). Round robin play can be handled with (small) leagues in MSTW League Manager. How we can do this without further complicating the first round setup remains to be seen, but we’ll push the rock some distance down the road.

.

MSTW League Manager Add-ons 1.1

MSTW League Manager Add-ons 1.1 was released today. It is a minor release containing the following features and fixes:

  • Nonleague games are now shown by default. So you only need to use the show_nonleague argument if you DO NOT want to show nonleague games, then use show_nonleague=0 in the shortcode.
  • Media icon with link appears in all shortcodes when a game has a media link. (Update games or Manage Games screen).
  • All shortcodes now support multiple seasons.

If you have already purchased version 1.0 of the plugin, you should be able to download version 1.1 using the same link you received with your purchase. Otherwise, what are you waiting for? You can purchase the plugin from the MSTW Store.