Media Links

The capability to link media to games as been enhanced in release 2.6 as described below.

Game Media Field(s)
On the Manage Games and Add Games screens there are Media Label and Media Link fields. The Media Label appears on the Media column of schedule tables and links the Media Link, which should be a valid URL. These fields and their use https://swisswatch.to is unchanged, HOWEVER, many users do not want to give up the screen space needed to display a Media column. So, now the Media Link field does more …

If a Media Link (URL) is provided, Schedule Tables, Galleries, Sliders & Tickers will display a video icon with the Game Time/Result that links to either the Game Page or the Media Link (URL).

Settings
The Schedules Tab on the Settings Screen has a drop-down menu where one can select where the Time/Result field’s see page text and media icon link: None|Game Page|Game Media. This setting applies to Schedule Tables and Galleries, and slightly differently to Tickers and Sliders.

Schedule Tables & Galleries
In addition to displaying the Media Column in a Schedule Table, the Media Icon can be displayed in the Time/Result field, depending on the setting described above:

    • None – no link is provided.
    • Game Page – the game time or result links to the Single Game page (see below). The Game Media icon is not displayed.
    • Game Media – The game time or result links to the Game Media link (URL), if there is one. The Game Media icon is displayed with the game time or result.

Schedule Sliders and Tickers
Sliders and tickers display the media icon in the Game Time/Result field whenever a Media Link is provided for the game. The media icon is linked to the game page or the media link (URL) depending on the Time/Result link setting explained above.

Game Page
Many users find linking to the Game Page to be the best option. The Game Page will display the Media Icon with the Game Time/Result, which will link to the game media URL. In addition, if the media link is to a YouTube video, it is automatically embedded in the Game Page content. The Game Page below was generated simply by specifying a link to the YouTube video in the game’s Media Link field. A YouTube video can be embedded in a game’s content on the single game page simply by adding a YouTube URL to the game’s content on the Manage Games -> Edit Game screen. (This automatic embedding only works for YouTube.) Note that other text, images, and links can also be provided in the game content.

Changing the Media Icon
The Media Icon can be changed from the default shown above. (It is 16x16px.) Simply replace the mstw-video-icon.png file in the mstw-league-manager/images directory.

BYEs or Open Dates (v2.6+)

Starting with version 2.6, MSTW League supports BYEs or open dates in schedule tables and galleries.

The following steps are involved here:

Database Management
The AWAY TEAM controls on the Add Games and Manage Games screens now support selection of BYE as the team. This adds an open date to the home team’s schedule. Note that BYE can only be assigned to a AWAY teams, not HOME teams.

Front End Displays
Open dates (BYE games) can be displayed or hidden in shortcodes using a plugin setting or shortcode arguments.
o Settings. There is a new Show BYEs checkbox on the Settings screen.

In the first screenshot above, the show byes setting is checked (on).

o Shortcode arguments. Some shortcodes (see below) support the following argument.
show_byes = 0|1 (hide|show)
The meaning/usage should be self-evident. The following screenshot is shows the same shortcode at the top of this page with the show_byes argument set to 0 (hide).

BYEs can be displayed (or not) in the following shortcodes:

  • mstw_league_schedule_table
  • mstw_team_schedule
  • mstw_team_schedule_2
  • mstw_league_schedule_gallery
  • mstw_league_schedule_gallery_2
  • mstw_lm_sport_schedule (in MSTW Add-ons)

There is no particular reason for these choices other than what seems to make sense. For example, Scoreboards are intended to show game results and open dates don’t have game results. Tickers are intended as summaries of schedules and results, often at the top of a web page. (The major sports sites all do this.) They are not intended as ‘detailed’ schedules. But reasonable people can disagree, so if there’s a shortcode you feel really should show open dates, please let me know via email and I will reassess.

Internationalization. For whatever reason some users may want to change the string “BYE” indicating an open date to another language, or something like “Open Date”. The plugin is “translation ready” so the string “BYE” can be converted to whatever one might like using the standard WordPress translation tools (e.g. PoEdit). There are many tutorials on how to accomplish this in WordPress. Post to the plugin support page if you would like some help.

MSTW Team Rosters 4.1.4 Released

This release corrects a long standing (or dormant?) bug that caused the Settings to not be saved correctly. It also removes a couple of annoying PHP Warnings and Notices.

League Manager & Add-ons Version 2.5

Version 2.5 of both the MSTW League Manager and the MSTW League Manager Plugins have been released. A couple of new shortcodes have been added, a couple of minor bugs fixed, and some mods have been made in preparation for some new admin features and 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.

Upcoming MSTW Plugin Releases

Happy Holidays to all and thank you for your support in 2018! A number of MSTW plugin releases with lots of cool new features, not to mention 1 or 2 bug fixes, are looming in 2019:

o MSTW Bracket Builder Premium version 1.3 has been released. Read more about it here.

o New releases of MSTW League Manager and League Manager Add-ons are coming very soon. They contain a number of new shortcodes, some back-end admin features, and some enhancements to better support those of you building sites on the MSTW plugin framework.

o More features for League Manager on both the front and back ends are in development and test. Expect to them this spring. (Sorry, no hints! But if there’s something you would really like to see, let me know now.)

o A minor build of Team Rosters is coming soon. In addition to a number of “maintenance items”, it will include a new shortcode for a player gallery view of a table of player photos.

o A major build of Team Rosters is planned for later this year. In fact, it will probably be an entirely new plugin in order to clean up a number of issues. It will update the plugin’s database structures so that rosters will work seamlessly with the League Manager teams. The plan is to migrate existing rosters – teams and players – to the new structure automagically.

Happy New Year!

Bracket Builder Premium 1.3 Released

MSTW Bracket Builder Premium version 1.2 has been released. A couple of rather large bugs have been corrected, a number of small ‘issues’ have been cleaned up, and the documentation, including the FAQ and Quick Start pages, has been updated, as well as a couple of new video Tutorials – Common Problems and Create Teams. If you have trouble downloading the latest version from this site using the link you received at purchase, please contact me and we’ll get it squared away.

NOTE: You should deactivate and delete version 1.1 before installing version 1.2. Any tournaments you have created with version 1.1 will be available in version 1.2, despite the warning about about “deleting the plugin and all its data”.

BB: Common Problems with Bracket Builder

This tutorial walks through the common questions that arise with the MSTW Bracket Builder (Premium Version) plugin. https://youtu.be/MegOKydoTnA Caveats & Common Errors There are two important buttons on the UPDATE GAMES admin screen. Update Tournament Table at the top of the screen simply updates the data on the admin screen based on the tournament selected in the combo box. It…

This content is for MSTW Gold Support and Bracket Builder (Premium) members only.
Log In Register

LM: Create a Team with Home Venue

This tutorial shows you how to create a team with a home venue in the MSTW League Manager plugin. Teams with home venues are created exactly the same way in the MSTW Bracket Builder (Premium Version) plugin. See also, the MSTW Bracket Builder Premium Version Quick Start man page. https://youtu.be/gpLSAlAvvj0 Back to Tutorials…

This content is for MSTW Gold Support and League Manager Add-ons members only.
Log In Register

BB: Create Team with Home Venue

This tutorial shows you how to create a team with a home venue in the MSTW Bracket Builder (Premium Version) plugin. See also, the MSTW Bracket Builder Premium Version Quick Start man page. Teams with home venues are created exactly the same way in the MSTW League Manager plugin. https://youtu.be/_nYAB0djssw Back to Tutorials…

This content is for MSTW Gold Support and Bracket Builder (Premium) members only.
Log In Register

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.