Support

Home Forums Event Espresso Premium Short Code Issue with Message Template

Short Code Issue with Message Template

Posted: January 1, 2021 at 4:24 pm

Viewing 6 reply threads


texashauntersgroup

January 1, 2021 at 4:24 pm

Greetings,

I have updated the “Ticket Notice” Message Type to include two shortcodes links below. When the end-user then clicks on the links they do not appear to work. They get a “This site can’t be reached” error in the browser.

[PRIMARY_REGISTRANT_FRONTEND_EDIT_REG_LINK]
[RECEIPT_URL]


texashauntersgroup

January 1, 2021 at 4:26 pm

This reply has been marked as private.


texashauntersgroup

January 1, 2021 at 7:21 pm

This reply has been marked as private.


texashauntersgroup

January 2, 2021 at 10:52 am

This reply has been marked as private.


Tony

  • Support Staff

January 4, 2021 at 5:13 am

Hi there,

I’ve seen this happen when using the editor to add links with shortcodes, if you add a shortcode in the link element it automatically adds HTTP:// to the beginning so if your using a _URL shortcode (or any other that outputs the full URL) that’ll add the full URL to the template when parsed prefixed with that HTTP://.

To check for this you can switch to Text mode on the editor and search for the shortcodes above, I’ve seen it show up like:

<a href="http://[RECEIPT_URL]">Click here for Receipt</a>

If you find any instances like that, change it to:

<a href="[RECEIPT_URL]">Click here for Receipt</a>


texashauntersgroup

January 4, 2021 at 11:04 am

Thanks, Tony. That is exactly what I found and fixed by the time the second email was sent out. The third email just went out and is working as expected.

Odd that removing the extra “http://&#8221; from the URL still does not cause it to render in a browser. I am guessing it is in the DB somehow the incorrect way causing the issue on that first email that went out.

If that first user has an issue I will just help them manually.

Thanks again for your help!


Tony

  • Support Staff

January 4, 2021 at 11:13 am

If you are previewing an actually sent message in Event Espresso -> Messages -> message activity, then that message content has been generated already (using the template at the time of generation) and then saved, so you’ll get the ‘broken’ link there.

You can retrigger the email if needed, go to Event Espresso -> Registrations.

For the Ticket notice email, you’ll see icon in the actions column, hover over it and it should show ‘Resend Ticket notice’.

Click that to, well…. resend the ticket notice 🙂

That will then requeue, regenerate (using the current template) and resend.

Viewing 6 reply threads

The support post ‘Short Code Issue with Message Template’ 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