Events Made Easy Forums Bug fixed or feature request implemented Displaying Past Bookings No Longer Working

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #59182
    Anonymous
    Inactive

    We have a page that displays the events our users have registered for in the past year:

    [eme_mybookings template_id=39 template_id_header=5 template_id_footer=7 future=0]

    where template_id 39 = [eme_if tag="#ESCY" value="2018"]<li><strong>#_STARTDATE -- </strong>#_LINKEDNAME <strong>--</strong> #_STARTTIME to #_ENDTIME</li>[/eme_if]

    This worked recently…not sure with which new version it stopped working. Is perhaps #ESCY no longer the field we should be using in the comparison? Or is there something different with the “future=0” attribute?

    Also tried testing with the following:
    [eme_mybookings template_id=3 template_id_header=5 template_id_footer=7 future=1]

    With future=1, it will show the upcoming bookings as expected, but if we change it to future=0, no bookings are found. Our template_id=3 does not have a any kind of qualifier like template_id=39. All past bookings should be displayed but they aren’t.

    Any help you could offer would be greatly appreciated.

    #59183
    Franky
    Keymaster

    Can you check if this fixes it for you:

    https://plugins.trac.wordpress.org/changeset/1998386/events-made-easy/trunk

    (only the second change is really needed, the first one is cosmetic)

    #59184
    Franky
    Keymaster

    This is now already in the released version.

    #59187
    Anonymous
    Inactive

    Unfortunately, this did not change things for us. We can still only display future events. If we change it to future=0, no bookings are found.

    #59188
    Franky
    Keymaster

    Arghl … I see it now, let me fix this.

    #59189
    Franky
    Keymaster
    #59194
    Anonymous
    Inactive

    First, love the “Argh” comment! Second, unfortunately, the fix did not seem to fix the issue for us. Anything else we can try?

    #59195
    Franky
    Keymaster

    Well, the fix works here, tried both with and without future. Did you apply it to the latest version?
    And if it doesn’t work, check your webserver logfiles for PHP errors, that might give an extra hint (it might be that you need to activate PHP error logging, see your provider if that is not the case).

    #59196
    Franky
    Keymaster

    Wait, I did some more testing: the code now returns a list of bookings, but for future=0 it seems to return all bookings, not just the ones for past events. Let me check this.
    Edit: that is the correct behavior, also documented like this. So for me it seems ok.

    #59205
    Anonymous
    Inactive

    Ok, thanks Franky. Will send your comments on to our developer about the php errors and see if there might be something there that may help us figure this out.

    Thank you so much for your help!

    #59206
    Franky
    Keymaster

    Well, using the latest version will result in correct (and documented) behavior for the shortcode, no need to check on that with developers …

    #59207
    Anonymous
    Inactive

    Thanks Franky – just installed the latest version and it does work! Our past events are back! Thank you so much for your time and attention – we really appreciate it!!

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