Posted: July 19, 2023 at 1:44 pm
hello. i completed the data migration process to ee5 and now i’m trying to get things looking and acting the way we had them with ee3. i have a few questions: 1. front page /elementor widget 2. purchase > event tickets > all events 3. purchase > event tickets > webinars 4. attendee info [LISTATTENDEES event_identifier=”mothers-day-s-644db5508e04b” paid_only=”true”] and on EE5 with the below shortcode i only see the attendee names. 5. the mysterious oxford comma function lastly, in my hunt for custom ee3 functions i might be able to search the support forums for, i found that i have this in my ee3 setup. what the heck does it do and do i still need it?
add_filter ( 'the_content', 'who_cares_about_an_oxford_comma', 11 ); function who_cares_about_an_oxford_comma ( $content ) { thank you. i’m sure i’ll have more questions, but these are today’s. 🙂 🙂 emily |
|
Hi there,
We don’t have shortcodes to output individual sections of the event content, depending on what yu are trying to do you will likely need your own custom widget outputting the events specifically how you need them via code.
What is purchase > event tickets > all tickets? EE4+ integrates much more tightly with your sites theme than EE3 does, a lot of how the content is output is now controlled by the theme template files (we do not officially support page builders).
How are the events output currently? I assume using the ESPRESSO_EVENTS shortcode?
That’s all we output within EE4, for what you are trying to do you’ll likely need a custom shortcode. I say that because ESPRESSO_EVENT_ATTENDEES outputs the attendees (the ‘contacts’) and it sounds like what you want to output are registrations (which like the EE_Contact, EE_Ticket and EE_Transaction all together) and the details from those. Can you add a screenshot fo the current output you use? (You can set the reply private so only EE staff can view it)
That’s from here: https://gist.github.com/sidharrell/71f01924d56d460c11a4 It’s not code I’ve written and from almost 10 years ago, but its basically checking for I don’t think it’s something you’ll need, worst case you can reactivate it. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
i’ve sent some details privately and yes, the shortcodes you guessed are what i have used. |
|
hello? any response for me on my issues? i’m at my desk thursday and friday and would love to get some help making my event and attendee lists generating like i had them in ee3. |
|
Hi there, Apologies for the delay, working through customizations isn’t officially supported within our support license so setting time aside to check into this takes a little. For the event list to look exactly like what you have already, you’ll need your own output for it and an example of creating a simple event list can be found here: https://gist.github.com/joshfeck/6e33532c37a123bbf532 You could add that to your own shortcode and customise the output to suit from there. If you want the output for the
Into your theme (preferably a child theme) and then working through the various calls to the template parts to remove what you don’t need and replace the output created from what you do need with just the details you want. We do have some options to reduce the details loading on the event lists if that helps, go to Event Espresso -> Events -> Templates (tab at the top of the event list). There you’ll find a section for the event list pages, you can disable sections being added to the event lists there. Does that help get you close to the output you wanted? — The
Into your child theme and modifying the details you want to output within that file. However, as mentioned that shortcode pulls in the ‘contacts’ for an event, not the registrations so this gets a little more complex when you want to start outputting ticket details. Would the registration CSV report for the event not be a better match for pulling those details in? |
|
When no events are found, EE will load your theme’s |
|
ok great! this is clear to me at first read. i assume ee files don’t need their own directory in my child theme? do you have a collection of code snippets somewhere to browse or search? my google fu was only getting really complicated examples like grid cards and animated toggles. |
|
No, just in root.
Not for what your are trying to do, we don’t have anything for front end customizations but: https://github.com/eventespresso/ee-code-snippet-library/tree/master I’ve created a bunch of gifts for various changes over the years. Those are: |
|
getting back to this, trying to sort out the > Would the registration CSV report for the event not be a better match for pulling those details in? as long as the site owner can view the attendee details on a password protected browser page, it’s fine. any advice for that? |
|
The registration CSV is from the admin rather than a front end page.
If a front-end output is the only option you want to use you’ll need either |
|
yeah csv won’t work for us. so far i have this for the attendees…
and that puts the email address on the page, but i’d like to print the event title above the lists, so i tried this in the loop template, but it doesn’t work. any suggestions?
the error i get is Warning: Undefined variable $event_id in /home/dps2020/stage/wp-content/themes/generatepress_child/loop-espresso_event_attendees.php on line 34 |
|
In that template you have the
|
|
ok great. that worked. thanks so much. i’m almost there. |
|
do you have similar advice for the ticket price and number of tickets left for one of my event shortcodes? |
|
Sorry, which shortcode do you mean? |
|
[ESPRESSO_EVENTS] |
|
ok. i’ve gotten my espresso events shortcode working to my liking. but now the problem is the register button on the single events page is just reloading the event list page. i tried to submit two posts here on the issue, but they are not appearing in the forums. i moved the setup to the live server to install and test the payment connection, but i must not have the new authorize.net plugin set up properly. my critical pages are all there, i’ve added my api codes…. i noticed my forum posts weren’t added when i was trying to go back and edit the info with: sometimes i see this error when loading the Event TIckets page An error has occurred: thanks. |
|
Can you go to your EE Dashboard -> General Setting then click the Critical Pages. also, if you can send us a video on how you get that error message, it would be helpful. thanks. |
|
This reply has been marked as private. | |
also… when you’re in there, you’ll see the default event list in the admin shows all our dates and sorts them by on sale date. is there a function i can add to show only upcoming events sorted by date of the event on default view? |
|
This reply has been marked as private. | |
oh nice… searched around for this yesterday but didn’t find the admin sort solution until today.
|
|
This reply has been marked as private. | |
hello? any thoughts on the authorize issue? we are unable to sell events currently. if your new plugin doesn’t work, is there a way to connect ee with the authorize setup that works with our woocommerce and bookly offerings? i’m at my desk all day today. thanks for your help. |
|
hello? any thoughts on the authorize issue? we are unable to sell events currently. if your new plugin doesn’t work, is there a way to connect ee with the authorize setup that works with our woocommerce and bookly offerings? i’m at my desk all day today. thanks for your help. |
|
i double checked, and the website server is running php 8. just fyi in case it’s thelpful. |
|
please respond. the site owner is getting frustrated that her events next week will be affected. is there anything you can advise? is there anything i can provide? credentials? screenshots? |
|
i noticed the error i’m getting has changed slightly after fiddling with the authorize api settings.
the error number went from 75 to 76. |
|
also, this link is dead (from the authorize sim settings tab) |
|
https://support.authorize.net/authkb/index?page=content&id=A405 |
|
maybe the shortcode i wrangled isn’t passing something properly? you can see we are desperate to find a solution.
i also tried enabling debug and enabling test transactions but no errors are thrown, it still just reloads the event listings page. thanks. |
|
This reply has been marked as private. | |
i still am not connected with ee to authorize. we are now considering other options to sell our events. i noticed on the troubleshooting page for the authorize plugin it mentions another plugin called Authorize.net Accept and it says i can “Download Authorize.net Accept from your EventEspresso.com account page” but i only have access to the SIM plugin. where do i download that plugin? https://eventespresso.com/wiki/authorize-net-sim-payment-gateway/#troubleshooting |
|
hello? is ANYONE at eventespresso going to respond? is there something obvious we are missing? i’ve tried to provide as many details as i can that would help. this site has been powered by eventespresso for more than a decade, we like the software, but if we can’t get authorize working with it, we will likely move everything to a booking software that uses the woo checkout without issue. |
|
i see that someone has finally watched the video i provided EIGHT DAYS AGO. hopefully resolution is on the way. if you need anything from me, i’m in the office today, but out until monday after that. |
|
i am back in the office. why is no one from EE communicating on this matter? |
|
Hi there, Firtly, my apologies! Your thread wasn’t showing on my support queue so I missed your replies. Janice sent over your email enquiry and I found it from there. MY sincerest apologies! I’ve replied directly via email but will add details here as I’m not sure which one you are monitoring. I’d like to log into the site to take a deeper look at this, if that’s ok can you send temp login details over using this form: https://eventespresso.com/send-login-details/ Looking over the site it looks like the Registration Checkout critical page isn’t set up correctly. Create a new page (call it ‘Registration checkout’, the name doesn’t actually matter but I’ll use that for the example) On that page add JUST the [ESPRESSO_CHECKOUT] shortcode and publish he page In Event Espresso -> General Settings -> Critical Pages. Select that Registration Checkout page and save. Let me know once that has been complete and I’ll retest. — If you can send login details over using the above I’ll check into this further. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
Thank you. So the issue with your registration was indeed due to the Registration checkout page being incorrect, I’ve created a new standard page called ‘registration checkout’ which holds just the The registrations are now working as expected from the ticket selector. — Using Auth.net SIM you’ll need to set/update the referrer/rely response URLs within your Auth.net account. Right now its showing:
Auth.net have some docs available for this here: https://support.authorize.net/knowledgebase/Knowledgearticle/?code=000001570 Or you could switch over to using Auth.net Accept (which is the most recent integration method we use): |
|
it looks like the new Auth.net Accept plugin will cost us extra? is that true or am i just missing where to download it? |
|
i’ve gotten the thank you page hooked up. the checkout integration is kinda ugly and awkward, does the Accept plugin allow the cc details to be added on a page that is on our website, and not do the ‘sending you to authorize’ and ‘don’t forget to come back here’ dances? |
|
You have an EE3 license which means we give you access to EE3 and we also give you access to EE4 with the equivalent addons. There is no Accept payment method for EE3 so it wont be included within the EE3 license, which means yes, you can either purchase it separately or switch over to the EE4 everything license (which includes all EE4 add-ons).
It depends what you find ulgy and awkward, some of that output is based on your theme.
Hosting the payment fields on your own server greatly increases your PCI compliance requirements so the dancing around here and there is actually much ‘safer’ option for you/the site admin (it makes very little difference to us, the integrations are after similar in how they need to be made but the liability for issues/breaches then lies on you). However, the Accept payment method uses an iFrame to display the payment fields from Auth.net on your page. Its similar to the payment form being on your server but the fields are actually hosted on Auth.net. |
|
September 13, 2023 at 10:22 am none of the cc form page is based on my theme. the page where you enter your card details is a blank canvas page hosted by authorize.and has lots of fields we don’t need. is there a video somewhere of the Accept plugin in action? i saw the video on the product page, but it doesn’t really show us what the solution offers… we want a very simplified checkout with no unncessary warning boxes or url bounces. |
|
September 13, 2023 at 10:47 am
That’s why I mentioned above that it depends on the output, you didn’t specify what fields/sections/output etc I’ve just checked the site and your using the Auth.net SIM integration so it’s the Auth.net checkout form you are referring to and yes, none of that is from your theme.
No, but here’s a quick snapshot from one of my test sites: https://monosnap.com/file/BNNXgW5iA1Lsq1N5vLxPJCt94B6WOz I have sandbox/debug mode enabled so the test shown above where you see my mouse move, isn’t shown in live mode. There’s an option within the payment method to set if the Billing address is required or not. Thats all shown within the page, no redirects, however the fields ARE from within an iFrame so you don’t have all kinds of control over the styling there. |
|
September 13, 2023 at 11:44 am ok. that will probably work for us. is there a way to add registrants to the events that we took while ee was offline? |
|
This reply has been marked as private. | |
September 13, 2023 at 11:52 am Go to Event Espresso -> Events -> {hover over event} -> Registrations That will list the registrations for the event, at the top of the page should be an Add new registration button, click that and a ticket selector will display within the admin for the event. Is thay what you are looking for? |
|
September 13, 2023 at 11:54 am oh! it was way at the top. i totally missed it. thanks. 🙂 |
|
September 13, 2023 at 12:23 pm
Hmmm, I’ll need to check into this. Using Elementor correct? Just in text/shortcode elements? |
|
September 13, 2023 at 12:34 pm the shortcodes are placed in the tab widget items, in plain text |
|
September 13, 2023 at 12:34 pm (yes, elementor) 🙂 |
|
This reply has been marked as private. | |
unsure if you are in there messing around or if something drastic just happened that deleted my theme, child theme and the event grid plugin i used to make my front page event list. let me know because i’d like to put it back the way it was asap. we are selling tickets for an event monday. |
|
putting this back together… i have confirmed that even with my child theme and the ee grid plugin deactivated we are still unable to save any custom email templates. please let me know how to overcome that. while today’s modifications have kept the event category shortcodes in tact, i’m not quite where i want to be. i’ve gotten the items i want in our ESPRESSO_EVENTS shortcode showing, but cannot for the life of me get the details and button all on one line. it seems like a hard coded “clear: both” on the ticket selector grid is hampering me. isn’t there a way to call the ticket prices (and number of available tickets) without the whole ticket selector table? trying to get here: |
|
my shortcode content:
my css:
|
|
a friend is helping me sort the layout issues with some javascript. since the authorize issue has been fixed but our email templates are still not saving, and we need to keep our sales open, maybe it’s better to moce your troubleshooting that on staging environment. i can create one for you if it’s needed. |
|
any word on this issue? https://www.loom.com/share/efda9c8b2eb64f2aa3636ca7851a3106?sid=15ffe889-61f2-4155-bceb-7ac56f15c9db |
|
This reply has been marked as private. | |
Hmm, this is not something I have done, at least not intentionally. Does anyone else have access to the server? I’m glad you’ve fixed it either way but will need to be extra careful moving forward to make sure I note what I’m working on/have worked on. (I’m pretty careful when working on remote sites, I’m not saying accidents don’t happen but I try to reduce the chances of this happening as much as possible and for the above to happen I’d have to have been working on all three of those items, which I haven’t been).
Which page are you referring to here, I’ll check it out now.
It’s possible, but we may not have a template tag to do it how you are wanting it output. Using our model system you can pull pretty much any data you want from EE but the vents cover multiple use cases so setups differ so much. For example, using multiple datetimes each with their own price…. which ticket should EE pull as the ‘default’ ticket to display?
Yeah, so you don’t want to be calling the ticket selector for that and likely don’t want the You’re going to need to roll your own template output.
Huh? In what way?
Sure, I prefer working on staging rather than live as long as the issue can be produced there. |
|
This reply has been marked as private. | |
OK, so the message template issue is something I can reproduce, that’s an issue with the event editor page and something we will push an update to fix. However, I have a workaround for you to be able to use custom templates. The issue with the event editor is creating the custom template, but you can still select one that has been created (the editor just does it one step for you). Go to Event Espresso -> Messages -> Default Message Templates. In your example you used Registration Approved, so I’ll go with that for my example, but this works with any. Find Registration Approved in the list (that list is your ‘Global’, Aka ‘Default’ templates). You’ll have something like this: https://monosnap.com/file/ApISMDpSwnAwn7mIBd6cbQuY8bFkUu In the actions column the icon, is to create a custom message template for that message type. Click that… it will create the custom message template and take you to the page to edit it. Give it a meaningful name, description, edit something within the content if you’d like and save. Now, on the event editor (if you have it open, refresh). Rather than clicking to create a new custom template, select the template you just created in the dropdown for that message template. You can also edit the template by clicking the edit button now. (The issue with the editor is the ajax request (the request triggering the spinner) which calls the function to create the custom message template, doing the above means you no longer call that ajax request… but we’ll get that fixed in the next update to Event Espresso either way) Side note – do NOT disable the global message templates to select a custom one. When editing a template, you are edit the template used by any event selected to use it, by default the global/default template is used by all events. So if you disable the global template you are not disabling it just for that event, you are disabling all events that do not have a custom template set on it. |
|
Do you have object caching enabled? We’ve been running into issues with Object Caching recently, we haven’t changed how our queries run so either something within WP_Query has changed, or something within the Object caching plugin. Object caching is basically a way of saving the results from a query and rather than getting the results from the database, you just get that saved ‘object’ back. So EE says (in plain readable English) for your first shortcode:
Object Caching says “Save those results in Then EE says:
Object caching jumps in and says “Hey! Thats the same as earlier, send Except, those are the same and should be different events. This means your queries all end up displaying the same events because the object being passed back (to save hitting the database) is the same. |
|
i do not think we have object cacheing enabled anywhere. i recently enabled op cache on my hosting account. |
|
This reply has been marked as private. | |
September 19, 2023 at 11:33 am
Hmm not really the same, but try disabling it and see if it makes any difference.
Those place holders are used to display messages from EE, for example if of your archive posts contained an EE shortcode (such as the |
|
there are no EE shortcodes on our press page. if you insert it, there should be no space held empty for the notices. i could see that you’d want these notices on an events archive and other event pages, but it should not insert itself in an unrelated archive, especially not in such a way that it distorts the layout with no content. |
|
i checked. disabling the op cache, does not change the (currently working) behavior of the shortcodes in the tabs. |
|
Short of processing every post displayed on that page, how would EE know that before loading the content? Our shortcodes can be used anywhere, so the placeholders need to be there incase the shortcode is processed.
Blank space? Unless your theme is using n-th child selectors that are getting mixed up because of the extra content, there shouldn’t be any space. Can you link me to the page?
Define unrelated. Literally any of those ‘unrelated’ posts could contain an EE ticket selector shortcode and short of pre-processing every post content on every page, we don’t know that beforehand.
Our default styles should distort anything, can you linke to the page so I can take a look, please? |
|
This reply has been marked as private. | |
Hmm ok. So elemntor is using a grid applied to all elements and that’s including those placeholders. Can I add some debug code to the staging site? We have some checks for an EE page within the code to output those placeholders that I would have thought would have prevented them being adding on those outputs although I could be mistaken (I’ve requested feedback from our senior dev but it will be quicker to just output the values and see what is being processed on that page). If that’s ok you can send the details over using this form: |
|
yes. do you need ftp? |
|
Yes, please. |
|
Ok, so the conditions I mentioned above are bypassed when a ‘legacy’ shortcode is in use which on your site is currently the I’ve opened an internal discussion on this but for not I’ve added a snippet to your site which prevents the placeholders from being added to any other archive than the espresso_events archive, that’s currently within your child themes |
|
thank you. i’ve added that to our live site. |
|
Thank you, If you need anything, feel free to reach us again. thanks |
|
what is the trick to getting shortcodes to let go of the cache? the shortcode i created for our front page does not update an event date change on hard refresh. |
|
September 25, 2023 at 10:56 am The shortcode ‘cant’ clear the cache itself, you will need to purge the cache for the page to update, usually, you’ll have an option to do this within the plugin you are using (usually they add a section to the admin bar). |
|
that’s really weird because we have no cache plugin on the site. the issue is with our event in early october. on the front page it says he’s on the 5th and on the other pages it correctly says the 4th after it was changed. but the front page one stays as 10/5. i’ll check tomorrow and see if the host cache has affected it. |
|
Awesome. You have to check your 3 cache. thanks. |
|
1. i have no cache plugins. some images to peruse this is the shortcode i am using to create the front page list. is something in the code causing it?
i use this for the template instead of the actual grid layout provided by a plugin i found on github. what is causing this? |
|
This reply has been marked as private. | |
The only time I see this is when caching is enabled, object caching enabled at all? Can you set the account you created previously to be an Administrator account on the site please, I’d like to take a look within Event Espresso -> Maintenance -> System information but can’t view that section with the current capabilities. Event Espresso itself doesn’t cache the requests for the above, your code is using:
Looking on the EE outputs, that’s outputting the correct details so I’m guessing object caching is enabled somewhere and the above is getting a cached object rather than the new results. |
|
no object cache that i’ve installed. dreamhost says no. i’ve upped your rights to admin on the live site again. |
|
Hmm, strange! Try changing the limit value set on the shortcode to something else, say 5, then switch it back again. Same then? |
|
i have done this previously, as mentioned in my images. but i just set it to 5 and now still see 10/5 on the main page as you can see on the live site. |
|
switching back to 7 did not bring the correct date in either. |
|
today it’s still showing the wrong date in my shortcode. is there something in the code that’s causing it? |
|
here’s a weird thing i discovered this morning. if i change the event date to 10/3, the shortcode updates the date to 10/4, but the ee pages show 10/3. something is not right. help! |
|
Oh, yeah you’re using Rather than pulling the datetime start value directly, then passing it to So use:
Then swap this:
For
|
|
sorry… i don’t seem to be able to get it working. when i use this, it breaks my page…. what did i miss?
|
|
This reply has been marked as private. | |
You have changed line 6 to be:
Thats outside of the loop so $post hasn’t been set. Remove that line. Line 18:
Needs to be changed to:
|
|
This reply has been marked as private. | |
September 27, 2023 at 10:03 am I need the code to see what change you’ve made. From thay error I don’t think you’ve changed line 18 to what I posted above. |
|
September 27, 2023 at 10:22 am
|
|
September 27, 2023 at 10:26 am OH! i think it’s working now with this.
please please please build some sort of shortcode builder for those of us who aren’t php afficionados. lol. thanks. |
|
September 27, 2023 at 10:39 am A shortcode builder? Can you expand on that? |
|
September 27, 2023 at 11:11 am an interface that allows me to build this type of thing or my event tickets page from choices of event data. the best example i can show you is something akin to dynamic.ooo’s condition generator. https://www.dynamic.ooo/conditions-generator/ i could see the choices being along the lines of Type of output (table, li, span?) as you see… i am way more of an ideas gal than a dev. 🙂 |
|
The support post ‘transitioning away from ee3 – some questions’ 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.