Paul

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: PHP Error Adding a Ticket #1086205
    Paul
    Participant

    Cheers Brook, yeah useful to know if any of your other customers are using that theme.

    in reply to: PHP Error Adding a Ticket #1084474
    Paul
    Participant

    Hi Cliff,

    I reverted back to the Twenty Fifteen in a test environment and yes, the EDD and WPEC options disappeared, so it was related to the Avada theme. I have gone into the theme files and removed the ‘offending code’ so that those options no longer appear.

    Many thanks for your assistance.

    Regards,

    Paul

    in reply to: Event Ticket Header Image Not AShowing #1084451
    Paul
    Participant

    Hi Brian,

    Yes that’s right, it’s not appearing in emails that go out to customers when they have purchased a ticket.

    I’m not aware of any scripts or coding on the server that would prevent image downloads from displaying outside the website. you can see more info here: http://www.catthorpemanor.co.uk/phpinfo.php.

    Regards,

    Paul

    in reply to: PHP Error Adding a Ticket #1083757
    Paul
    Participant

    This reply is private.

    in reply to: PHP Error Adding a Ticket #1083219
    Paul
    Participant

    Hi Cliff,

    Thanks, I understand. How do I deactivate EDD? It’s not an actual plugin and there’s no option within Event Tickets to disable it?

    Regards,

    Paul

    in reply to: PHP Error Adding a Ticket #1082699
    Paul
    Participant

    This reply is private.

    in reply to: Moving 'Tickets' from bottom of sidebar to the top #1081378
    Paul
    Participant

    Brian, disregard my last message, adding:

    tribe_etp_move_tickets_purchase_form( ‘tribe_events_single_event_before_the_meta’ );

    After the above code block has worked fine.

    Many thanks for your help,

    Paul

    in reply to: Moving 'Tickets' from bottom of sidebar to the top #1081372
    Paul
    Participant

    Hi,

    Would each of these lines be added to the above code? For example, for number 1:

    /*
    * 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 = 100 ) {
    $etp_classes = array(
    ‘Tribe__Tickets_Plus__Commerce__EDD__Main’,
    // ‘Tribe__Tickets_Plus__Commerce__Shopp__Main’, // As of ETP v4.0 Shopp will generate errors when referenced, if not active. Uncomment this line if you have Shopp Active
    ‘Tribe__Tickets_Plus__Commerce__WPEC__Main’,
    ‘Tribe__Tickets_Plus__Commerce__WooCommerce__Main’
    );
    foreach ( $etp_classes as $ticket_class ) {
    if ( ! class_exists( $ticket_class ) ) break;
    $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 );
    tribe_etp_move_tickets_purchase_form( ‘tribe_events_single_event_before_the_content’ );
    }
    }
    }

    Thanks,

    Paul

    • This reply was modified 10 years, 1 month ago by Paul.
    in reply to: Move the ticket add to cart #1081350
    Paul
    Participant

    Hi Brian, thanks for the prompt reply. I have added the code above to the theme’s functions.php file and the error code has gone, but the Tickets section is still at the bottom of the sidebar. I’ll create a new topic in the forum so we can communicate one on one.

    Regards,

    Paul

    in reply to: Move the ticket add to cart #1081308
    Paul
    Participant

    Hi,

    I have tried adding the code at https://theeventscalendar.com/knowledgebase/moving-the-ticket-form/ to my theme’s functions.php file but I get the following error:

    Fatal error: Call to undefined function tribe_etp_move_tickets_purchase_form() in C:\wamp\www\cm\wp-content\themes\HotelRugby\functions.php on line 605

    Can anyone help? I just want to move the ‘Tickets’ section at the bottom of the right sidebar to the top of the sidebar (http://catthorpemanor.co.uk/event/game-of-groans-murder-mystery-saturday-16th-april/).

    Thanks.

    Paul

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