• Resolved betyonfire

    (@betyonfire)


    I’m using WP All Import and Advanced Custom Fields to pull event info from an xml feed and create events via Events Manager. I seem to have the start dates and the start and end times mapping over to Events Manager fields, but the events import as drafts, even though they seem to have valid publish dates/times. The Date and Time look mostly fine when viewing the list of events in the Admin (end date is a problem), but when you open a particular event the start/end dates in the When box are blank. The times are fine. If I click on the Publish button, I get this error:

    Your event details are incorrect and cannot be published, please correct these errors first:
    Dates must have correct formatting. Please use the date picker provided.

    So something must be wrong with the date fields. Any suggestions? Is it something simple like date formats? I’ve tried adjusting these with no luck. My xml date field looks like this:

    <date1>2016/05/04</date1>

    I tried matching it by changing the date picker format in Events > Settings to yy/mm/dd, but that didn’t work.

    Thanks for any help.

    https://wordpress.org/plugins/events-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    are you using other plugin or custom code for the import? also, maybe this can help you out –
    https://github.com/soixantecircuits/wp-events-manager-importer

    Thread Starter betyonfire

    (@betyonfire)

    I’m using WP All Import and Advanced Custom Fields together to manage the import.

    I’ll check out the importer you mentioned.

    Thread Starter betyonfire

    (@betyonfire)

    Hi Angelo – I looked at the importer you linked to, but I don’t think it’s going to work. The xml file I’m working with is not a one-time import, but a feed that I’ll be checking every 24 hours via WP All Import and a cron job on the server.

    It’s very close to working with Events Manager and I would love to try to work out the date/publish issues. Is there any other info you can point me toward?

    Thanks!

    Thread Starter betyonfire

    (@betyonfire)

    I figured out the date issue. I don’t think Events Manager like the slashes in the dates. I was able to switch them to dashes when importing via WP All Import and now they appear correctly.

    blevley

    (@blevley)

    I’m looking into using this as well.
    Could you post the Custom Fields and mapping you’re using?
    When I try WP All Imports tells me it inserted xxx records, but none show up.

    Strangely enough it does copy the images.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Events not publishing when imported via xml import’ is closed to new replies.