Support

Home Forums WP User Integration Advanced: Event list display based on user's event category preference

Advanced: Event list display based on user's event category preference

Posted: October 6, 2013 at 8:44 pm

Viewing 3 reply threads


Manuel Mark

    October 6, 2013 at 8:44 pm

    I want to accomplish the following use case:

    As a logged-in user I want to be able to set my preferred event category and when going to the event list page, I only want to see events from my preferred event category.

    – How can a logged-in user choose and set his preferred event category (from a drop-down menu)?
    – How can a logged-in user only see events of his preferred event category?

    Are there any php snippets available that would help?

    Thanks!


    Dean

    • Support Staff

    October 7, 2013 at 2:22 am

    Hi Manuel,

    There isn’t a snippet as this would require some custom development. My thinking is that you would add a dropdown to the profile and then using a custom page template on a page only accessible by logged in members you could grab the value of that dropdown and then do_shortcode the event list with that value as the value of the category parameter.

    So it is a little bit more involved than just a code snippet. You could try one of our recommended developers – http://staging.eventespresso.com/developers/event-espresso-pros/


    Manuel Mark

      October 7, 2013 at 10:10 pm

      Hi Dean,

      Thanks for the fast reply. I will reach out to a developer.

      MM


      Dean

      • Support Staff

      October 8, 2013 at 12:52 am

      No problem!

      Viewing 3 reply threads

      The support post ‘Advanced: Event list display based on user's event category preference’ is closed to new replies.

      Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

      Event Espresso - Staging Server