Support

Home Forums Event Espresso Premium Print tickets page Code Leak

Print tickets page Code Leak

Posted: March 3, 2023 at 4:17 pm

Viewing 7 reply threads


Jarred

March 3, 2023 at 4:17 pm

Hello, I have attached two images showing some issues with our tickets. They system emails out the tickets for customer to print, however there is some weird URL codes at the bottom of the tickets now showing up so when they try to print it looks like its messed up.

I will post the images privately thanks.


Jarred

March 3, 2023 at 4:21 pm

This reply has been marked as private.


Tony

  • Support Staff

March 6, 2023 at 6:32 am

Something on your site is either stripping out the script tags or swapping them for a tags.

When I view tickets on one of my test sites, the assets load using script tags:

https://monosnap.com/file/AIFplHTitYx6KBki8HfP6SRvPGBlRm

On your site, they are loading as links:

https://monosnap.com/file/XxJRB17RVaN4dhNxf9NM2GDhJIWDAd

Do you have any plugins for changing how scripts load? Speeding up the site etc?


Jarred

March 10, 2023 at 3:30 pm

I just uninstalled WP Rocket, didn’;t fix it. Uninstalled SG Optimizer, didn’t fix it. TUrned off Siteground CDN, didn’t fix it. Tried with all 3 turned off, didn’t fix it.

So, please, its your plugin urls. Its your code. Also, I had two issues on that dropbox folder.

1) The urls at bottom of tickets
2) the ticket name is repeating the date as I highlighted in the image.

Do you want access to my website to fix this? Please let me know, thanks


Jarred

March 10, 2023 at 3:32 pm

Maybe the Event Espresso – Ticketing (EE 4+) needs an update?


Jarred

March 10, 2023 at 3:33 pm

Also I had chosen not to show the “Powered by Event Espresso” in the settings, but its showing up when people print tickets. Its should be removed from everywhere since I chose that setting. If I need to use my support token for this thats fine just let me know thanks.


Tony

  • Support Staff

March 12, 2023 at 4:13 pm

So, please, its your plugin urls.

But it’s not just our URLs, jQuery loading from WordPress core is doing exactly the same. The issue isn’t the URL’s it’s the tags being changed on the output.

We add those assets using wp_enqueue_script() as normal.

Its your code.

If this is ‘just’ our code causing this, we would see this everywhere but I can’t reproduce it on my test sites and we’ve had no other reports of this issue. So this is more likely to be an issue from something specifically on your site than just our code.

Also, I had two issues on that dropbox folder.

1) The urls at bottom of tickets
2) the ticket name is repeating the date as I highlighted in the image.

I’m aware you’ve highlighted multiple issues, I was prioritizing what I would consider the most critical of that page as its loading assets within links.

If you edit the ticket template used on that event, assuming thats the default template will be in:

Event Espresso -> Messages -> Default Message Templates -> Ticket -> Edit Registrant.

IN the main content, what is set right below [EVENT_NAME]?

Just [DATETIME_LIST]?

What is set within the DATETIME_LIST section?

Maybe the Event Espresso – Ticketing (EE 4+) needs an update?

You are using the latest version of the ticketing add-on already. Without knowing what is causing the above I can’t push an update for the add-on to fix it.

Also I had chosen not to show the “Powered by Event Espresso” in the settings, but its showing up when people print tickets. Its should be removed from everywhere since I chose that setting.

The setting mentioned removes it from everywhere that is dynamically injected, the message templates are saved to your database are do not have the above text dynamically injected into them.

You can manually remove that text from the template in the above location and save the template, it wont be readded.


Tony

  • Support Staff

March 12, 2023 at 5:04 pm

I’ve been digging into this and so far I still can’t reproduce it.

If you redeem your support token and provide all of the requested details (I will need FTP access to troubleshoot this) I’ll take a look. If this turns out to be an issue specifically with our code I will leave the support token on your account for future use.

Viewing 7 reply threads

The support post ‘Print tickets page Code Leak’ 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