Posted: August 23, 2021 at 5:58 am
|
Three issues; 1) Need to set Events page as full page template {currently has side-bar which is undesirable) 2) Need to be able to set Number of Tickets sold (this setting not available to edit) 3) there is no Registration button for my Event Note: I am still working in Draft mode (but do not want to publish until I can resolve these issues) Note; need support asap, please! |
Hi there,
The events ‘page’ isn’t actually a page, it’s an archive of event posts which means it uses your themes You can use some CSS to hide the sidebar and set the content to be full width, like this:
Add that to Dashboard -> Appearance -> Customize -> Additional CSS.
You can’t manually edit the sold count, its an active count of registrations that have had their status set to ‘Approved’. May I ask why you want to edit that field? There may be another solution.
On the event list or the single event page? Within the event is the ‘Display ticket selector’ option set to Yes? (It needs to be to allow registrations). |
|
|
This reply has been marked as private. |
I tested the CSS using Chrome Dev Tools earlier and it worked for me there but another style may be overriding it when loading through the site. Just to confirm we are looking at the same output, can you link me to the event page you are viewing?
If you are wanting to show X sold on the front end you’ll need to create registrations on the EE event to match up with those sold tickets. If you want to make sure you don’t oversell the event you’ll need to reduce the number of tickets available in the limit field for the datetime.
I may be misunderstanding what you mean here, but registrations are what your users create on the events when they select tickets so you don’t need to create them for ticket sales to start. Do you just not see the ticket selector at all? |
|
|
This reply has been marked as private. |
I’m aware, but I can’t help with an output I can’t see and I wanted to confirm I’m looking at the correct ‘page’. You haven’t posted any links to your site above so I won’t link directly to it myself but I was viewing /events/, which showed the correct body class of You can either publish the event so I can view it (set it password protects and post the password here if preferred) or send temp login details for an account I can log into to view draft posts using this form: https://eventespresso.com/send-login-details/
Those registrations are created when users register onto your events so right now you won’t have any (nor do you need any) to get your event to show the register button. What event content do you see on the page? It could be something in the theme (or a plugin) running the_content filters earlier than expected which then stops EE injecting the content when viewable. But to know more I’ll need to see the event page. |
|
|
This reply has been marked as private. |
This reply has been marked as private. | |
|
Hi Tony, https://smokestackpottery.com/?post_type=espresso_events&p=1042 The same output is the one in which I am not seeing the Register button. My post does not look the same as the link you sent me. I do not have the register button. |
Hmm, strange. That’s the same output I’m viewing. The sidebar is expected there as we haven’t changed that with the above but can do, however, we need to figure out what the difference is above first. Can you add a screenshot of what you’re seeing on that page you linked above? https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Strange, that’s definitely the same page I’m viewing and the ticket selector shows the register now button for me. Have you checked another browser? Or, try clearing the cache on your current browser and refresh. To hide the sidebar on the single event output you can use this CSS:
|
|
|
This reply has been marked as private. |
Event Espresso is compatible with Firefox although it aggressively caches responses, the above isn’t an issue specifically from EE.
The selector in my last reply sets the width to be 100%, you have an addition
The other option for setting the event page not to display a sidebar needs a custom template for your theme which can then be loaded for EE events without loading the sidebar at all rather than hiding it. If your theme already loads a full page template you can set it on the event itself in the ‘Page Template’ option (side bar of the event editor).
We don’t have an option to display each specific section, you can hide them using CSS or disable the ticket details completely. To hide a section use:
Or:
To remove the ticket details completely go to Event Espresso -> Events -> Templates -> Ticket Selector Template Settings (Bottom of the page) Set ‘Show Ticket Details’ to No and save. |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
As mentioned in my earlier reply you can’t manually set the sold field as it’s a count of approved registrations. Allowing users to manually change that value is not something we have planned for Event Espresso. So, depending on how you want this displayed you have 2 options: If you are wanting to show X sold on the front end you’ll need to create registrations on the EE event to match up with those sold tickets that have been sold outside of EE. You can do that in Event Espresso -> Events -> {hover over the event} -> Registrations. Click the Add new registration button at the top of the page. If you want to adjust the value to make sure you don’t oversell the event you’ll need to reduce the number of tickets available in the limit field for the DateTime. —
The single ticket on your event has the ‘Sale Starts’ field set to ‘2021-08-27 10:00 am’, meaning that ticket isn’t on sale yet so the Register button doesn’t display. Notice on the ticket selector it shows the ticket goes on sale from Auguest 27th, here: https://monosnap.com/file/L2Ggv8bFOYP7ZHATsYnzXSa9cqHDot If you want people to be able to register onto the event now, then the ticket needs to be available for sale. Edit the event and set the ‘Sale Starts’ date to a date and time in the past, any will do as long as its in the past so the sale start date/time has passed.
Looks like you’ve removed some the CSS I gave you earlier, re-add this:
That hides the sidebar on EE events. |
|
|
This reply has been marked as private. |
I’m glad you like it, there’s a lot of moving parts to Event Espresso and it has it’s own learning curve 🙂 For the Calendar you first need the EE4 Calendar add-on installed and activated: https://eventespresso.com/product/ee4-events-calendar/ (You already have this but just posting the full details) Then you create a normal WP page, so Dashboard -> Pages -> New page. You can call it whatever you want, usually, people just use ‘calendar’ or ‘class-calendar’. In the content add Publish the page and check if you can see the calendar displayed there. |
|
|
This reply has been marked as private. |
You can’t do that easily, at least not without your own custom theme template to load the calendar directly on the page. Will it not work for you to have the calendar page in the navigation bar and then link directly to that? Users then chose their events from the calendar and register? |
|
|
This reply has been marked as private. |
The calendar automatically pulls in your EE events, however, they’ll need to be published for it to do so by default. |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
|
This reply has been marked as private. |
That section is the ‘Ticket Description’ which can be found when editing the specific event and clicking on the icon for the ticket you want to add a description to. There you’ll find a ‘Ticket Description’ section which is used on the ticket selector details. See here: https://monosnap.com/file/LnNe2c2oA7IajEAr7WPfLMtpFvLAD9
We don’t have an option to change this within EVent Espresso itself, but you can do it with a small snippet of code like this: https://gist.github.com/Pebblo/dc0bebd7388dd50f97bc4b334165c97d Change the string you want to use on Line 9 and then can add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Have you removed that screenshot? It goes to a 404 page currently.
Apologies but I don’t follow this. Have you added some details into the ticket description? If so those should be showing in the section you highlighted, right below the ‘Description’ heading. |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Ah, ok, my apologies. That section does not show the ticket description, it shows the description for any price modifiers attached to the ticket itself (which you don’t have). The description for the ticket is displaying correctly above that table and as you don’t have any price modifiers on your tickets you could hide that description field using some CSS:
When you have payment objects assigned to a registration EE won’t allow you to remove the registration, so you first need to delete those within the transaction. To do that, fid the Registration(s) in Event Espresso -> Registrations. For example, here’s one of mine: Click on the TXN Date field to show the EE Transaction: Once the payments have been removed the padlock will be removed and you can trash them: |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Did it show an error when it crashed? If so, what was the error?
Without bashing them too much, in my experience, GoDaddy lvl1 support will always blame a plugin issue. I’m not sure if you got through to a higher level tech support with them but every time one of our users has had an issue with their site on GoDaddy, support have simply blamed a plugin and stated they can’t do anything (even after we have clearly shown the issue is server side and something they needed to fix). In short, if I now completely contradict GoDaddy’s response don’t be surprised (I may not, but have done many times in the past).
Strange, that CSS doesn’t target anything at all in the admin. I’ll need to view the event for this, can you resubmit temp credentials so I can take a look: https://eventespresso.com/send-login-details/ Side note – if you create another administrator account and use support[at]eventespresso.com for the email address we can log in using that, then when finished you can simply delete that user account rather than changing your current admin account for us to work with. Up to you how you do it, just noting as the above may be easier to manage for you. |
|
|
This reply has been marked as private. |
Thank you, I can log in with that account, however, can you please update it to be an admin account? Whilst normally the only section I’m really interested in is Event Espresso I can’t view any of the CSS added within the admin and the front-end output for the Datetimes uses the date/time format set within Dashboard -> Settings -> General so I’d like to double check that. This isn’t a CSS issue as the details don’t output to the page at all (vs being output to the page and then hidden using CSS) so I’ll need to take a look around and see if anything stands out. |
|
|
This reply has been marked as private. |
No problem, so the problem is the Date and Time formats for the sit have been updating to nothing. Meaning any dates and times output on the front end, output nothing as there no format to display. Go to Dashboard -> Settings -> General. You need some kind of format set for Date and Time in that section. |
|
|
This reply has been marked as private. |
Odd. It could have been something done on the server to get the site back up when it crashed, still odd, but possible.
Yes, but it needs PHP to do it. What are you looking to change it to? |
|
|
This reply has been marked as private. |
You can use a snippet like this to change the output if no tickets are currently available: You only need the section I’ve highlighted, not the full snippet and you can add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ You can change the phrasing used by changing the ‘Registration Closed’ text on Line 34 to whatever you prefer.
Currently, we don’t have an option to do that with the calendar. |
|
|
This reply has been marked as private. |
You want to display the calendar widget on the single event post, is that right? Above you’ve hidden the sidebar on single events so whilst we do have a Calendar widget which you’ll find in Appearance -> Widgets -> Event Espresso Calendar Widget. However, as you are not displaying a wider area (sidebar) on the single events may I ask where you are looking to output the calendar widget on that page? |
|
|
This reply has been marked as private. |
Your site has a lot of sidebars (I assume from the theme) so the sidebar in use on the EE event output is not the ‘Default Page Sidebar’ but the ‘Default Blog Sidebar’. I added the calendar widget to that and you can now see it on your single event page. |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
No problem and your most welcome 🙂 Threads stay open for 2 weeks from the last reply date and then they automatically close. However, we can always reopen them if needed so if this closes just start another and if we need to re-open and merge the new thread into here we can although we may just continue in the new thread. |
|
|
This reply has been marked as private. |
Error 503 basically means the server is not ready to handle the request you just sent to it, usually because it’s doing too much at once so the usual answer is to upgrade your hosting so it can handle more traffic… but it depends on multiple different factors. What hosting plan are you using with GoDaddy currently?
Yep, as mentioned earlier… it is always a plugin issue 🙂 Error 503 is a server-side error, as mentioned above it means your server can’t keep up with the load it’s been placed under. Could that be caused by a plugin? Sure! Are you likely to get any helpful information from Error logging? Probably not. You’ll get a bunch of errors from the site trying to do things whilst the server can’t keep up, but thats not really going to help find the cause. To give a mental image of this, if I simply throw 200 books at you and tell you to catch them it’s likely most, if not all, will fall on the floor (Error 503). Now you take a picture of all of those books on the floor (logging) and you can see there are 200 books on the floor…. but what did you have in your hands when I threw those books at you? What prevented you from catching them? That picture doesn’t help tell you that at all and it’s why “it’s a plugin issue and you need to enable logging” simply doesn’t help. Is it likely Event Espresso causing the error? ‘Yes’, but because your server can’t keep up with the requests. But which requests and what part of those requests? Your WPDEBUG error logging can’t tell you, only the server can. If you are wanting to stay with GoDaddy, you will likely need to upgrade your account with them (it depends on what you have now). 50 ‘visitors’ at once isn’t all that taxing on the server, 50 e-commerce transactions (like EE event registrations) can be as it is much heavier on the database than a ‘static’ request and it’s going to depend on their packages and how they have the servers set up as to what you need. |
|
|
This reply has been marked as private. |
Thank you for the feedback 🙂 With regards to switching up to a Business plan being a sales pitch, it is but also likely correct for their servers. It’s going to depend on how their servers are set up as to how many visitors you’ll be able to serve at once with EE. The problem is there are big differences between ‘A WordPress Site’ and ‘A WordPress site running e-Commerce’ (such as Event Espresso) in terms of load on the server. So when the likes of GoDaddy set up a cheap hosting package stating it’s for ‘A WordPress Site’, it is, but it won’t cover everything WordPress can do. A static site set up using WordPress, with caching enabled where possible, can squeeze a lot of traffic from few resources. e-Commerce sits can’t do the same because of how they work with a lot of requests being totally unique to the specific visitor (meaning caching is out) and a lot more database usage. Unfortunately, you aren’t going to know if the server can handle the traffic hitting your site until you have that traffic hitting the site and your host would normally work with your to adjust your package to something suitable. With GoDaddy the business package is likely what they would recommend. Are you set on sticking with GoDaddy? |
|
|
This reply has been marked as private. |
We don’t recommend any specific hosts as there are just so many variables to consider. For me personally, a VPS and manage it myself but it’s not everyone’s cup of tea. For clients, I’d use a managed service (with pretty much anyone but GoDaddy 🙂 ) so I’m not fixing something critical at 2 am. We have a few users on here using Bluehost and when issues come up Bluehost support have been responsive. |
|
|
This reply has been marked as private. |
The short answer is I can’t answer you. The numbers they give you (2 CPUs and 1GB of memory on a shared server) aren’t the whole story so the only way you’ll know is to try it. 2 CPUs and 1GB of ram is more than enough to run Event Espresso but those numbers are mainly marketing when it comes to a shared server, yes the server will handle more traffic but how much I can’t tell you. How many database connections are you allowed? (You don’t know) How many other users are on that server and how close is the server to having its resources fully utilized? (You don’t know and they wont tell you) You’ll only know if the hosting package you currently have (or are about to update to) will work for your traffic when you are using that package. Should it work based on the values they’ve given, sure, but unfortunately that doesn’t mean it will. If it’s the same server they’ve just bumped the resources mentioned up, then it will likely do the same as before. Personally, I would most likely switch away from GoDaddy (in your case to BlueHost) but I can’t force/tell you to do that. |
|
|
This reply has been marked as private. |
September 30, 2021 at 10:55 am Thank you 🙂 I’m sorry I can’t give you a definitive answer though, wish I could. |
|
|
This reply has been marked as private. |
Yes, if all of your tickets have a ‘Sale Starts’ date set into the future then no-one will be able to register until that specific date/time. So something like this: https://monosnap.com/file/GsxH5Kra8wSBwaIUj5BnZ6kDyEdISX Will show like this: https://monosnap.com/file/sij0i9Y34QASUwStPBBZBchaRZGDLs Until Decembet 1st 2021 when the tickets will go on sale. You also have the option of setting the ‘Display Ticket Selector’ option to No on the event (its in the ‘Event Registration Options’ metabox when editing an event) that will completely remove the ticket selector from the event. However, note that if you do that you need to edit each event and enable it again to allow registrations on that event. |
|
|
This reply has been marked as private. |
This reply has been marked as private. | |
|
This reply has been marked as private. |
Currently not, those types of events are something we don’t have a specific setup for currently, however what you can do if you are just suing a single datetime for this is set the date for some time in the distant future to keep the event going. Then use some CSS to hide the dates (and times) on the event itself. If you link me to the event in question I can give you the CSS to do that. |
|
|
This reply has been marked as private. |
This:
Will hide the dates, times and iCal download for that specific event which I think is what you’re looking for. |
|
|
This reply has been marked as private. |
Awesome, glad it helped 🙂 |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
|
This reply has been marked as private. |
A critical error from where? What showed that message? Your server is running PHP 7.4.24 which is fine for Event Espresso. (Note – You can find that in Event Espresso -> Maintenance -> System information.
Looks like that scan is for PHP7.0, your using 7.4 (which the plugin doesn’t have a scan for). Compatability plugins are great and all but its really difficult for them (the plugin) to know the full story based on the code it finds in the plugin alone (which is what the plugin is trying to say with these 2 lines:
Have you run into PHP issues on the new site? If it were me I’d disable that plugin for now, if you aren’t running into issues you don’t need it as it stands.
Unfortunately, I was unavailable yesterday so didn’t see this until now, just letting you know that I wasn’t ignoring you.
May I ask why that feels messy? In short, what is happening there is people (or possibly bots but we’ll get to that shortly) are posting submissions on the ticket selector (selecting a ticket qty and clicking to submit) and EE is creating registrations in the background waiting to update them as then step through the registration process.
Registrations are placed in reserve to prevent overselling and EE holds registrations in reserve for the duration of the user session (by default thats 1 hour) where they should then ‘release’ back to be available for sale. For example lets say we didn’t do the above and you had say 2 tickets on an event. User A selects the tickets adds their registrant details and stops on the payment details page for a couple of minutes to go find their card to pay. In the meantime User B comes along and selects those same 2 tickets and steps throughout the checkout, they have their card details saved and proceed through the checkout. Effectively swiping the tickets from User A without them knowing. User A returns, is already on the payment options step and submits their card details to complete payment… what course of action does EE take? Oversell the event and allow User A to complete payment or somehow reject the payment right before it is processed (which isn’t as simple as it sounds if using an offsite payment method like PayPal Express or Stripe)? Neither are a good experience for the admin or the user(s). So with the above, User A select those 2 tickets and they are placed in reserve, the reserved tickets temporarily count towards your sold values, which prevents User B from swiping the tickets in the above. If User A continues with the payment, those tickets are allocated to them and all is normal, if they do not 1 hour(ish) later User B can try to purchase those tickets in the same way as before. — With regards to bots submitting your ticket selector (bots will basically submit any form they find on your site), one option is to set up reCaptacha on the ticket selector. Go to Event Espresso -> Registration Form -> reCAPTCHA Anti-spam Settings There you’ll see a link that takes you to Google reCaptcha to create a key, I recommend using reCaptch v2 and selecting Invisible. Add the keys in your settings and enable reCaptcha. That should reduce the number of bot submissions. |
|
|
This reply has been marked as private. |
Ahh, ok. I thought you meant a PHP critical error. So, the first thing that comes to mind with this is Event Espresso uses sessions and did used to throw this error in site health, however, whilst we do still use sessions, we fixed the code to prevent the above issue. We did that a while back and I double-checked on a couple of test sites to confirm that is still fixed, so I’m guessing that error is coming from another plugin using sessions.
In short, ‘things’ would break. Features on your site wouldn’t work as you expect them to. The session issue (even when being thrown by Event Espresso itself) didn’t cause any issues that we could find at all but it depends on what the code is doing.
The code that would be running the scan will no longer be available, so it shouldn’t cause any issues. Do Bluehost have a backup solution? If so, create a backup, disable the plugin and if there’s and issue revert to the backup, if not (you’ll know pretty quickly as if there’s an issue it will likely throw a fatal error) then all is good. |
|
Just to note, I doubt there will be an issue with disabling that plugin, but I’ll install it on one of my test sites and do a scan, then disable it to see what happens. I still can’t be 100% sure with that, but again I doubt there will be any issue. |
|
So, just to update this thread with my findings. I downloaded the plugin, activated the plugin and started a scan. Then in another window I deactivated the plugin whilst is was still ‘scanning’. No issues on my sites. |
|
|
This reply has been marked as private. |
Check your server error logs, there should be a log for that error. Post that here and I may be able to tell you what the problem is. |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Means the PHP Compatability plugin took longer than your server allows for PHP processes and was killed, that’s why the scan was just sat there doing ‘nothing’. Thats likely related to the other issue showing from Woo as the scan is taking so long it’ll cause other processes to stall. None of those errors are related to the error you posted with the booking page as far as I can tell. Any others? (use the timestamps to get errors from around the time you tested the booking page and got the error) However, this:
means the session error you are getting in site health is likely from your theme. |
|
|
This reply has been marked as private. |
Lol, fitting, although without the error itself (there wasn’t an error for that issue in the logs you included) that will be the error most will give you. If they had an error I would expect they would at least point you to which specific file/function from that. It’s a shame they don’t want to continue with it 🙁 With regards to Event Espresso data, we have a feature within EE that resets and drops the EE tables for you. Note there’s no way to get that data back once you do this, it sounds like you certain they want to do this already but just making it crystal clear before you click it. Go to Event Espresso -> Maintenance -> Reset/Delete Data. Click on the ‘Permanently Delete ALL Event Espresso Data’ that will drop all of EE’s data from your database.
It would be great if you could share a review of your experience with EE: |
|
|
This reply has been marked as private. |
Thank you for the review 🙂 For the most part, we don’t store credit card info. It does depend on the specific payment methods in use but the most we store in terms of the credit card number is the last 4 digits and never the full number itself (if we did save the full number it opens up a whole other can of worms in terms of PCI compliance in which we have no interest entering into with Event Espresso as it stands for multiple reasons). Using the above feature would wipe out those values. |
|
|
This reply has been marked as private. |
This reply has been marked as private. | |
The support post ‘Full-page template not available, Can't set number tickets sold.’ 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.