Events Made Easy › Forums › How do I … › .. understand the events placeholder – the right way?
- This topic has 6 replies, 2 voices, and was last updated 9 years, 11 months ago by Anonymous.
-
AuthorPosts
-
Fri 2 Jan 2015 at 12:29 #53263AnonymousInactive
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 eventBut 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?
Fri 2 Jan 2015 at 13:29 #53264FrankyKeymasterConcerning your placeholder question: nobody requested it so far 🙂
But it is implemented now:
https://plugins.trac.wordpress.org/changeset/1058390/events-made-easyConcerning 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
Fri 2 Jan 2015 at 15:54 #53265AnonymousInactiveExcellent! Thank you so much!
Fri 2 Jan 2015 at 16:29 #53266AnonymousInactiveSo 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?
Fri 2 Jan 2015 at 16:31 #53267AnonymousInactive“le” needs to be “lt” sorry 🙂
Fri 2 Jan 2015 at 16:41 #53268FrankyKeymasterThat shouild do it.
You can always try the dev version: https://downloads.wordpress.org/plugin/events-made-easy.zipFri 2 Jan 2015 at 20:21 #53272AnonymousInactivePerfect … just tried the dev version … works!
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.