Search Results for 'booking form'

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

Viewing 15 results - 376 through 390 (of 932 total)
  • Author
    Search Results
  • #22443

    Stephen Harris

    Hi Martin,

    Unfortunately this is not particularly straightforward. The bookings contain references to tickets, via an ID. If those ticket IDs have changed in your import, then the references would need to be update.

    It’s not clear whether you’re using WP Migrate DB to restore a snapshot of the database, or whether it simply adds to it. If the ticket IDs do not change, then it would be possible. If they do, then you need to update events, tickets and bookings in one go.

    However, I was under the impression that WP Migrate DB supported custom tables? (Bookings are in fact a custom post type, but the tickets in the bookings are custom table).

    In any case, there is no existing solution of importing bookings.

    (As an aside, my personal recommendation when it comes to populating staging sites is to create a mysql dump and import that into the staging site, and then perform a search and replace to replace the live URL with the staging URL. Finally you may then want to copy down any uploads/attachments. This can all be scripted with wp-cli. This ensures that staging data is identical to live)

    #22194

    In reply to: Bilingual website


    Stephen Harris

    Hi Luc,

    That text should already be translated based on the selected site language. I don’t know how Polylang works, so if they’re not switching the locale you can use the following method:

    add_filter( 'gettext', 'my_translate_text', 20, 3 );
    function my_translate_text( $translated_text, $text, $domain ) {
        if ( 'eventorganiserp' !== $domain ) {
              return $translated_text;
        }
    
        switch ( $translated_text ) {
                case 'Please select a ticket' :
                    $translated_text = 'Translated text';
                    break;
    
                case 'Another string to translate' :
                    $translated_text = 'Another string translated';
                    break;
    
                //Add more cases as required
            }
        }
    
        return $translated_text;
    }
    

    Please note that not all strings you see will be able to be translated like this. Only hard-coded strings can be translated. Any user-provided text is not translatable unless it has its own dedicated filter (such as the booking e-mail body).

    Finally, you may want to perform some check on the language currently in use – you’ll have to consult Polylang’s API on how to do that.

    #22169

    In reply to: Bilingual website


    Stephen Harris

    Hi Luc,

    You can use the eventorganiser_booking_confirmed_email_body filter to change the e-mail text. (You can use the placeholders in the message too):

    add_filter( 'eventorganiser_booking_confirmed_email_body', function( $message, $booking_id ) {
         //alter $message
         return $message;
    }, 10, 2 );
    

    For setting PayPal’s language you can use the eventorganiser_pre_gateway_checkout_paypal (though setting the locale has not been tested).

    add_filter( 'eventorganiser_pre_gateway_checkout_paypal', function( $cart, $booking ) {
          $cart['lc'] = 'FR';
          return $cart;
    }, 10, 2 );
    

    Adding a booking field won’t help as the form doesn’t post directly to PayPal, it first goes through the plug-in.

    #22164

    Patrick Merck

    please have a look at my under construction site:
    http://neu.gesundes-kinzigtal.de/angebot/angebot/qi-gong/

    the plugin is very much what I’ve bee looking for, but I don’t know how to customize the styling (calendar, buttons etc.). I’m using the Divi theme, but your plugin doesn’t look “correct”. E.g.: As you can see, the calender is displayed wrong.

    Any idea how to fix that?

    #22131

    Luc Gagnon

    Hi,
    I’m working on a bilingual website (using Polylang) and most of the plugin is working perfectly. I have 2 issues.
    1. How can I have confirmation emails in 2 languages?

    1. I want the registration form to present the Paypal page in the right language. So I set up a hidden field in the form to do it but it doesn’t work. I see the field in the form but it’s still the English page of Paypal I’m getting


    add_action( 'eventorganiser_get_event_booking_form', 'my_add_field');
    function my_add_field(){<br />
    $element = new EO_Booking_Form_Element_Hidden( array(
    'id' => 'lc', //a unique ID
    'value' => 'FR'
    ));
    }

    Any help would be appreciated as I really like plugin so far. Thanks.

    #22109

    In reply to: Problem


    Stephen Harris

    Thanks for the follow up Eliyahna.

    For anyone interested, this plug-in removes text of the form [...] from the post (or page, or event etc) content as it interprets as a ‘broken’ shortcode (one that hasn’t been parsed). Unfortunately it can’t tell anything difference between this and an input such as:

     <input type="text" name="hello[world]" />
    

    with the [world] removed as its mistakenly identified as a broken shortcode. Thus when the page renders you end up with:

     <input type="text" name="hello" />
    

    and this effectively breaks the booking form as its seemingly ‘corrupts’ the submitted data.

    #22106

    In reply to: Problem


    Eliyahna VanKurin

    Hi Stephen

    The only thing I’ve “customized” is the booking form… added custom fields using the provided interface.

    Can you make the booking / Paypal payment for ticket part functional? Can you contact me privately for access credentials?

    #22105

    In reply to: Problem


    Stephen Harris

    That will be the user’s path to the relevant file on their hosts server – so it doesn’t usually bare any resemblance to their domain name.

    Regarding the issue you’re having – the error message identifies the point of failure. However, I’m having trouble replicating it. Do you have any custom code / templates relating to the booking form in use on the site? Or have you made any changes to the plug-in files?

    Following the logical path that leads to the line in question, this error is only possible if the data present in $_POST (the data submitted by the user) is not as expected. There is a simple “fix” for this but before releasing that update I’d like to understand why the expectation here is failing – and whether, as I suspect, this is arising from a conflict with another plug-in or some customisations that have been applied.

    #22099

    In reply to: Problem


    Eliyahna VanKurin

    Okay here is my error:

    Fatal error: Cannot create references to/from string offsets nor overloaded objects in /services17/webpages/util/r/a/raysofhope.site.aplus.net/public/wp-content/plugins/event-organiser-pro/includes/form-customiser/class-eo-booking-form-factory.php on line 332

    #22090

    In reply to: Problem


    Stephen Harris

    Hi Eliyahna,

    Have you checked your server’s error log? If you’re not sure how you can enable debug mode (https://codex.wordpress.org/Debugging_in_WordPress) and then try again – it should print an error message.

    Do you have a caching plugin enabled? If so you may want to try disabling that as caching the booking form page can cause this problem.

    #22082

    Topic: Problem

    in forum General Question

    Eliyahna VanKurin

    I have the pro. I have everything set up according to the instructions, however, when I view the event and book a ticket, I fill out the booking form and press the “book” button I get an error.

    It says unable to handle this request. 500

    Can someone please help me with this?

    #22078

    Greg MacKinnon

    Stephen:

    I am using Attendee Questions to gather name, e-mail and lunch choice.

    Often, the person making the purchase is also one of the attendees, which means they have to enter their name and e-mail twice.

    Can I have one of the tickets prefill with the name and e-mail (defaults from the Booking form)?

    Thanks.

    #22015

    Stephen Harris

    The log-in form is rendered using wp_login_form(), but you can style the log-in button as follows:

    .eo-booking-form-login-form #wp-submit{
        //css rules
    }
    
    #22000

    Karl Lettenström

    Since the version 1.11.5-update i’m unable to move my fields, display the “settings”-tab and the “postbox”:es are acting weird. All this at the wp-admin/options-general.php?page=event-settings&tab=booking-form page.

    I’m using Chrome version 48.0.2564.116 (64-bit).

Viewing 15 results - 376 through 390 (of 932 total)