Chris Patterson
Forum Replies Created
-
Forum: Plugins
In reply to: [Event Organiser] UTC problem?Sorry for disappearing on you, Stephen. Whatever the problem was is now gone after the plugin was updated this week, so thank you for that fix. For the record, I did not have any caching plugins installed at the time. I am going to install W3, though, so fingers crossed that it doesn’t cause any new grief.
Thanks again for the great response.
Forum: Plugins
In reply to: [Event Organiser] UTC problem?Ok. Killing the cache in the
eo_get_the_occurrences_of()function fixes the issue. I guess you would know better than I why that would result in the problem I saw. Perhaps my version of PHP is still not correctly caching the DateTime objects. For the record, the PHP version of my XAMPP server is 5.3.8.Forum: Plugins
In reply to: [Event Organiser] UTC problem?The incorrect time does in fact show a timezone of ‘UTC’, as opposed to the correct ‘America/Vancouver.’ The times are all correct in the eo_events table in the database.
As an aside, thanks so much for the prompt responses. I’m really impressed with your support for the plugin.
Forum: Plugins
In reply to: [Event Organiser] UTC problem?On any other pages other than the Event single, the Event list widget displays the correct times.
Yes, the events other than the one being viewed show correctly. Oddly, for an event marked recurring which appears in the Widget Event List more than once, only the first entry shows the wrong start time.
Yes, I’m using custom templates for both the single and the widget. It’s certainly possible I’ve introduced some error, but I don’t see anything that would cause such an odd bug.
Yes, if I change the timezone, the incorrect time changes to match.
The fact that the bug only happens on a page with two calls to the event loop seems telling.
Correction to myself: I had enabled the intents in the global options, but it wasn’t enabled in the options of the actual widget on the widget page. I’m not sure if this behavior is intentional or not.
I was having a similar problem with the icons not appearing. I opened my page in Firebug, and noticed that the ‘intent-meta’ content that the CSS is supposed to style was not actually being generated, despite the option being checked.
I don’t want to spend a whole lot of time going through the code, but in line 607 of wp-twitter-widget.php, simply reversing the == to != makes the icons appear. That’s clearly backwards, so there’s a problem somewhere in there with the way the ‘showintents’ arg is being set.