Support » Plugin: Events Made Easy » Mybookings shortcode only visible for admins

  • Resolved Anne SM

    (@anne-sm)


    Hello,

    I’m using the Events Made Easy plugin together with the Ultimate Member plugin. I’ve made a profile page to display a logged in user’s registrations to events.
    Here’s the situation:

    For admins with no registrations I get the empty state message.

    For admins with registrations I still get the empty state message.

    For other users with no registrations I get no message – the empty state message is not displayed.

    For other users with registrations I still get no message – the empty state message is not displayed.


    Any ideas on why the shortcode isn’t working??
    I’m using [eme_mybookings future=1]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Franky

    (@liedekef)

    What are your settings for bookings list header, entry and footer? If those are empty, the result will be empty too 🙂

    Thread Starter Anne SM

    (@anne-sm)

    Thanks for the reply 🙂
    I’m using the default <ul class=’eme_events_list’> and as i’ve not changed those settings. The result is only empty for non-admin users.

    Plugin Author Franky

    (@liedekef)

    That’s only the header, but anyway I’ll assume the defaults are used.
    Does the user have booking shown in his/her wordpress profile (at the bottom)?
    I checked the code, and there’s indeed some inconsistency in it (where wp_id is not stored anymore for the user if the user is already found as a ‘person’ in EME).
    Now, would you mind trying out the last 2 versions of eme_people.php and eme_rsvp.php found here:
    https://plugins.trac.wordpress.org/browser/events-made-easy/trunk/eme_people.php?rev=1610156&format=txt
    https://plugins.trac.wordpress.org/browser/events-made-easy/trunk/eme_rsvp.php?rev=1610156&format=txt

    Thread Starter Anne SM

    (@anne-sm)

    I missed out on the footer, but yes, it is the default as well: .

    The “Future bookings made” section in the wordpress profile is not displayed for any other users than admins.

    However – I have replaced the eme_people.php and the eme_rsvp.php and it works!

    The “Future bookings made” section is now not visible for any users in the wordpress profiles, but in the frontend the shortcode generates the bookings perfectly.

    Thank you very much for your help. Excellent plugin!

    Plugin Author Franky

    (@liedekef)

    The profile remark is correct; this should fix it:
    https://plugins.trac.wordpress.org/changeset/1610169/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mybookings shortcode only visible for admins’ is closed to new replies.