Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter jefflabonte

    (@jefflabonte)

    Sorry, I deleted and recreated the event, so the links above are no longer active…

    A bit more info:

    1) When I went back and edited a previous event and saved it to see what would happen, the date was not altered. So this seems specific to entering new events and began within the past 24 hours (on my site anyway).

    2) After using the drop down calendar to select the date, I manually clicked each date and switched the day an month. I.e., the drop down resulted in “21-9-2013” I changed it to 9-21-13 and the event posted correctly.

    The entry form does not allow you to click and simply enter the date from the start, so this requires manually clicking and editing each start and end date. Very tedious.

    However, using the manual entry approach DOES work, so there is something funky going on with the date selector.

    Here’s a valid link showing the problem https://auburnmassdaily.com/event/girls-jv-soccer/

    Sounds like your theme (or possibly another plugin) is interfering. Have you tried deactivating everything except The Events Calendar to confirm this (and potentially to isolate the conflict)?

    Thread Starter jefflabonte

    (@jefflabonte)

    You are correct. There is an apparent conflict with Ad King Pro. When I deactivate that plugin, everything with Events Calendar works fine.

    Thanks.

    Hi, I’m the owner of the Ad King Pro plugin.

    Jefflabonte has informed me of this issue as well as mentioning that others have highlighted the problem. Given the download counts on both plugins, it would be highly unlikely that everyone experiencing the problem is using my plugin (would be great if they were).

    I don’t believe this issue is resolved for you. Please see the thread off my plugins support: https://www.ads-software.com/support/topic/plug-in-conflict-with-the-events-calendar

    I’m happy to help out where I can, but its not really my place to debug your plugin.

    Please let me know if theres anything I can do on my side of things.

    I would like to clarify the above post as there seems to have been some confusion as to who the “you” is targeted at. That would be Barry, the plugin owner. I believe it is Barry’s place to debug this issue for Jeff and I would suggest this issue is no resolved.

    Sorry jeff for the confusion there and Barry, I do hope to find what is causing this issue. Please feel free to let me know what the conflict is that you find so I can make any necessary adjustments on my side also.

    Thanks for your patience Jeff and thanks also for your input, Ash – much appreciated ??

    I ran a quick test with both plugins activated and noted that, within the event editor, a script belonging to Ad King Pro is being enqueued (adkingpro/js/adkingpro-admin-functions.js). This script seems to be a source of the interference with the datepickers in the event editor.

    Unfortunately, adkingpro/js/adkingpro-admin-functions.js is enqueued on every single admin screen – not just those that belong to Ad King Pro (if you visit Settings → General to take an example and inspect the source you will see that same script there) – I’m not sure why that’s necessary and wonder if (Ash) you might be able to take a more targeted approach to this and enqueue it only on those screens that your plugin is responsible for or have a legitimate reason to modify?

    On this occasion I don’t think there’s much more we can (or should) do on our side – but hopefully some future changes to Ad King Pro may resolve this.

    Thanks everyone!

    Hi Barry,

    Cheers for the heads up. After revisting that script, I’m not surprised that the initialisation of the datepicker on my field is conflicting your page given I didn’t prefix the class I’m attaching to. My apologies, could have swore I updated that.

    Top call on the enqueue on all pages, I’ll have this fixed ASAP.

    Jeff, I’ll keep you updated on this progress on the other thread.

    Thanks again.

    Good stuff – sounds like you’ll be on your way to a solution here, Jeff. Thanks again to both of you – hopefully it’s plain sailing from here on out for anyone using both plugins ??

    Thread Starter jefflabonte

    (@jefflabonte)

    Glad this has been identified and a solution looks to be on the horizon. I (and I am sure other users) appreciate the attention to this in such a timely way.

    Happy to help!

    For future google searchers: this is caused by a common polyfill for browsers which do not support the placeholder attribute: https://github.com/mathiasbynens/jquery-placeholder etc.

    You can remove the placeholder=”Date” in the-events-calendar.class.php line 4120 and that will fix this issue until they patch it.

    Hi spaceribs,

    I’m not sure that that is the very same issue as experienced by jefflabonte (which was very clearly the result of a conflict with another plugin) but we’d definitely be interested in taking on board what you’re relaying here.

    Can you break it down a little though and provide an example of what you are describing? If you were able to do so in a new thread that would be especially awesome!

    Thanks!

    Sure, let me see what I can best use to demonstrate the issue.

    Great, I’ll look out for your thread.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘New Entries Changing Date to 1/1/1970’ is closed to new replies.