Search Results for 'booking form'

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

Viewing 15 results - 676 through 690 (of 932 total)
  • Author
    Search Results

  • Indie Group

    Hello,

    I think i found a bug. When you want to book tickets on an event detailpage, and you are logged in, there is a line that says “is this not you ? LOGOUT” But the entire form is inside the Logout a tag. I don’t think this is correct is it ?

    I removed the following code as a quick solution.
    The code is inside class-eo-booking-form-view.php

    if( is_user_logged_in() ){
            $current_user = wp_get_current_user();
            $html .= sprintf(
                    '<div class="eo-booking-notice-logged-in %s">
                            

    %s

    </div>', esc_attr( $this->form->get_form_notice_classes() ), sprintf( __( 'You are logged in as %s. Not you?', 'eventorganiserp' ), $current_user->user_email, wp_logout_url( get_permalink() ) ) ); }
    • This topic was modified 11 years, 1 month ago by  Indie Group.
    • This topic was modified 11 years, 1 month ago by  Indie Group.
    #10806

    AG DEV

    Also, is there a way to change the Button the Customer presses after they enter their credita card infor to say “Purchase” as apposed to “Book”? Thanks.

    EDIT: SOLVED

    The booking button text and booking title can set per booking form via the booking form’s settings. Go to Settings > Booking Form and then click the ‘settings’ filter.

    • This reply was modified 11 years, 1 month ago by  AG DEV.
    #10774

    Stephen Harris

    Hi David,

    Regarding your snippet, you may want to checkout eo_user_has_bookings(). (warning: unless you specify the booking status, it defaults to ‘all’ and includes cancelled bookings. It never counts deleted bookings).

    The user cancelling their booking will be possible in 1.7.0, by using [booking_history bookee_can_cancel=true]. This adds a column to the booking history table (shortcode) which allows the user to cancel their booking. It’s not quite, what you’re after, but it works. Otherwise a ‘cancel’ button could just be a link which your site listens for (e.g. www.yoursite.com?action=cancel_booking={booking_id}) and then cancels the bookings (you’ll want to perform some security checks, and nonce checks) and then redirects them back to the event.

    Regarding hiding the book button – currently the button is displayed in the eo-booking-form.php template. This will change in 1.8.0. The button is being moved ‘inside’ the booking form customiser. As such you’ll be able to remove it via the API for example:

    function my_remove_book_button( $form, $event_id ){
         //Only valid for 1.8.0
         $user_id   =  get_current_user_id();
         $event_id = $this->form->get( 'event_id' );
         $noncancelled_statuses = eo_get_booking_statuses( array( 'name' => 'cancelled' ), 'names', 'not' );
    
         //If user is logged in, and has previous (non-cancelled) bookings for this event
         if( $user_id && eo_user_has_bookings( $user_id, $event_id , 0, $noncancelled_statuses ) ){
              $element = $form->remove_element( 'submit' );
          }
    
    }
    add_action( 'eventorganiser_get_event_booking_form', 'my_remove_book_button', 10, 2 );
    #10772

    Gabriel David

    Hi,

    there are a few things particularly I’d like to change about my booking section (and you may want to consider this as a feature request as well, but I need to change these things ASAP so for now I just need to know how):

    • I would like to add a cancel booking button, given the user has already booked an event
    • I Would like only to show the Book button if the user has not booked the event

    I actually ended up answering the first thing myself, but am posting the answer for anyone else:

    • Look in event-organiser-pro/templates/eo-booking-form.php and near the bottom (div with class eo-booking-purchase-row) is where you want to add the check for if they are booked. I used the following (PHP) code:

               $bookings = eo_get_bookings(array( "status"=>"confirmed","event_id"=>get_the_ID() ));
    
                $attendees = array();
                foreach($attendees as $attendee):
                    $attendees[] = $attendee->post_author;
                endforeach; 
    
                if(in_array(get_current_user_id(),$attendees)):`

    //etc...

    But how do I create a booking cancellation button?

    • This topic was modified 11 years, 1 month ago by  Gabriel David. Reason: Formatting code

    Ronya Banks

    Hi Stephen,

    For the booking form, I’d ideally like the user’s Last Name to be mandatory. Also, I’m including the user’s phone number (which I would also prefer to be mandatory) among the custom fields, but I feel it looks a bit odd for that field to be separated from all the other user info at the top of the form by the ticketing section. It would be nice if the phone field could sit beneath the email field.

    Is there any way these changes can be accomplished without major surgery?

    Thanks,
    Suzanne
    http://aim.openairwebdesign.com/events/event/mindfulness-meditation-basics

    #10716

    In reply to: Tickets and Bookings


    Gabriel David

    Ah, actually I do have a question. When trying to book I get the error:

    Please select a ticket.

    Though I have simple booking mode enabled and am heeding the following criteria:

    This option is selected.
    The event has only one ticket currently on sale.
    You are booking by series, or the event is non-recurring (no date needs to be selected).
    Under those conditions the date and ticket selection is hidden from the booking form, and the booking consist of only one ticket.

    The ticket it definitely hidden, but it still doesn’t seem to know to apply it :/

    #10712

    Gabriel David

    Hi,

    I am trying to figure out how to get a list of attendees for a specific event, but I can not figure out the information architecture of your booking system in MySQL

    #10545

    oniregoc

    Hello,

    in the land of wordpress event plugin there is no absolut solution ! All your competitor are missing important “details” like these ones:

    the 3 most important thing missing almost evrywehere are :

    1) is it possible to have conditionnal field in the booking form (like with gravity form) ?
    2) is it possible for a buyer to buy a ticket as a gift for someone else ?
    3) is it possible to connect to woocommerce ?

    My actual website is doing this (exept woocommerce) but I would like to do it with wordpress because I can use a lot of other feature I don’t have with that old site.

    Let me know and thanks for your answer.

    Thanks for your answers

    #10480

    In reply to: Registrant questions


    Stephen Harris

    Hi Joan,

    I’m glad you like the plug-in so far.

    1) I need to gather basic information about those registering for class (Name, email, phone, etc) I cannot see where to do this.

    You can custom fields to the booking form via the form customiser (fields for the name and e-mail of the bookee are added by default). However, there is not yet a way of collecting information associated with each ticket (in the case where users may be purchasing more than one ticket). This is currently in early development, and the next release (1.7) due in early May will paving much of the way for that. As an early estimate, this feature should be in Pro around June/July this year.

    2) I also like to auto-add registrants to MailChimp – again, not seeing how to do this.

    This isn’t a feature, though it’s entirely possible.

    3) What specifically are the differences in the Personal vs Business license? If I have a business, but only one site which do I want?

    The difference is in the number of sites supported and which can recieve automatic updates. Additionally, support for Developer, Business and Personal license holders is prioritised in that order. Finally, the Business license comes with a few additional extensions, and the Developer license comes with all extensions included. (A full list is available here). You don’t have to a be a Business to choose a business license, and similarly you can select the Personal license if you’re a business.

    4) While it is not my first preference, I do get people who want to book directly (with cash). Can I manually add them? so I have all registrations in one place?

    There’s an ‘offline’ payment gateway which you can enable. Bookings made with this gateway are set to ‘pending’ until an administrator manually confirms payment. The settings also allow you to select whether ‘pending’ bookings are reserved so that you can prevent overbooking.

    Also I want to double check –
    “Cap booking at X places” – means how many tickets one individual can buy, while”spaces” for event is how many tickets total to sell – right?

    No, that option is only really useful when you have multiple tickets. Without that option, the number of spaces for an event is the sum of all the ticket quantities. If you choose to cap bookings, then the number of spaces is the minimum of the two. This is so you can have 100 adult and 100 concession tickets available, but ensure you do not sell more than 100 tickets.

    I hope that answers your questions, if you have any more, just let me know,
    Stephen

    #10478

    Joan

    So far I am very impressed – I especially love the Demo feature! I think this will be replacing 3-4 different plug-ins that I have been using to get the function I need.

    I still have some questions:

    1) I need to gather basic information about those registering for class (Name, email, phone, etc) I cannot see where to do this.

    2) I also like to auto-add registrants to MailChimp – again, not seeing how to do this.

    3) What specifically are the differences in the Personal vs Business license? If I have a business, but only one site which do I want?

    4) While it is not my first preference, I do get people who want to book directly (with cash). Can I manually add them? so I have all registrations in one place?

    Also I want to double check –
    “Cap booking at X places” – means how many tickets one individual can buy, while”spaces” for event is how many tickets total to sell – right?

    #10445

    In reply to: Design on detail-pages


    Stephen Harris

    Hi Elke,

    All the template files are in wp-content/event-organiser/templates. As far as I can tell the mis-colouring of the links is due to the link that wraps a large section of the page.

    There had previously been (a while back) a bug in Pro which caused the booking form to be wrapped in a link. This issue was traced back to an issue with the German translation file. I’ve tested the German translation on a test site, and I haven’t been able to replicate this bug (Event Organiser also has a fairly large German user-base, and beyond this post, nothing has been reported). Nevertheless, to rule out that issue, I’d recommend changing your WP_LANG to en_US briefly. (While I can’t replicate this issue with Event Organiser, the presence of a <a href="/"... is plausibly caused by a faulty .mo file.)

    If the problem persists when the locale is set to English, I’d recommend disabling the theme temporarily, and then each plug-in in turn to see if the problem persists. (You should also check that Event Organiser’s templates haven’t been edited)

    #10378

    In reply to: booking form


    Stephen Harris

    You can’t duplicate a booking form, but you can use it for more than one event.

Viewing 15 results - 676 through 690 (of 932 total)