• Hi! Thanks for the amazing plugin.

    I just found that if repeating is set, the end date will be ignored, the event will still be displayed in Event today, event will be regarded as continuing. However, event $data->meta[‘event_past’] (data fetch for the specific event) is true in single page. Contradicting.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor webnus

    (@webnus)

    Hi @simongcc,

    Thanks for contacting us,

    Would you please provide us with some screenshots and images of the errors you faced step by step?
    I would then forward it to the developer team to fix the issues in the upcoming updates.
    There is nothing to be worried about, we will fix the issues, I also appreciate you for reporting the issues.
    Please provide us with more details, screenshot, or any documentation so we can find the issue.

    Best Regards

    Thread Starter 西門 正 Code Guy

    (@simongcc)

    Thanks for the reply.

    Please find the setup steps and screenshots.

    Step the produce
    1. add a new event with end start and end date
    2. add a repeating rule to the same event
    3. go to see it in calendar view
    4. although the end date is reached, because it is repeating, it still appears in event today list. However
    5. if go to individual page to use the ‘event_past’, it regards it as past, so the testing is invalid. So it should obey the repeating or the end date, it up to your program design. But that might be better to be a consistent result.

    The code to fetch the event past parameter

    $render = new MEC_render();
    $data = $render->data(get_the_ID());
    var_dump($data->meta['event_past']); // result is true but still showing in today event, so follow repeat or follow end date, it is confusing

    Screenshots
    https://drive.google.com/open?id=19X5-9YYe7u2ZqJGOfcAkCwEdmDf0IlJI

    Plugin Contributor webnus

    (@webnus)

    Hi @simongcc,

    Thanks for your information,

    I see your screenshot and I found the configuration error on your event.

    Your screenshot is not complete https://i.postimg.cc/DwV8d9JL/image.png but as default, I can say that when you have multiple days event (24 days) you couldn’t repeat daily and weekly this event because the length of the day on this event is too much and recognize the event, in this case, it’s impossible. It is impossible in terms of mathematical logic and programming too.

    About date and time and how to configure the date and time for your events please head over to this link: https://webnus.net/dox/modern-events-calendar/date-and-time/

    Logic becomes such an event something like this:
    I have a multiple days event (24 day – all-day event)
    It’s repeated every 25 days (daily with 25-day interval) or repeated monthly or yearly or custom day repeating on day range regarding MEC documentation explained.

    Best Regards

    Thread Starter 西門 正 Code Guy

    (@simongcc)

    Yes, you are right. Logically, it is wrong but MEC interface allows to do so.
    I suggest to add some checking for that because layman end user other than developer may not consider in that way without proper checking or warning message.

    Just a suggestion to make the tools better.

    Plugin Contributor webnus

    (@webnus)

    Hi @simongcc,

    I will forward your topic to our developer team and they’ll surely receive it. If it is possible they will add this feature in the upcoming updates of the Plugin.

    Best Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Event Past meta not sync with Repeating bug report’ is closed to new replies.