• nicksloan

    (@nicksloan)


    Hi, I’m looking to synchronise my events on a staging site prior to cloning that site to a main site. Both sites have events, but those on the main site are more recent, so I need to bring the staging events up to date. If I simply import an export from the main site, will that create duplicates? Must I first delete all the events in staging before importing from the main site? (Free version)

    Many thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    There’s really no mechanism for importing and exporting events in the free version, so I’m not sure what you’re suggesting doing, precisely.

    This is definitely something that can be difficult to manage – how many events out of date are we talking about? If it’s just a handful, you might be best off manually re-creating them.

    Thread Starter nicksloan

    (@nicksloan)

    OK, I had mistakenly assumed that exporting settings included events but I see now that this is not so. Is export of events not available in Pro either? I see that import (in various formats) is.

    I see that in the event listing, Copy is an available action. But where is it possible to paste an event?

    In answer to your question, about 65 events and counting.

    Thread Starter nicksloan

    (@nicksloan)

    The beauty of not replying too quickly to forum questions is that posters tend to answer their own questions. I see now that Copy merely duplicates the event and opens it in a new edit window. I see too that with Pro it should be possible to publish to another site using the REST API, but this begs another question: given that events on one site (server) are synced with events on another (client), is it possible to reverse the server/client status between sites without messing up events? Or put another way, if a client site is disconnected from the server, does it lose previously published events or do they remain?

    Thanks

    Plugin Author Joe Dolson

    (@joedolson)

    I can’t really provide support for Pro in these forums, per the ww.wp.xz.cn support rules; but if you want to ask questions, feel free to contact me at https://www.joedolson.com.

    For exporting events, there’s an exports API that you can enable in the free version that can be used to get your events in a variety of formats. You may want to wait on version 3.7, which is coming with some improvements to exports, though.

    Thread Starter nicksloan

    (@nicksloan)

    Thanks again Joe. Sorry, I have been tripping over myself in this thread. The export/import question I asked at the beginning referred to the Events API in Settings/General/Advanced. I assumed that this produced code that could saved into a json file that could then be imported into a separate installation of My Calendar. (Export settings was a red herring.) Does that make sense of my initial question? Thanks for the heads-up on v3.7.

    Thread Starter nicksloan

    (@nicksloan)

    For anyone trying to do the same as me: copy a lot of My Calendar events from one site to another, it may be helpful if I write up my experience. For a start, the Events API route in Settings/General/Advanced led to nothing. I may have misinterpreted how it was supposed to work, but the link led to a mass of code that crashed the text editor I tried to load it into. If I had had 20 or so events to reproduce I would have done it manually, but there were so many that finding some means to export/import seemed preferable.

    In the end I simply copied the My Calendar plugin folder via the web host’s file manager and copied all the My Calendar-related database tables via phpMyAdmin, replacing the existing folder and tables. So far this is holding good, though it is not something I’d want to do every day.

    Plugin Author Joe Dolson

    (@joedolson)

    Yeah, as a manual way to copy events over, that’ll do it. My Calendar Pro has features for running imports from the free edition’s export API, but there isn’t really another easy way to do it.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.