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!) For something like the NFL, there are no “non-league games”, so one can just set up a hierarchy of leagues and divisions, NFL -> NFC -> NFC West, and good to go. In high school and college, there are a lot of non-league games. When you try to add a game, the plugin asks for the league, and only shows the teams in that league to be the home and visiting teams for the game. For example, in 2016 Cal plays Hawaii, SDSU, and Texas, three teams that are not in the Pac-12. So here’s step-by-step of what to do:

  1. Create the non-league teams (and their home venues).
  2. Add non-league games to a LEAGUE and SEASONS using the ADD GAMES screen. On that screen there is a “Non-league’ checkbox for each game. Check it for the non-league games.
  3. By default the league schedule tables and galleries only show league games. Add the argument show_nonleague=1 to the shortcode(s). There is no control on the plugin’s Settings screen to do this. Note that by default the individual team schedules show non-league games, and you can’t change that.

An example can be see on the MSTW Dev Site.

How do I display multiple leagues in a standings or schedule table (or gallery)?
There is one step and one gotcha. First, simply add multiple league slugs separated by commas to the league argument. For example,

&sqlb;mstw_league_schedule league="pac-12-north,pac-12-south" season=2015&sqrb;

That’s it, but now the gotcha. All the leagues must have the same season slug. You cannot enter multiple season slugs, and expect the shortcode to figure it out. If the leagues do not have the same season (slug), you will only see the league with the season you specify. An example can be see on the MSTW Dev Site.

I don’t like the way you calculate points. Can I change it?
Yes. See this man page.

I don’t like the way you calculate win percentage. Can I change it?
Yes. See this man page.

My favorite sport (TiddlyWinks) is not in the list of sports; what can I do?
The list of sports may be extended using the mstw_lm_sports_list filter. The default sport names are ready for translation via the standard WordPress methods. So you could also pick a sport you’ll never use and “translate” its name to your favorite.

My site is on Mars, and our standard date & time formats are not on your lists; what can I do?
The list of date formats may be extended using the mstw_lm_date_formats filter. The list of time formats may be extended using the mstw_lm_time_formats filter.

On Mars we also use a unique abbreviation for “To Be Announced”; what can I do?
The list of “To Be Announced” abbreviations may be extended using the mstw_lm_tbd_list filter. All the abbreviations in the default list are translation ready, so another option is to translate them into Martian. (I do not know the country code for Mars.)

The left/right scroll is behaving incorrectly in my ticker/slider shortcode. What’s up?
Having more than one instance of the ticker/slider shortcode on a single page will cause the left/right scrolling to function incorrectly.

I can’t update the team records and/or game results for my league. When I push the submit button, nothing happens.
You should always see a message on the admin screen indicating how many games or records that were updated. (That number will include records or games that you may not have changed). If you don’t see that message (be patient!), there’s a problem. It is possible that your league is too big. When the plugin updates games or records (or anything else, for that matter), it does so with a POST. If you don’t know exactly what means, no worries, just know that PHP enforces some limits any script’s (program’s) use of system resources.
1. There is a limit to the amount of memory a script can allocate. The default is 128MB. This can be changed, if you are using a shared server, your host may want to weigh in on changing this.
2. The maximum size of a post is 8MB by default. This can be changed in a number of ways.
3. The maximum number of input variables or data fields (for a POST, say) is 1000 by default. Again, this can be changed. For example, the Update Games screen has six fields for each game, so if a league has more than 166 games (which a large league certainly could), it will display the Update Games screen, but when the Update Games button is pressed, the POST WILL FAIL! And it will do so silently (unless you know where to look). The situation is nominally worse for Update Records, where each team in a league has 17 data fields. Fortunately, this leaves room for 58 teams in a league, and I know of no league with 58 teams in it.
4. Finally, shared hosting limits how long a script will run (to prevent “infinite loops” from hogging shared resources). No problem with this limit has been reported, but it could come into play when processing a large set of games or record.

There are a couple of possible workarounds here. First, divide your leagues into divisions, conferences, or whatever. If that won’t work for you, you can update the games individually via the Manage Games screen.