Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter got2know

    (@got2know)

    Mark,

    The widget (just using countdown), is pulling the right game(s) (I have one for Varsity and one for JV). The timer is 8 hours too fast though. Next game is actual 1 day, 6 hours, countdown shows 22 hours. This worked fine prior to me commenting out the code to fix the other issue.

    Yes, I’m good with beta testing! I’ll email you with my contact info so you can let me know what you need me to do.

    John

    Thread Starter got2know

    (@got2know)

    Mark,

    Okay, I think I made progress! But, I also noticed a widget issue.

    – I commented out the 4 instances of the code in the file.
    – I added a test game and the time was correct.
    – I went into existing games and hit “Update” and that recalculated the bottom field: UNIX Date-Time (Don’t Enter):

    All now looks good on the schedule.

    One new problem I noticed. The Countdown widget is showing 8 hours behind. I tried pulling the widget off the side and then putting it back on (hoping it would reset), but no such luck. I also tried adding a new game that was sooner, hoping to force a reset – didn’t work. Any thoughts on adding 8 hours to the widget calculation. Even if I had to hard code a line to add 8 hours, I’d be fine with that.

    John

    Thread Starter got2know

    (@got2know)

    Mark,

    I had the WP General Settings set to a city – Los Angeles. I changed it to Vancouver in case something was wacky with WP and Game Schedule both using Los Angeles.

    Now with line 98 commented out, the schedule is now 8 hours ahead (which seems more logical than 14 hours), but still not what I’m after.

    I’m having trouble with the line of code you suggested as a replacement. Not being a programmer, I may just have something small wrong, but it causes the site to crash.

    Replaced: date_default_timezone_set(‘America/Los_Angeles’);

    With: mstw_set_wp_default_timezone( );

    Error when loading the page: Fatal error: Call to undefined function mstw_set_wp_default_timezone() in /home/mvhslacrosse/mvhslacrosse.org/wp-content/plugins/game-schedules/mstw-game-schedule.php on line 99

    I guessed at some variations but they either still error’d out or did nothing.

    John

    Thread Starter got2know

    (@got2know)

    Mark,

    I guess I spoke too soon.

    I didn’t notice, but when I commented out that line, it looks like the Game Schedule picked up a different time zone (14 hours earlier). Any thoughts on how I can keep that code out and still have my times show up correctly on the schedule.

    I only had changed one instance of the code:

    • Line 98

    But, I see there are a few more instances of it further in the file, too. I couldn’t find the include file you referred to.

    Any thoughts?

    John

    Thread Starter got2know

    (@got2know)

    Mark,

    I guess I spoke too soon.

    I didn’t notice, but when I commented out that line, it looks like the Game Schedule picked up a different time zone (14 hours earlier). Any thoughts on how I can keep that code out and still have my times show up correctly on the schedule.

    I only had changed one instance of the code:

    • Line 98

    But, I see there are a few more instances of it further in the file, too. I couldn’t find the include file you referred to.

    Any thoughts?

    John

    Thread Starter got2know

    (@got2know)

    lol – yes, I’ve got connections to a San Diego high school, too (at least for a few more months until my nephew graduates), but I won’t tell you about that one or I’m likely to get even less help! 🙂

    Removing that one instance of the code seemed to have done the trick, and since you are phasing that code out with 3.0, soon, I’ll leave well enough alone at this point.

    Thanks so much for the quick feedback and excellent plugins. I’ll let you know when the site is all buttoned up and you can have another look. Hopefully, the team will give me player bios. I’d really like to implement the whole thing on the Roster side, too.

    John (got2know)

Viewing 6 replies - 1 through 6 (of 6 total)