patrick.bruckner
Forum Replies Created
-
Forum: Plugins
In reply to: [LeagueManager] Faults after new update of League managerLaMonte, It is a very nice Plugin and i looked at a lot of them before using it. There is not a single Plugin that works as well as yours. If you need some help, with debugging or whatever it is, just say a word. I would be pleased to give something back for a great free Plugin and a great community.
Appreciate it.
PatrickForum: Plugins
In reply to: [LeagueManager] Faults after new update of League managerWhat does this “Group” Attribute do anyway?
I don’t know how to work with that.Forum: Plugins
In reply to: [LeagueManager] Faults after new update of League managerThe File is listed under:
wp-content/plugins/leaguemanager/lib/widget.phpForum: Plugins
In reply to: [LeagueManager] Faults after new update of League managerThere are several Problems with this Plugin after the Update.
Fixed a Problem myself:
The “showNextMatchBox” function alternates from the “shopPrevMatchBox” by having a new “group” parameter, which never got assigned before. i hope this will get Fixed, or there will be a guide how to set this straight…
Just Replace this 2 Lines in the showNextMatchBox
BEFORE
$search = "group= '".$instance['group']."' ANDleague_id= '".$instance['league']."' ANDfinal= '' ANDseason= '".$instance['season']."' AND TIMEDIFF(NOW(),date) <= 0";AFTER:
$search = "league_id= '".$instance['league']."' ANDfinal= '' ANDseason= '".$instance['season']."' AND TIMEDIFF(NOW(),date) <= 0";BEFORE:
$teams = $leaguemanager->getTeams( "league_id= '".$instance['league']."' ANDseason= '".$season."' ANDgroup= '".$instance['group']."'", "idASC", 'ARRAY' );
AFTER:
'$teams = $leaguemanager->getTeams( 'league_id = '.$instance['league'], "idASC", 'ARRAY' );WORKED FOR ME