Archive

Posts Tagged ‘championchip’

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 ,

LeagueManager Championchip Mode

May 25th, 2009

I have already been asked several times if a Championchip Mode would be possible. I have also started workin on this feature, but unfortunately I don’t have enough time to further develop it, as it would be highly complex. However I have some preliminary code, that resides in lib/championchip.php and admin/championchip.php. It follows a list of features I thought would be needed:

* Option to set number of teams that adavance from preliminary round to final round (easy with WP action)
* insert groups (like Seasons)
* dropdown in team edit form to allocate group to team (easy with WP action)
* Add final matches beforehand in a style Winner A – Second B (present)
* replace code format of final matches with respective team

So the basic features of the plugin already exist or are quite easy to implement. However the last part of inserting the true teams for respective final matches is quite complicated. My idea would be to add buttons to proceed into the next round.

Is there anybody or group who would be willing to work on this feature. It should be already possible with LeagueManager 2.9 to implement a Championchip Mode as standalone-plugin. If not, I would provide needed hooks.

I hope there is somebody who could work on that, because I think it would be a very cool feature.

Kolja Schleich Plugins ,