Forum Replies Created
-
AuthorPosts
-
David Hager
ParticipantYes, I created a new user just to test this.
David Hager
ParticipantThis reply is private.
David Hager
ParticipantAs you can see in the screenshots, the customer who bought the ticket can’t see or alter it(left screenshot: customer who bought ticket) and the admin who created the event has the tickets assigned to them(screenshot right, admin who made the event).
I made the event specifically for this test and the event was 3 days ahead in time.
David Hager
ParticipantThank you for willing to have a look!
Just for your information. The purpose of the function is to show a span on the event-archive page to show how many specific tickets are remaining or if this specific ticket is sold out.
From within the normal WP loop, the function is called and works, so the span is shown. When I use the same function within the tribe events loop, nothing seems to happen. It seems the tribe loop doesn’t see the function or its variables.
April 5, 2017 at 12:52 am in reply to: Easy digital downloads remove "Print Ticket: URL" from email inc {download_list} #1264711David Hager
ParticipantThanks Cliff,
I’ll look in to it.
April 4, 2017 at 11:27 am in reply to: Easy digital downloads remove "Print Ticket: URL" from email inc {download_list} #1264314David Hager
ParticipantHey, thanks for the reply.
I want to remove the link + text, so in your example I want to keep the ticket name and remove the link + text “Print ticket”.
I got my settings to send the email in plain text so my email stats it like this
Print Ticket: https://domain.com/index.php?eddfile=3772%3A3682%3A0%3A0&edd_action=print_ticket&file=tribe://edd.tickets/print&token=e99e1daa5e13253488e4c6360283a8e6but it is the same email as your screenshot.David Hager
ParticipantHi Cliff,
Thanks for your help. I rewrote a function from the
/wp-content/plugins/event-tickets/src/template-tags/tickets.phpfile. This returned a 1 when a single ticket was sold-out, which I used to fix the problem. Thanks again!<?php function tribe_events_single_ticket_soldout( $event = null ) { if ( null === ( $event = tribe_tickets_parent_post( $event ) ) ) { return false; } $some_have_soldout = false; foreach ( Tribe__Tickets__Tickets::get_all_event_tickets( $event->ID ) as $ticket ) { if ( ! $some_have_soldout && 0 == $ticket->stock() ) { $some_have_soldout = true; } } return $some_have_soldout; }?>David Hager
ParticipantHi Cliff,
Thanks. At first I tried doing a workaround with the global availability function indeed. (this saved me another time)
In the file you mentioned I find this function, which might do the trick:
tribe_events_partially_soldout();When I would change the output of this function to show a ‘event full’ message when 1 of the tickets would be sold out, it would do the trick. Although I’m not totally sure how to call this function in my loop. (calling a plugin function from a theme file is something new to me…)
Could you give me pointers? Thanks!
March 14, 2017 at 3:41 am in reply to: Adding download attendees list front-end get attendees_csv_nonce code #1253712David Hager
ParticipantHey @Cliff thanks this works amazing! I only had to add a .= on line 9 to have the variables stack https://gist.github.com/mvaneijgen/bba90982e7d8dd6e82c4f6fae7d609d7
-
This reply was modified 9 years, 1 month ago by
David Hager.
March 9, 2017 at 2:31 am in reply to: Adding download attendees list front-end get attendees_csv_nonce code #1251631David Hager
ParticipantHey Cliff, I am doing a template overwrite, this is for a some what older site, so I would do a lot of thing already different
This is what I have so far and on line 31 there is a static link with some PHP sprinkled in:
https://gist.github.com/mvaneijgen/dae20f46f63d91f494f7e7b97bf66700March 8, 2017 at 4:34 am in reply to: Adding download attendees list front-end get attendees_csv_nonce code #1250967David Hager
Participant@cliff thanks for the detailed reply. I did some testing and digging around, but my PHP skill level isn’t that great yet and I have no clue how I could get the variable $export_url from your function into my tribe-events/single-event.php. I’ll do some further research on this and when I find a answer I’ll post back here.
March 3, 2017 at 1:03 am in reply to: You have 2 Tickets for this Event. View your Tickets link not working #1248815David Hager
ParticipantFound it!
Because I was testing the new ticket feature for this site. I had created a event that wasn’t going to show up on the archive pages, I had enabled [√] Hide From Event Listings with in the Event options. And as soon as this is checked the pages /tickets/ wouldn’t work. Is this a bug or should this be the case?
March 3, 2017 at 12:12 am in reply to: You have 2 Tickets for this Event. View your Tickets link not working #1248795David Hager
ParticipantHi Cliffs,
No this indeed wasn’t the issue, because it still persisted.
Staging vs live are on the same host, so in theory they should run the same.
The databases are the only one that is different between the two, so isn’t there a setting in event ticket plus to enable this?
Can you think on anything else I could try?
January 16, 2017 at 1:35 am in reply to: additional fields with EDD not appearing and getting error, buying works fine #1218899David Hager
Participant@George thanks for your response. I see I have updated to the latest version after submitting my ticket and this didn’t help. I also just updated to the latest version of Event Tickets Plus and now I only see the RSVP option within the tribe_event backend. Is there some new option with the Event Tickets Plus that you have to enable which service you want to use for selling tickets?
-
This reply was modified 9 years, 3 months ago by
David Hager.
August 12, 2016 at 12:13 am in reply to: featured image add_theme_support( 'post-thumbnails', array('tribe_organizer') ) #1150838David Hager
ParticipantYes thanks this works in my
function.phpfunction tribe_organizers_custom_field_support( $args ) { $args['supports'][] = 'thumbnail'; return $args; } add_filter( 'tribe_events_register_organizer_type_args', 'tribe_organizers_custom_field_support' );-
This reply was modified 9 years, 8 months ago by
David Hager.
-
This reply was modified 9 years, 8 months ago by
David Hager.
-
This reply was modified 9 years, 1 month ago by
-
AuthorPosts
