• Currents points in volleyball is
    1) Points
    2) Set Difference
    3) Won Sets
    4) Ballpoints Difference
    5) Ballpoints

    Can I change order to?
    1) Points
    2) Won sets
    3) Ballpoints

    I change in leaguemanager/sports/volleyball.php but it doesn’t work

    function rankTeams( $teams )
    {
    foreach ( $teams AS $key => $row ) {
    $points[$key] = $row->points[‘plus’]+$row->add_points;
    $won_sets[$key] = $row->sets[‘won’];
    }

    array_multisort( $points, SORT_DESC, $won_sets, SORT_DESC, $teams );
    return $teams;
    }

    https://www.ads-software.com/plugins/leaguemanager/

Viewing 1 replies (of 1 total)
  • Plugin Author K

    (@koelle)

    Do you want to change the ranking of teams or the order in the standings table? What you attemted to change was how the teams are ranked. If you want to adapt the order in the standings table have a look at the functions standingstable_header and standingstable_content (something like that). Beware that any changes will be overwritten with new versions

Viewing 1 replies (of 1 total)
  • The topic ‘Volleyball point’ is closed to new replies.