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 ,

chCounter Widget 2.7 bundled with chCounter

July 19th, 2009

I finally decided to include chCounter directly into the plugin software, because several users had problems installing the counter and the chCounter website is in german unfortunately. Unless any bugs appear this will be the final version of the plugin since it does what it’s supposed to do. To configure chcounter via the webinterface the following two directories need to be writable by the server

chcounter/

chcounter/includes/

If you upgrade from a previous plugin version you simply need to configure the included chCounter to reflect your old database settings.

I think this change makes installations easier and faster.

Kolja Schleich Plugins , , ,

ProjectManager 2.7

July 1st, 2009

Here’s a short list of new features:

  • Image Upload
  • Video Upload
  • Internal Link to other Projects Datasets

Besides I have cleaned out some unneccessary HTML. If you use FormField Types “Internal Link”, “Dropdown Menu”, “Checkbox List” or “Radio List” it is required to save FormFields first. Afterwards there will be a link displayed next to the selection menu for the field type to add Options or choose a Project to link to. This is due to Javascript Problems. I assume they are caused by the fact that HTML is dynamically added to the page and so it cannot find the new element for some reason..

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 ,