Download the version 1.2 beta
See the installation instructions in readme.txt or see the main script page as the steps have not changed from version 1.0.
If you are upgrading from a version 1.0 or 1.1 installation:
- Back up your files and database!
- Run the MySQL commands in upgrade_1.x_to_1.y.sql to upgrade the database tables from Version 1.x to 1.y. If you are upgrading across multiple versions, you must run the commands in multiple files. For example, to upgrade from Version 1.0 to 1.2, run the commands in upgrade_1.0_to_1.1.sql, then run the commands in upgrade_1.1_to_1.2.sql.
- All files can be overwritten except for settings.php, unless you have customized the display in standings.php or update.php.
- settings.php has new settings for winning percentage calculations, seasons customization, and admin folder location, so you can copy and paste those sections to your existing settings.php
New feature walk-through
Multiple season support
The main admin page now enables you to manage multiple seasons. Structurally, your league must have at least one season, which contains one or more conferences (you can of course change the display file to act as though the seasons feature does not exist).
——————————


——————————
When you create a new season, you can choose to copy the conferences, divisions, and teams from a previous season:
——————————


——————————
There is a new setting in settings.php that controls whether the main display page should display a list of seasons…
——————————


… or the details for a particular season:
——————————


——————————
// By default, the main page shows the conferences of the default season
// Change this to false for the main page to show a list of seasons
// Or, change this to the ID of a season to show
$show_season = 1;
Master teams: linking teams from multiple seasons
There is a new concept of a "master team". Each team must now have a master team. In a nutshell, the master team is not directly related to any scores and the normal concept of a team remains the same. The usefulness in the master team is to link teams from across multiple seasons to produce a team history:
——————————


——————————
On the public display side, this history page is accessible through the "full scores and schedules" page when you click a team's name:
——————————


——————————
The page to manage master teams on the admin side looks like this:
——————————


——————————
Admin files folder
This isn't so much a new feature as a new file structure. For efficiency reasons, the code in the admin file update.php has been split into many files contained in an admin_files/ folder. You can change the name of this folder and then configure the appropriate new setting in settings.php:
// The directory under which the administration files are held
$admin_dir = 'admin_files/';