View Single Post
Old 03-11-2013, 09:07 AM   #96
WheelsVT
High School JV
 
Join Date: Sep 2002
Location: GA
Quote:
Originally Posted by Ben E Lou View Post
My leagues all allow picks before the clock is on, and something related to that appears to be causing some issues in the GML draft. One thing in particular that is happening is that for the last few picks (including the one currently on the clock), pick_time has not been populated. My scripts that create my draft widget depend on something being there for a pick that has been made. Also, evidently something different is happening when a team is on the clock and not registered for the draft yet. It used to be that my scripts properly identified that team. Now they can't. I haven't been able to dig in yet to figure out what code I need to change to adjust to the latest changes.

Quote:
Originally Posted by Ben E Lou View Post
Oh, and no email notifications have gone out. I just double-checked and every team's email is populated or NULL. Could it be because some teams have email notification on and are unregistered? (NULL email)

I think your last point is very logical and likely the cause of all of it after looking at the code in functions.inc.php where pick_time is updated. You would think that unregistered teams should have email notification off. I'm checking where the defaults are set, and can add an additional test when picks are made. I'll post it here in a couple...
WheelsVT is offline   Reply With Quote