Forum Replies Created
-
AuthorPosts
-
LucionParticipant
I can attempt to create a script of my own, but I need to know the following:
- Is there a method by which I can create tickets for an event programmatically? i.e. instantiate some sort of TribeTicket object and, say, call ->createTickets(7) ?
- Is there a meta value of an event that tells me it currently has tickets assigned to it? (that way I could query an event, initially, and determine if it already has tickets assigned to it).
LucionParticipantIdentified the template /community/event-list.php , and with some customization, this should suit my needs.
September 10, 2015 at 1:09 pm in reply to: New event: add name/mail of creator to "new event" notice mail #1003872LucionParticipantTo dove-tail onto this ticket, is there a filter or action related to the Meta area of the Edit Event page on the admin dashboard, particularly related to the Author?
The purpose of adding additional information there would be to add a simple email hyperlink, so that an admin to send a question or response to the community event submission (without having to go to Dashboard / Users and look up that user’s information).
LucionParticipantConsider the situation where one account on the WordPress/WooCommerce combination is equivalent to one human being. Purchasing multiple tickets for multiple seats at an event is not allowed.
At a convention, a venue would then be a table where you’d sit and play a game. As you can’t be in two different places at the same time, you’d want to restrict people from purchasing tickets at another table.
I guess what I would be interested in knowing is what sort of hooks/filters/functions I could potentially add (if, indeed, the functionality isn’t in the product) to facilitate this situation? Is there a filter, or something equivalent, where I could pursue the logic of determining if a ticket has been purchased at a competing venue (read: table) and then return a thumbs up/thumbs down on the capability to purchase the new ticket?
Additionally, any suggestions on something to pass to WC_Query would be helpful — like tables to look in for tickets already purchased by the same individual.
-
AuthorPosts