• Resolved carinaaek

    (@carinaaek)


    Hi there,

    I need help with the placeholder #attendeeslist. Somehow it does not show up anymore. It always worked fine and showed the people attending an event (they register via the plugin ultimate member). Now all I see are bulletpoints. Thanks to this I can guess how many attendees there are, but I do not have the names anymore. Atm I use the placeholder #attendees so that at least the avatars are displayed. I just updated all the plugins and the version of wordpress, so old versions cannot be the problem. Can you help please? It is an important feature of my website.

    Best Regards! ??

    • This topic was modified 5 years, 4 months ago by carinaaek.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    You might need to do some custom coding for it. Perhaps these snippets could help you get started: https://pastebin.com/zSJdZqJj and https://pastebin.com/QQft1Hrt

    Thread Starter carinaaek

    (@carinaaek)

    Thanks for your help! I used #attendees with the new code and it worked ??
    For me one problem remains: In the past I was able to display the nickname instead of the full name. This is necessary, beacause some of the attendees do not want do be seen with their full name. What can I do to make this work again?

    Hello,

    You should be able to modify the snippet and display the username if needed. The username of the user should be inside the array $EM_Booking->get_person(). You can try $EM_Booking->get_person()->username

    or you can do something like

    $user = get_user_by( 'id', $EM_Booking->get_person()->ID );
    $username = $user->user_login;

    Then you can display add the variable inside the loop.

    Thread Starter carinaaek

    (@carinaaek)

    Great, thanks a lot! Your first suggestion worked for me. But I had to place the word nickname instead of username. So again: Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘#attendeeslist does not work anymore’ is closed to new replies.