Home › Forums › Calendar Products › Events Calendar PRO › Import events from an external db
- This topic has 7 replies, 2 voices, and was last updated 14 years, 5 months ago by
Rob.
-
AuthorPosts
-
November 11, 2011 at 3:29 am #10955
Massimo
ParticipantHi… I’ll need to import several events in a wordpress site with Events Calendar Pro installed. How can I import them using tribe_create_venue and tribe_create_event. Where I can find examples of using those functions? I’m testing them (starting with tribe_create_venue) but it does not seem to work.
Which are the name of $args elements required for a new Venue to be created?November 11, 2011 at 6:49 am #10963Massimo
ParticipantMmmm… seems there is a problem in public\advanced-functions\venue.php
the tribe_create_venue() function perhaps should call TribeEventsAPI::createVenue() and not TribeEventsAPI::createEvent()
Changing this make tribe_create_venue work…
I’ll let you know how it works for the other advanced functions…November 11, 2011 at 9:53 am #10969Rob
MemberHi Massimo. When you say “import,” do you mean migrate from a previous version? Or actually import from a csv or something similar? If the latter, that would require an add-on plugin that we’re currently beta testing and which I’d be happy to have you assist in betaing if you’re interested.
Otherwise there’s no functionality out of the box that does this unfortunately. For what documentation we do have, you can check that out right here: https://theeventscalendar.com/support/documentation/.
Hope that helps. If you have any other questions, just holler.
November 11, 2011 at 3:48 pm #10989Massimo
ParticipantVery interested in beta testing your plugin… (otherwise I would have to make one myself)… yes I have to import it from an Excel file.
I’ve not seen anything in the tribe_create_event() function for recurring events. Is it something you have to implement?November 11, 2011 at 4:39 pm #10998Rob
MemberHey Massimo. If you have your data as .csv files, then this plugin would be exactly what you’re looking for. Shoot me an email (rob at tri.be) and I can get it over to you.
Not sure I understand the second question – what are you trying to do?
November 13, 2011 at 4:37 am #11012Massimo
ParticipantPerhaps I’ll need to import recurring events and I was not finding anything about them in the tribe_create_event function…
November 14, 2011 at 10:53 am #11038Rob
MemberAh, gotcha. Thanks for confirming – I’ll check with our developer Jonah to see if he has any thoughts on this.
November 14, 2011 at 4:32 pm #11078Rob
MemberHi again Massimo. I spoke with our developer Jonah on this today; looks like there isn’t an argument that can be passed when using tribe_create_events() to indicate that the event is recurring. As such I’ve asked the team to work this into the next (2.0.3) release that we move into. Apologies for the inconvenience in the interim.
-
AuthorPosts
- The topic ‘Import events from an external db’ is closed to new replies.
