Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Darian

    (@d0153)

    Hi @itld

    Thanks for reaching out! Could you please try using this extension and let us know if it helps resolve the issue?

    https://theeventscalendar.com/extensions/advanced-ical-export-v2/

    Thread Starter itld

    (@itld)

    help arrived on time))

    I made any changing (as say AI)

    OLD 
    private function getVars_old() {
    $filters = [
    'ical' => FILTER_SANITIZE_NUMBER_INT,
    'custom' => FILTER_SANITIZE_STRING,
    'start_date' => FILTER_SANITIZE_STRING,
    'end_date' => FILTER_SANITIZE_STRING,
    'limit' => FILTER_SANITIZE_NUMBER_INT,
    'year' => FILTER_SANITIZE_NUMBER_INT,
    'category' => FILTER_SANITIZE_STRING,
    ];

    $vars = filter_input_array( INPUT_GET, $filters );

    return $vars;
    }

    NEW

    private function getVars() {
    $filters = [
    'ical' => FILTER_SANITIZE_NUMBER_INT,
    'custom' => FILTER_UNSAFE_RAW, // замена FILTER_SANITIZE_STRING
    'start_date' => FILTER_UNSAFE_RAW, // замена FILTER_SANITIZE_STRING
    'end_date' => FILTER_UNSAFE_RAW, // замена FILTER_SANITIZE_STRING
    'limit' => FILTER_SANITIZE_NUMBER_INT,
    'year' => FILTER_SANITIZE_NUMBER_INT,
    'category' => FILTER_UNSAFE_RAW, // замена FILTER_SANITIZE_STRING
    ];

    $vars = filter_input_array(INPUT_GET, $filters);

    return $vars;

    }

    but I still don’t get the selection I need.

    http://localhost/domains/Expo/events/?ical=1&&custom=1&start_date=2026-02-01&end_date=2026-02-10

    the same (other data)

    http://localhost/domains/Expo/events/?ical=1&&custom=1&start_date=2026-03-01&end_date=2026-03-10

    Plugin Support Darian

    (@d0153)

    I tested this on my end, and it appears to be working using this extension: Advanced iCal Export v2.

    If you already have it installed, the issue may be with your URL. Try using the following examples instead:

    http://localhost/domains/Expo/events/?ical=1&custom=1&start_date=2026-03-01&end_date=2026-03-10

    http://localhost/domains/Expo/events/?ical=1&custom=1&start_date=2026-02-01&end_date=2026-02-10

    I removed the extra & that was between ical=1 and custom=1.”

    Thread Starter itld

    (@itld)

    I reinstall again and get

    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in C:\xampp\htdocs\domains\Expo77\wp-content\plugins\tec-labs-advanced-ical-export-v2\src\Tec\Plugin.php on line 262
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in C:\xampp\htdocs\domains\Expo77\wp-content\plugins\tec-labs-advanced-ical-export-v2\src\Tec\Plugin.php on line 263

    and etc …..

    + get .ICS

    BEGIN:VEVENT
    DTSTART;TZID=Europe/Moscow:20251205T093000
    DTEND;TZID=Europe/Moscow:20260308T233000

    although filtr is start_date=2026-03-01&end_date=2026-03-10 or any others

    my PHP Version 8.2.12

    TEC 6.15.13.1

    v2 1.1.1



    Thread Starter itld

    (@itld)

    WOW!! )) working on server

    https://expo77.ru/events/list/?ical=1&custom=1&start_date=2026-05-01&end_date=2026-05-10

    so working by &Category=slug

    and will be nice if exist select by Venue & Organizers ))

    Very Thank you !

    localhost – not main

    • This reply was modified 2 months, 3 weeks ago by itld. Reason: add new
    Plugin Support tristan083

    (@tristan083)

    That’s great to hear, @itld !

    I’ll be sure to share your feedback about having venue & organizer filters for the iCal export with our products team for consideration in their future roadmap.

    I’d be closing this thread now, but please do not hesitate to bump a new thread on our way if you have further questions/concerns. This is for us to track down topics/issues efficiently and for us to adhere to the WordPress Forum Guidelines.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.