Timepicker conflict with Advanced Custom Fields Pro

Home Forums Calendar Products Events Calendar PRO Timepicker conflict with Advanced Custom Fields Pro

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1253511
    Nadia Khastagir
    Participant

    Hello,

    A recent update of the Events Calendar introduced a conflict with the backend display of a field from the plugin Advanced Custom Fields. Prior to the Events Calendar update, the ACF timepicker field showed times such as:

    11:15 am

    After the Events Calendar update, times in the ACF timepicker field appear as follows:

    11:mm tt

    Looking in the code inspector, the value is still stored correctly in the field, but it looks like a script from the Events Calendar is changing the formatting. Additionally, the timepicker bundled with ACF is being overridden by the Events Calendar timepicker, breaking the ability to select a new time. (Times are displayed in the broken dropdown with the same “:mm tt” syntax.)

    Steps to replicate this problem:

    1. Create an ACF field group that displays on tribe_events posts, and include a timepicker field in this group.
    2. Create a new event, observe the issues with the ACF timepicker field.

    Advanced Custom Fields loads a timepicker script called jQuery Timepicker Addon:
    http://trentrichardson.com/examples/timepicker

    ECP uses this timepicker script:
    http://jonthornton.github.com/jquery-timepicker/

    I’m guessing there’s probably just some class name or other initialization conflict that’s causing ECP’s script to override ACF’s, but I’m not sure precisely which.

    A temporary solution I am using is to use the ACF date-timepicker (rather than just the timepicker), but ideally the plain timepicker could coexist with the Events Calendar.

    Thank you!

    #1254071
    George
    Participant

    This reply is private.

    #1254078
    Nadia Khastagir
    Participant

    Thanks much George! Great to hear you’re working on a fix.

    #1254501
    George
    Participant

    Indeed — sorry for the trouble here, but stay tuned to this thread for further updates! 😀

    #1257514
    richard
    Participant

    Hello, I have exactly the same issue with my site and we cannot post events properly at the moment, so it is a big problem. I can’t see George’s first reply as it was marked private but I look forward to your further updates. Many thanks for working on a fix for this.

    #1257689
    George
    Participant

    Sorry about any confusion caused by first reply’s being private, Richard! What I shared with @webdesignaction is that this is a known bug we’re actively work on fixing!

    An update will be posted to this thread once the fix is available. Stay tuned, and if you have any other issues/questions in the meantime, open a new thread here on the forums.

    Cheers!
    George

    #1359273
    Victor
    Member

    Hi Nadia & Richard!

    Just wanted to share with you that a new maintenance release (for the Week of 2 October 2017) is out, including a fix for this issue 🙂

    Find out more about this release → https://theeventscalendar.com/maintenance-release-week-2-october-2017/

    Please update the plugins and let us know if the fix works for your site.

    Best,
    Victor

    #1369356
    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 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Timepicker conflict with Advanced Custom Fields Pro’ is closed to new replies.