Is it possible to get the check-in count of an event datetime? I would like to get that data above the check-in table. I have already located the right php page, but I just need to know how to get the count.
What would be even better is if I can get check-in reports on the reports-page, but I understand it if that’s too difficult.
It will be best if you can avoid altering Event Espresso’s PHP files directly. Instead, you can use action hooks to display your count above the check-in table. Here’s some example code (which could probably use a bit more error checking, but it will get you started)
Thank you Josh! It works pretty well, the only thing that might be better is if it wouldn’t keep counting if you check-in/check-out/check-in (result 2 instead of 1), but you have helped me a great deal already. Thanks again,
The reason it counts a check-in/check-out/check-in as 2 check-ins is because checking-out does not negate or delete a check-in that’s been recorded to the database. In other words, the check-in that later got checked-out still happened and should therefore will still be counted.
Clear and understandable. Thanks, I will close the topic!
Viewing 4 reply threads
The support post ‘Get Check-in Count’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.