Forum Replies Created

Viewing 15 replies - 1 through 15 (of 30 total)
  • Thread Starter intellicents

    (@intellicents)

    Yes

    Thread Starter intellicents

    (@intellicents)

    LaMonte, you are simply awesome!!!

    Thread Starter intellicents

    (@intellicents)

    It turned out to be a plugin issue.

    The culprit: Google, iCal, Event Calendar List

    Forum: Plugins
    In reply to: [LeagueManager] calendar

    No rush, Brother!

    Forum: Plugins
    In reply to: [LeagueManager] calendar

    I need to get your email address LaMonte.

    Thread Starter intellicents

    (@intellicents)

    As of this moment, we’re using the points in order to manipulate the standings. As we continue to work on the code, that will change.

    What we are hoping for is a system that will fully generate fair standings based on certain criteria.

    Having the option to set a certain number of games would be awesome. We usually play 14 games, so taking that into account when viewing standings would be a good thing. I just don’t think it’s something that should be priority.

    The first thing we need to figure out is how to automatically generate fair standings based on the most basic rules of the game.

    Softball and Baseball are similar in that the team with the most wins is in first place. So, what happens when 2 teams or even 3 teams are tied for first place?

    Just like our league, the team with the most head-to-head wins will be in 1st place. One of the biggest complaints we get is when a team in 2nd place has the same record as the team in first place, yet the 2nd place team has beaten the 1st place team. As you can see, that wouldn’t be very fair.

    So in my opinion, we need to look first at the games played, the winning percentage and head-to-head victories.

    Thread Starter intellicents

    (@intellicents)

    @lamonte, I may have inadvertently tried using the code you had for basketball in another thread.

    This is all I have on the rankTeams function:

    function rankTeams( $teams )
    	{
    		foreach ( $teams AS $key => $row ) {
    			$won[$key] = $row->won_matches;
    			$lost[$key] = $row->lost_matches;
    		}
    
    		array_multisort( $won, SORT_DESC, $lost, SORT_ASC, $teams );
    		return $teams;
    	}
    Thread Starter intellicents

    (@intellicents)

    @lamonte,

    I went ahead and updated to 3.8.8.1

    When I did, I couldn’t get the teams to sort by adding points anymore. No matter what I did.

    I noticed in the upgrade that you’ve been working on the baseball.php file. In the array_multisort, I removed the SORT_NUMERIC field on the rankTeams function, updated and was again able to adjust the standings by adding or removing points.

    Thread Starter intellicents

    (@intellicents)

    In our softball leagues, this is how we calculate our standings…

    (1) Winning Percentage
    (2) Winner of head-to-head game(s)
    (3) Fewest runs allowed head-to-head
    (4) Fewest runs allowed in all games
    (5) Most runs scored head-to-head
    (6) Most runs scored in all games

    Thread Starter intellicents

    (@intellicents)

    Thank you!

    Forum: Plugins
    In reply to: [LeagueManager] calendar

    I would rather give them ugly and let them deal with it. (I could change the font to xsmall). The option would always be there to let it open in a pop up (Print only, like you were saying) window.

    I think this is a pretty important feature.

    If all else, I wouldn’t mind seeing an option for having a page that simple listed today’s games and a link for tomorrow’s games. A drop down for a specific date would also work nice.

    Forum: Plugins
    In reply to: [LeagueManager] calendar

    Apparently my parents, coaches and players want an actual calendar so they can have a quick glance at what games are being played that day.

    How difficult would this be to do?

    Thread Starter intellicents

    (@intellicents)

    1). A quick screen cap of doing Option 1, tell me if you see the ‘wait’ symbol that comes up shortly after entering a number and hitting tab

    I do see the spinning wheel.

    After trying it a couple of more times, All I need to do is add the 1 and hit “Show” to update the page. Once it refreshes the page, the Pts are updated to reflect the change, but the teams are still in the same position. BUT, when I go to the bottom and click on “Update Results”, (Without changing scores), it reflects the changes I’ve made.

    Thread Starter intellicents

    (@intellicents)

    #2 worked…

    I updated with a +1 to the team in 2nd place, hit tab and clicked “Show”. The page refreshed and nothing happened.

    I deleted a score, updated, entered the score and updated again. Then I saw the change.

    A little difficult to do, but at least it worked! Thank you!!!

    Thread Starter intellicents

    (@intellicents)

    I give up.

    I’ve tried every possible scenario I can think of for modifying the team rankings. I’ve tried modifying the code and nothing works. Now I have team number 1 with less wins than team number 2, but yet they’re still in 1st place.

Viewing 15 replies - 1 through 15 (of 30 total)