Support

Home Forums Event Espresso Premium Upcoming events on the My Events shortcode

Upcoming events on the My Events shortcode

Posted: July 20, 2020 at 6:49 am


TownCountry

July 20, 2020 at 6:49 am

Upcoming events in the “My Events” shortcode are not displayed. What can that be?


Tony

  • Support Staff

July 20, 2020 at 4:55 pm

Hi there,

I can see this thread has now been marked resolved, just checking that wasn’t accidental and you now have a solution?

May I ask what the issue was?


TownCountry

July 21, 2020 at 12:13 am

We have found the cause. It is because a new contact has been created for the new registrations. Then of course the registration will not be shown to the right user. However, we still have no solution on how we can prevent this in the future and how we can clean up the data.


Tony

  • Support Staff

July 21, 2020 at 12:35 pm

Did the user use different details to their user account data when registering?

If the option to sync contact information with the WP user profile is disabled then a new contact will be created in that case.

Does the new contact match the old one with exactly the same details?


TownCountry

July 22, 2020 at 12:41 am

The details differ. We have intentionally switched off the update as this data is updated via a SingleSignOn system. Is there a way to prevent the change of first name, last name and email for the first participant?


Tony

  • Support Staff

July 23, 2020 at 4:11 am

We don’t currently have an option to do it so without custom coding the closest your can do is make them look disabled with CSS, like this:

.ee-reg-qstn-fname:first-of-type,
.ee-reg-qstn-lname:first-of-type,
.ee-reg-qstn-email:first-of-type {
    pointer-events: none;
    background: #ccc;
    border: 1px solid #ccc;
}

That will prevent mouse events but can not prevent the user from tabbing to the fields and changing them if they wish.

Also note that even with the primary registrant linking to the ‘correct’ contact, if the user is changing the details on additional registrations those aren’t going to show up on the My Events section by default. However, it is possible to display them if the primary is always the correct contact using a custom template like this:

https://gist.github.com/Pebblo/54707c59d09185e16e1e15f35ba3765c

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 3 months, 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!