| View previous topic :: View next topic |
| Author |
Message |
JohnA Site Admin
Joined: 11 Jul 2003 Posts: 4032 Location: Washington DC
|
Posted: Tue May 30, 2006 9:51 pm Post subject: 2.14 Wallchart second fix |
|
|
This is a replacement for the wallchart.php file. This contains a fix to prevent the user entering scores when the games is in the past.
http://www.predictionfootball.com/files/patches/v214/wallchart.zip
Last edited by JohnA on Wed May 31, 2006 3:57 pm; edited 1 time in total |
|
| Back to top |
|
 |
AR
Joined: 29 Jan 2006 Posts: 50
|
|
| Back to top |
|
 |
akky
Joined: 04 Mar 2006 Posts: 332 Location: UK South Coast
|
Posted: Tue May 30, 2006 10:18 pm Post subject: |
|
|
John
I've replaced it and got the below error
Parse error: parse error, unexpected $ in PredictionLeague/wallchart.php on line 766
Steve _________________ Steve
www.help-2.com
comments welcomed.
announcement tonite |
|
| Back to top |
|
 |
SilverBoy
Joined: 20 Sep 2005 Posts: 53
|
Posted: Tue May 30, 2006 10:37 pm Post subject: |
|
|
Hi john, I just downloaded the script now, did you fix the package or I must patch my copy?
anyway what is wallchart exactlly? and is there a way to do World cup prediction in my site with v 2.14? |
|
| Back to top |
|
 |
JohnA Site Admin
Joined: 11 Jul 2003 Posts: 4032 Location: Washington DC
|
Posted: Wed May 31, 2006 1:49 am Post subject: |
|
|
Silver, please post your question in a forum other than patches.
The file here replaces the wallchart.php from 2.13. The other wallchart patch replaces tournament functions.php.
akky, that line should be:
<div align="right"> <span class="teamname"><?php echo $teams['G47F']; ?></span>
What does yours have?
JohnA _________________ Prediction Football
'You know the score' |
|
| Back to top |
|
 |
AR
Joined: 29 Jan 2006 Posts: 50
|
Posted: Wed May 31, 2006 7:38 am Post subject: |
|
|
Hi John,
I think it's not the complete code
See the last line
<div align="right"&g |
|
| Back to top |
|
 |
akky
Joined: 04 Mar 2006 Posts: 332 Location: UK South Coast
|
Posted: Wed May 31, 2006 12:01 pm Post subject: |
|
|
as AR said, your posted code seems incomplete. Is their a post length set up on the forums. If so, you may have pasted more than it would accept.
Steve _________________ Steve
www.help-2.com
comments welcomed.
announcement tonite |
|
| Back to top |
|
 |
JohnA Site Admin
Joined: 11 Jul 2003 Posts: 4032 Location: Washington DC
|
|
| Back to top |
|
 |
AR
Joined: 29 Jan 2006 Posts: 50
|
Posted: Wed May 31, 2006 6:21 pm Post subject: |
|
|
I saw a little bug
i get these error's
| Code: | | Notice: Undefined variable: Txt_Second_Round in /home/httpd/vhosts/XXXXXXXXX/httpdocs/wallchart.php on line 795 |
| Code: | | Notice: Undefined variable: Txt_Second_Round in /home/httpd/vhosts/XXXXXXXX/httpdocs/wallchart.php on line 858 |
i saw in the language file
on line 485 $Txt_Roundsof16 = "Round of 16";
So i changed the code Txt_Second_Round in wallchart.php on line 795 and 858 in $Txt_Roundsof16
or i have to change $Txt_Roundsof16 to $Txt_Second_Round on line 485
in my language file ?
Last edited by AR on Thu Jun 05, 2008 9:42 am; edited 1 time in total |
|
| Back to top |
|
 |
JohnA Site Admin
Joined: 11 Jul 2003 Posts: 4032 Location: Washington DC
|
Posted: Wed May 31, 2006 8:21 pm Post subject: |
|
|
It needs the updated lang.english.php
Last few entries:
$Txt_Join = "Join";
$Txt_Enable_Mini_leagues = "Enable Mini Leagues";
$Txt_Accept = "Accept";
$Txt_Unlock = "Unlock";
$Txt_Unlocked = "Unlocked";
$Txt_Lock = "Lock";
$Txt_Second_Round = "Second Round"; _________________ Prediction Football
'You know the score' |
|
| Back to top |
|
 |
masterplumber
Joined: 05 May 2006 Posts: 21
|
Posted: Wed May 31, 2006 10:15 pm Post subject: |
|
|
Does the wallchart take account of timezone offset? My server is in the US. I had to take 6 hours off each fixture (5 hours UK time difference plus 1 hour European time) in insertwk2006.php (e.g. 18:00 changed to 12:00) to ensure that the fixtures displayed correctly in GMT for users in the UK.
Now when I look at the wallchart the fixtures are displaying the server time i.e. all of the fixtures are 6 hours out. _________________ The Midnight Plumbers |
|
| Back to top |
|
 |
JohnA Site Admin
Joined: 11 Jul 2003 Posts: 4032 Location: Washington DC
|
Posted: Thu Jun 01, 2006 2:37 am Post subject: |
|
|
Thanks for the heads up.
JohnA _________________ Prediction Football
'You know the score' |
|
| Back to top |
|
 |
JohnA Site Admin
Joined: 11 Jul 2003 Posts: 4032 Location: Washington DC
|
Posted: Thu Jun 01, 2006 3:35 am Post subject: |
|
|
The wallchart link has been updated to include the lang file and date fixes. You can also get this in 2.15 from the donors section.
JohnA _________________ Prediction Football
'You know the score' |
|
| Back to top |
|
 |
masterplumber
Joined: 05 May 2006 Posts: 21
|
Posted: Thu Jun 01, 2006 9:27 pm Post subject: |
|
|
Installed and appears to be working ok.
Couple of points about the English language file.
There is a typo (says predictoin rather than prediction somewhere within the help section
'Round of 16' is more commonly known as 'Last 16'
I know these are simple cosmetic things but thought you might like to know
Great work though - now looking pretty good _________________ The Midnight Plumbers |
|
| Back to top |
|
 |
|