Home › Forums › Ticket Products › Event Tickets Plus › Moving the Eventbrite Tickets box
- This topic has 7 replies, 2 voices, and was last updated 10 years, 2 months ago by
Brian.
-
AuthorPosts
-
January 30, 2016 at 11:59 am #1065074
Ad
ParticipantMy Eventbrite tickets are showing up at the bottom of the sidebar on my event pages. I would like to move the ticket box to a position just below the event description.
I’ve already read these two post, but when executing these steps and edding the code to my funtion.php file, the site is crashing. When I remove the lines of code in order to move the ticket box through FTP, the site will work again. How do I solve this problem?
How to move Eventbrite tickets from sidebar to the post body?
Thanks.
February 1, 2016 at 8:30 am #1065795Brian
MemberHi,
Sorry for the issues you are having. I can help troubleshoot this with you.
I added this first snippet from this guide:
It worked for me and do not cause any problems.
What error do you get when the site went down?
What is the exact coding you used? And can you provide the coding that was above and below the snippet in your file?
Let me know and we can go from here.
Thanks
February 3, 2016 at 4:49 am #1066757Ad
ParticipantHello Brian,
This is what I did. I did it once again and the site crashes again. I added these lines of code to my themefunctions file (functions.php) on the bottom of the file:
add_action( 'init', 'move_eb_ticket_form' ); function move_eb_ticket_form() { $display_tickets = array( Tribe__Events__Tickets__Eventbrite__Main::instance(), 'print_ticket_form' ); remove_action( 'tribe_events_single_event_after_the_meta', $display_tickets, 9 ); add_action( 'tribe_events_single_event_after_the_content', $display_tickets ); }Once i save the file in the editor my site crashes and I get a 500 server error. The only way to get the site running again is to remove the code in the function.php file through FTP.
Please help.
Bob
February 3, 2016 at 8:01 am #1067021Brian
MemberHi,
Thanks for that. I do not have any trouble with the snippet on my site and have no other reports on this issue. So it looks to be something unique on your site/hosting that might be causing this.
Can you please provide your system info following this guide in a private reply:
https://theeventscalendar.com/knowledgebase/sharing-sys-info/
And we can go from there.
Thanks
February 3, 2016 at 11:57 am #1067203Ad
ParticipantThis reply is private.
February 3, 2016 at 6:27 pm #1067325Brian
MemberOh my bad I see the issue now.
That coding is for Eventbrite Tickets, which is a different plugin from Event Tickets Plus.
Sorry for the confusion about that.
We have this guide for Event Tickets Plus
https://theeventscalendar.com/knowledgebase/moving-the-ticket-form/
Does that coding work for you?
February 6, 2016 at 6:17 am #1068841Ad
ParticipantThis reply is private.
February 7, 2016 at 6:33 am #1069136Brian
MemberGreat, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.
Thanks!
-
AuthorPosts
- The topic ‘Moving the Eventbrite Tickets box’ is closed to new replies.
