@ ucomm
Yep, once I dug in, saw it was a shell.
I think this is a great way to go about what you want to accomplish.
You can use this method to retieve a list of entries that are approved. You would sent the status array option to approved.
As a thought … you could use a category chooser, like on the edit entry page, to define which categories the emails should be sent to. You could probably lift that code from here.
If you want to build this on the bleeding edge version of Connections [pull the dev brach from Github] … you could add a new metabox/field to capture the member level info separately from the categories. Here’s the link to the forum thread about this new API. And here’s a link to a specific reply that has a few videos demoing the current state of the API.
Here’s a link to the Business Hours extension that takes advantage of the new API. You could use it to figure out how to add a new metabox and field for your member level.
I look forward to see what you come up with.
Oh, I should mention I have an email API and email template API already built in. I’m just not using it yet because I’m still building it up. I want to inlude “token” support so a user could use “tokens” to represent the entry info that should be swapped inplace of the token :) Take a look at these files.
