I didn’t touch the plugin since more than 2 months (before 3.3 release).
I’m going to work on it while I’m on holidays from Sunday.
Thread Starter
gipic
(@gipic)
Hi mika, the first problem may be the same explained in the last one post. The second (display results in the same day of matches) was just present in the previous releases.
It’s not drammatic… but it is a limit to use it better
Thank’s
the site is : http://www.scquinto.com (section Risultati e Classifica)
Thread Starter
gipic
(@gipic)
Hi Mika with your new file is ok also for my first issue (point #1).
I have changed only phpleague.php to check it…
http://wordpress.org/support/topic/phpleague?replies=9
the #2 is still open…. and not fixed….
I try to explain better:
a) I have a match on March 6 at 10:00
b) At 11.00 I update the result (5-5)
c) I update the table (generate)
d) the table is ok with points and goals correct but the result (fixture) will not appear until midnight.
e) After midnight all is ok (table and results) without any intervention
if i change the date of match (ex: 5 march) the result is showing immediately
Yes, I didn’t had a look yet. I’m gonna check this.
Thread Starter
gipic
(@gipic)
Hi Mika,
I have identified the problems associated with updating the same day of the match.
There are 2 errors in the script phpleague-front.php
1) line 268, 313, 330: the row:
if (date(‘Y-m-d’) >= $row->played)
must be modified in:
if (date(‘Y-m-d H:i:s’) >= $row->played)
2) it is necessary to include the line
date_default_timezone_set(‘Europe/Rome’);
to have a correct Timezone.
With these changes the update is ok. If you implement only the #1 you have a 2 hours difference (for Italy, German, etc….) for incorrect timezone.
I have problem that is I guess attached to the updating problem, all of a sudden my “Latest results” got mixed up, it show last five but not in right order any more.. ti worked for like 10 legs up until now… now it’s mixed up… these are the last 5 results for these teams but not in right order.. any word on that?
Mika,
I had the same problem as “gipic” and I fixed doing what he did in his last post. And it works fine right now. Thx Gipic, thx Mika.
Javier