Posted: September 17, 2018 at 8:58 am
How can I disable this requirement? We do not want to force users to create an account just to print tickets. When they select the ticket # on email, it should display their ticket so they can print it. |
|
September 17, 2018 at 10:08 am Hi, Normally that would not be a requirement, and Event Espresso does not have an option to make viewing tickets a requirement. May I ask are there any security plugins activated on the website? |
|
WordFence is installed. |
|
OK, if WordFence is causing the WP Login requirement then you’ll need to change the settings in WordFence to allow the tickets to open. I’m afraid I’m not familiar with WordFence to know exactly which setting that could be. |
|
I do not think so, but am still looking in that plugin. When reviewing EE, I saw an option to view the “System Information”. I see this in the EE4 section. Is this possibly an issue? –> Section Heading: force_login |
|
I disabled Wordfence, logged out and tried the email link again. It still prompts me for the WP login. When I do login, it takes me to the user event registration page in the administrations section and not to the Ticket URL. So, it looks like the issue is with the URL the email is generating is wrong. Here is the URL the email is generating: It takes the user to “View Registration” |
|
It should be sending user to this (taken when I view ticket from admin section): |
|
May I ask what’s the shortcode that’s generating the URL for that part of the email? |
|
Here is the code for the “Ticket List” Section:
|
|
Those shortcodes do not print a link to view/download a ticket. Generally you would have a shortcode wrapped in an href like this:
If you don’t have a shortcode like the above in your email template, then you don’t have an email link to view and print tickets. |
|
In the “Attendee” section:
“Ticket List” Section:
|
|
Every one of those shortcodes will not output an email link to view and print tickets. In order to get an email link to view and print tickets, you’ll need to add something like this:
|
|
I do not even see that short code in the available offerings. Strange.
|
|
I know that is a lot to look at but I am not sure how else to show you what is going on. Id there a way to do a GoToMeeting and review it? |
|
I think the issue is here: [EDIT_ATTENDEE_LINK]”>[FNAME] [LNAME]
‘` |
|
dang it, code didntt’t format right. Here you go:
|
|
I found this ([TICKET_URL]) Will this work? Test email takes me to the home page: <[TICKET_URL] [REGISTRATION_CODE] ‘ |
|
This forum formatting is a pain:
|
|
What you’ve posted here is sufficient.
You can remove this part of the email template: and if you’d like, replace it with: |
|
I tried to apply your code and got this: The following shortcodes were found in the “[ATTENDEE_LIST]” field that ARE not valid: [RECIPIENT_TICKET_URL] Valid shortcodes for this field are: [FNAME], [LNAME], [ATTENDEE_EMAIL], [EDIT_ATTENDEE_LINK], [REGISTRATION_ID], [REGISTRATION_CODE], [REGISTRATION_STATUS_ID], [REGISTRATION_STATUS_LABEL], [REGISTRATION_TOTAL_AMOUNT_PAID], [FRONTEND_EDIT_REG_LINK], [PHONE_NUMBER], [ADDRESS], [ADDRESS2], [CITY], [ZIP_PC], [ADDRESS_STATE], [COUNTRY], [ANSWER_*], [TICKET_URL], [EVENT_LIST], [TICKET_LIST], [QUESTION_LIST] |
|
The code I advised is intended for the [EVENT_LIST] section. The [TICKET_URL] shortcode is the equivalent that can be used within the [ATTENDEE_LIST] section. |
|
The shortcode: [RECIPIENT_TICKET_URL] generates an error in the Events List section as well. I will stick with the [TICKET_URL] in the Attendee section, that one is recognized. I am not sure what version you are running, but it obviously does not match mine. |
|
It works now. So strange because we never changed this template other than the logo. Oh well, it works. Rick |
|
Hi Rick, It may be a different email template, I don’t think you specified which template you were editing, did you? Also, please note that the default registration notification emails do not have the ticket shortcodes predefined. The reason being is you need to have the ticketing add-on activated in order to have/use the [TICKET_URL] shortcodes. So it’s not strange that the ticket URL shortcode wasn’t being used before if all you did was change the logo. |
|
The support post ‘Email link to view and print tickets requiring WordPress login’ 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.