Events Made Easy Forums How do I … .. understand the events placeholder – the right way?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #53263
    Anonymous
    Inactive

    Hi Franky,

    I just played around as I would like to display information on available, reserved and booked seats…

    #_RESERVEDSPACES (or #_BOOKEDSEATS) gives the number of seats registered in total for an event
    #_RESERVEDSPACES{xx} (or #_BOOKEDSEATS{xx}) gives the number of seats registered for the xx-th seat category for a multi-seat event
    #_AVAILABLESPACES (or #_AVAILABLESEATS) gives the number of seats free for an event
    #_AVAILABLESPACES{xx} (or #_AVAILABLESEATS{xx}) gives the number of seats free for the xx-th seat category for a multi-seat event
    #_PENDINGSPACES (or #_PENDINGSEATS) gives the number of seats pending for an event
    #_PENDINGSPACES{xx} (or #_PENDINGSEATS{xx}) gives the number of seats pending for the xx-th seat category for a multi-seat event
    #_TOTALSPACES (or #_TOTALSEATS) gives the number of seats in total for an event
    #_TOTALSPACES{xx} (or #_TOTALSEATS{xx}) gives the number of seats in total for the xx-th seat category for a multi-seat event

    But for any reason there seems to be no option to display the number of seats that are confirmed seats vs. an placeholder that would not take pending seats into account?

    #_RESERVEDSPACES (or #_BOOKEDSEATS) includes the pending seats!
    #_AVAILABLESPACES (or #_AVAILABLESEATS) does not show pending seats!
    #_PENDINGSPACES (or #_PENDINGSEATS) shows all pending seats!
    #_TOTALSPACES (or #_TOTALSEATS) shows the max. participants!

    So I’m missing something like #_CONFIRMEDSEATS right?

    There is also a question coming up, is there any option to indicate a minimum number of participants in order to make an event going to happen?

    #53264
    Franky
    Keymaster

    Concerning your placeholder question: nobody requested it so far 🙂
    But it is implemented now:
    https://plugins.trac.wordpress.org/changeset/1058390/events-made-easy

    Concerning your minimum: you can use conditional tags to compare the number of participants with the wanted limit and show a text accordingly, see http://www.e-dynamics.be/wordpress/?cat=24

    #53265
    Anonymous
    Inactive

    Excellent! Thank you so much!

    #53266
    Anonymous
    Inactive

    So this should do the trick…?

    [eme_if tag='#ESC_APPROVEDSPACES' le='#ESC_ATT{MINSEAT}'] minimum participants not reached [/eme_if]

    When will your changes be submitted to WP.org? Or is there a version that can be downloaded prior to it’s publishing approval date by WP.org?

    #53267
    Anonymous
    Inactive

    “le” needs to be “lt” sorry 🙂

    #53268
    Franky
    Keymaster

    That shouild do it.
    You can always try the dev version: https://downloads.wordpress.org/plugin/events-made-easy.zip

    #53272
    Anonymous
    Inactive

    Perfect … just tried the dev version … works!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top