LeagueManager 2.9-RC1
I finally decided to release a first release candidate of the next version of LeagueManager. This version is still in development. I’ve tested it so far and it works for me fine, however it is possible that it contains some bugs. Here’s a quick overview of new features:
- add goals, cards and exchanges for each match
- bridge to ProjectManager (requires V2.1 or higher) to add special formfield with goal statistics
- divide league in seasons
- league archive page, use [ leaguearchive ]
- single match view, use [ leaguematch id=ID ]
- Irish Gaelic Footbal as new special league type
Anybody who wants to use the new plugin can download it at Wordpress.org. Since I haven’t marked it as stable the plugin is only visible on the Other Versions page or use this direct link. Additionally I am working on a championchip mode so it is possible to manage, e.g. soccer worldcup. Yet this feature is not fully implemented and not functional.
Edit: I forgot to mention something. While upgrading the plugin for each league it gets the year of the first meatch and adds a season for this and also sets this for teams and matches. Now it could be possible that you have created two separate leagues that truly are only two different seasons of the same one. Assume, you have two leagues “League 2008″ (ID=1) and “League 2009″ (ID=2) and now want to merge these two into one league with two seasons “2008″ and “2009″. After upgrading the two leagues should automatically have a season added. You can now move the teams and matches of “League 2009″ into season 2009 of “League 2008″ with the following function:
move_league_to_season( $league_id, $season, $old_season = false, $new_league_id = false );
The first parameter is the ID of the league you want to move teams and matches of and $season is the season. Firt you should add this season to the league you move matches and teams. $old_season is the season these matches and teams are currently set to (in this example it should be “2009″). $new_league_id is the ID of the league you want to move matches and teams to. For the above example you move all data of “League 2009″ into season 2009 of “League 2008″ with the following code
move_league_to_season( 2, “2009″, “2009″, 1 );
I hope this is understandable
You should afterwards rename “League 2008″ to only “League” or something else since now it has two seasons.



