eventespresso / event-espresso-core

Event Espresso 4 Core for WordPress: Build an Event Ticketing Website Today!
https://eventespresso.com
GNU General Public License v3.0
121 stars 87 forks source link

Automated Reservation Lists #3867

Open ghost opened 2 years ago

ghost commented 2 years ago

Hi @garthkoyle ,

A colleague of mine reached out to you about the add-on we had built to automatically send reservation lists after registration closes to user-specified emails, and you mentioned incorporating it into EE4 (which is exciting!). We're happy to help out anyway we can as having it supported by EE4 makes our lives a lot easier and it's probably a great feature other users would enjoy.

Below, I've included a description of how it works, details, and anything else I can think of that's helpful. I'm not a developer but I was the go-between when this was created.

It works well and is 100% complete. I've also included a few ideas of how you might be able to make it better if you want to. Also, @Pebblo has worked a lot with this on helping us out over the years, so he probably has some good knowledge to help.

How It Works Every hour, a cron job runs to check for events that have recently closed registration. For all events it finds, it sends a copy of the reservation list to every email listed in the Venue Manager under contacts.

It sends:

(Including a sample picture below) Sample List

I've attached the cron below. I have added in a few placeholders that are identifying from our site. Reservation List Code.txt

Ways It Could Be Improved

Please let me know if there is anything else you need from us. This is super exciting and I hope it's something that helps EE open up to an even wider range of business!

tn3rb commented 2 years ago

Is ALL of the code in the attached file or is there more?

ghost commented 2 years ago

All of the code is in the attached file. It runs through a cron on our server (but probably would be better through WPcron). That’s all the code, though.

On Jul 27, 2022, at 13:27, Brent Christensen @.***> wrote:

 Is ALL of the code in the attached file or is there more?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

tn3rb commented 2 years ago

ok thnx

1 more question, you wrote:

it sends a copy of the reservation list to every email listed in the Venue Manager under contacts.

can you plz elaborate on what you mean by "every email listed in the Venue Manager under contacts"? is the "contacts" section in the Venue Manager something specific to a client site? because EE does not have anything that resembles that.

ghost commented 2 years ago

Sure! It's under - Event Espresso -> Venues -> Contact (under custom fields)....and then it sends to all the emails on that list. VEnue