Kamran Khanalvi

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • in reply to: Tickets box disappears on update to 4.5.2 #1329437
    Kamran Khanalvi
    Participant

    Hi TEC,

    This is now working.

    After I updated:

    The Events Calendar 4.5.8 to 4.5.9

    The Events Calendar PRO 4.4.14 to 4.4.15

    I then tried to update Event Tickets Plus to 4.5.3 and it’s now working.

    So I’m not sure what’s up with that, but the main thing is that it’s now working 🙂

    Thanks so much for all of your help!

    Kam

    in reply to: Tickets box disappears on update to 4.5.2 #1329416
    Kamran Khanalvi
    Participant

    Hi TEC,

    I have updated events tickets plus to 4.5.3 and the tickets box still disappears.

    The rest of the page is fine.

    I have had to revert to 4.5.1. Which means I have 4.5.3 events tickets and 4.5.1 events tickets plus, which is not very good I’m guessing.

    Please help!

    Kam

    in reply to: Tickets box disappears on update to 4.5.2 #1324809
    Kamran Khanalvi
    Participant

    Hi Andreas,

    This is really great – thanks so much!

    I just have a few questions/comments:

    1) Making a test site sounds pretty simple then. I can definitely do this. However will I not need to have duplicate licenses for plugins etc?

    2) I make back ups of the site weekly, however I have just set up UpdraftPlus as this might be easier. Thanks!

    3) I have now removed all the custom code as per your suggestion, and moved the ticket box above the description. Thanks!

    4) I will stick to 4.5.1 for now then. How will I know when 4.5.3 is released? As currently my WordPress says: “There is a new version of Event Tickets Plus available. Update now to version 4.5.2.” If this makes sense?

    Thanks so much! This is the best support ever 🙂

    Kamey

    in reply to: Tickets box disappears on update to 4.5.2 #1324153
    Kamran Khanalvi
    Participant

    And finally…

    Even with ALL of this code removed from my Child Theme, the map, related events, and ticket box still don’t show.

    See image 3 attached.

    Thanks!!
    Kam

    in reply to: Tickets box disappears on update to 4.5.2 #1324150
    Kamran Khanalvi
    Participant

    I also have this code in my child theme bridge:

    /*
     * Moves the front-end ticket purchase form, accepts WP action/hook and optional hook priority
     *
     * @param $ticket_location_action WP Action/hook to display the ticket form at
     * @param $ticket_location_priority Priority for the WP Action
     */
    function tribe_etp_move_tickets_purchase_form ( $ticket_location_action, $ticket_location_priority = 10 ) {
        if ( ! class_exists( 'Tribe__Tickets__Tickets') ) return;
        $etp_classes = array(
            'Easy_Digital_Downloads' =>     'Tribe__Tickets_Plus__Commerce__EDD__Main',
            'ShoppVersion' =>               'Tribe__Tickets_Plus__Commerce__Shopp__Main',
            'WP_eCommerce' =>               'Tribe__Tickets_Plus__Commerce__WPEC__Main',
            'Woocommerce' =>                'Tribe__Tickets_Plus__Commerce__WooCommerce__Main',
            'Tribe__Tickets__Tickets' =>    'Tribe__Tickets__RSVP',
        );
        foreach ( $etp_classes as  $ecommerce_class => $ticket_class) {
            if ( ! class_exists( $ecommerce_class ) || ! class_exists( $ticket_class ) ) continue;
            $form_display_function = array( $ticket_class::get_instance(), 'front_end_tickets_form' );
            if ( has_action ( 'tribe_events_single_event_after_the_meta', $form_display_function ) ) {
                remove_action( 'tribe_events_single_event_after_the_meta', $form_display_function, 5 );
                add_action( $ticket_location_action, $form_display_function, $ticket_location_priority );
            }
        }
    }

    However when I remove this, the entire site goes down.

    Kam

    in reply to: Tickets box disappears on update to 4.5.2 #1324147
    Kamran Khanalvi
    Participant

    Hi Andreas,

    Thanks for getting back to me.

    I’ve had a little play around and still no luck.

    The issue is the ET+ update to 4.5.2. When I update the ticket box completely disappears.

    The only customizations I have is in my Child PHP theme:

    /*
     * TO MOVE THE TICKET FORM UNCOMMENT ONE OF THE FOLLOWING BY REMOVING THE //
     */
    /*
     * Uncomment to Move Ticket Form Below Related Events
     */
    //tribe_etp_move_tickets_purchase_form( 'tribe_events_single_event_after_the_meta', 20 );
    /*
     * Uncomment to Move Ticket Form Below the Event Description
     */
    //tribe_etp_move_tickets_purchase_form( 'tribe_events_single_event_after_the_content', 5 );
    /*
     * Uncomment to Move Ticket Form Above the Event Description
     */
    tribe_etp_move_tickets_purchase_form( 'tribe_events_single_event_before_the_content' );

    This is to move the ticket box above the description.

    When I remove this code from my Child PHP, all of the text description, map, ticket box, and related events completely disappear (see image 1)

    When I leave this code in, the page is fine, however the ticket box disappears and so does the map (see image 2).

    Currently I have 4.5.2 Event Tickets and 4.5.1 Event Ticket Plus activated.

    What are your suggestions?

    I do not have a test site yet, and I also haven’t tested on twentyseventeen. I am not a developer so doing this is quite scary as don’t want to break the site.

    Thanks,
    Kam

    in reply to: Move ticket order #1256448
    Kamran Khanalvi
    Participant

    Hi,

    I have just done this, however i then realised that i am not using WooCommerce. I am using Stripe.

    What would you suggest?

    Kam

    in reply to: Slug #1184182
    Kamran Khanalvi
    Participant

    Error message.

    in reply to: Create Page for events #1184040
    Kamran Khanalvi
    Participant

    I’ve just come across this:
    https://theeventscalendar.com/knowledgebase/embedding-calendar-views-tribe_events-shortcode/

    however the shortcode doesn’t work even though I have the Pro version?

    Please help
    Kam

    in reply to: Events Archive #1141262
    Kamran Khanalvi
    Participant

    Hi Geoff,

    thanks for this. Unfortunately it made NO difference. I tried adding this to both the functions.php and the child theme functions.php. Again, no difference.

    This may be a Theme issue, so I have opened a ticket for my theme Bridge. From what I rememember, my theme names pages as Archive as default.

    Unless you have any suggestions, I will wait for their reply.

    Kam

    in reply to: Free Downloads #1140724
    Kamran Khanalvi
    Participant

    This reply is private.

    in reply to: Free Downloads #1140529
    Kamran Khanalvi
    Participant

    Hi Cliff, I have contacted EDD and they said nothing has changed on their side. Since the move over to the Events Tickets Plus, the EDD Free Downloads now does not work. This is really annoying as I have both free and paid products and have used EDD for both in the past.

    Can you please investigate or liaise with EDD to try and resolve this? I know this is asking for a lot, but I don’t see why the EDD Free Downloads should stop working.

    Thanks
    Kam

    in reply to: Change Add to cart #1140526
    Kamran Khanalvi
    Participant

    Thanks Cliff – the theme override worked fine! thanks 🙂

    in reply to: change the link to Login to purchase #1140524
    Kamran Khanalvi
    Participant

    Hi Cliff, thanks for this! This issue is now resolved 🙂

    in reply to: Sell 2 for £20 tickets? #1140266
    Kamran Khanalvi
    Participant

    Thanks Geoff! Will take a look! 🙂

Viewing 15 posts - 1 through 15 (of 27 total)