Archive

Posts Tagged ‘leaguemanager’

LeagueManager 3.4.1

November 14th, 2009

This version should fix the AJAX navigation in the widget. Further I have updated the italian translation and added some new shortcodes. See the Documentation for details on shortcodes

Kolja Schleich Plugins

Important Bugfixes for LeagueManager

October 25th, 2009

I have just released a new version of LeagueManager which should fix a few of the most pressing bugs:

  • re-ordering and scrambling of matches upon results update
  • Last Matches box in widget should now show the truly latest match
  • plus/minus points affect team ranking (reload of page is neccessary to display new ranking

At the moment I have very little time, but will do my best to address the other issues and new sport types as soon as possible. Please let me know if the above issues work.

Kolja Schleich Plugins ,

Championchip Mode in LeagueManager is there

July 26th, 2009

Since I could find nobody to implement a championchip mode I finally found time to do it myself. Also I realized that a couple of previous changes, such as storing the team’s rank in the database and modular settings, made it quite simple to do this. The current version is still testing, but should work. Moreover the championchip mode should not affect other plugin functionalities.

It is now possible to group teams and rank teams within each group. To activate a championchip, choose “championchip” as Mode in the League settings. After saving the settings there will be another option to specify how many teams advance from the preliminary to the final rounds. That number is crucial, as it defines the number of final rounds. For example Soccer World Championchip as four final rounds (Last-16, Quarter Final, Half final, final), but european championchip as only the last three.

To insert matches for the final rounds go to the “Championchip” page via the new link on the League overview page. There you’ll find a dropdown menu to add matches for a specific final round. The matches are entered symbolically, e..g 1. Group A – 2. Group B etc. Those matches will only be displayed on this page and not with the other matches. The preliminary matches are added just as normal, but don’t forget to assign a group to each match.

The symbol final rounds matches will be automatically exchanged for the true team as soon as the previous round has been played. Here’s a short list of how to setup a championchip.

  1. Set Mode to “Championchip” and set the number of teams to advance
  2. Add Groups into the settings field delimited by ;
  3. Add Teams and assign them to a group
  4. Add Preliminary rounds as normal matches and set a group
  5. Go to the Championchip Page and setup the final rounds matches symbolically
  6. Insert results for preliminary matches just as usual. If all scores are inserted the plugin will automatically exchange the symbolic teams in the first final round with the respective teams
  7. Go to the Championchip Page and insert match results. The plugin automatically proceeds to the next round

To display the championchip page in the frontend use the following shortcode.

[championchip league_id=ID season=X template=X]

league_id is obligatory and the ID of league. season and template are optional. If you want to design custom templates name them championchip-X.php

Please send me feedback and suggestions or bugs.

Kolja Schleich Plugins ,

New Sports in LeagueManager 3.2

July 1st, 2009

In LeagueManager 3.2 there are three new sport rules and scoring supported:

  1. Tennis
  2. Volleyball
  3. Rugby

Further I have added some options to control the display of Played, Won , Tie and Lost Matches in the Standings Table.

Enjoy.

Kolja Schleich Plugins ,

Supercool dynamic Match Statistics

June 6th, 2009

I have decided to add another feature, which I think is really cool. It is now possible to add dynamically statistics, similar to FormFields in ProjectManager. Available fields are “text” and “roster”, which adds a popup box if there is a Team Roster active.  The statistics are automatically displayed in the single match view and also added to ProjectManager FormFields. However the hook into ProjectManager only counts occurences of a value for given user, so this will work for goals, but not if you want to insert points and display the summary of these. This could be achieved by setting up a customized function.

Here’s a short description of the structure. This is only important if you want to programme custom templates or functions for ProjectManager FormFields. The statistics are merge with the $match object whereas the key is the sanitized name of the stat. Suppose you add statistics called Goals, they can be access by

$match->goals

This is an assoziative array which stores the name and fields of this statistic. You can see the contents of the variable by doing

var_dump($match->goals);

Anybody interested can also have a look at view/match.php

Kolja Schleich Plugins ,