Closed (fixed)
Project:
Sports Pickem
Version:
6.x-2.x-dev
Component:
Gameset files
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
18 Apr 2012 at 08:49 UTC
Updated:
3 Dec 2012 at 19:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jvandervort commentedNice early start:)
Comment #2
IronDogg commentedAny chance of a CFL gameset? (Canadian football league)
Comment #3
jvandervort commentedAny news on the nfl 2012 schedule? Need any help?
Comment #4
tlreiners commentedI've been sidetracked by random drupal 7 inconsistencies in my dev environment, but should have it done before preseason games start.
Is it necessary to have the New York Teams labeled as N.Y. Jets Jets and N.Y. Giants Giants (my starter gameset has them that way)?
Comment #5
jvandervort commentedRe: JETS
Probably should be:
City: New York
Name: JETS
Comment #6
Nathan86 commentedHi John,
I've been trying to get in contact with you to discuss help with this modification as a paid service, can you contact me, I've tried through drupal and your public listed jvandervort@drupal.org, just not sure if you got them can you contact me via nath69@gmail.com
Nathan
Comment #7
Nathan86 commentedtlreiners have you finished the 2012 gameset :)
Comment #8
tlreiners commentedNFL 2012 gameset is attached. I caught myself putting CAR for an ARI game once, hopefully I didn't do it any other times?! Run a check on it and let me know if anything is out of place.
Comment #9
tlreiners commentedComment #10
jvandervort commentedGameset looks good. I didn't find any errors. Thanks for the help.
Comment #11
davidryman commentedExcellent work
Comment #13
sebokopter commentedHey Guys, any of you missing the date and times of the games/weeks in the gameset?
I've downloaded http://drupal.org/files/NFL_2012.gameset.txt to my sites/all/modules/pickem/data and renamed it to "NFL_2012.gameset". Then I imported the gameset through the Web-UI. Everything is imported except for the game dates. I think the problem is that my version 6.x-2.6+1-dev needs a UTC date format. Due to the fact that the older gamesets with UTC are working. And the NFL 2012 gameset has the dates saved as unix timestamps.
Is timestamp the new way to save dates? And why isn't it working with the newest pickem version for Drupal 6?
Btw: Thank you jvandervort for the great module, documentation and support. And tlreiners thanks for the sisyphean task :)
Comment #14
jvandervort commentedYes, UTC timestamps are new in Pickem7.x and not compatible with Pickem6.x
As to why, pickem6.x is frozen (bugfix only) and unfortunately 6.x didn't get that feature. It wasn't a small patch. I was hoping someone would post a 6.x version as I believe there are quite a few users.
Comment #15
sebokopter commentedThanks jvandervort for the very fast response.
I've wrote a very simple perl script to generate the NFL Gameset for pickem 6.x from tlreiners gameset. It basicly only replaces the timestamps [1] and renamed some fields [2].
I hope that doesn't break anything but it looks good to me at first glance.
I append the NFL Gameset for pickem6.x though its too late since the NFL Season already started. But maybe it helps someone next year ;)
[1]
while( $line =~ /(\d{10})/g ) {
$timestamp = $1; $time = strftime("%Y-%m-%d %H:%M:%S",gmtime($timestamp));
$line =~ s/s:10:"$timestamp/s:19:"$time/g;
}
[2]
$line =~ s/s:15:"first_gamestart"/s:12:"wk_firstgame"/g;
$line =~ s/s:14:"last_gamestart"/s:11:"wk_lastgame"/g;
$line =~ s/s:9:"gamestart"/s:8:"gametime"/g
Comment #17
jvandervort commented