Arrow

Who Won? under past score's | Peter's Sports League Standings | Forum

Back to the sports standings script page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Who Won? under past score's
November 21, 2008
12:34 am
Sonny
Guest

Pete

I did not even think about this, until I just realized it,
look under "past score's" how does one know who won?
you have the home team, the away team field and score
right? it just displays 4-1 but how would anyone know who
has what,

Am I going nuts, or am I right?
Sonny

November 21, 2008
4:21 pm
Peter
Admin
Forum Posts: 841
Offline

It's always arranged as home - away. However, for a future version I might make the winning team's name bold.

November 22, 2008
2:42 pm
Sonny
Guest

That’s what I did the other day Pete

Know whats strange about that? no matter who wins, home or away
when you <b> the winninteam and RF variable’s both are always the home team is “winningteam” and RF tags, really related to the home team’s only?

Example when I bold THE winningteam and RF tags in standings.php
whether the score is 4-1 home team or 1-4 away team the bold is always on the home team, it works but strange?

I think when you get around to this, you should just rearrange the table and have it home team score, away team score etc something like the flag football site you have linked to on the front page

Sonny

June 10, 2009
2:10 am
Murray
Guest

Peter, I am having the same sort of issues as above. The home and away teams swap positions but scores stay the same as entered. However it always gets the win draw points correct. I also am having no luck in getting the winning team to appear in bold.

ie. I enter a game as follows
Home: Geminis - Beat - Away: Pandas
Score: 6 - 1

In

localhost/sport/orig/standings/update.php?action=mainview&conf=1

it displays
January 15, 2009 12:00pm Pandas Geminis Stadium Grande 6 - 1

This might only be an issue with the latest version

regards

Murray

June 10, 2009
7:57 am
ph
Guest

Ph said:

I think i solved the problem. I am not sure if its the right thing to do.

In standings.php on line 461:
I switched losingteam and winningteam around

In mainview.php on line 104:
I switched losingteam and winningteam around

I know basic php, so if this is the incorrectway to do things, please let me know.


This is what i did when i had the problem, and it now works perfectly. ;)

June 11, 2009
2:36 am
Murray
Guest

Thanks....worked for me too. You also need to do the swap for up and coming games. My version has diff line numbers than you give but the lines I also changed were 160 in mainview.php and line 523 with 524 in standings.php

June 24, 2009
1:59 am
Peter
Admin
Forum Posts: 841
Offline

Thanks guys. It was definitely flipped in the initial 1.4 release and has now been fixed.