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.




can you help me how display actual round with this tag [matches league_id=4] its display round 1 look at http://svetfotbalu.cz/anglie/premier-league/
Hey Kolja, erstmal danke fürs Update! Das hat meine größte Sorge schon mal behoben (Spiele zerschossen bei Ergbniseingabe). Ich hab jedoch noch ein Problem mit meiner Volleyball-Tabelle. Die Tabellenplätze werden nach dem 7. Spieltag noch immer doppelt vergeben, obwohl die Punkte eindeutig sind.
http://volleywood.de/?page_id=484
Danke Dir, Sascha
@Sascha
Beim Volleyball gibt es ja keine Unentschieden
Vielleicht kann man Tabellenspalten ein- und ausblenden?
Ach ja, die Tabelle an sich macht auch keinen Sinn mit einer Spalte “Unentschieden”
Hallo Kolja, danke für Deine Arbeit. Habe ebenso wie Sascha ein Problem mit der Sportart Volleyball. Würde das Plugin gerne nutzen. Die Platzierung in der Tabelle ist m.E nicht io. Sotiert werden müsste nach Pluspunkten DESC, dann nach Minuspunkten ASC, dann nach Satzdiff DESC und dann nach Balldiff DESC.
I have installed your plugin and it’s very great!
In my site i manage a italian basketball young league and the ranking team is not correct for me, but i think is generally for the basket:
the plugin calculate rank on points, goal difference and match done but the correct is on points, goal difference, goal (point2_plus) and eventually match done. Is correct for you and it is possible to integrate in your plugin? A this time i need to upgrade manually to preserve my modifications. In which mean is possible to send you request/suggestion/errors or eventually collaboration?
Thanks a lot and sorry for my bad english.
Hallo, ich wollte auch mal Danke sagen fuer dieses tolle Plugin.
Unterschied ist: Es wird kein 11-Meter sondern nur 7-Meter geschossen.
Ich nutze dieses Plugin um die Spiele meiner Toechter auf meine Homepage darzustellen und einen kleinen Ergebnisdienst zu erstellen.
Meine Toechter spielen (Feld)Hockey. Eingestellt habe ich als Sportart Fussball und als Punkteregel Drei-Punkte-Regel. Das funktioniert auch soweit ganz gut
Ich habe fuer die Hallensaison jetzt schon mal alles angelegt. Mannschaften, Gruppen, ein Spieltag alles als Meisterschaft. Nun habe ich das Problem wenn ich auf den Gruppenseiten eine Tabelle angebe das ich eine Gesamttabelle ([standings league_id=8 template=extend logo=false]) bekomme. Ich wuerde aber viel lieber nur eine Gruppentabelle anzeigen. Geht das schon? wenn ja wie? Oder wenn es noch nicht gehen sollte koennte man das ja eventuell in einer der naechsten updates einbauen.
@Zbynek Grygar
Open wp-content/plugins/leaguemanager/lib/core.php
Find (araund row 383)
function getMatchDay( $current = false )
{
global $wpdb;
if ( isset($_GET['match_day']) )
$match_day = (int)$_GET['match_day'];
elseif ( $this->match_day )
$match_day = $this->match_day;
elseif ( $current && $match = $this->getMatches( “league_id = ‘”.$this->league_id.”‘ AND `season` = ‘”.$this->season.”‘ AND DATEDIFF(NOW(), `date`) match_day;
else
$match_day = 1;
return $match_day;
}
and replace with
function getMatchDay( $current = false )
{
global $wpdb;
if ( isset($_GET['match_day']) )
$match_day = (int)$_GET['match_day'];
elseif ( $this->match_day )
$match_day = $this->match_day;
elseif ( $current && $matches = $this->getMatches( “league_id = ‘”.$this->league_id.”‘ AND `season` = ‘”.$this->season.”‘ AND DATEDIFF(NOW(), `date`) match_day;
elseif ( $current && $matches = $this->getMatches( “league_id = ‘”.$this->league_id.”‘ AND DATEDIFF(NOW(), `date`) match_day;
elseif ( ( !isset($_GET['match_day']) ) and (!$this->match_day) ){
$matches = $this->getMatches( “league_id = ‘”.$this->league_id.”‘ AND `season` = ‘”.$this->season.”‘ AND DATEDIFF(NOW(), `date`) match_day;
}
else
$match_day = 1;
return $match_day;
}
it works for me
$prev_match in team shortcode not work it show only the first match and not latest match..Next mach work well
@Paolo
thanks but is not working something is missing pls add to code tag or send URL with source
Thank You
Parse error: syntax error, unexpected T_STRING in /mnt/data/accounts/r/realek/data/www/svetfotbalu/wp-content/plugins/leaguemanager/lib/core.php on line 391
Download my file core compressed with win rar : http://www.biscionenerazzurro.com/core.rar
I’m sorry for my bad english
thank you very much its working
Kolja pls add this stuff to next release
ok perfect works fine i have visited your site….bye
I am currently completing the translation of the new version in Italian and after I hope to solve the problem $ prev_match in team short code that show the first mactc and not last match
New fix for widget tha in function showNextMatchBox not work link of team website:
open lib/widget.php,in function showNextMatchBox around row 182 find :
[code]if ( !empty($teams[$match->home_team]['website']) )
$home_team = "teams[$match->home_team]['website']."' target='_blank'>".$home_team."";
if ( $teams[$match->away_team]['website'] != '' )
$away_team = "teams[$match->away_team]['website']."' target='_blank'>".$away_team."";[/code]
and replace with:
[code]if ( !empty($teams[$match->home_team]['website']) )
$home_team = "home_team]['website']."' target='_blank'>".$home_team."";
if ( $teams[$match->away_team]['website'] != '' )
$away_team = "away_team]['website']."' target='_blank'>".$away_team."";[/code]
not show all code ? Download from http://www.biscionenerazzurro.com/widget.rar ( ajax widget not work kolja )
thanks its working
Thanks Paolo, this works!
Grazie Paolo… se solo non fossi interista =P!
Caro Dave il mio punto forte è proprio quello
….del resto la capolista vola
Thanks a lot Pablo BUT it keeps displaying wrong day (3 days late)… any clue ?