Benjamin Karsch

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: Sort events by start date doesn´t work after update #1326280
    Benjamin Karsch
    Participant

    Hi Jennifer,

    thank´s for your reply.
    There are two ways to solve the issue

    1) you can just run the side wide link counter once. The filter work perfectly after this one single link count run
    2) disable the side wide link count feature

    Thank you for the input.

    in reply to: Sort events by start date doesn´t work after update #1325213
    Benjamin Karsch
    Participant

    I just figured that YoastSEO causes the problem!

    Before updating to Yoast SEO 5.0 the system showed me every event that starts on that particular date. Just how the filter should work. All fine!
    Now after the Update to YoastSEO 5.0 (and higher) I get all events shown, not only these from the filters I activated. The filter doesn´t seem to work anymore.

    If i deactivate Yoast Seo, the filters work perfect again. So the issue must be caused by the new version of Yoast SEO 🙁

    in reply to: Follow Up E-Mails: Why are Mails in query? #966246
    Benjamin Karsch
    Participant

    yes, i´m using that plugin which i bought via woothemes.

    on the developers website (http://www.75nineteen.com/submit-ticket) it says: To get help with a plugin purchased from WooThemes, please use the WooThemes Support system.

    so i´ll try that.

    since it´s an issue assumed to tickets, i thought this forum here might be the right place to get support.

    in reply to: Display the payment method in participant view #965185
    Benjamin Karsch
    Participant

    i did just that.

    so let´s see what happens.

    Benjamin Karsch
    Participant

    Edit:

    oh, i fount it

    stock management was disabled

    now it´s working 🙂

    Benjamin Karsch
    Participant

    i just tried to edit some selling dates and realised, that repeating events would be removed from the series, when i start to edit them one by one. this would totally blow away any backend overview.

    i hope, there is another option!!

    Benjamin Karsch
    Participant

    Hey Geoff,

    unfortunately i don´t think, that this will work for me.
    i´m setting up a booking system for windsurf und sail courses. and i have lots of repeating courses, like e.g. 57 trial courses across the season.
    with my other courses i have over 200 repeating events.
    is there some kind of way to set the start and end time for buying tickets in a way, they automatically fit to the repeating event? otherwise i would have to type over 200 start and end times for the individual selling times 🙁

    Benjamin Karsch
    Participant

    hey barry,

    i´m still trying to solve the course a+b-issue.

    in the meanwhile i have another question regarding events with a duration of more than one day.
    e.g: Course E has a duration from mai 02 till mai 10.
    when i´m using the calender view today (mai 08), Course E is (of course) shown there. a click on the course shows me the details (of course) – but also the option to still buy tickets for that event. i don´t want that. users should only be able to buy into an event, is the starts date lies in the future.

    so what i´m basically searching is an option like “tickets for events can only be sold, if the event hasn´t started yet.”

    is there such thing as a checkbox and i just can´t find it? or is there no option like that :-/

    Benjamin Karsch
    Participant

    I actually managed to successfully do the query I described above by looking at the Events Calendar Shortcode plugin.

    I’m now using the following code:

    
    $events = get_posts( array(
      'post_type' => 'tribe_events',
      'posts_per_page' => 20,
      'tax_query'=> array(
        array(
          'taxonomy' => 'tribe_events_cat',
          'field' => 'slug',
          'terms' => 'windsurf-kurse'
        )
      ),
      'meta_key' => '_EventEndDate',
      'orderby' => 'meta_value',
      'order' => 'ASC',
      'meta_query' => array(
        array(
          'key' => '_EventEndDate',
          'value' => date('Y-m-d'),
          'compare' => '>=',
          'type' => 'DATETIME'
        )
      )
    ));
    

    As you can see there’s no WP_Query directly involved.

    Benjamin Karsch
    Participant

    Ok, so far I understand the usage of WP_Query for my purpose. The only thing left to do is find out what the names of the arguments/parameters are!

    I need to filter the following:

    • only tribe events
    • from a certain event category, defined by its slug (e.g. ‘surf-course’)
    • start date: today or later

    This is my code so far but it’s not working properly yet (surely due to wrong arguments):

    
    $args = array(
      'post_type'      => 'tribe_events',
      'tribe_events_cat_name' => 'surf-course', //?
      'eventDisplay'   => 'future', //?
      'start_date'     => new DateTime(), //?
      'posts_per_page' => 20 //?
    );
    $events = new WP_Query( $args );
    

    So is there any documentation about which tribe-specific arguments/parameters I can use in combination with WP_Query?

    Benjamin Karsch
    Participant

    Hi George,

    thanks for the quick reply.
    I’m still fumbling with the tribe_get_events function. Can’t I just use the category_name parameter for getting all events from the category with the given name (e.g. ‘Surf-Course’) and all its child categories – much like in WordPress’ get_posts? For now this query doesn’t return any results (although there are certainly events listed in these categories):

    
    $events = tribe_get_events( array(
      'posts_per_page' => 20,
      'start_date'     => new DateTime(),
      'category_name'  => 'Surf-Course'
    ) );
    
    in reply to: No "Tickets"-panel can be found in events #954061
    Benjamin Karsch
    Participant

    You should be able to see the ability to create tickets when creating a new event–do you see that?

    no, i don´t see that.

    here are two screenshots for you (in german)

    Tickets installed

    No Tickets

    you see – there is no tickets-panel, where it should be during the events-creation or edit-process

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