• Resolved Frederic Legrand

    (@fredericlegrand)


    Hi

    Great plugin, lucky i found you i didn t want to do it myself
    We have a quick question for you

    When we set up 2 dates to show and hide back with 1 minute différence it won t work with shortcode but when we hard code the shortcode it does work

    – The content will still print even after expire date :
    Show the content on 2020-09-20 @ 00:00 until 2020-10-25 @ 11:59.
    Repeat this action every day.
    This rule will be active until 2021-10-17.
    All times are in the Europe/Paris timezone.

    – then we replaced it by the other short code, and the expiration date works fine

    [timed-content-server show=”2020-09-20 00:00:00 -0600″ hide=”2020-10-25 11:59:00 -0600″]

    would you know why?

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    When you want to have a rule which repeats every day, you must not define a length which is longer than 24 hours.

    Your example:

    1. Show from 2020-09-20 0:00 to 2020-10-25 11:59 – this is for more than 30 days

    2. Repeat this every day – which means before the rule ends it will start again

    This results in the following schedule:

    Repetition 1: 2020-09-20 0:00 to 2020-10-25 11:59
    Repetition 2: 2020-09-21 0:00 to 2020-10-26 11:59
    Repetition 3: 2020-09-22 0:00 to 2020-10-27 11:59
    Repetition 4: 2020-09-23 0:00 to 2020-10-28 11:59
    and so on…

    This means the content will be visible always as there is no point where the rule does not apply.

    So what if you want to show something from 0:00 until 11:59 every day, the rule would be:

    Show 2020-09-22 0:00 to 2020-09-22 11:59, repeat every day:

    Repetition 1: 2020-09-20 0:00 to 2020-09-20 11:59
    Repetition 2: 2020-09-21 0:00 to 2020-09-21 11:59
    Repetition 3: 2020-09-22 0:00 to 2020-09-22 11:59
    Repetition 4: 2020-09-23 0:00 to 2020-09-23 11:59

    You can also use the “Show projected dates/times” in the rule editor to check the effective schedule of your rule.

    Thread Starter Frederic Legrand

    (@fredericlegrand)

    great thanks for quick support
    you should try to advertise and monetise that plugin

    Thread Starter Frederic Legrand

    (@fredericlegrand)

    I need to stop showing that content on that date 2020-10-25 11:59
    but can t figure out why it s not working

    hereis my set up i have for now
    https://nimb.ws/jPloyQ

    my goal is to reproduce that rule below
    [timed-content-server show=”2020-09-20 00:00:00 -0600″ hide=”2020-10-25 11:59:00 -0600″]

    Plugin Author Arno Welzel

    (@awelzel)

    Change the “Stopping condition” to “Repeat a set of number of times” and then set “1”, so the rule will only be executed once.

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

The topic ‘short code’ is closed to new replies.