Lucion

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Creating tickets in Bulk #1050759
    Lucion
    Participant

    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).
    in reply to: Listing of Events that Author has Submitted #1004424
    Lucion
    Participant

    Identified the template /community/event-list.php , and with some customization, this should suit my needs.

    Lucion
    Participant

    To 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).

    in reply to: Blocking tickets purchased in multiple venues #989031
    Lucion
    Participant

    Consider 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.

Viewing 4 posts - 1 through 4 (of 4 total)