LaMonte Forthun
Forum Replies Created
-
Forum: Plugins
In reply to: [LeagueManager] home/away tableI have an idea that I’ll work on over the weekend…
Forum: Plugins
In reply to: [LeagueManager] calendarI’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
Forum: Plugins
In reply to: [LeagueManager] White Page updating matchesIf 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.
Forum: Plugins
In reply to: [LeagueManager] Syntax ErrorOver 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?
Forum: Plugins
In reply to: [LeagueManager] Team RankingI 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_DESCThis 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…
Forum: Plugins
In reply to: [LeagueManager] White Page updating matches@ 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] ArchiveSo if you select a new league and season in the pop up nothing changes?
Forum: Plugins
In reply to: [LeagueManager] Match ReportsIf 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?
Forum: Plugins
In reply to: [LeagueManager] Syntax ErrorExcellent, 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] ArchiveIf 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] ArchiveMe 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
Forum: Plugins
In reply to: [LeagueManager] Syntax ErrorDo 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] ImportingGood news… Thanks!
Forum: Plugins
In reply to: [LeagueManager] Ajax error on saving standings@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] calendarlamontef (@) 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…)