Search Results for 'booking form'

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

Viewing 15 results - 661 through 675 (of 932 total)
  • Author
    Search Results
  • #11303

    In reply to: Booking Form CSS


    Stephen Harris

    Hi Miho,

    This is part of the planned change with 1.8.0, but prior to that update the bookee details (name, e-mail) are not part of the form customiser and so don’t have a custom class option. The only other fields on that form are the select & terms and conditions fields, and they appear to work for me.

    #11290

    Stephen Harris

    The tickets do not appear for the user to select in the booking form, though. I believe this is due to health warning issue #2 you mentioned. For manually created tickets, the event ID is populated in the database (wp_postmeta table, _eo_tickets meta_key) for occurence_ids. For these auto-generated, the occurrence_ids is empty.

    Yes – it sounds like that when the dates are selected, they aren’t be selected for the tickets. With pre-defined tickets such as this, it’s understandably a frustration to have to edit them to select the dates. Instead, whenever the event is saved you can automatically update the tickets to reflect the event’s tickets. This will override the user’s selection, however.

    add_action( 'eventorganiser_save_event', 'my_update_default_tickets', 20 );
    function my_update_default_tickets( $event_id ){
         $occurrences = eo_get_the_occurrences_of( $event_id );
         $occurrence_ids = array_keys( $occurrences );
         $tickets = eo_get_event_tickets( $event_id );
         foreach( $tickets as $ticket_id => $ticket ){
                 $ticket['occurrence_ids'] = $occurrence_ids;
                 eventorganiser_update_ticket( $ticket_id, $ticket );
         }
    }

    I’ve used the hook eventorganiser_save_event – this is almost identical in purpose to the native save_post (except it only fires for events). The above isn’t tested, and you’ll probably want to do the usually permission, cron and auto-save checks that you do on save_post callbacks.

    #11288

    Miho Karlic

    Hi Stephen,

    My developer is trying to understand how to use the CSS Class for the fields in the booking form.
    My Sterling (child) theme has a sidebar, so I need to fix most of the fields with CSS.

    When we add a custom CSS class to each field label (in Booking Form), why does the class not show in Html? How do we use this CSS class? For example, after adding Paypal to my existing Offline payment how do we get them both (with label) in one single line :

    Thanks,
    Miho

    #11279

    Mikko Siikaniemi

    Thanks for your prompt reply, Stephen.

    The code you provided does associate two new ticket types for a new event immediately on creation, which is great. The tickets do not appear for the user to select in the booking form, though. I believe this is due to health warning issue #2 you mentioned. For manually created tickets, the event ID is populated in the database (wp_postmeta table, _eo_tickets meta_key) for occurence_ids. For these auto-generated, the occurrence_ids is empty.

    Now, I’m wondering how (and when) to get the event ID populated. What would be your advice and recommendation?

    #11257

    Stephen Harris

    Hi Heather,

    Each date for recurring event has to have the same time unfortunately.

    In your case, I would create an event for each of the 11 “slots”. You could then create a page listing those 11 slots, and linking to the event’s page where the user can fill in the booking form and purchase spaces for that slot (e.g. 7-8 YEARS: MON 3.30-4.30PM).

    All the best,
    Stephen

    #11251

    Andrew Shankie

    Hi Stephen,

    Any thoughts on some default logos and formatting for the Stripe booking form?

    Thanks,

    Andrew

    #11123

    Mikko Siikaniemi

    For some reason, the settings for a booking form are not saved. When I change the title, button text or button classes and save the changes, it seems that everything is saved, but the changes are not reflected on the site. When I refresh the settings page in wp-admin, the title and button text are shown with default values again, not with the ones I entered. I can change the name of the form and it is saved properly.

    I got the problem solved by using filters eventorganiser_booking_title and eventorganiser_booking_button_text and editing the button classes by editing the booking form template, but it would be way handier to edit them via wp-admin.

    Any ideas?

    #11122

    Mikko Siikaniemi

    Hello, and thanks for the great plugin. I recently bought the pro version, and running full speed with the development.

    My use case: a training calendar and registration system for a client. There will be two types of training (two event categories), taking places in various cities around the country. For those two types, there is a fixed training fee for each, i.e. for training type A the fee is always X euros and for type B fee is Y euros. The fee will be billed offline.

    To make it as easy as possible for the client to add new trainings to the calendar, I’m thinking of a solution, where a pre-defined ticket — X or Y — would be applied to a new training. This would happen instead of the client manually adding a new ticket (identical to other tickets previously created for other events in the same category) to a new event every time. This pre-defined ticket could be based e.g. on the event category. In addition, there would be a default amount of spaces available, say 20.

    I’m wondering what would be the easiest way of doing this? Assistance on building such a solution would be greatly appreciated. Should it happen on the wp-admin side or in the booking form template?

    Thanks,
    Mikko / Mikrogramma Design

    #11102

    Stephen Harris

    Hi Manuel,

    (Is this the plug-in you’re referring to?)

    It’s possible to integrate the two, but it would require some custom code. Since 1.7.0 you can programtically add additional fields to the booking form. If the user isn’t logged-in you could add other fields that you require for membership registration, and then if the booking is successful, use that information in creating a membership account.

    There are examples of adding fields here: http://wp-event-organiser.com/blog/announcements/event-organiser-pro-1-7/. And also for validating entered information, see the same link. For processing bookings you’d probably need to use the eventorganiser_pre_gateway_booking hook (See includes/booking-actions.php). (I’m assuming here that WP-Members has some sort of API by which members can be registered).

    If you require membership payment as well, that would complicate things a little (and if you want some sort of recurring billing, that would probably involve alot of work).

    If you’d like to hire me to integrate the two plug-ins for you, then feel free to send an e-mail via this form detailing exactly what you’d like, and I’ll get in touch with a quote for you.

    #11100

    In reply to: sending tickets


    Stephen Harris

    So, after an offline payment you’re sending a “payment information” e-mail to the user? Is this the e-mail that’s not sending? If so, where you’ve called eventorganiser_mail() – check the response. It should be true. This doesn’t mean the email was successfully received, only that the method used was able to process the request without any errors. (So it won’t pick up cases of incorrect e-mail / email server not working).

    Given some e-mails are working for you I doubt its the latter. But its worth checking that code you’ve added is:

    a) Being called<br />
    b) eventorganiser_mail() returns true

    If you’re referring to the email sent to the use when payment is confirmed, this should be sent out whenever the status is changed to ‘confirmed’. The bookee gets an email (and depending on the settings – so does the admin). If this the e-mail you’re referring to, or the e-mail you get when you click “resend” then that’ll requrie further debugging – but generally should work.

    At this point the most likely cause is that your host is limiting (or perhaps even blocking!) e-mails from your server that is not directed to e-mail accounts hosted on your server. E.g. on mysite.com your host may block/limit emails to any e-mail other than ...@mysite.com. (You’ll be able to test that by using a variety of different e-mail addresses).

    If that is the case, you can use an SMTP plug-in to use a third-party e-mail server (e.g. Google). There are instructions at the bottom of this page: http://docs.wp-event-organiser.com/bookings/emailing-attendees/.

    #11061

    Manuel Hallauer

    Hi Harris
    I would like to integrate WP-Members in the booking tool. When somebody is booking a event, he always gets an account according to my settings. For this, the name and the email is needed for registration. What I would like to have is: that the registration form from the WP-Members is used. Is this possible?
    Thanks


    Stephen Harris

    Hi Alex,

    I’ve not been able to replicate this. When the user is redirected to the PayPal, a booking is created (which depending on the options, may or may not reserve the spaces). Only after the payment is confirmed (and PayPal sends an IPN to the site), is the booking also confirmed (and the bookee is e-mailed with tickets).

    Can you confirm whether or not the booking status is ‘pending’ after an aborted PayPal payment?

    If the status is pending, then for some reason the bookee is receiving an e-mail (the admin may receive an email when the booking is made, rather than just confirmed, again depending on the settings). If the status is confirmed after you’ve aborted a payment, then that would certainly require further investigation. (Feel free to get in touch via this form.)

    #10921

    In reply to: Booking ticket dates


    Gabriel David

    So I tried adding a custom function to output a boolean based on if the final day of the event is over, as follow:


    function god_is_event_over($e_id){
    $occurrences = eo_get_the_occurrences_of($e_id);
    $currentDate = date("Y-m-d");
    $currentTime = date("H:i:s");

    $currentDate =  strtotime($currentDate . $currentTime);
    
    foreach($occurrences as $oc):
        if($oc["end"]->getTimestamp() < $currentDate){
            return true;
        }
    endforeach;
    
    return false;

    }

    and I changed the line in includes/booking-tickets.php (335) to the following:


    if ( god_is_event_over( $post_id ) )
    return false;

    But the booking form still says Booking are no Longer Available. I did a bit of debugging, and it seems the cause is somewhere between line 338 and 362, but there is nothing returning false in that range. What else would be telling EO that there are no tickets available?

Viewing 15 results - 661 through 675 (of 932 total)