Home > Plugins > LeagueManager 2.8

LeagueManager 2.8

February 22nd, 2009

This version comes with a bunch of new features:

  • optionally add team from existing one
  • insert standings manually
  • possibility to manually rank teams via drag & drop
  • import and export of teams and matches to CSV files
  • additional field to add or substract points for teams

Check it out @ Wordpress.org

Kolja Schleich Plugins ,

  1. February 23rd, 2009 at 00:47 | #1

    Good update. Now it doesn’t automatically edit the league standings when i enter the scores.

    To improve this make it so players can enter there own scores instead of the admin doing it.

  2. Kolja Schleich
    February 23rd, 2009 at 09:03 | #2

    @Night_fly
    Did you check your settings that you don’t have “Upate Standings Manually” as Point-Rule? Save the settings once and see what happens. Did you also save the scores?

  3. February 26th, 2009 at 22:10 | #3

    Yes that was the problem.

    Thank you for telling me what to do. It now works fine.

    I also hope you take my suggestions on board.

  4. Julien
    February 27th, 2009 at 17:15 | #4

    Great plugin ! Congratulations !

  5. Julien
    February 27th, 2009 at 17:18 | #5

    However it seems that the function GetScore in shortodes.php has a bug :
    You should replace the code with :
    $match = $leaguemanager->getMatches(“(`home_team` = $curr_team_id AND `away_team` = $opponent_id)”);
    $match = $match[0];
    if ($match) {
    $match2 = $leaguemanager->getMatches(“(`home_team` = $opponent_id AND `away_team` = $curr_team_id)”);
    if ($match2) $match = $match2[0];
    }
    If you don’t do that, the crosstable isn’t right !

  6. Kolja Schleich
    February 27th, 2009 at 19:25 | #6

    As far as I can tell the function is correct. Since I don’t know wether the match of the current team was at home or away I check for both possibilities:

    $match = $leaguemanager->getMatches("(`home_team` = $curr_team_id AND `away_team` = $opponent_id) OR (`home_team` = $opponent_id AND `away_team` = $curr_team_id)");

    What you do is only check the first part, if the current team is the home team and only if a match is found you run the second query for $match2. Thus only half the crosstable is displayed!

  7. Julien
    February 28th, 2009 at 22:21 | #7

    With your query, the results in the crosstable is the same for home and away matches. Yes ! Because, getMatches function returns 2 results and you only take the first.

    With mine, it’s right ! Look this screenshot : http://www.jude.be/crosstable.png

    P.S. : my league consists of 2 matchs for each team : one at home and one away

  8. Kolja Schleich
    February 28th, 2009 at 22:34 | #8

    Ah, OK. That’s the problem that I always only had one match ;) . Will work something out to work for both cases.

  9. March 9th, 2009 at 10:00 | #9

    This is a great little plugin. I’ve been looking for something like this for a while now. It would be even better if it calculated statistics, but that would make it a LOT more complicated, particularly since each sport handles statistics differently.

  10. bghammer
    May 14th, 2009 at 14:15 | #10

    Firstly a top class plugin which we use to show our xpert eleven league on wordpress. Now i have seen the option where it says link to report. However i cannot find anyway to link to reports, is this actually possible in 2.8?? Going to waiti till start of new season before i attempt to upgrade to 2.9

    To see the software running go to http://superfootballleague.bloggzor.com/

    I also have this error at the bottom of each leagues preferences page
    Missing argument 2 for date_i18n(), called in /****/******/*******/wp-content/plugins/leaguemanager/admin/settings.php on line 168 and defined in /****/*********/********/wp-includes/functions.php on line 115
    December 31, 1969

  11. tola
    February 20th, 2010 at 15:02 | #11

    @Julien
    I get the point posted by Julien, but I still have a problem when trying to show both results. Any clue?

  1. No trackbacks yet.