armando.alberti
Forum Replies Created
-
Forum: Plugins
In reply to: [LeagueManager] change matches templateForum: Plugins
In reply to: [LeagueManager] change matches templateForum: Plugins
In reply to: [LeagueManager] Standing is wrongJust for the track… there’s somehwere acaching mechanism preventing changes appreciated with immediate effect.
Just to let you all known
ThanksForum: Plugins
In reply to: [LeagueManager] Date format League Manager widget?? tried with next matches widget and does not work
I’ve used both quoted string …’l, j F Y’ and not quoted l,j F Y but no way for me!
always showing wpress format I’ve chosen i.e. 21/02/2015 14:30Forum: Plugins
In reply to: [LeagueManager] Does anyone know how…Oh yeah Jinko of course!
honestly I’ve managed to build my own matches.php templates w/o that form displayed quite time before this was gladly included into latest LM version ??Forum: Plugins
In reply to: [LeagueManager] Does anyone know how…AWESOME!!!!
Now works Ben! Many thanks indeed!
By the way I hope this fix IS included within next LeagueManager version!!!
Thanks againForum: Plugins
In reply to: [LeagueManager] Does anyone know how…appreciate it Ben52 but same as above,
Never mindForum: Plugins
In reply to: [LeagueManager] Does anyone know how…No way for me with League manager v3.9.1.1 it does not work.
This returns follwoing and SQL error
“#1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘) AND (winner_id
!= 0) ORDER BYdate
DESC LIMIT 0,1′ at line 4″fixed by changing line #287 of shortcode.php file as follow
BEFORE I’ve spotted one additional bracket ‘)’
$search .= " AND DATEDIFF(NOW(),
date) > 0) AND (
winner_id!= 0) ";
AFTER deleted the additional bracket
$search .= " AND DATEDIFF(NOW(),
date) > 0 AND (
winner_id!= 0) ";
notwithstanding this returns last played matches but not of my team (so it seems mode=home is simply ignored
Forum: Plugins
In reply to: [LeagueManager] Does anyone know how…Thank you ben52,
I was wondering what shortcode should I use to show in separated div:
1) my team last played match
2) my team next match to playI’ve tried time=prev/next but that’s re
[matches league_id=xx mode=home time=next (or) prev]But this seems not working… ??
(***remark = using LM v 3.9.1.1)
Thanks
Forum: Plugins
In reply to: [LeagueManager] Custom matchtableKolja,
I am sure many of us are producing interesting custom templates for showing standings matches etc etc.
Why don’t we create a kinda “LeagueManager Best Practice Forum” somewhere in Internet to let anyone sharing pieces of codes?
I am sure plug-in will take-off further….Thanks
Sorry was typing @ 300mph …
was saying anything I am writing in child theme style.css file is completely ignoredForum: Plugins
In reply to: [LeagueManager] Custom matchtablethis piece of code sounds familiar ??
Forum: Plugins
In reply to: [LeagueManager] Canno split match->title in customized matches.phpFantastic it works! Many thanks Kolja
I haven’t considered this was containing HTML code.
Btw you gave me the inspiration and I went a bit beyond…
I’ve preferred to keep three data column separated (home team, score, away team) this to get columns centered evenly.
Below my code if someone might be interested.<?php foreach ( $matches AS $match ) : ?> <?php $The_Home_team = $teams[$match->home_team]['title']; ?> <?php $The_Away_team = $teams[$match->away_team]['title']; ?> <?php if ( $leaguemanager->isHomeTeamMatch( $match->home_team, $match->away_team, $teams ) ) : ?> <? $The_Home_team = '<span style="color:#1D46A0;font-weight:bold">'.$The_Home_team.'</span>'; ?> <? $The_Away_team = '<span style="color:#1D46A0;font-weight:bold">'.$The_Away_team.'</span>'; ?> <? $match->home_points = '<span style="color:1D46A0;font-weight:bold">'.$match->home_points.'</span>'; ?> <? $match->away_points = '<span style="color:1D46A0;font-weight:bold">'.$match->away_points.'</span>'; ?> <?php endif; ?> <tr class='<?php echo $match->class ?>'> <td class='match' style='text-align:right'><?php echo $The_Home_team ?> </td> <td class='match' valign='bottom' style='text-align:center'><?php echo $match->home_points."-".$match->away_points ?><br /><?php echo '<span style="font-size:smaller;font-style:italic;">'.$match->date." ".$match->start_time.'</span>' ?> </td> <td class='match' style='text-align:left;'><?php echo $The_Away_team ?></td> </tr> <?php endif; ?> <?php endforeach; ?>
Forum: Plugins
In reply to: [LeagueManager] Canno split match->title in customized matches.php‘usong’ above is a typo of mine please don’t mind to it
Forum: Plugins
In reply to: [LeagueManager] Shortcode don′t work after update to 3.9.0.1Hi regarding # in decimal (floating) go to League preference and check
“Point formats for primary and secondary points (e.g. Goals)”
check “%d” is selected