Filter events by users timezone

Home Forums Calendar Products Events Calendar PRO Filter events by users timezone

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1611680
    Stephen
    Participant

    We have events in multiple timezones and we would like to hide the events that aren’t in the users local timezone.
    Is there existing support for this?

    #1613028
    Victor
    Member

    Hi Stephen!

    Thanks for getting in touch with us!

    We apologize for a bit of delay in getting back to you. We are dealing with a high volume of threads at the moment and we are slowly getting back to normal response times.

    Unfortunately, that is not a built-in functionality of our plugins. You could probably achieve that with some custom coding. However, I anticipate that not being an easy task to accomplish.

    I’m sorry I can’t be of much help here. Do let us know if you have follow up questions.

    Best,
    Victor

    #1613593
    Stephen
    Participant

    Hey Victor,
    I don’t see much in the documentation about this.. what’s the best way to create a filter based on a parameter (like timezone) within the events loop, month / week / day views?

    Stephen Harman

    Developer

    O: 646-801-3175 [tel:646-801-3175]

    Cardwell Beach / 155 Water St. / Brooklyn, NY 11201
    Strategy & Execution: Research, Customer Insights, Financial Analysis, Brand Positioning, Websites, Pay-Per-Click, Advertising, Social Media, Analytics, Print, Video, Media
    cardwellbeach.com [http://cardwellbeach.com/]

    #1615208
    Victor
    Member

    Hi Stephen,

    You can learn more about how to customize our plugins in our Themer’s Guide > https://theeventscalendar.com/knowledgebase/themers-guide/

    Also, we have a nice helper function to query events which is the tribe_get_events() function > https://theeventscalendar.com/knowledgebase/using-tribe_get_events/

    Let me note that we are fairly limited in how much support we can give for custom development questions like that.

    That said, we always like helping out and at least point users into the right direction as much possible.

    If you need to create some customization around timezones I’d suggest you take a look at the Tribe__Events__Timezones class located at https://github.com/moderntribe/the-events-calendar/blob/master/src/Tribe/Timezones.php

    I hope that helps. Let me know if any follow up questions.

    Best,
    Victor

    #1633230
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Filter events by users timezone’ is closed to new replies.