LaMonte Forthun
Forum Replies Created
-
Forum: Plugins
In reply to: [LeagueManager] Error in widget.phpIt’ll be updated in the code soon… Thanks for the info.
Forum: Plugins
In reply to: [LeagueManager] Groups in ChampionshipYou have to designate which group the table is for, so your standings shortcode will look like this:
[standings league_id=1 group=A template=nolink]
[standings league_id=1 group=B template=nolink]
If you want to list four groups, you have to put four lines like above, one for each group.
Forum: Plugins
In reply to: [LeagueManager] Err in Version 3.8.3The error was reported to the developer earlier today and will be updated shortly, thanks for the note…
Forum: Plugins
In reply to: [LeagueManager] Championship mode- moving teams to semi final-howCheck that you’ve updated all scheduled games, if there are any that aren’t updated (no scores), the next round won’t be set up. If every game is updated and the top two aren’t moved into the semis, there’s something else going on. If you can check the scores first, we can go from there.
Forum: Plugins
In reply to: [LeagueManager] Tore werden falsch angezeigt“(Version 3.8) More recently, the shot and the conceded goals are displayed incorrectly. All teams have either 9 or 8-8 goals. What can I do there?” (translated)
What sport are you using in preferences?
Forum: Plugins
In reply to: [LeagueManager] Update 3.8.0 –> .1 –> .2 Parse error when activating pluginIf you use this:
$this->league = $leaguemanager->getLeague($this->$league_id);Your exported CSV file will not be named properly as there can’t be a ‘$’ in front of ‘league_id’
The line needs to be:
$this->league = $leaguemanager->getLeague($this->league_id);
It will be submitted as a fix shortly.
Forum: Plugins
In reply to: [LeagueManager] SetupDo you still need some help with your setup? There isn’t much more than what’s in the documentation, but if you still need some ideas let me know and I’ll see what I can do for you.
Forum: Plugins
In reply to: [LeagueManager] Chanpionship TableYou have to designate which group the table is for, so your standings shortcode will look like this (I just pulled this from a post I did this morning with the Euroleague basketball Top 16, two groups E and F):
[standings league_id=20 group=E template=nolink]
[standings league_id=20 group=F template=nolink]
That gives me two separate tables, one for each group.
The post is here so you can see (I’ve also got this weeks matches before the standings and next weeks after):
http://www.court-side.com/news/blog/euroleague-cska-hands-madrid-third/
Forum: Plugins
In reply to: [LeagueManager] Championship mode can`t add matchesGood news…
Forum: Plugins
In reply to: [LeagueManager] Championship mode can`t add matchesIn your preferences for your league, what sport did you designate? I don’t know if it’ll make any difference, but I’m trying to duplicate your set up to see where the problem could come in. You’re currently using LeagueManger 3.8, yes?
The fact that you can’t add a season is your biggest problem because without a season no matches will be entered. Are you seeing the notice at the top that says, “You need to add at least one season”?
When you add the season, all your teams that you’ve set up will ‘disappear’ when you go to the league because they won’t be associated with the season you’re working with. You’ll have to go into the database and manually enter the season for each team you’ve entered if you’ve done a lot of work, or start over.
Forum: Plugins
In reply to: [LeagueManager] Please notify when you fix the bugThe problem with reverting to 3.8 is that the update fixes a serious security exploit that has been identified and posted on a number of sites. Once it’s made public like that the hackers will get out and find sites that haven’t fixed it.
At the very least, change line 532 in leaguemanager.php (listed above), so that the security problem is resolved…
Forum: Plugins
In reply to: [LeagueManager] Please notify when you fix the bugThere have been a couple of solutions to the problem if you look at the forum list…
Here’s what I did, which is slightly different than those solutions, but keeps the author’s intended user check in place:
In the file leaguemanager.php, change the following lines (it’s the last line of the file):
line 6:
Version: 3.8
to
Version: 3.8.1line 101:
$this->__construct();
to//Security, check if current user is allowed to manage leagues if ( !current_user_can( 'manage_leagues' ) ) : echo '<p style="text-align: center;">'.__("You do not have sufficient permissions to access this page.").'</p>'; else : $this->__construct(); endif;Line 532:
$lmLoader->adminPanel->export($_POST[‘league_id’], $_POST[‘mode’]);to:
$lmLoader->adminPanel->export((int)$_POST[‘league_id’], $_POST[‘mode’]);
Change those lines and you’ll update the version to 3.8.1 and get rid of the update notice, you’ll fix the exploit per a security firm’s suggestion and you’ll keep the check that was placed on the lmloader to ensure the user is allowed to manage leagues.
Forum: Plugins
In reply to: [LeagueManager] Security Issues With League ManagerHi JM,
The developer hasn’t been around for a while, but I’ve been working with some bug fixes and such and would like to know what you’ve found to see if I can help get things fixed up and out to those using it.
Thanks,
LaMonte
Forum: Plugins
In reply to: [LeagueManager] Import teamsCan you send me the file you’re importing, I’ll have a look at it and see if I can find a problem with the import. (lamontef@collegefundsoftware.com)
You’re importing teams into a new league, yes?
Forum: Plugins
In reply to: [LeagueManager] Error 404Do you have the most up-to-date version of the plug-in? What version of WordPress are you using? Sounds like something’s not installed right, but it’s hard to say without a bit more info.