Quentin

Forum Replies Created

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • in reply to: Modifying Email Templates #87428
    Quentin
    Participant

    Well, it turns out that the main ticket email template I was editing was just the wrong one on the server, but the attendees email still does not seem to be reading from the template file at all. Editing the template in wp-content/plugins/the-events-calendar/views/tickets/attendees-email.php does appropriately update the email, but I am unable to override that template in my theme. (wp-content/mytheme/tribe-events/tickets/attendees-email.php)

    in reply to: Limiting Ticket Display Based on User Meta #87422
    Quentin
    Participant

    Yeah, I know how to get the appropriate user information from WordPress itself, I guess my bigger question may be more whether or not it was something that could be easily configured to add through the backend portion; for instance, adding a checkbox or dropdown to the ticket creation step. I know that I can just inject a couple of checks into the front end template in my theme to just not display them based on something like the ticket SKU, and just make sure that all tickets are set up with the same SKU or a substring of the SKU. Are there any existing hooks or anything to be able to add additional fields to the tickets themselves? I did peruse the documentation some, but didn’t see much documented for actions/hooks.

    in reply to: Check to see if purchased product is a Ticket #82602
    Quentin
    Participant

    Actually, after a bit of database digging after posting my original question, I think I found a bit better answer, for anyone who may be wanting the same thing: “_tribe_wooticket_for_event” is a meta key stored for ticket products, so you can check for a value set in that meta key, and that value will be the ID of the event, which you can then just use the available tribe functions to get the necessary data you may want.

    Quentin
    Participant

    I had this same issue, and when digging through the template code to try and pinpoint the problem (the workaround tracy mentioned did not work for me) I realized that the “$end_as_ts = (int)strtotime( $end );” (in the view/table.php template file) line is returning a “0” value when using a custom date format (in my case, I’m using m.d.y as the custom date format. $end is returning a correct value, but the custom date value throws it off, apparently due to the non-standard separators. This is most likely a limitation of the strtotime function and custom date formatting (which I was using for aesthetic purposes). Not sure if that’s any help, perhaps we should just avoid custom date formats for aesthetic purpose 🙂

    in reply to: Blank Admin Dashboard after activation #14996
    Quentin
    Participant

    Actually, it turned out to be a memory issue on the server itself. Sorry to make it sound like a problem with the plugin.

Viewing 5 posts - 16 through 20 (of 20 total)