Home › Forums › Calendar Products › Events Calendar PRO › Problem with Disappearing Events
- This topic has 6 replies, 3 voices, and was last updated 10 years ago by
Support Droid.
-
AuthorPosts
-
March 24, 2016 at 9:51 am #1093510
Ingrid
ParticipantHi there,
My developer created a plugin that goes over top of the Event Calendar Plugin to allow user to see the events in their timezone where-ever they are. It works great, the only problem is that when the event crosses over from one day back to the next the event disappears. (eg. The event is happening at 12:30am GMT – 4 (New York) and the previous day at 10:30PM GMT -7 (Los Angeles). The Los Angeles Event will disappear. All events are loaded in ical for GMT. I’m wondering if you can maybe point me to where the problem/bug might be? The created plugin just uses a simple JQuiry script for changing the time.
March 25, 2016 at 7:36 am #1093969Brian
MemberHi,
Thanks for using our plugins. I can try to help out here.
I am not clear exactly what is happening.
Where does the event disappear? From your event views or your custom script.
What is the timezone setup for your site in general?
Also, in your example does the LA Event never show or does it get hidden early?
If you can provide any links in a private reply that would help too.
Thanks
March 28, 2016 at 8:32 am #1094799Ingrid
ParticipantThis reply is private.
March 28, 2016 at 1:37 pm #1094959Brian
MemberHi,
he site is on maintenance right now, but here is a password to go in and take a look. businesstimingcalendar.com
I appreciate the offer!
However, our current policy is not to accept logins or to log in to customer servers/WordPress installations.
I am not sure it is possible for what you are asking. We do not have a feature to display all the times based on the visitors timezone. So the query does not recognize your script.
You would have to rewrite the month view queries to take the timezone into account before they even grab the events for each day. Or as you are seeing it will not move an event to the day before.
This is the new filter we have added to change the query for each day of the month:
tribe_events_month_daily_events_query_args
And it is found in this file here:
the-events-calendar/src/Tribe/Template/Month.php
You would want to change the query on page load for the visitors timezone.
I do not have anymore information on this, but can try to help out with a couple more questions.
Thanks
March 28, 2016 at 1:57 pm #1094972Ingrid
ParticipantThis reply is private.
March 29, 2016 at 7:39 am #1095367Brian
MemberOk sounds good let me know.
April 13, 2016 at 9:35 am #1101984Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Problem with Disappearing Events’ is closed to new replies.
