Forum Replies Created

Viewing 15 replies - 376 through 390 (of 574 total)
  • Plugin Author LaMonte Forthun

    (@lamontef)

    So, it’s working OK for you then?

    Plugin Author LaMonte Forthun

    (@lamontef)

    Thanks for the suggestion, that one was pretty simple to implement and will be in the next update…

    Plugin Author LaMonte Forthun

    (@lamontef)

    Contact me at lamontef (at) yahoo (dot) com and we’ll see what we can do for you…

    Thanks

    Plugin Author LaMonte Forthun

    (@lamontef)

    Yeah, I’d like to have a look if I can please. If you can give me temp admin access to ‘look under the hood’, that would be ideal. What I’d like to do is add a test league with some teams and see if I can track down the Ajax issue.

    You can send the URL to the site the lamontef (at) yahoo (.) com.

    Thanks

    Plugin Author LaMonte Forthun

    (@lamontef)

    Can you do a team and match export and send me those files so I can look at them, please? My email address is above. Along with it, a screen shot of your league preference screen would be helpful just so I can duplicate everything exactly. I’ll look at it all and get back to you.

    Just to confirm, you’re on the latest version of LeagueManager (3.8.8.1) or an earlier version?

    Thanks

    Plugin Author LaMonte Forthun

    (@lamontef)

    I haven’t had any time to do anything with this as I have some client work and core code things I’m working on right now.

    Hopefully I’ll get through a few things early this week.

    Plugin Author LaMonte Forthun

    (@lamontef)

    The ‘Other’ sport sorts like this:

    points (points scored in a match)
    done (number of games completed)
    diff (points for – points against)

    If that’s not how you want your standings sorted, and I’m guessing you don’t, you should select another ‘sport’ or use ‘user defined’ so you can determine the number of points awarded for wins, draws, and losses.

    The Ajax error is the bigger problem here though…

    Plugin Author LaMonte Forthun

    (@lamontef)

    If you look around over the last week or two you’ll see that the sorting in standings and tie-breakers are a hot topic. There is no one right way as everyone does it differently. The great thing about LeagueManager is that each ‘sport’ file can do the sorting how it best serves them.

    The current volleyball sort order is:

    points (based on the scoring rule you select as there isn’t a point rule built into the volleyball.php file at this point)
    set diff
    won sets
    ballpoints diff
    ballpoints

    With that in mind, the best thing to do is modify the ‘volleyball.php’ file to do what you need to do. Everything you need is available, it just needs to be ordered properly. There are no meaningful tie-breakers in the system that will work for you, that’s what I’m trying to figure out on an overall scale, so if two teams end up tied after your three criteria, you might have to add points manually (the last column) temporarily until the tie is broken via another match.

    I’m looking to change the way the ranking works a bit to make it easier for users that aren’t interested in getting their hands dirty in php code and it’s something that I’m putting a lot of time in on right now.

    Send me an email – lamontef (at) yahoo (.) com – and we’ll get something that will work for you when I can get to it.

    Plugin Author LaMonte Forthun

    (@lamontef)

    Yes, the date and time should be formatted exactly as it is when you do a sample export…

    Plugin Author LaMonte Forthun

    (@lamontef)

    That’s what we are working at fixing. If you feel up to doing a test download the above file and follow the instructions. Do a new export to test the import, the old export for matches won’t be right.

    Plugin Author LaMonte Forthun

    (@lamontef)

    If you’ve got some code you’d like to send me, send it to lamontef (at) yahoo (.) com

    If you have a template you want to replace, you have two options (from the documentation):

    If you want to modify existing templates copy it to

    your_theme_dir/leaguemanager/

    The plugin will then first look in your theme directory. Further it is possible to design own templates, e.g. multiple standings templates. Assume you create a template called standings-sample1.php. To load this template use the following code.

    [standings league_id=ID template=sample1]

    I’ve actually never put a template in the theme directory, I always rename so things are all in the same location and it’s easier to keep track.

    The nice thing about LeagueManger is that Kolja (the developer) made it very modular, so you can add items based on your sport file and add templates that suite your needs. I think a lot of users (myself included) think that modifying core code is necessary when making changes. I can’t tell you how much I’m backtracking now that I’ve been working on the core and have a very worn out installation that I’ve tweaked to work for me. Now I’ve had to go back in and pull things out that I added to the database when I didn’t need to, modified core code I didn’t need to, etc., etc.

    Plugin Author LaMonte Forthun

    (@lamontef)

    Seems like a lot of steps, shouldn’t be that difficult, but thank you for the thorough step through, hopefully we can cut the process down a bit… I don’t think this will help that, but here’s that admin.php file with the new import/export routine. The matches routines are a little different in that it adds stadium and groups, so any of the files you’ve exported won’t work and your excel sheet as a template won’t either. Teams are the same and I think have always worked.

    http://pastebin.com/bmqkE5W8

    This file is the admin.php file that sits in the admin folder. I’d rename the original, drop this one in and test on a new league. Back up your data first, just to be safe.

    Plugin Author LaMonte Forthun

    (@lamontef)

    You’re stepping into a hornets nest with this line of questions!

    The last two weeks I’ve been working on the tie function, have a look at this:

    http://wordpress.org/support/topic/team-ranking?replies=28

    and you’ll see what we’ve been talking about.

    I’m looking to change the isTie() function and pulling it out of core.php, so that what you’re seeing goes away. The plan is to create a series of tie break options that each user would be able to select on an as-needed basis.

    That’s all fine and well, I just need to get over one technical hurdle and then I’ll be working on starting the library of tie-breaker options. The two team ties will be fairly simple, it’s when we get into multiple teams things get a bit dicey.

    What sport are you working with? Do you have any code that you feel could be considered for inclusion in the core product?

    Glad you like LeagueManger and hope to make things work even better (keep in mind, I didn’t write the core product, but have been added on over the last month for support and enhancements).

    LaMonte

    Plugin Author LaMonte Forthun

    (@lamontef)

    Hi all, just an update on this problem, or actually we should call it an enhancement since we’re making things better, shouldn’t we…

    Anyway, I’ve spent a great deal of time on this and am pretty close to having the basics working, just one problem I’ve spent a couple days working on that I’m not getting through. Once I do, I’ll be able to focus on adding a couple of tie-breaker rules to a file that will house all the rules that we can need and can figure out how to implement (if that makes any sense). The point is that it’s been a challenge, but one I think is very important, so instead of putting a band-aid on it, I tackled it to just do what needed to be done. I’m hopeful that this will be a nice new feature that we’ll have soon.

    Sorry for the delay, but I think it’ll be worth the extra days.

    LaMonte

    Plugin Author LaMonte Forthun

    (@lamontef)

    I thought I had seen something on the documentation page, but there isn’t, I’ll have to put something together for that (I didn’t write the plugin, so there’s a lot I’m learning about a few things as I go along as well)…

    The best way to duplicate the fields is to add a couple of teams and a couple of matches and export each. Open those files in Excel as tab delimited files so that each column ends up as a new column in Excel, then you’ll see exactly what’s needed to import.

    The thing that I’m finding is that you have to be very careful that when you import a group of teams or matches that you get the season and the league structure exactly right. If you are working on a league that’s set up for ‘Championship’ mode and you have groups set up, but the file you’re importing doesn’t, you won’t see anything in the admin section. The teams and matches will be in the database, but they won’t show up. If you have groups set up and don’t have any on your teams as they import, that also won’t show up and if you have the wrong spelling for the season, yet another problem.

    I have an updated admin.php file that should fix this problem, if you’re willing to test it for me I’ll post it on pastebin tonight. There are a few other things I’m working on in that file, so I’m not ready for a new version yet, but want to get it out this weekend. This is a key fix… If you’d rather wait, that’s fine too, just let me know.

    Thanks

Viewing 15 replies - 376 through 390 (of 574 total)