MSTW League Manager Plugin Users Manual

MSTW League Manager Overview & Quick Start Guide

The MSTW League Manager plugin manages multiple leagues, their teams, and their teams’ records. A variety of shortcodes are available to display league standings, league schedules, and team schedules. An extensive set of display settings is available through the admin screens to customize these displays. Displays may be further customized via Cascading Stylesheets (CSS). Four shortcodes for front end displays … Continue reading

Actions & Filters

Several actions and filters are available to allow customization of a number of features as described in the following paragraphs. mstw_lm_percent_calc – customize the win percentage calculation mstw_lm_points_calc – customize the points calculation mstw_lm_sports_list – customize the list of sports mstw_lm_tbd_list – customize the list of TBD formats mstw_lm_date_formats – customize the list of date formats mstw_lm_time_formats – customize the … Continue reading

Calculating Points

Points are calculated based on the plugin’s settings for points awarded for wins, losses, ties (or draws), overtime wins, and overtime losses. The formula is: $points = Wins * Pts_For_Win + Losses * Pts_For_Loss + Ties * Pts_For_Tie + OT_Wins * Pts_For_OTW + OT_Losses * Pts_For_OTL So point calculations may be customized for each SPORT via the Settings Admin screen. … Continue reading

Calculating Win Percentage

Win percentage is calculated by the following formula: ( Wins * Ties / 2 ) / Games_Played This formula is fairly standard, but hardly universal. For example Major League Baseball uses Games Behind, and the National Hockey League uses “Points Percentage” which is calculated as follows: ( 2 * Wins + Overtime_Losses ) / ( 2 * Games_Played ) To … Continue reading

CSS Styling of Front End Displays

The plugin provides flexibility in styling the front-end displays (from shortcodes) via Cascading Style Sheets (CSS). The plugin’s stylesheet, /css/mstw-lm-styles.css, should not be modified. If you do, your changes will be wiped out when the plugin is updated. A better option is add your customizations to a stylesheet named mstw-lm-custom-styles.css, and save it in your theme’s home directory. If such … Continue reading

Frequently Asked Questions

I need to create a single (double) elimination tournament bracket? Will this plugin help? Not today. Tournament brackets are planned for a future release. Sign up for our newsletter to track new releases. Can I add non-league games to a team’s schedule? Yes. First, let’s reset the challenge. The plugin was written for leagues, league standings, and league schedules. (duh!) … Continue reading

Games – Add Games

The Add Games screen allows you to add games in bulk to a given league and season. First, select the league and season, then enter the games. The process is fast and straightforward. The most important thing to know about using the screen is that when the plugin finds a row with the same Home and Visitor teams, it stops … Continue reading

Games – Edit Game

Use the Edit Game screen to add games or edit games. Notes on some of the fields and actions are listed below, and annotated on the screenshot that follows. Game Data Metabox The Game Data metabox contains the basic schedule information for a game. It is basically the data that can be entered in bulk on the Add Games screen. … Continue reading

Games – Manage Games

The Manage Games screen provides a view into, and is the gateway to edit the Games database. Notes on some of the fields and actions are listed below, and annotated on the screenshot that follows. Leagues & Teams Filters. Select a league and/or a team, then press the Filter button to filter what could be a very large list of … Continue reading

Games – Update Games

The Update Games screen allows the status for all games in a given league and season to be updated quickly. This is much quicker than editing the games one-by-one on the Manage Games screen. The game dates, times, and teams cannot be changed on this screen; use the Manage Games screen to make those changes. The primary data fields and … Continue reading

Import from CSV Files

Currently Venues and Teams can be imported in bulk via Comma Separated Value (CSV) files. CSV files can be created in Microsoft Excel, and saved in CSV format. Note that if you are working on a Mac, you need to save the files in PC format, NOT the native Mac format. The following sample CSV files are provided as guides. … Continue reading

Installation

The plugin can be installed via the standard WordPress plugin install methods. The AUTOMATED way: 1. Go to the Plugins->Installed plugins page in WordPress Admin. 2. Click on Add New. 3. Search for MSTW League Manager. 4. Click “Install Now”. 5. Activate the plugin. 6. Use the new League Manager menu to create and manage your leagues, teams, games, and … Continue reading

Leagues

The Leagues screen is the first stop when using the plugin. Without at least one league, nothing happens. Leagues are not “hierarchical” on this screen, but design of the site’s leagues should be considered carefully. Based on the chosen setup, league standings and schedules can then be displayed very flexibly since each shortcode accepts multiple leagues. Generally speaking, add only … Continue reading

Seasons

The Seasons screen allows you to add seasons to a league. (Each league is assigned an initial season when it is created.) This allows you to create schedules and standings for multiple years. The primary data fields are described below and annotated on the screen shot. Select League. Begin by selecting a league. The seasons for that league will be … Continue reading

Settings

The Settings screen includes four tabs as described below. There is contextual help for each of these tabs, accessed from the WordPress Help tab at the top right of the screen. More detailed information is available there. NOTE THAT THESE SETTINGS APPLY TO INDIVIDUAL SPORTS, NOT LEAGUES OR TEAMS. Standings. Provides control of various Standings table features including team name/logo … Continue reading

Settings – Schedule Tables

The Settings Schedule Tables tab provides layout options for the league schedules and galleries, and team schedule tables [shortcodes]. The primary data fields and functions are described below, and annotated on the following screenshot. Select Sport. Settings are driven by SPORT, not league, team, or season. All leagues for a given sport will use the same settings. Need another sport? … Continue reading

Settings – Schedules

The Settings Schedules tab provides formatting of the fields in the schedule shortcodes – tables & galleries. The primary data fields and functions are described below, and annotated on the following screenshot. Select Sport. Settings are driven by SPORT, not league, team, or season. All leagues for a given sport will use the same settings. Need another sport? A filter … Continue reading

Settings – Standings

The Settings Standings tab provides formatting options for the standings tables [shortcode]. The primary data fields and functions are described below, and annotated on the following screenshot. Select Sport. Settings are driven by SPORT, not league, team, or season. All leagues for a given sport will use the same settings. Need another sport? A filter is available to extend both … Continue reading

Settings – Standings Tables

The Settings Standings Tables tab provides layout options for the standings tables [shortcode]. The primary data fields and functions are described below, and annotated on the following screenshot. Select Sport. Settings are driven by SPORT, not league, team, or season. All leagues for a given sport will use the same settings. Need another sport? A filter is available to extend … Continue reading

Shortcodes

The following shortcodes for front end displays are described below. STANDINGS League Standings [mstw_league_standings league=league-slug season=season-slug] League Multi Standings mstw_multi_league_standings leagues='league-1,league-2'] SCHEDULES League Schedule Tables [mstw_league_schedule_table league=league-slug season=season-slug] League Schedule Tables 2 [mstw_league_schedule_2 league=league-slug season=season-slug] League Schedule Galleries [mstw_league_schedule_gallery league=league-slug season=season-slug] League Schedule Tickers [mstw_league_schedule_ticker league=league-slug season=season-slug] League Schedule Sliders [mstw_league_schedule_slider league=league-slug season=season-slug] Team Schedule Tables [mstw_team_schedule team=team-slug league=league-slug season=season-slug] … Continue reading

Teams

The Teams screen provides a view into, and is the gateway to edit the Teams database. Notes on some of the fields and actions are listed below, and annotated on the screenshot. Leagues Filter. Select a league and press the Filter button to filter what could be a large list of teams down to a single league. Title. The team … Continue reading

Teams – Edit Team

Use the Edit Team screen to add teams or edit existing teams. Notes on some of the fields and actions are listed below and annotated on the screenshot. Title. The title does NOT appear anywhere on the front end (via the shortcodes), but it is used on the back end, in particular, it is used to sort the (All) Teams … Continue reading

Update Records

Use the Update Records screen to update the records for all teams in a given league for a given season. The primary data fields and functions on this screen are described below and annotated on the screenshot that follows. Select the League & Season. Begin by selecting a league and season and pressing the Update Records Table button to display … Continue reading

Venues

The Venues screen provides a view into, and is the gateway to edit the Venues database. Notes on some of the primary fields and actions are listed below, and annotated on the following screenshot. Venue Title. Click the arrow to sort the list. Click it again to reverse the sort order. Venue Name. Click on a venues’s name to edit … Continue reading

Venues – Edit Venue

Use this screen to add or edit game venues. The MSTW Bracket Builder and MSTW League Manager plugins share a database of Venues. So Venues may be added in bulk using the CSV Import screen, which is faster than entering them one-by-one on this screen. The primary data fields and functions on this screen are described below, and annotated on … Continue reading