Arrow

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

Back to the sports standings script page
 
Current User: Guest
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Who Won? under past score's

Reply to Post Add a New Topic
UserPost

12:34 am
November 21, 2008


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

4:21 pm
November 21, 2008


Peter

Admin

posts 732

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

2:42 pm
November 22, 2008


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

2:10 am
June 10, 2009


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

7:57 am
June 10, 2009


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. ;)

2:36 am
June 11, 2009


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

1:59 am
June 24, 2009


Peter

Admin

posts 732

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

Reply to Post

Reply to Topic:
Who Won? under past score's

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
7 + 11