Jacob Masters

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Recent update breaks select2 elsewhere #1384345
    Jacob Masters
    Participant

    Seeing the same issue, select2 is breaking the ajax in my admin where ever else a select is used, temporary solution is to just disable it everywhere:

    function tribe_dequeue_script_example() {
    wp_deregister_script( ‘tribe-select2’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘tribe_dequeue_script_example’, 100 );

    add_action( ‘admin_enqueue_scripts’, ‘tribe_dequeue_script_example’, 100 );

    Jacob Masters
    Participant

    on first hit to does seem to work, its consequentially editing the events where the issue occurs.

    in reply to: Event tickets email hits spam filters due to frequency? #1103887
    Jacob Masters
    Participant

    Its on a dedicated server, and i can see in my exim records that the emails are going out, so that’s not it, and the fact that a resend gets through as do all the other woocommerce emails does suggest the only thing it can be is frequency as that’s the only difference.

    Will certainly check spf and dkim settings and the rest as good practice, but as i say the general trustworthiness of the emails and mailserver don’t seem to be an issue as other emails and even the same email at a different time get through fine.

    in reply to: tribe_get_formatted_cost with tax #1080582
    Jacob Masters
    Participant

    can be done by creating another tickets loop on the page:

    if(tribe_has_wootickets($post_id)){
    $tickets = Tribe__Tickets__Tickets::get_all_event_tickets( $post_id );
    $totalsales = 0;
    foreach($tickets as $ticket){

    but I ended up using a javascript method, writing the ticket costs from the main tickets loop back into the page after its parsed..

    in reply to: tribe_get_events parameters.. #949246
    Jacob Masters
    Participant
    in reply to: Conditionals in non tribe loops, and functions….. #940648
    Jacob Masters
    Participant

    within the events loop, or within a regular posts loop?

    Also with functions, i’m using a variation on this code:

    http://tri.be/using-conditionals-to-show-breadcrumbs-for-events-and-venues/

    but the conditionals are not returning anything, not even a false..

    in reply to: javascript callbacks.. #939800
    Jacob Masters
    Participant

    Good to know, but this method does not work for events lists called from the filter bar, any clues to which javascript ajax call to listen to to catch that reload?

    in reply to: javascript callbacks.. #939679
    Jacob Masters
    Participant

    this seems to do it:

    $( tribe_ev.events ).on( ‘tribe_ev_ajaxSuccess’, function() {
    //Do my stuff//

    });

    Still be interested to know if there’s and official or better way?

    in reply to: Product Variations #721430
    Jacob Masters
    Participant

    Ok, i did manage to hack it so variations kind of worked, so its not beyond the scope of development i wouldn’t think, but it would likely need another custom post type, something like: tribe_wooticket_variation.

    however, found a simpler method anyway, created a custom meta box for the tribe_events post type, called “master stock level” which then overrides individual ticket stock levels for the event, needed an edit of tickets.php, but the rest can be done in functions.php.

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