Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #64414
    Anonymous
    Inactive

    Dear Franky,

    I have the impression that in version 2.2.88 the use of #_CURDATE or #_CURDATE{} or #_CURDATE{Y-m-d} or another allowed expression between {} breaks the output. Also when used in conditions using #ESC_CURDATE.

    However this one works fine:
    [eme_if3 tag="#ESC_STARTDATE{}" ge="#ESC_CURDATE{}"]<br>Aanmelden/afmelden klik op[/eme_if3] #_LINKEDNAME<br> and so on and so on …

    This one does not give good response
    [eme_if3 tag="#ESC_STARTDATE" ge="#ESC_CURDATE"]<br>Aanmelden/afmelden klik op[/eme_if3] #_LINKEDNAME<br> and so on and so on …
    The output gives “4 juli 2022” in stead of “Aanmelden/afmelden klik op …. ” and all the other stuff thereafter is missing.

    The same bad response for
    [eme_if3 tag="#ESC_STARTDATE{Y-m-d}" ge="#ESC_CURDATE{Y-m-d}"]<br>Aanmelden/afmelden klik op[/eme_if3] #_LINKEDNAME<br> and so on and so on …
    The outout gives “Y-m-d2022-07-04 18:18:06” in stead of “Aanmelden/afmelden klik op …. ” and all the other stuff thereafter is missing.

    #_CURDATE gives output 4 juli 2022
    #_CURDATE{} gives output 4 juli 2022
    #_CURDATE{l d F Y} gives output 4 juli 2022. To my opinion this must be (in Dutch) maandag 04 juli 2022. I use this f.i. in a dated pdf file.

    My question is: Do I use #_CURDATE in a wrong way, or has something changed in version 2.2.88 which was not meant by you.

    I hope you can give some information about this.

    Ard Hartsuijker

    #64415
    Anonymous
    Inactive

    Sorry:
    #_CURDATE gives output “4 juli 2022”
    #_CURDATE{} gives output “#_CURDATE{}”
    #_CURDATE{l d F Y} gives output “l d 4 juli 2022”. To my opinion this must be (in Dutch) maandag 04 juli 2022. I use this f.i. in a dated pdf file.

    #64416
    Franky
    Keymaster

    Indeed, this should fix it (one-liner):
    https://plugins.trac.wordpress.org/changeset/2751759/

    #64417
    Anonymous
    Inactive

    Dear Franky,

    I might have found that oneliner myself. However it does not solve the problem with #_CURDATE.

    In https://www.e-dynamics.be/wordpress/event-formatting/ you write “If you want to show the current date or time in your event or form or mail: #_CURDATE and #_CURTIME (give you the current date//time based on your wordpress date/time preferences).” That’s correct, but the ouput is broken behind the #_CURDATE placeholder. And with broken I mean there is no output visible on the screen or in the generated pdf file.

    I hope the problem is still another oneliner, but I have no idea where to look in the plugin code.

    Ard Hartsuijker

    #64418
    Franky
    Keymaster

    I confirm that it wasn’t fixed, this should do it (I overwrote a $format variable which it obviously shouldn’t do):
    https://plugins.trac.wordpress.org/changeset/2752086/

    #64419
    Anonymous
    Inactive

    Dear Franky
    I had the impression it was about this variable because that one is used for more replacements. But you know your plugin code better than I do.
    So I’m glad you found the right solution.
    The bug I noticed, now seems to be solved by you 🙂
    Thanks for your very quick and good respons *****
    This ticket can be closed.
    Ard Hartsuijker

    PS When you are in the Netherlands you should contact us and visit the Dwingeloo Radio Telescope.
    In the summer holidays we have regular openings https://www.camras.nl/bezoekersinfo/bestel-tickets/

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top