Forum Replies Created

Viewing 15 replies - 406 through 420 (of 574 total)
  • Plugin Author LaMonte Forthun

    (@lamontef)

    I have an idea that I’ll work on over the weekend…

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

    (@lamontef)

    I’ve found some code that I’m going to work with this weekend on the calendar, nothing I really like a lot, but I did find something that’s open source and has all the options needed… Should be interesting

    Plugin Author LaMonte Forthun

    (@lamontef)

    If it’s possible, can you set me up with a log in to your admin area so I can look at the install directly? I’d like to put it through some of the developer tools I have to see what errors are being thrown out.

    Plugin Author LaMonte Forthun

    (@lamontef)

    Over the last week I’ve been thinking about starting to work on making version terms variable and tied into the ‘sport’ file, so that a contest can be a match or game or round or whatever.

    You can add fields in the ‘sport’ file all you want. It’s actually quite simple and nothing has to be done to the database. Email me a copy of your ‘hockey.php’ file and I’ll add it in with comments so you can see what to do if you want to add something later.

    lamontef (at) yahoo (dot) com

    Question, what are you using for the stats on your site?

    Plugin Author LaMonte Forthun

    (@lamontef)

    I have a new softball file that I would like you guys to test. It’s radically different, to say the least…

    Here’s what I’ve done (this is most likely incomplete):

    1). Took out the entries for Runs For, Runs Against and Shut outs. That’s what the score is for, no point re-entering the data.
    2). Updated the Win Percentage formula and format.
    3). Updated the Games Behind formula and format.
    4). Fixed where Runs For and Runs Against come from in the code, added Diff as a column in the standings.
    5).The ‘sort’ has changed quite a bit. Here’s what it down’s now:
    Win Percentage, SORT_DESC
    # Games Won, SORT_DESC
    # Points, SORT_DESC (teams are given two points for a win and one for a tie)
    Games Lost, SORT_ASC
    Run Differential, SORT_DESC

    This is a temp fix that includes basic ranking. To start calculating head-to-head tie breaks will be a nightmare, but I have some ideas on how to implement it on a wide scale. The problem with tie breakers is everyone is different. What I’d like to do is build a series of potential tie breakers and allow the user to pick what they want to use. That way they can be added to as needed (keeping with the modular nature of the rest of the plug in). There actually is some very basic tie breaking code in the core that I’ll use to add head-to-head, but I’ll work on that over the weekend…

    I have to fix one more thing and then I’ll post it on pastebin…

    Plugin Author LaMonte Forthun

    (@lamontef)

    @ rubatacchini I need to know what plugin is conflicting so I can see what I can do to solve the problem. If you can deactivate one at a time until the problem goes away I can try to duplicate it and do what I can to fix it.

    Thanks

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

    (@lamontef)

    So if you select a new league and season in the pop up nothing changes?

    Plugin Author LaMonte Forthun

    (@lamontef)

    If you put a list of matches on the page the link should be included:

    [matches league_id=20 match_day=14]

    Is that what you’re looking for?

    Plugin Author LaMonte Forthun

    (@lamontef)

    Excellent, glad to hear it… I’d suggest upgrading to 3.8.8.1, there are a number of fixes in the latest releases. I’m also going to put posting 3.8.8.2 in the next day or so that fixes a few more things.

    If I can ask, what sport are you using LeagueManager for? Just curious…

    Don’t hesitate to offer up suggested updates for your particular use, we want to make each sport as robust as possible and can only do so with input from those using the plugin…

    Thank you for using LeagueManager…

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

    (@lamontef)

    If you really need all the info from the archive, with the exception of a couple of tables, you can duplicate the file ‘archive.php’ in the templates folder and rename the duplicate file to something like ‘archive-XXXX.php’, where XXX is what you’d call for in your shortcode. The file has to start with ‘archive-‘.

    So if the file is ‘archive-OnlyStandings.php’

    You’d use this to get it in the shortcode:

    [standings league_id=1 group=A template=OnlyStandings]

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

    (@lamontef)

    Me too, I have to look into it and have a look at the code, you’ve stumped me!

    OK, so the archive is exactly what it sounds like, a bunch of info on the particular league. If you only need the standings, can you just use the shortcode for standings?

    [standings league_id=1 group=A template=last5 logo=true]

    or

    [standings league_id=2 group=B template=compact logo=false]

    or

    [standings league_id=1 template=extend]

    Monty

    Plugin Author LaMonte Forthun

    (@lamontef)

    Do you have FTP and SSH access to your files?

    Right now there’s only one file that you need to worry about. You can either replace that file or if you have access to a file editor through the hosting service, you can do the fix below:

    change line 1440 of the admin.php file (in the admin folder) to this:

    $this->league = $leaguemanager->getLeague($this->league_id);

    All you are really doing is adding a single character (the ‘$’ in front of the last ‘this’ was missing).

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

    (@lamontef)

    Good news… Thanks!

    Plugin Author LaMonte Forthun

    (@lamontef)

    @dramsell, you’re getting the Ajax error on saving with 3.8.8? What ‘sport’ are you using in preferences? Have you made any modifications to any of the files or are you using 3.8.8 as downloaded? (I’m sure I know the answer to that question, but have to ask…)

    Just as an FYI, the way the ‘points’ works is if you add a point, that number remains, if you want to add two points you put ‘2’, otherwise you’d lose track of how many points the team has actually earned. In other words, if a team has 8 wins and 2 ties and gets 2 points for a win and 1 for a tie, they should have 18 points. If you add a point to their total to bump them in the standings, then need to do it again, you won’t have a clear record of how many points you added to their total, even though it’s simple math. By keeping the total number of ‘extra points’ clear in the ‘+/- Points’ field, you always know how many have been added.

    At least that’s my take on why it works the way it does, keep in mind that I didn’t write that code…

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

    (@lamontef)

    lamontef (@) yahoo (.) com

    That’s the best for me right now, my email server has been rejecting everything ever since an update a couple of days ago (which is one of the reasons I haven’t gotten you your code for the standings yet, I’m in a bit of a panic situation trying to resolve the email issue…)

Viewing 15 replies - 406 through 420 (of 574 total)