8889841cPK][%$%$eventbrite.phpnu[tabs->get_active(); $service = tribe( 'events-aggregator.service' ); $origin_slug = 'eventbrite'; $field = (object) []; $field->label = __( 'Import Type:', 'the-events-calendar' ); $field->placeholder = __( 'Select Import Type', 'the-events-calendar' ); $field->help = __( 'One-time imports include all currently listed events, while scheduled imports automatically grab new events and updates from Eventbrite on a set schedule. Single events can be added via a one-time import.', 'the-events-calendar' ); $field->source = 'eventbrite_import_type'; $frequency = (object) []; $frequency->placeholder = __( 'Import from Eventbrite', 'the-events-calendar' ); if ( ! empty( $service->api()->licenses['tribe-eventbrite'] ) ) { $frequency->placeholder = __( 'Import from your Eventbrite account', 'the-events-calendar' ); } $frequency->help = __( 'Select how often you would like events to be automatically imported.', 'the-events-calendar' ); $frequency->source = 'eventbrite_import_frequency'; $cron = Tribe__Events__Aggregator__Cron::instance(); $frequencies = $cron->get_frequency(); $missing_eventbrite_credentials = ! tribe( 'events-aggregator.settings' )->is_ea_authorized_for_eb(); $data_depends = '#tribe-ea-field-origin'; $data_condition = 'eventbrite'; if ( $missing_eventbrite_credentials ) : $data_depends = '#tribe-has-eventbrite-credentials'; $data_condition = '1'; ?>

get_slug() ) { $this->template( 'fields/schedule', [ 'record' => $record, 'origin' => $origin_slug, 'aggregator_action' => $aggregator_action ] ); } ?> label = __( 'Import Source', 'the-events-calendar' ); $field->placeholder = __( 'Select Source', 'the-events-calendar' ); if ( ! class_exists( 'Tribe__Events__Tickets__Eventbrite__Main' ) ) { $field->help = esc_html__( 'Import events directly from a public Eventbrite.com URL. Please note that only Live events (i.e. published events) can be imported via URL.', 'the-events-calendar' ); } else { $field->help = esc_html__( 'Import events directly from your connected Eventbrite.com account or from a public Eventbrite.com URL.', 'the-events-calendar' ); } $default_eb_source = 'source_type_url'; if ( ! empty( $service->api()->licenses['tribe-eventbrite'] ) ) { $field->options[] = [ 'id' => 'https://www.eventbrite.com/me', 'text' => __( 'Import from your Eventbrite account', 'the-events-calendar' ), 'selected' => false, ]; $default_eb_source = 'https://www.eventbrite.com/me'; } $field->options[] = [ 'id' => 'source_type_url', 'text' => __( 'Import from Eventbrite URL', 'the-events-calendar' ), 'selected' => false, ]; $field->options[0]['selected'] = true; ?> label = __( 'URL:', 'the-events-calendar' ); $field->placeholder = __( 'eventbrite.com/e/example-12345', 'the-events-calendar' ); $field->help = __( 'Enter an Eventbrite event URL, e.g. https://www.eventbrite.com/e/example-12345', 'the-events-calendar' ); ?> PK][~FF limit.phpnu[get_import_limit_count_options(); $global_limit_option = tribe_get_option( 'tribe_aggregator_default_import_limit_number', $settings->get_import_limit_count_default() ); $global_limit_message = esc_html( sprintf( __( 'Event Aggregator will try to fetch %s events starting from the current date or the specified date;', 'the-events-calendar' ), $global_limit_strings[ $global_limit_option ] ) ); if ( 'range' === $global_limit_type ) { $global_limit_strings = $settings->get_import_range_options( false ); $global_limit_option = tribe_get_option( 'tribe_aggregator_default_import_limit_range', $settings->get_import_range_default() ); $global_limit_message = esc_html( sprintf( __( 'Event Aggregator will try to fetch events starting within the next %s from the current date or the specified date;', 'the-events-calendar' ), $global_limit_strings[ $global_limit_option ] ) ); } $import_limit_link = esc_url( tribe( Plugin_Settings::class )->get_url( [ 'tab' => 'imports#tribe-field-tribe_aggregator_default_import_limit_type' ] ) ); $import_limit_message = $global_limit_message . ' ' . sprintf( '%s ', $import_limit_link, esc_html__( 'you can modify this setting here.', 'the-events-calendar' ) ); ?>

PK][ji meetup.phpnu[tabs->get_active(); $origin_slug = 'meetup'; $field = (object) []; $field->label = __( 'Import Type:', 'the-events-calendar' ); $field->placeholder = __( 'Select Import Type', 'the-events-calendar' ); $field->help = __( 'One-time imports include all currently listed events, while scheduled imports automatically grab new events and updates from Meetup on a set schedule. Single events can be added via a one-time import.', 'the-events-calendar' ); $field->source = 'meetup_import_type'; $frequency = (object) []; $frequency->placeholder = __( 'Select Frequency', 'the-events-calendar' ); $frequency->help = __( 'Select how often you would like events to be automatically imported.', 'the-events-calendar' ); $frequency->source = 'meetup_import_frequency'; $cron = Tribe__Events__Aggregator__Cron::instance(); $frequencies = $cron->get_frequency(); $missing_meetup_credentials = ! tribe( 'events-aggregator.settings' )->is_ea_authorized_for_meetup(); $data_depends = '#tribe-ea-field-origin'; $data_condition = 'meetup'; if ( $missing_meetup_credentials ) : $data_depends = '#tribe-has-meetup-credentials'; $data_condition = '1'; $meetup_auth_url = Tribe__Events__Aggregator__Record__Meetup::get_auth_url(); ?>

get_slug() ) { $this->template( 'fields/schedule', [ 'record' => $record, 'origin' => $origin_slug, 'aggregator_action' => $aggregator_action ] ); } ?> label = __( 'URL:', 'the-events-calendar' ); $field->placeholder = __( 'meetup.com/example', 'the-events-calendar' ); $field->help = __( 'Enter the url for a Meetup group, page, or individual. You can also enter the url of a single Meetup event.', 'the-events-calendar' ); ?> PK][+&url.phpnu[tabs->get_active(); $origin_slug = 'url'; $field = (object) []; $field->label = __( 'Import Type:', 'the-events-calendar' ); $field->placeholder = __( 'Select Import Type', 'the-events-calendar' ); $field->help = __( 'One-time imports include currently listed upcoming events, while scheduled imports automatically grab new events and updates from this url on a set schedule.', 'the-events-calendar' ); $field->source = 'url_import_type'; $frequency = (object) []; $frequency->placeholder = __( 'Select Frequency', 'the-events-calendar' ); $frequency->help = __( 'Select how often you would like events to be automatically imported.', 'the-events-calendar' ); $frequency->source = 'url_import_frequency'; $cron = Tribe__Events__Aggregator__Cron::instance(); $frequencies = $cron->get_frequency(); ?> get_slug() ) { $this->template( 'fields/schedule', [ 'record' => $record, 'origin' => $origin_slug, 'aggregator_action' => $aggregator_action, ] ); } ?> label = __( 'URL:', 'the-events-calendar' ); $field->placeholder = __( 'example.com/', 'the-events-calendar' ); $field->help = __( 'Enter the url for the calendar, website, or event you would like to import. Event Aggregator will attempt to import events at that location.', 'the-events-calendar' ); $range_option = tribe_get_option( 'tribe_aggregator_default_url_import_range', 30 * DAY_IN_SECONDS ); $range_strings = tribe( 'events-aggregator.settings' )->get_url_import_range_options( false ); $range_string = $range_strings[ $range_option ]; $range_message = esc_html( sprintf( __( 'Event Aggregator will try to fetch events starting within the next %s from the current date or the specified date;', 'the-events-calendar' ), $range_string ) ); $link = esc_attr( tribe( Plugin_Settings::class )->get_url( [ 'tab' => 'imports#tribe-field-tribe_aggregator_default_url_import_range' ] ) ); $field->range_message = $range_message . ' ' . sprintf( '%s ', $link, esc_html__( 'you can modify this setting here.', 'the-events-calendar' ) ); ?>

range_message; ?>

PK][̛. ics.phpnu[tabs->get_active(); $origin_slug = 'ics'; $field = (object) []; $field->label = __( 'Choose File:', 'the-events-calendar' ); $field->placeholder = __( 'Choose File', 'the-events-calendar' ); $field->help = __( 'Select your ICS file from the WordPress media library. You may need to first upload the file from your computer to the library.', 'the-events-calendar' ); $field->source = 'ics_files'; $field->button = __( 'Upload', 'the-events-calendar' ); $field->media_title = __( 'Upload an ICS File', 'the-events-calendar' ); ?> get_slug() ) { $this->template( 'fields/schedule', [ 'record' => $record, 'origin' => $origin_slug, 'aggregator_action' => $aggregator_action, ] ); } ?>
PK][{~7JJcsv.phpnu[label = __( 'Content Type:', 'the-events-calendar' ); $field->placeholder = __( 'Select Content Type', 'the-events-calendar' ); $field->help = __( 'Specify the type of content you wish to import, e.g. events.', 'the-events-calendar' ); $field->help .= '
'; $field->help .= __( 'For the best results, import venue and organizer files before importing event files.', 'the-events-calendar' ); $field->source = 'csv_content_type'; $csv_record = Tribe__Events__Aggregator__Records::instance()->get_by_origin( 'csv' ); $post_types = $csv_record->get_import_post_types(); $main = Tribe__Events__Main::instance(); ?> label = __( 'Choose File:', 'the-events-calendar' ); $field->placeholder = __( 'Choose a CSV file', 'the-events-calendar' ); $field->help = __( 'Select your .CSV file from the WordPress media library. You may need to first upload the file from your computer to the library.', 'the-events-calendar' ); $field->button = __( 'Upload', 'the-events-calendar' ); $field->media_title = __( 'Upload a CSV File', 'the-events-calendar' ); ?>
<?php esc_attr_e( 'The Events Calendar logo', 'the-events-calendar' ); ?> <?php esc_attr_e( 'The Events Calendar logo', 'the-events-calendar' ); ?>
PK][~ical.phpnu[tabs->get_active(); $origin_slug = 'ical'; $field = (object) []; $field->label = __( 'Import Type:', 'the-events-calendar' ); $field->placeholder = __( 'Select Import Type', 'the-events-calendar' ); $field->help = __( 'One-time imports include all events in the current feed, while scheduled imports automatically grab new events and updates from the feed on a set schedule.', 'the-events-calendar' ); $field->source = 'ical_import_type'; $frequency = (object) []; $frequency->placeholder = __( 'Select Frequency', 'the-events-calendar' ); $frequency->help = __( 'Select how often you would like events to be automatically imported.', 'the-events-calendar' ); $frequency->source = 'ical_import_frequency'; $cron = Tribe__Events__Aggregator__Cron::instance(); $frequencies = $cron->get_frequency(); ?> get_slug() ) { $this->template( 'fields/schedule', [ 'record' => $record, 'origin' => $origin_slug, 'aggregator_action' => $aggregator_action ] ); } ?> label = __( 'URL:', 'the-events-calendar' ); $field->placeholder = __( 'example.com/url.ics', 'the-events-calendar' ); $field->help = __( 'Enter the url for the iCalendar feed you wish to import, e.g. https://central.wordcamp.org/calendar.ics', 'the-events-calendar' ); ?> PK][&-gcal.phpnu[tabs->get_active(); $origin_slug = 'gcal'; $field = (object) []; $field->label = __( 'Import Type:', 'the-events-calendar' ); $field->placeholder = __( 'Select Import Type', 'the-events-calendar' ); $field->help = __( 'One-time imports include all events in the current feed, while scheduled imports automatically grab new events and updates from the feed on a set schedule.', 'the-events-calendar' ); $field->source = 'gcal_import_type'; $frequency = (object) []; $frequency->placeholder = __( 'Select Frequency', 'the-events-calendar' ); $frequency->help = __( 'Select how often you would like events to be automatically imported.', 'the-events-calendar' ); $frequency->source = 'gcal_import_frequency'; $cron = Tribe__Events__Aggregator__Cron::instance(); $frequencies = $cron->get_frequency(); ?> get_slug() ) { $this->template( 'fields/schedule', [ 'record' => $record, 'origin' => $origin_slug, 'aggregator_action' => $aggregator_action ] ); } ?> label = __( 'URL:', 'the-events-calendar' ); $field->placeholder = __( 'https://calendar.google.com/calendar/ical/example/basic.ics', 'the-events-calendar' ); $field->help = __( 'Enter the url for the Google Calendar feed you wish to import.', 'the-events-calendar' ); $field->help .= '

'; $field->help .= __( 'You can find the url you need in your Google Calendar settings.', 'the-events-calendar' ); $field->help .= '
    '; $field->help .= '
  1. ' . __( 'Go to Settings > Calendars and select the calendar you wish to import.', 'the-events-calendar' ) . '
  2. '; $field->help .= '
  3. ' . __( 'Scroll down to Calendar Address and click the iCal button (note: if your calendar is private, you\'ll need to click the iCal button next to the Private Address header instead).', 'the-events-calendar' ) . '
  4. '; $field->help .= '
  5. ' . __( 'Copy the provided url into this field to import the events into your WordPress site.', 'the-events-calendar' ) . '
  6. '; $field->help .= '
'; ?> PK][RfLL refine.phpnu[placeholder = __( 'Keyword(s)', 'the-events-calendar' ); $location = new stdClass; $location->placeholder = __( 'Location', 'the-events-calendar' ); $start_date = new stdClass; $start_date->placeholder = __( 'Date', 'the-events-calendar' ); $radius = new stdClass; $radius->placeholder = sprintf( _x( 'Radius (%s)', 'Radius with abbreviation', 'the-events-calendar' ), Tribe__Events__Utils__Radius::get_abbreviation() ); $depends_condition = 'data-condition-not-empty'; $location_depends = '#tribe-ea-field-origin'; $keyword_depends = '#tribe-ea-field-origin'; $keyword_exclusions = [ 'facebook' ]; $location_exclusions = [ 'url', 'facebook' ]; switch ( $origin_slug ) { case 'ics': $depends = "#tribe-ea-field-{$origin_slug}_file"; $radius->help = __( 'Use the filters to narrow down which events are fetched from your ICS file.', 'the-events-calendar' ); break; case 'gcal': $depends = "#tribe-ea-field-{$origin_slug}_import_type"; $radius->help = __( 'Use the filters to narrow down which events are fetched from this Google Calendar.', 'the-events-calendar' ); break; case 'url': $depends = "#tribe-ea-field-{$origin_slug}_import_type"; $radius->help = __( 'Use the filters to narrow down which events are fetched from this site.', 'the-events-calendar' ); break; case 'eventbrite': $depends = '#tribe-ea-field-eventbrite_import_source'; $radius->help = __( 'Use the filters to narrow down which events are fetched from Eventbrite.', 'the-events-calendar' ); $location_depends = '#tribe-ea-field-eventbrite_import_source'; $keyword_depends = '#tribe-ea-field-eventbrite_import_source'; $location_exclusions[] = 'https://www.eventbrite.com/me'; $keyword_exclusions[] = 'https://www.eventbrite.com/me'; // Only new events if ( empty( $record->meta['start'] ) ) { $record->meta['start'] = date_i18n( 'Y-m-d' ); } break; case 'ical': default: $depends = "#tribe-ea-field-{$origin_slug}_import_type"; $radius->help = __( 'Use the filters to narrow down which events are fetched from this iCalendar feed.', 'the-events-calendar' ); break; } /** * Allow filtering of origins excluded from refining EA results by keyword. * * @since 4.6.24 * * @param array $keyword_exclusions List of origins excluded. */ $keyword_exclusions = json_encode( apply_filters( 'tribe_events_aggregator_refine_keyword_exclusions', $keyword_exclusions ) ); /** * Allow filtering of origins excluded from refining EA results by location. * * @since 4.6.24 * * @param array $location_exclusions List of origins excluded. */ $location_exclusions = json_encode( apply_filters( 'tribe_events_aggregator_refine_location_exclusions', $location_exclusions ) ); ?> >
meta['start'] ) ? '' : $record->meta['start']; if ( is_numeric( $start ) ) { $start = date( Tribe__Date_Utils::DATEONLYFORMAT, $start ); } ?> data-validation-is-required data-validation-error="" >
PK][%$%$eventbrite.phpnu[PK][~FF c$limit.phpnu[PK][ji +meetup.phpnu[PK][+&Eurl.phpnu[PK][̛. ]ics.phpnu[PK][{~7JJhcsv.phpnu[PK][~j|ical.phpnu[PK][&-gcal.phpnu[PK][RfLL çrefine.phpnu[PK I