Support » Plugin: Timed Content » Updated then started mess up!

  • Resolved Mohsin Alam

    (@mohsinworld)


    What’s wrong I did? Showing me this error https://i.imgur.com/aCTelzz.png

    [timed-content-server show=”2019-02-11 19:50 +0000″ debug=”true”]Show sample content[/timed-content-server]

    [timed-content-server hide=”2019-02-11 19:50 +0000″ debug=”true”]Hide sample content[/timed-content-server]

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

    (@awelzel)

    I can’t see the image – it seems imgur.com has a severe performance problem. It starts loading and never finishes.

    Please don’t use image hosting services to show error message which are TEXT. Just copy the TEXT in the browser and paste it here – thank you!

    I think what you want to show me is just the message which is created because there is debug="true" in your shortcodes. Please read the message – it also explains what is going on and what you have to do.

    Also be aware you have chosen Timezone “+0000” which is UTC. You should set the correct timezone in your WordPress settings and use that Timezone in the shortcodes as well.

    And finally: please read the documentation – it is all explained there as well. Thank you!

    I set this shortcode into this page http://mohsinalam.com/wp/sample-page/ content showing this >> Show sample content

    Logically it needs to show >> Hide sample content

    [timed-content-server show=”2019-02-120 19:50 +0000″ debug=”true”]Show sample content[/timed-content-server]

    [timed-content-server hide=”2019-02-20 19:50 +0000″ debug=”true”]Hide sample content[/timed-content-server]

    Plugin Author Arno Welzel

    (@awelzel)

    Thanks for the details, I’ll check what’s wrong and publish an update as soon as possible.

    Plugin Author Arno Welzel

    (@awelzel)

    Version 2.51 should fix this.

    Please bring this update, now I revert to the old version, v2.15. Thanks for your reply.

    Plugin Author Arno Welzel

    (@awelzel)

    The update is already online.

    Thanks, it’s fixed now.

    Fixed half and half is not. Check this shortcode:

    [timed-content-server show=”2019-02-12 14:55 +0000″]Show Content[/timed-content-server]
    [timed-content-server hide=”2019-02-12 14:55 +0000″]Hide Content[/timed-content-server]

    The second one (hide rules) work but show rules (first one) is not working. Doesn’t show the content after the time set to show. Please check and fix it again. Check code here http://freelivesports.net/test/

    Plugin Author Arno Welzel

    (@awelzel)

    This is really strange, since the code to get the time for “show” and “hide” is identical.

    I’ll check this and will publish another update as soon as possible.

    Plugin Author Arno Welzel

    (@awelzel)

    Ok, I found the problem – it’s a logical error in the shortcode handler which causes content to hide always if there is no “hide” time at all. Sorry for the trouble. I will publish a fixed update as soon as possible.

    As a temporary workaround just set a “hide” time far in the future in the same shortcode as well, this should work:

    [timed-content-server show=”2019-02-12 14:55 +0000″ hide=”2099-01-01 00:00 +0000″]Show Content[/timed-content-server]

    As an example see here:

    https://wordpress-demo.arnowelzel.de/timed-content/

    Plugin Author Arno Welzel

    (@awelzel)

    The current update to version 2.52 should fix this.

    Finally fixed it! Please don’t update again, and if needed then check yourself before publishing the update. Thanks a lot for your great plugin.

    Plugin Author Arno Welzel

    (@awelzel)

    Thanks for the feedback. This update did not work that well as I was in a hurry to get it out – there were other problems you did not notice, which required a major refactoring.

    For the future I may implement Cypress tests to avoid this.

    By the way: I am not the original author of the plugin and had to fix a lot of other problems in the code from earlier versions you may not have noticed so far.

    Plugin Author Arno Welzel

    (@awelzel)

    If you want to participate – the code is here and pull requests are welcome:

    https://github.com/arnowelzel/timed-content/blob/master/timed-content.php

    😉

    Thanks for your quick fix. Great thanks

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Updated then started mess up!’ is closed to new replies.