Daniel

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • Daniel
    Participant

    No problem, I figured out another solution.

    in reply to: Events Calendar Pro 4.4.2 broke Event List and Calendar links #1234016
    Daniel
    Participant

    Nico, I cannot explain why, but the issue seems to be resolved now. Perhaps it had to do with the MySQL database tables taking a little long to update or something. Anyway, thanks for your help.

    Dan

    in reply to: What happened to tickets? #1101339
    Daniel
    Participant

    Just realized that WordPress deactivated Event Tickets Plus after updating, for some unknown reason. All appears to be normal now.

    in reply to: How can I move the RSVP section to the content area #1073866
    Daniel
    Participant

    Screenshot of RSVP settings

    If I remove the snippet below, the RSVP does not show up.

    /**
    * Move RSVP Tickets form in events template
    */
    if (class_exists('Tribe__Tickets__RSVP')) {
        remove_action( 'tribe_events_single_event_after_the_meta', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form' ), 5 );
        add_action( 'tribe_events_single_event_after_the_content', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form' ), 5 );
    }
    in reply to: How can I move the RSVP section to the content area #1073824
    Daniel
    Participant

    Brian, I can change the look myself using CSS, thanks.

    The RSVP area that I added using the snippet you provided has disappeared suddenly. Any ideas why? I double-checked the event and the RSVP option is definitely enabled. Any help would be appreciated.

    Here is a link to the event I am referring to: https://sipeshouston.org/event/sipes-luncheon-february-18-2016/

    • This reply was modified 10 years, 2 months ago by Daniel. Reason: Added link to event
    in reply to: How can I move the RSVP section to the content area #1065341
    Daniel
    Participant

    Brian, this did work, thank you very much.

    Different appearance of wooCommerce Tickets vs. RSVP
    Not sure if I need to start a new thread for this part or not but the RSVP input form looks different from the wooCommerce tickets input (see screenshot). Could you please let me know which files you might suggest editing in order to make them look uniform?

    I understand the CSS would need updating but it seems that the actual input form might need updating as well, and I’m not sure which file would control this bit.

    Thank you,
    Dan

    in reply to: How can I move the RSVP section to the content area #1058644
    Daniel
    Participant

    Brian, thanks for your reply. Please don’t let the bots close the issues, as I’m waiting until this afternoon to implement your suggestion. We have a large event that I don’t want to mess up by tinkering with the website, but registration cuts off at noon today! So tinkering will be done after that.

    in reply to: How can I move the RSVP section to the content area #1057847
    Daniel
    Participant

    I have the Events Tickets Plus plugin for tickets, and needed to move the Tickets / Purchase info (i.e. descriptions, and Add to Cart stuff) to the content area, so I used that snippet. If I remove that snippet, it will place that back into my sidebar.

    Using the Avada theme, most recent version.

    in reply to: How can I move the RSVP section to the content area #1056709
    Daniel
    Participant

    Adding the code snippet you provided did not move the RSVP to the content area. It still shows up in my sidebar.

    It might help to know that I already have this snippet in my Functions.php file:

    // ==============================================================
    // 2016-01-11: Moving Tickets Plus box to Content Area.
    
    /*
     * 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 ) {
    	$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 );
    		}
    	}
    }
    
    /*
     * 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' );
    
Viewing 9 posts - 1 through 9 (of 9 total)