Need Larger Import Date Range Limit

Home Forums Calendar Products Event Aggregator Need Larger Import Date Range Limit

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1596478
    jfedpgh
    Participant

    Hello. The Event Aggregator is working beautifully. I can see how this will solve many of our business challenges.

    We definitely need a longer Date Range Limit on Other URL Imports, however. We are simply sharing events from one Events Calendar to another on our multisite installation. We need to insure that updates on one site will always auto-update the other site, more than just 3 months into the future. How can we remove or increase that limit to at least 12 months?

    Thank you,
    Mihal

    #1597812
    Andras
    Keymaster

    Hi Mihal,

    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.

    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,
    Andras

    #1615322
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Need Larger Import Date Range Limit’ is closed to new replies.