Events Made Easy Forums Bug fixed or feature request implemented List of events user is registered for

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #42453
    Anonymous
    Inactive

    My goal is to be able to list all the events that a user is registered for. I see that the “right” way to do it would probably be to add person id as an optional parameter to eme_get_events_list() and add a shortcode for that, or I could do it the hack way using a template and eme_get_bookings_by_person_id() – right now I’m doing it the template way. If I do it the “right” way, would you want it?

    #46406
    Franky
    Keymaster

    Try this function for templating: eme_get_event_ids_by_booker_id($person_id)

    But for the events_list function: sure, send a diff (but I advise you to wait until next week, big changes coming up)

    #46407
    Franky
    Keymaster

    I’ll add a shortcode so the logged in user can get a list of future events he registered for with a mentioning of how many spaces he booked and a link to the event in question)

    #46408
    Franky
    Keymaster

    In trunk:

    * Feature: new placeholder for events: #_USER_RESERVEDSPACES (or #_USER_BOOKEDSEATS), gives the number of seats a users has registered for an event

    * Feature: new parameter for [events_list]: “user_registered_only”. If value=1, it will only give a list of events the user has registered for

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