cducauze
Forum Replies Created
-
Forum: Plugins
In reply to: [LeagueManager] Rugby AlternateVery good.
I’m going to test it locally and maybe use it in production then ??Forum: Plugins
In reply to: [LeagueManager] Rank OrderHi rugbyparabiago,
Thank you for your answer but I don’t see where I can change status of games from published to planned..
What is the menu you call “event” ? Is it when you try to modify a game (date, day,home team, visiting team, localization, start time).Best regards,
Forum: Plugins
In reply to: [LeagueManager] Rank OrderHi,
Normally if you can add points to a team on the side, so “-4” should work.How did you correct the number of game played ? I have the same problem.
Best regards,
Forum: Plugins
In reply to: [LeagueManager] Rugby AlternateHi,
Thank’s for sharing ! I didn’t try your code but it’s clearly painful to update points/tries/cons/penalty etc for each game of the group each day…
It would be good to have an option in the plugin to avoid to track these details but still be able to add bonus points.
Regards,
Forum: Plugins
In reply to: [LeagueManager] Rugby – pointsHi Soku13,
I’ve changed the code as well, however there is a little mistake in your code. You don’t get a bonus if you score 4 tries are more but if you score 3 more tries than the over team.
The problem of the plugin is that he uses world rugby rules (world cup and european cut) : if you score 4 tries you get a bonus when in France it’s now 3 more tries.
As a consequence, I’ve changed the code like that :
// Default : Bonus = 4 tries
//if ( $match->tries[$index] > 4 )// French rules : Bonus = +3 tries
if ( $match->winner_id == $team_id && abs($match->tries[‘home’]-$match->tries[‘away’]) >= 3 )
$points[‘plus’] += 1;// Current Team Lost Match by 7 points or less
if ( $match->loser_id == $team_id && abs($match->home_points-$match->away_points) <= 7 )
$points[‘plus’] += 1;Hope that help you ??