Search Results for 'booking form'

WordPress Event Management, Calendars & Registration Forums Search Search Results for 'booking form'

Viewing 15 results - 286 through 300 (of 932 total)
  • Author
    Search Results
  • #26677

    Stephen Harris

    Hi Nicola,

    This snippet will do it:

    <?php
    
    add_filter( 'eventorganiser_pro_get_option_disable_automatic_form', '__return_true' );
    
    add_filter( 'the_content', function( $content ) {
    
        $p_id = get_the_ID();
    
        if( is_singular( 'event' ) && 'event' == get_post_type( $p_id ) ){
            $content = eo_get_booking_form( $p_id ) . $content;
        }
    
        return $content;
    
    }, 999 );
    

    However, that will put the content before the event details as well. If you need it after the event details then that’s possible too, by editing the templates.

    The above snippet should go in a custom plugin or theme’s functions.php.

    #26658

    Nicola Bonotto

    Hello,
    It is possible show the booking form above the content?
    Can you please tell me how to do it?

    Thanks

    #26584

    In reply to: Invalid License


    Luc Gagnon

    Hi,
    I really need to get this working so I bought a new license. Now, the license is valid but I have no booking form showing in my event. If I edit the event, I see my tickets and I have a booking form selected but when I view the event page, there is no form. I’ve updated the plugin as well.
    Thanks for your help, Luc

    #26556

    Stephen Harris

    You could try adding the following to a site utility plug-in / theme’s functions.php:

    add_action( 'admin_init', function() {
        remove_filter( 'eventorganiser_admin_calendar', 'eventorganiser_calendar_booking_summary' );
        remove_filter( 'eventorganiser_admin_cal_summary', 'eventorganiser_pro_booking_summary' );
        remove_filter( 'eventorganiser_calendar_dialog_tabs', '_eventorganiser_pro_admin_calendar_booking_tab' );
    } );
    

    This will remove the bookings information from the admin calendar, and may help speed the time the calendar takes to load if you have a lot of bookings.

    #26533

    Benjamin Ogg

    Dear Stephen

    I am using your awesome pro plugin and I have 109 events (20 of them with occurrences) and 4438 bookings stored.

    When I am going to the admin events calendar in the wp-backend (view: month) it takes between 30 and 65 seconds until the data is loaded. Quite long!

    Is there anything I or you could do to make the loading time a bit shorter?

    Thanks for you help.

    Cheers, Benjamin

    #26507

    Stephen Harris

    By default users can make multiple bookings, and that notice is for just for the user’s information. You can hide the form, however by editing the booking form template file (templates/eo-booking-form.php – copy it to your theme first).

    If you edit the last } else { statement, (~line 55), to an elseif statement following:

    } elseif ( ! eo_user_has_bookings( get_current_user_id(),  get_the_ID() ) ) {
    

    Then the booking form will only appear if the user has not made a prior booking for the event.

    You can use the ‘Booking History’ shortcode on page to display to logged-in users their previous bookings. There’s an option to allow them to cancel their booking.

    You can then use the URL of that page in the notice that appears to users who have previously placed a booking for that event. To edit the message that appears:

    add_filter( 'eventorganiser_booking_form_form_display_notices', function( $notices ) {
         if ( isset( $notices['prior-booking'] ) ) {
              $notices['prior-booking'] = sprintf( 
                'You have a prior booking for this event. <a href="%s">Click here</a> to view your bookings.',
                'http://yoursite.com/url/to/booking-history'
              );
         }
         return  $notices;
    } );
    
    #26344

    Stephen Harris

    You just need to append #eo-bookings to the event URL. Are you asking how you actually do that? Where do you want the booking-form targeted link to appear?

    #26334

    Paul Oaten

    Hi Stephen,

    I have a weird issue which has just been discovered on the event booking form.

    Basically, the QTY picker appears and then immediately disappears once the page has loaded. Example here: https://www.panary.co.uk/craft-baking-courses/1-day-basic/

    I have checked all settings but they really haven’t changed for ages. The problem only seems to occur if I’m logged out. When logged-in, I see the qty picker ok but only if I go into the event editor and re-save the event.

    Versions installed:

    Event Organiser: 3.1.7
    Event Organiser Pro: 1.11.9

    I’ve done a bit more checking in the Chrome Dev Tools and the console shows the following error:

    Uncaught TypeError: Cannot read property ‘tickets’ of undefined
    at occurrence-picker.min.js?ver=1.11.9:2
    at Function.m.each.m.forEach (underscore.min.js?ver=1.8.3:5)
    at n.each (backbone.min.js?ver=1.2.3:1)
    at n.set_ticket_event_availability (occurrence-picker.min.js?ver=1.11.9:2)
    at n.initialize (occurrence-picker.min.js?ver=1.11.9:2)
    at n.e.Model (backbone.min.js?ver=1.2.3:1)
    at new n (backbone.min.js?ver=1.2.3:1)
    at occurrence-picker.min.js?ver=1.11.9:2

    Does that help?

    Grateful for any assistance

    #26318

    Kim Harding

    Is it possible to have the option of a name anchor in the event booking form? It would useful to be able to link to the booking form in the event page without the user need to scroll down to find it.

    #26264

    Cameron Underdown

    I have purchased the Stripe payment gateway, but when i went to preview a post with the booking form enabled, no stripe gateway shows up…does post need to be published?

    #26219

    Andrew MacKenzie

    Hi,
    For some reason I added tickets to my event and a booking form for them and in the ticket selector it shows each of the tickets as a radio button instead of the number edit box with the up/down arrow. I have tried lots of things but cannot seem to make it work.

    Thoughts?

    #25984

    In reply to: EU-VAT handling


    Stephen Harris

    Hi Jaroslaw,

    Sorry for the delay in getting back to you. I agree that not allowing a VAT number to be entered, and thus zero-rating the VAT. I’ve made a quick update here: https://github.com/stephenharris/Event-Organiser-VAT/tree/feature/vat-number-field – I’ll be in touch with the .zip of the update.

    It allows you to add an “VAT number” field to the booking form (under Advanced in the Booking form customiser). When a valid VAT number is entered it will remove VAT from the booking.

    #25937

    Jaroslaw

    Hi,

    I have an IMPORTANT request for the Event Organiser VAT plugin (I’ve got the Event Organiser Pro and I rely heavily on it)

    Would it be possible to add the following functionality: If the user profile contains a non-empty field called “vat_nr” (or anything else you find reasonable), then the VAT portion of the booking form is not applied.

    In other words, I would like to have a functionality similar to your own purchase form. As far as I can see, you probably use the SOAP API to the VIES database in order to verify the submitted VAT number immediately. For me it would be probably too much, since I can manually check the VIES website – that gives me not only the confirmed EU_VAT number, but also customer data for the invoice. Then, I can also put the “vat_nr” entry into the “usermeta” table by hand.

    I think it’s the easiest way to go, because this table is always present and there are other numerous plugins for editing additional user fields.

    What is very important to me is to make your VAT plugin aware of that.

    Best regards — Jarek Milewski, Warsaw

    #25893

    Stephen Harris

    eo-booking-forn-address.php is for Pro. The you are after file is event-organiser-fes/templates/elements/eo-event-form-event-venue.php.

    The template is already translatable. So you could create .po/.mo file which ‘translates’ that string, and that would be the “correct” way of doing it. But, it’s probably a lot easier for you copy the template to your theme and replace:

    <?php _e( 'State', 'eventorganiserfes' );?>
    

    with

    <?php _e( 'County', 'eventorganiserfes' );?>
    
    #25872

    In reply to: FES css Class


    Chris Hirst

    Thanks for that. I have added all kinds of stuff there now, and my form looks just like a pizza – just what I wanted. Thanks again.

    Can you point me to the template for the email that is sent when a user makes an event submission, using the submission form? It all works just fine, but the template one is blue and I want to change it to match my site colours.

    I have found and edited the email received following a booking, but I do not see the one for the event submission.

    Thanks
    Chris

Viewing 15 results - 286 through 300 (of 932 total)