Forum Replies Created
-
AuthorPosts
-
Stephen Chuchel
ParticipantGreat, thanks very much for the update!
Stephen Chuchel
ParticipantHi,
I noticed that the latest update to plugins (4.2.5 and Pro 4.2.4) fixed the issue on our staging site. But the production site is still having the problem. All active plugins are the same. I have re-saved permalinks and re-saved WPML language settings. Were there DB changes that could have run on our staging site that did not run on production?
Thank you.
Stephen Chuchel
ParticipantHi, is there any news on this? The bug is currently making it impossible for users in other languages to browse through events on our website.
Thank you!
Stephen Chuchel
ParticipantThank you for the reply. Look forward to seeing the fix in future release soon!
Stephen Chuchel
ParticipantWonderful…
Stephen Chuchel
ParticipantI guess so.. On another not, it’d be super handy if once you logged in here to post a reply it would redirect you back to the thread you were viewing.
Stephen Chuchel
ParticipantYeah, the context is probably just public, because scheduled tasks run when visitors come to your site. But just to be safe, and for testing purposes I added this line:
if ( ! has_action('parse_query', array('TribeEventsQuery', 'setupQuery')))
{
add_action('parse_query', array($this, 'tribe_setup_query'), 0);
}
Which basically copies the setupQuery function without the is_admin() or any other checks.Stephen Chuchel
ParticipantAlright. I just wanted to see if there were another alternative or shortcut within the plugin already. Thanks.
Stephen Chuchel
ParticipantBecause, I’d expect that to return events after today, that have the correct event date, but they don’t when is_admin() is true.
Stephen Chuchel
ParticipantSo you’re saying that tribe_get_events(‘eventDisplay=upcoming&posts_per_page=-1′) isn’t useful in this case?
Stephen Chuchel
ParticipantYeah sorry, I didn’t notice multiple _EventStartDate entries. But what I noticed is that when I grab all the meta, there is only one _EventStartDate which is different than both the post_date, and the EventStartDate property that is returned with event post objects on the frontend of the website. So I’m not sure where the conversion is happening to get the next recurring date is? I ended up copying the tribe query filter setup function into my own class to be used on the backend, so that EventStartDate would be returned with the post object.
Stephen Chuchel
ParticipantOh, figured it out. It was a template issue. Thanks. I had something similear to:
if (is_archive() OR is_search())
{
the_excerpt();
}
else
{
the_content();
}
So after the upgrade it was falling into that “if” block and only outputting the excerpt (stripping all HTML). I changed the “if” to:
if ((is_archive() OR is_search()) AND ! is_tax('tribe_events_cat'))and it works correctly now. -
AuthorPosts
