Events Made Easy Forums Bug fixed or feature request implemented New Placeholders for Multiprice Events

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #44159
    Anonymous
    Inactive

    Does #_ATTENDEESxx exist, where xx is tag to differentiate different price tables? If not, is it a big deal to add it? I’d like to be able to display a list of attendees at each event.

    Unrelated except in that it’s also a placeholder, is there any way to include custome fields in an Attendees list? Like #_ATTENDEEFIELDxx or something?

    #51207
    Franky
    Keymaster

    Since one attendee can make multiple bookings, this is not possible. Isn’t the booking list with its placeholders what you’re looking for?

    #51208
    Anonymous
    Inactive

    I don’t think so, but maybe. What I want to do is to display the usernames of all the attendees , along with which of the “prices” of events they have booked.

    Ideally, what I really want is a list by price, like this:

    Price 1: Name 1 (Field 1), Name 2 (Field 1), Name 3 (Field 1), Name 4 (Field 1)

    Price 2: Name 5 (Field 1)

    Price 3: Name 6 (Field 1), Name 7 (Field 1)

    When I had each price listed as a separate event, I just used #_ATTENDEES in the event page.

    Maybe I can accompish this in the Bookings with a series of if-statements? In pseudocode:

    Price 1:

    if(#_SPACES1 !== 0){#_RESPNAME, #_FIELD1}

    Price 2:

    if(#_SPACES2 !== 0){#_RESPNAME, #_FIELD1}

    Can I use the [events_if] tags in the Bookings format? I’m going to go try that out and see what happens.

    …or maybe there’s an easier way that I’m just not seeing.

    UPDATE

    I managed to accomplish generally what I want with this (line-breaks added for readability):

    `#_RESPNAME (

    [events_if tag="#_SPACES1" notvalue="0"]Table 1[/events_if]

    [events_if tag="#_SPACES2" notvalue="0"]Table 2[/events_if]

    [events_if tag="#_SPACES3" notvalue="0"]Table 3[/events_if]

    [events_if tag="#_FIELD02" notvalue=""] -- #_FIELD02[/events_if])`

    I’m seeing an upcoming problem if my event has a different number than 3 tables, since this booking form is not customizable by event, as far as I can tell.

    Simple wishlist:

    “Bookings list format” as a textarea rather than a text input.

    More complicated wishlist: Order entries by table? I have no idea if this is possible.

    #51209
    Franky
    Keymaster

    The booking form can be changed by event.

    #51210
    Anonymous
    Inactive

    It is? The only thing I can find in the event is “Booking recorded html format.” What I need to change by event is “Bookings list format”, which I can only find under Settings –> RSVP

    #51211
    Franky
    Keymaster

    You asked if the booking form could be changed per event, not the booking list. But even that is possible:

    you can use the [eme_bookings] shortcode for this inside your event format, use the placeholder #_EVENTID for the value of the event id and use templates.

    See

    http://www.e-dynamics.be/wordpress/?cat=53

    #51212
    Anonymous
    Inactive

    Sorry for my unclear requests, and thanks for the clarification.

    If I’m understanding your suggestion, I should be putting the following into the Single Event Format field:

    [eme_bookings id=#_EVENTID template_id=6 template_id_header=9 template_id_footer=10]

    (I’ve copied the Bookings List Header format into template with id 9, Bookings list format into template with id 6, and Bookings list footer format into template with id 10.)

    Is this correct? I’m not getting anything showing up in the event display at all.

    #51213
    Franky
    Keymaster

    Correct, it should work, but it doesn’t 🙂

    This is a small part of the fix: http://plugins.trac.wordpress.org/changeset/858780

    But the real problem is that I replace the #_NOTES part the last, so people using other shortcodes in there can use the “format” option and otherwise I would be replacing values that should not be replaced. This causes #_EVENTID to appear non-replaced as value for the event id, and a string is of course nto a correct value.

    But since the template functionality is now in place, people can use that. So now I could just put #_NOTES to be replaced first, causing your shortcode to appear with the #_EVENTID and then #_EVENTID gets replaced correctly afterwards.

    For some people this might cause troubles (backwards compatibility), so I’ll add an option to the settings to control this behavior.

    Moving to bugs until I can code this up this evening.

    #51214
    Franky
    Keymaster

    It turned out that recoding this uncovered some more bugs I coded up while using templates for attendees and booking lists.

    Should be all fixed here:

    http://plugins.trac.wordpress.org/changeset/858965

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