Forum Replies Created

Viewing 15 replies - 421 through 435 (of 574 total)
  • Plugin Author LaMonte Forthun

    (@lamontef)

    @ intellicents the baseball.php file hasn’t been updated in the main code in over two years according to what I’m seeing and there’s no ‘Sort_Numeric’ in any of the code I have. Can you send me the file you have? Something’s not right…

    @unimaxx – the best answer I can give you is that the baseball.php ‘sport’ file is incomplete at best. I spent a bunch of time with it last night and feel that there are a few things that need to be addressed. I’m also splitting out a softball file, so that we can keep the sports separate (my wife is a middle school softball coach and I coach Senior American Legion, I know better that to keep them together!) and have different rules for ranking.

    What I see in putting a league together for softball is that when I go to update scores I’m asked the score and then the runs for and runs against, then something for shutouts. Two things, if I put the score in, I already put in the runs for and runs against, so that’s not needed and if I need to track shutouts all I need to do is calculate the number of games my opponent didn’t score. Seems we can eliminate a few steps in the process…

    I’m going to have the system calculate the standings like this in the softball ‘sport’ for right now, until I can figure out how to work with some other options like head-to-head:

    Win Percentage
    # Games won
    Points
    # Games lost (descending)

    The default points will be two for a win, one for a tie

    Let me know if that works for you guys for now, we can update as needed.

    Plugin Author LaMonte Forthun

    (@lamontef)

    My pleasure, I need another hour or so, I have to finish my lead story for the night, then I’m on LM code for a few hours.

    Plugin Author LaMonte Forthun

    (@lamontef)

    Welcome Jeff…

    I think you’re using an old version of the plugin (3.8.2 or 3.8.3), that error was fixed in version 3.8.4 (introduced in the version you have now), I think. If you’ve done any modifications to the LeagueManager code, the next few versions that it seems you don’t have touch a lot of files, so you might need to manually update so you don’t lose your mods. If you haven’t modified anything, do the auto update.

    I’ve just recently taken over the maintenance of the plug in, so there have been a number of bug fixes and such and most likely will continue to be in the future as we’ve got a lot of ideas and requests to make things better. If you’ve done any modifications, let me know, we’d love to see your code and determine if it’s something we should include in the core. If you have ideas, feel free to toss them out.

    Lastly, let us know what you’re using LeagueManager for (what sport) and how it’s working for you.

    Thanks…

    Forum: Plugins
    In reply to: [LeagueManager] calendar
    Plugin Author LaMonte Forthun

    (@lamontef)

    It’s some PHP, not hugely difficult, the problem will be having the real estate on your page to put down a wide vs. tall calendar. If I remember your pages, you’ve got probably 800px wide to work with, yes? it can be done, but it’ll be ugly in my opinion.

    You could do a page that’s for print only though, have the vertical calendar with a ‘Print for Frig…’ option (or something similar), where the calendar for that team or the league is formatted to a letter size calendar landscaped.

    Best of both worlds? How difficult? I don’t think too much, but it would involve some code.

    Plugin Author LaMonte Forthun

    (@lamontef)

    OK, so the points are updated, that’s key… You’re using the ‘baseball’ sport file, which I think is the problem here, those points are not part of the ranking…

    Sorry, I hadn’t looked at that file until I just remembered that you’re working on a softball league…

    I’m going to give you some code in a few minutes that will help.

    Plugin Author LaMonte Forthun

    (@lamontef)

    Good, the solution is the get the ‘sport’ file to have the right sort method, but until that happens you’ve got a solution.

    A couple of things:

    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. If not, there’s a problem with the Ajax. Also, did you use ‘+1’ or just ‘1’? Nevermind on that last question, I just tested it and it shouldn’t matter (in case anyone else is curious…)

    2). You are going one step extra. When you delete the score, all you need to do is select one of the two boxes that make up a full score and replace it, even with the same number, then hit update. You don’t need to delete, update, then add, update. If I’m not mistaken, you probably don’t even need to replace one of the scores, you should be able to just hit update. For instance, you decide to change the ranking rules in the ‘baseball.php’ file and need to re-rank everyone, modify ‘baseball.php’ then come back to the standings page and hit update and the new rule will read all the scores and update the rankings based on those new rules.

    Let me know about option 1, I’m going to try to duplicate it in one of my installations, but all that I’ve tested so far (about six) has it working right, so there’s something going on with a plugin conflict possibly that I need to sort out. In fact, what would be helpful is if you could give me a list of plugins so I can test any that I can get my hands on.

    Thanks!

    Plugin Author LaMonte Forthun

    (@lamontef)

    What version are you guys running? Sounds like there are a few of you with this problem that I can’t seem to duplicate, but need to track down…

    Plugin Author LaMonte Forthun

    (@lamontef)

    Two things to try:
    1). Again, do the exactly – in the ‘+/- points’ box at the end of the row, put ‘1’, then hit ‘tab’ (you can’t hit the ‘enter’ or ‘return’ keys to get it to work, they don’t, you should see a spinning ‘wait’ symbol and the box will move slightly left (there’s no significance to that other than if you see the box shift, you need that the Ajax code is working). Nothing will change at that point, but right above the list of teams and the standings, you’ll see the ‘Show’ button. Click that to refresh the screen. If that doesn’t work I need to fix it…

    2). The best way to get all the calculations to re-calculate is to go into the list of games and delete a score (just one of the two from a game) and re-enter it. Then go to the bottom of the screen and hit ‘Update Results’. Every time you update results the plugin goes through every game and does the calculations it has to do.

    If neither of those work plan B will be to have you export all your teams and games and send those files to me, as well as a zipped up version of your plugin folder, but if I’m not mistaken, you’ve already done that.

    Try the above and let me know if either work.

    Plugin Author LaMonte Forthun

    (@lamontef)

    Great, that would be helpful. Hopefully I’ll be able to figure out why there’s a conflict or work with the other author to figure it out…

    Plugin Author LaMonte Forthun

    (@lamontef)

    Which version of WordPress are you on?

    I’m just about do a few tests on something else, I’ll have a look and see if I can duplicate the problem and get back to you.

    Thanks for the heads up.

    Plugin Author LaMonte Forthun

    (@lamontef)

    I’m working on an update today that will fix it… I forgot that I had given you code for the widget that wasn’t in the core, it’s being added today in 3.8.8.2 with a couple of other things…

    Plugin Author LaMonte Forthun

    (@lamontef)

    Glad to hear it…

    Also glad you like it, but all credit goes to the author Kolja Schleich, I’m just trying to help keep things moving forward…

    If you’re on the latest version, please make a note that it’s working for you in the compatibility section:

    http://wordpress.org/extend/plugins/leaguemanager/

    Thanks!

    Plugin Author LaMonte Forthun

    (@lamontef)

    OK, good catch…

    Here’s what you’ll do and I’ll fix this in an update I’m about to release:

    In the LeagueManager folder you’ll see a file called ‘style.css’

    Near the bottom, find this section:

    .leaguemanager_widget h4 {
    	position: relative;
    	border-bottom: 1px solid #ddd;
    	text-align: center;
    	margin: 0.5em 0 0.3em 0;
    	}

    You’re only adding this line: ‘color: black;’, but here’s the entire section:

    .leaguemanager_widget h4 {
    	position: relative;
    	color: black;
    	border-bottom: 1px solid #ddd;
    	text-align: center;
    	margin: 0.5em 0 0.3em 0;
    	}

    The color can be changed to whatever you wish to work on your site.

    Thank you for using LeagueManager!

    Forum: Plugins
    In reply to: [LeagueManager] calendar
    Plugin Author LaMonte Forthun

    (@lamontef)

    You can do the list of games using the shortcode for matches:

    [matches league_id=YOURID template=YOURTEMPLATE]

    You can limit the matches to a team if you are building team pages by adding team=TEAMID

    Or do you still need a widget?

    Plugin Author LaMonte Forthun

    (@lamontef)

    What I’ve found is that if you add the point and hit tab, you should see a change. What I believe I’ve seen in the past is you have to refresh the screen, so what I would do is put the point in the box, hit tab, and then go to the ‘show’ group popup and click that for whatever group I’m on.

    I know it works, it just might need to be tweaked a bit.

    Let me know if that works for you..

Viewing 15 replies - 421 through 435 (of 574 total)