Events Made Easy Forums How do I … Importing events

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #53380
    Anonymous
    Inactive

    Hello,

    We want to migrate from a custom made event-system to a new wordpress site with EME. Is it possible to import events into the wordpress db?

    Is there any documentation about it? Which tables, example, … ?

    Kind regards,
    Herman

    #53381
    Franky
    Keymaster

    Not really, but this might help you:

    $wpdb->query(“INSERT INTO “.$table_name.” (event_name, event_start_date, event_start_time, event_end_time, location_id)
    VALUES (‘Orality in James Joyce Conference’, ‘$in_one_week’, ’16:00:00′, ’18:00:00′, 1)”);

    The $table_name variable is wp_eme_events (typically), the $in_one_week is just a date YYYY-MM-DD formatted, and it points to the location with ID 1.
    Of course this does not define RSVP, number of spaces, templates or any other EME settings.

    #53382
    Anonymous
    Inactive

    Ok, thanks for the quick reply!

    Herman

    #54686
    Anonymous
    Inactive

    Hello,

    if I would like to include RSVP information in the import as well, what would the $wpdb->query look like?

    Regards
    Richard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top