Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ariel.coppes

    (@arielcoppes)

    No, this plug-in is not for that. It should be used, for example, to show a promo, something that should be shown in a unique hour range.

    Another usage is to show contact information, like “We are working, you can call us right now” and “We are at home now, contact us tomorrow”.

    What you want depends on the client timezone and the plug-in can’t know the visitor timezone when it is being processed. You need something processed in the client side, maybe javascript, then a wp plug-in is not needed.

    Plugin Author ariel.coppes

    (@arielcoppes)

    Exactly.

    Thanks for testing the plug-in, you helped me detecting another bug.

    Plugin Author ariel.coppes

    (@arielcoppes)

    One of your questions:

    It appears that two or more [rotator][/rotator] shortcodes do not work together, unless I’m missing something.

    My answer:

    I believe different short codes should behave correctly together since they don’t use shared data between them, they are processed separately and each one with its own parameters.

    So, you should be able use multiple short codes without any problems.

    At 4:08pm CST (GMT-6) the display read “Good Afternoon and Welcome to our website.”, which is correct, but when I changed the system time from pm to am, the rotator should have said “You’re working late! Welcome to our website.”

    Since the plug-in uses the server time, not the client time, then if you change your local system time then you will see no changes, unless you are running wp in your local machine (then you are the server) or you are modifying the server system time.

    Plugin Author ariel.coppes

    (@arielcoppes)

    Now that I think, the plugin timezone should be configurable instead using the server time since I could configure this on a server on a place with a GMT-03 timezone and then if the server is moved to a place with GMT+03 then the plugin will change its behavior where it shouldn’t.

    Plugin Author ariel.coppes

    (@arielcoppes)

    The rotator is using the local time of the machine where WordPress instance is running, not the client time. So, I configure the rotator for an hour range, for example, 6am -0300 to 10am -0300, then people from different parts of the world should get the same value at the same time.

    Of course, in the case you are running a local instance of WordPress (your own machine), then if you change your system time then the plugin should behave different.

    I believe different shortcodes should behave correctly together since they don’t use shared data between them, they are processed separatedly and each one with its own parameters.

    Anyways, I am not saying the plugin has no bugs, only clarifying some points to understand better how it works.

    Plugin Author ariel.coppes

    (@arielcoppes)

    Thanks for the bug report, I will take a look. Remember that by default it uses UTC timezone. So, when you configure 5am to 12pm it is not based on your timezone, that hour range will be converted to UTC.

    Depending on your timezone (for example my timezone is GMT-03) try using “5:01am -0300” instead.

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