Link to "Auto Update Scores"
Re: Link to "Auto Update Scores"
09-09-2012 1:12 PM
jhronesz
Top 10 Contributor
Joined on 09-03-2012
Posts 11
auto update scores
Reply Contact
Auto update scores is not working for me. anyone else having issues?
09-09-2012 1:23 PM In reply to
jhronesz
Top 10 Contributor
Joined on 09-03-2012
Posts 11
Re: auto update scores
Reply Contact
nevermind. please delete post. my update scores page had 2011 info.
09-09-2012 2:31 PM In reply to
scooby103
Top 50 Contributor
Joined on 09-09-2012
Posts 1
Re: auto update scores
Reply Contact
Sorry, how did you fix this? Please put the instructions. I am having the same issue. Tks,
09-09-2012 3:34 PM In reply to
Looch499
Top 25 Contributor
Joined on 09-02-2012
Posts 3
Re: auto update scores
Reply Contact
Yes, if you could please add the instructions on how to auto update that would be great. Or at least in which folder it is I don't remember from last year, thanks.
09-09-2012 4:39 PM In reply to
DesertDog
Top 10 Contributor
Joined on 08-21-2012
Posts 11
Re: auto update scores
Reply Contact
I have the correct url and it still doesn't work
09-09-2012 7:40 PM In reply to
JackassAlex
Top 25 Contributor
Joined on 08-22-2012
Posts 5
Re: auto update scores
Reply Contact
I also have changed updateScores.asp to reflect for 2012..... "var scoresUrlBase = "http://www.nfl.com/scores/2012/REG""
It still tells me there is are "No Results Available, Try Again Later" when I confirm that the scores are present on that page.
Any ideas?
09-10-2012 4:00 AM In reply to
MGD King
Top 25 Contributor
Joined on 09-07-2012
Posts 5
Re: auto update scores
Reply Contact
Mine seems to just hang at the update in progress window. This seems to be a problem only while games are in progress. If you try to update your scores after the games have finished (wipe all the scores out for the wweek and then update by pressing the load button) it seems to work.
09-10-2012 9:13 AM In reply to
fishtail
Top 25 Contributor
Joined on 08-22-2012
Posts 8
Re: auto update scores
Reply Contact
this is how I made mine worked.
I forgot to turn this value on in config.asp
const ENABLE_SCORES_ADDON = true
Once I did that, I browsed to "updatescores.asp" page with Admin account, I was able to see "Auto-Update" check box.
then I went to "standings.asp" page, and everything shows up fine!
09-10-2012 9:14 AM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15
Re: auto update scores
Reply Contact
Strange, mine would not work at all yesterday but today is working. thanks Clarence
09-11-2012 5:00 AM In reply to
jhronesz
Top 10 Contributor
Joined on 09-03-2012
Posts 11
Re: auto update scores
Reply Contact
here is the code that is on my updatescores.asp page. mine works. // loadCheckMaxWaitTime) { // Yes, abort. getScoresCleanUp(); errorMsg = "The operation timed out, try again later."; showLoadingDisplay("loadingError"); // If auto-update is on, set for the next attempt. if (autoUpdate) { setTimeout(hideLoadingDisplay, autoUpdateDialogTimeout); autoUpdateLoadTimeoutID = setTimeout(getScores, autoUpdateLoadTimeout); } } } //--------------------------------------------------------------------- // Cleans up after an attempt to load game results. //--------------------------------------------------------------------- function getScoresCleanUp() { // Clear the interval timer. if (loadCheckIntervalID != null) { clearInterval(loadCheckIntervalID); loadCheckIntervalID = null; } // Remove the IFRAME. if (scoresIframe != null) { document.body.removeChild(scoresIframe); scoresIframe = null; } } //--------------------------------------------------------------------- // Parses the scores page and updates the form with any new game // results. //--------------------------------------------------------------------- function processScores() { // Get the document loaded in the iframe. var doc = scoresIframe.scoresDoc; // Scan the document for final game results. Below is the basic // pattern searched for. There should be one of these for each // game: // //
//
//
// ... //
//
//
...
//
...
//
//
AWAY_SCORE
//
nnnnnnnnnn
//
//
//
//
//
// ... //
//
//
...
//
...
//
//
HOME_SCORE
//
nnnnnnnnnn
//
//
//
//
// ... //
FINAL
// ... //
// ... //
var vid, hid, vscore, hscore, ot; var s var el, el2; var vn, hn; var divEls = doc.getElementsByTagName("DIV"); for (var i = 0; i 0) return elList[0]; } return null; } //--------------------------------------------------------------------- // Given a url, returns the value assigned to the given query string // parameter. //--------------------------------------------------------------------- function getQueryStringParameter(qs, pName) { var re = new RegExp( "[?&]" + pName + "=([^&$]*)", "i" ); var offset = qs.search(re); if (offset == -1) return ""; return RegExp.$1; } //--------------------------------------------------------------------- // Takes the parsed game results and updates the appropriate form // fields. //--------------------------------------------------------------------- function setGameFields() { // For each game result found, find a matching set of form fields // to load the data into. if (gameData.length > 0) { resultMsg = "All game results are up to date."; for (var i = 0; i
0 and not IsCancelRequest() then for i = 1 to n 'Get the form fields. gameID = Trim(Request.Form("id-" & i)) vscore = Trim(Request.Form("vscore-" & i)) hscore = Trim(Request.Form("hscore-" & i)) ot = Trim(Request.Form("ot-" & i)) 'Validate the form fields. if vscore <> "" or hscore <> "" or ot <> "" then if not IsValidInteger(vscore) then FormFieldErrors.Add "vscore-" & i, "'" & vscore & "' is not a valid game score." else if CInt(vscore) 0 then call DisplayFormFieldErrorsMessage("Error: Invalid fields. Please correct and resubmit.") else for i = 1 to n gameID = Trim(Request.Form("id-" & i)) vscore = Trim(Request.Form("vscore-" & i)) hscore = Trim(Request.Form("hscore-" & i)) ot = Trim(Request.Form("ot-" & i)) if LCase(ot) <> "true" then ot = false end if 'Update the scores. if vscore = "" then vscore ="NULL" end if if hscore = "" then hscore ="NULL" end if sql = "UPDATE Schedule SET" _ & " VisitorScore = " & vscore & "," _ & " HomeScore = " & hscore & "," _ & " OT = " & ot _ & " WHERE GameID = " & gameID call DbConn.Execute(sql) 'Update the results. call SetGameResults(gameID) next 'Clear any cached pool results. call ClearWeeklyResultsCache(week) if ENABLE_MARGIN_POOL then call ClearMarginResultsCache(week) end if if ENABLE_SURVIVOR_POOL then call ClearSurvivorStatus(week) end if 'Send out email notifications, if checked. infoMsg = "Update successful." notify = Trim(Request.Form("notify")) if LCase(notify) = "true" then infoMsg = "Update successful, notifications sent." call SendNotifications() end if 'Updates done, show an informational message. call DisplaySuccessMessage(infoMsg) end if end if 'Display the schedule for the specified week. dim cols cols = 9 if USE_POINT_SPREADS then cols = cols + 1 end if %> " method="post">
" />
<> "" then visitor = rs.Fields("VDisplayName").Value end if if rs.Fields("HDisplayName").Value <> "" then home = rs.Fields("HDisplayName").Value end if 'Highlight the results. if result = vid then visitor = FormatWinner(visitor) elseif result = hid then home = FormatWinner(home) end if if atsResult = vid then visitor = FormatATSWinner(visitor) elseif atsResult = hid then home = FormatATSWinner(home) end if 'If there were errors on the form post processing, restore those fields. if FormFieldErrors.Count > 0 then vscore = GetFieldValue("vscore-" & n, vscore) hscore = GetFieldValue("hscore-" & n, hscore) ot = FormFieldExists("ot-" & n) end if 'Set the OT checkbox state. checkedStr = "" if ot then checkedStr = CHECKED_ATTRIBUTE end if if alt then %>
">Week
" value="" />" value="" />" value="" /> " value="" /> " value="" size="2" class="" /> at " value="" size="2" class="" /> ">OT " name="ot-" value="true" />
"> Send update notification to users.
onclick="return scoresLoader.toggleAutoUpdate();" /> Auto-update );" />
10-07-2012 8:19 PM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15
Re: auto update scores
Reply Contact
Has any one figured this out yet, In the past I would leave it in auto update though out the games, but know it will not work when all games for that day are done. is there any way around this? Tango
11-04-2012 8:04 PM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15
Re: auto update scores
Reply Contact
Just wondering if we you all are still entering results manually? I pretty much sucks.
11-05-2012 7:31 AM In reply to
philwojo
Top 10 Contributor
Joined on 08-31-2012
Posts 24
Re: auto update scores
Reply Contact
You don't have to do them manually, but then you have to wait until all games for that day are finished. So on Sunday's you need to wait until the very last game is finished before you can use the "load" or "auto-update" feature.
I have not seen a way around it yet, and I don't know coding well enough to figure it out for myself either.
I agree it does kind of suck that it can't happen as games finish and that it relies on the entire day's worth of games.
Phil
11-05-2012 9:55 AM In reply to
afoster
Top 10 Contributor
Joined on 09-03-2012
Posts 15
Re: auto update scores
Reply Contact
I thought the auto update scores feature did not work as long as there were games in progress. So if you try to update between the end of the last game on Sunday afternoon and the start of the Sunday night game, it should work. Am I mistaken on that?
11-06-2012 8:13 AM In reply to
philwojo
Top 10 Contributor
Joined on 08-31-2012
Posts 24
Re: auto update scores
Reply Contact
That might work, but I think it depends on how late the last game from the Sunday afternoon stuff runs and if it runs in to the Sunday night game. Worst case is you try and it doesn't work.
Page 1 of 2 (19 items) 1 2 Next >
jhronesz
Top 10 Contributor
Joined on 09-03-2012
Posts 11
auto update scores
Reply Contact
Auto update scores is not working for me. anyone else having issues?
09-09-2012 1:23 PM In reply to
jhronesz
Top 10 Contributor
Joined on 09-03-2012
Posts 11
Re: auto update scores
Reply Contact
nevermind. please delete post. my update scores page had 2011 info.
09-09-2012 2:31 PM In reply to
scooby103
Top 50 Contributor
Joined on 09-09-2012
Posts 1
Re: auto update scores
Reply Contact
Sorry, how did you fix this? Please put the instructions. I am having the same issue. Tks,
09-09-2012 3:34 PM In reply to
Looch499
Top 25 Contributor
Joined on 09-02-2012
Posts 3
Re: auto update scores
Reply Contact
Yes, if you could please add the instructions on how to auto update that would be great. Or at least in which folder it is I don't remember from last year, thanks.
09-09-2012 4:39 PM In reply to
DesertDog
Top 10 Contributor
Joined on 08-21-2012
Posts 11
Re: auto update scores
Reply Contact
I have the correct url and it still doesn't work
09-09-2012 7:40 PM In reply to
JackassAlex
Top 25 Contributor
Joined on 08-22-2012
Posts 5
Re: auto update scores
Reply Contact
I also have changed updateScores.asp to reflect for 2012..... "var scoresUrlBase = "http://www.nfl.com/scores/2012/REG""
It still tells me there is are "No Results Available, Try Again Later" when I confirm that the scores are present on that page.
Any ideas?
09-10-2012 4:00 AM In reply to
MGD King
Top 25 Contributor
Joined on 09-07-2012
Posts 5
Re: auto update scores
Reply Contact
Mine seems to just hang at the update in progress window. This seems to be a problem only while games are in progress. If you try to update your scores after the games have finished (wipe all the scores out for the wweek and then update by pressing the load button) it seems to work.
09-10-2012 9:13 AM In reply to
fishtail
Top 25 Contributor
Joined on 08-22-2012
Posts 8
Re: auto update scores
Reply Contact
this is how I made mine worked.
I forgot to turn this value on in config.asp
const ENABLE_SCORES_ADDON = true
Once I did that, I browsed to "updatescores.asp" page with Admin account, I was able to see "Auto-Update" check box.
then I went to "standings.asp" page, and everything shows up fine!
09-10-2012 9:14 AM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15
Re: auto update scores
Reply Contact
Strange, mine would not work at all yesterday but today is working. thanks Clarence
09-11-2012 5:00 AM In reply to
jhronesz
Top 10 Contributor
Joined on 09-03-2012
Posts 11
Re: auto update scores
Reply Contact
here is the code that is on my updatescores.asp page. mine works. // loadCheckMaxWaitTime) { // Yes, abort. getScoresCleanUp(); errorMsg = "The operation timed out, try again later."; showLoadingDisplay("loadingError"); // If auto-update is on, set for the next attempt. if (autoUpdate) { setTimeout(hideLoadingDisplay, autoUpdateDialogTimeout); autoUpdateLoadTimeoutID = setTimeout(getScores, autoUpdateLoadTimeout); } } } //--------------------------------------------------------------------- // Cleans up after an attempt to load game results. //--------------------------------------------------------------------- function getScoresCleanUp() { // Clear the interval timer. if (loadCheckIntervalID != null) { clearInterval(loadCheckIntervalID); loadCheckIntervalID = null; } // Remove the IFRAME. if (scoresIframe != null) { document.body.removeChild(scoresIframe); scoresIframe = null; } } //--------------------------------------------------------------------- // Parses the scores page and updates the form with any new game // results. //--------------------------------------------------------------------- function processScores() { // Get the document loaded in the iframe. var doc = scoresIframe.scoresDoc; // Scan the document for final game results. Below is the basic // pattern searched for. There should be one of these for each // game: // //
//
//
// ... //
//
//
...
//
...
//
//
AWAY_SCORE
//
nnnnnnnnnn
//
//
//
//
//
// ... //
//
//
...
//
...
//
//
HOME_SCORE
//
nnnnnnnnnn
//
//
//
//
// ... //
FINAL
// ... //
// ... //
var vid, hid, vscore, hscore, ot; var s var el, el2; var vn, hn; var divEls = doc.getElementsByTagName("DIV"); for (var i = 0; i 0) return elList[0]; } return null; } //--------------------------------------------------------------------- // Given a url, returns the value assigned to the given query string // parameter. //--------------------------------------------------------------------- function getQueryStringParameter(qs, pName) { var re = new RegExp( "[?&]" + pName + "=([^&$]*)", "i" ); var offset = qs.search(re); if (offset == -1) return ""; return RegExp.$1; } //--------------------------------------------------------------------- // Takes the parsed game results and updates the appropriate form // fields. //--------------------------------------------------------------------- function setGameFields() { // For each game result found, find a matching set of form fields // to load the data into. if (gameData.length > 0) { resultMsg = "All game results are up to date."; for (var i = 0; i
0 and not IsCancelRequest() then for i = 1 to n 'Get the form fields. gameID = Trim(Request.Form("id-" & i)) vscore = Trim(Request.Form("vscore-" & i)) hscore = Trim(Request.Form("hscore-" & i)) ot = Trim(Request.Form("ot-" & i)) 'Validate the form fields. if vscore <> "" or hscore <> "" or ot <> "" then if not IsValidInteger(vscore) then FormFieldErrors.Add "vscore-" & i, "'" & vscore & "' is not a valid game score." else if CInt(vscore) 0 then call DisplayFormFieldErrorsMessage("Error: Invalid fields. Please correct and resubmit.") else for i = 1 to n gameID = Trim(Request.Form("id-" & i)) vscore = Trim(Request.Form("vscore-" & i)) hscore = Trim(Request.Form("hscore-" & i)) ot = Trim(Request.Form("ot-" & i)) if LCase(ot) <> "true" then ot = false end if 'Update the scores. if vscore = "" then vscore ="NULL" end if if hscore = "" then hscore ="NULL" end if sql = "UPDATE Schedule SET" _ & " VisitorScore = " & vscore & "," _ & " HomeScore = " & hscore & "," _ & " OT = " & ot _ & " WHERE GameID = " & gameID call DbConn.Execute(sql) 'Update the results. call SetGameResults(gameID) next 'Clear any cached pool results. call ClearWeeklyResultsCache(week) if ENABLE_MARGIN_POOL then call ClearMarginResultsCache(week) end if if ENABLE_SURVIVOR_POOL then call ClearSurvivorStatus(week) end if 'Send out email notifications, if checked. infoMsg = "Update successful." notify = Trim(Request.Form("notify")) if LCase(notify) = "true" then infoMsg = "Update successful, notifications sent." call SendNotifications() end if 'Updates done, show an informational message. call DisplaySuccessMessage(infoMsg) end if end if 'Display the schedule for the specified week. dim cols cols = 9 if USE_POINT_SPREADS then cols = cols + 1 end if %> " method="post">
" />
<> "" then visitor = rs.Fields("VDisplayName").Value end if if rs.Fields("HDisplayName").Value <> "" then home = rs.Fields("HDisplayName").Value end if 'Highlight the results. if result = vid then visitor = FormatWinner(visitor) elseif result = hid then home = FormatWinner(home) end if if atsResult = vid then visitor = FormatATSWinner(visitor) elseif atsResult = hid then home = FormatATSWinner(home) end if 'If there were errors on the form post processing, restore those fields. if FormFieldErrors.Count > 0 then vscore = GetFieldValue("vscore-" & n, vscore) hscore = GetFieldValue("hscore-" & n, hscore) ot = FormFieldExists("ot-" & n) end if 'Set the OT checkbox state. checkedStr = "" if ot then checkedStr = CHECKED_ATTRIBUTE end if if alt then %>
">Week
" value="" />" value="" />" value="" /> " value="" /> " value="" size="2" class="" /> at " value="" size="2" class="" /> ">OT " name="ot-" value="true" />
"> Send update notification to users.
onclick="return scoresLoader.toggleAutoUpdate();" /> Auto-update );" />
10-07-2012 8:19 PM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15
Re: auto update scores
Reply Contact
Has any one figured this out yet, In the past I would leave it in auto update though out the games, but know it will not work when all games for that day are done. is there any way around this? Tango
11-04-2012 8:04 PM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15
Re: auto update scores
Reply Contact
Just wondering if we you all are still entering results manually? I pretty much sucks.
11-05-2012 7:31 AM In reply to
philwojo
Top 10 Contributor
Joined on 08-31-2012
Posts 24
Re: auto update scores
Reply Contact
You don't have to do them manually, but then you have to wait until all games for that day are finished. So on Sunday's you need to wait until the very last game is finished before you can use the "load" or "auto-update" feature.
I have not seen a way around it yet, and I don't know coding well enough to figure it out for myself either.
I agree it does kind of suck that it can't happen as games finish and that it relies on the entire day's worth of games.
Phil
11-05-2012 9:55 AM In reply to
afoster
Top 10 Contributor
Joined on 09-03-2012
Posts 15
Re: auto update scores
Reply Contact
I thought the auto update scores feature did not work as long as there were games in progress. So if you try to update between the end of the last game on Sunday afternoon and the start of the Sunday night game, it should work. Am I mistaken on that?
11-06-2012 8:13 AM In reply to
philwojo
Top 10 Contributor
Joined on 08-31-2012
Posts 24
Re: auto update scores
Reply Contact
That might work, but I think it depends on how late the last game from the Sunday afternoon stuff runs and if it runs in to the Sunday night game. Worst case is you try and it doesn't work.
Page 1 of 2 (19 items) 1 2 Next >
Re: Link to "Auto Update Scores"
11-08-2012 9:49 PM In reply to
MGD King
Top 25 Contributor
Joined on 09-07-2012
Posts 5
Re: auto update scores
Reply Contact
afoster:
I thought the auto update scores feature did not work as long as there were games in progress. So if you try to update between the end of the last game on Sunday afternoon and the start of the Sunday night game, it should work. Am I mistaken on that?
Yes, you can update the scores in between the last late afternoon game and before the Sunday night game. That is what I do.
From what I can tell, NFL.com changed how they update the scores to the point where it broke the update functionality of the pool. I've been using this pool for years and this is the first year that I've ever experienced this. Makes me wonder if there's another source that could be used.
11-12-2012 12:07 PM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15
Re: auto update scores
Reply Contact
Is there no way around this, we really like the about update, I just open the page and let it go, this way while I am working it is updating, which is very cool watching as you move up and down on the results, Clarence
11-16-2012 3:44 AM In reply to
ElieCiment
Top 75 Contributor
Joined on 11-16-2012
Posts 1
Re: auto update scores
Reply Contact
Yeah even I have faced the same issues,is any their any solution you know about it.
wrecked cars for sale
12-02-2012 6:33 AM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15
Re: auto update scores
Reply Contact
Is there a way to get the scores for the tracker on the bottom of the screen, That seems to be updated and correct.
Clarence
Page 2 of 2 (19 items) < Previous 1 2
MGD King
Top 25 Contributor
Joined on 09-07-2012
Posts 5
Re: auto update scores
Reply Contact
afoster:
I thought the auto update scores feature did not work as long as there were games in progress. So if you try to update between the end of the last game on Sunday afternoon and the start of the Sunday night game, it should work. Am I mistaken on that?
Yes, you can update the scores in between the last late afternoon game and before the Sunday night game. That is what I do.
From what I can tell, NFL.com changed how they update the scores to the point where it broke the update functionality of the pool. I've been using this pool for years and this is the first year that I've ever experienced this. Makes me wonder if there's another source that could be used.
11-12-2012 12:07 PM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15
Re: auto update scores
Reply Contact
Is there no way around this, we really like the about update, I just open the page and let it go, this way while I am working it is updating, which is very cool watching as you move up and down on the results, Clarence
11-16-2012 3:44 AM In reply to
ElieCiment
Top 75 Contributor
Joined on 11-16-2012
Posts 1
Re: auto update scores
Reply Contact
Yeah even I have faced the same issues,is any their any solution you know about it.
wrecked cars for sale
12-02-2012 6:33 AM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15
Re: auto update scores
Reply Contact
Is there a way to get the scores for the tracker on the bottom of the screen, That seems to be updated and correct.
Clarence
Page 2 of 2 (19 items) < Previous 1 2