• Resolved misssm

    (@misssm)


    Afternoon,

    We’re using the events calendar plugin and are trying to import more than 3 months of events from our Office365 calendar into our WordPress plugin.
    In the Global Import Settings I’ve set the Import Limit Type to unlimited, from 3 months and run a sync, but notice we still only have 3 months worth of calendar entries.

    But under the other URL import settings, the Import Date Range Limit will only go up to 3 months and I presume is overriding the global import setting.

    Please can you advise how to remove this limit or at least extend it?

    Thanks
    Sarah

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Chika Ibeneme

    (@chikaibeneme)

    Hi @misssm ,

    Thanks for reaching out to us.

    It is not really recommended to have longer import range from ‘Other URL’, as it might have an impact on the performance of the source site.

    Please backup your site before attempting this.

    If you are in control of the source site and are comfortable with the resources, then you can try this snippet in your functions.php file:

    [code language="”php”"]
    function tribe_ea_yearly_limit( $option ) {
    $options[YEAR_IN_SECONDS] = array(
    ‘title’ => ‘One year’,
    ‘range’ => ‘One year’,
    );
    return $options;
    }
    add_filter( ‘tribe_aggregator_url_import_range_options’, ‘tribe_ea_yearly_limit’ );
    [/code]

    Let me know if that works.

    Cheers,
    Chika

    Thread Starter misssm

    (@misssm)

    Morning,

    Thank you, I added that to our functions.php but the website then gave a critical error so reverted to the original functions.php

    The limit appears to be able to be set in the plugin itself to unlimited, I don’t understand why that won’t apply?

    Thanks
    Sarah

    Plugin Support Jaime

    (@jaimemarchwinski)

    Hi @misssm

    I’m sorry to hear that didn’t work for you.

    If you set the Import Limit Type to Unlimited, that Import Date Range Limit option should disappear, which means that it shouldn’t be an issue there.

    Are you seeing the same thing on your site?

    I hope that helps!

    Thanks,
    Jaime

    Plugin Support Jaime

    (@jaimemarchwinski)

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing import date range limit’ is closed to new replies.