
Luc Gagnon
Hi,
I use your plugin in French and in the booking form, the State/Province is translated to ‘État/Région’ in the French po file. I would like to change the translation to ‘Province’ so I modified the po file but when I refresh the page, it’s still ‘État/Région’ that is showing. What can I do?
Also, I bought the Business license but realised I would be better with the Developper license. Can I upgrade?
Thanks,
Luc

Stephen Harris
As discussed via e-mail, I wasn’t able to replicate this issue. However, another customer reported a similar issue and they were able to provide log-in access to the site. This helped identify the bug: If the booking form requires a second name be provided, but the logged-in user does not have a second name entered in their profile then the booking fails because the user cannot enter the required second name (the name field is removed from the form for logged-in users).
The same is true for the first name, but the plug-in uses the user’s display name as their first name if no first name has been entered in the profile.
The booking fails with the generic error message reported, but the error message indicating that a second name must be provided is not visible because it corresponds to a removed field (the name field).
A future update will ignore the name field entirely for logged-in users. That is, even if required, logged-in users will not see the field (as is currently the case), and a booking will still succeed even if they do not have a first/last name entered in their profile.

Jason Farran
I can’t figure out why coupon codes are not working on this website upon submission, https://www.sandiegolabrats.org/events/event/encinitas-fall-session-2/.
ERROR: Some fields are not valid
The coupon is valid. On the front end, nothing is highlighted. But when I view source, I find this:
<div class=”eo-booking-error eo-booking-form-stripe-payment-errors” style=”display:none;”>
</div>
If we don’t use coupon codes, the registration works fine.
Feel free to use the Coupon Code: JASON
It’s a 100% discount so no charge will occur. In test mode I tried a discount of $199 so it would submit $1. Still didn’t work, so it’s not an issue of submitting 0 to Stripe.
BTW, there should be a condition that if Total = 0, then the gateway is hidden. Why should people need to submit a credit card if they are paying $0?

Osyrus Kimathi
I am getting this “ERROR: Some fields are not valid” when i try to register for an event while logged in as admin. subscriber users do not have this issue. I’m only able to deduce its because the account is an admin account.

Dave Navarro
Changed the “Cap Booking….” to “Do not cap” and still no form.

Dave Navarro
https://www.topekaphotostudio.com/events/event/dslr-fundamentals-class-with-gordon-lamb/
Live switch for PayPal is in Sandbox Mode and a valid email address is present.
I have a single ticket set up as “Student” with 25 spaces at a price of $25 each. “Cap booking…” is set to 25 as well.
Only one booking form (the default). Start date is Oct 16 @ 12am and the End date is Nov 10 at 11:59pm.
No idea why the booking form is not showing, I’ve been through the doc twice now.

Stephen Harris
Hi Joe,
The default template is unfortunately not particularly suited to mobile device ‘out of the box’. There are plans to improve this, but since it’s a breaking change, this is being left until a major update (i.e. 2.0.0).
Since the booking form sits within a page it’s not trivial to make it responsive by default in a theme agnostic way. However, the template can be replaced, so it’s possible to edit in such a way so it suits your theme.
Here’s a gist with an alternative template. Just copy that PHP template to eo-ticket-picker.php
in your theme and then add the CSS your theme’s style.css, or otherwise load it on the bookings page.
https://gist.github.com/stephenharris/1b3d7fc0eb6a0e91226d9e24ec010bce
You will almost certainly need to adjust the CSS breakpoint for your theme.

Olaf Lederer
Hi, looks like it happens because of a customization suggested here: https://wp-event-organiser.com/forums/topic/reservations-and-bookings/#post-26507
This behavior is fine for “active” reservations. Is the a way to check also the status from the user’s booking (beside this condition):
if ( ! eo_user_has_bookings( get_current_user_id(), get_the_ID() ) ) {
This way I can show/hide the form for the different booking status. I can write that function by myself, but you created such a function like you did for eo_user_has_bookings()
Thanks
-
This reply was modified 7 years, 10 months ago by
Olaf Lederer.

Olaf Lederer
That’s strange, I can’t remember that I changed the form so much. It’s the if then else clause that is using a a check (and hides the form if a booking already exists)
I will check the original file and let you know.

Olaf Lederer
Hi,
right now it’s not possible get a another ticket after I did a first booking. Even if I cancel the booking, it’s not possible to book again. An admin needs to delete the “old” booking first.
Is there a workaround to solve this? I was thinking about to run a custom script that will delete the cancelled bookings (we don’t sell tickets) so it’s just the information that someone will join the event.

TS
Hello again,
Thanks for the information and link. Unfortunately it’s not doing what I’d hoped – instead of blocking out the next day in the calendar view, it prevents users from booking at all and says ‘This event has sold out’. Or have I perhaps implemented it incorrectly?
You can see an example of one of the tours here: http://bit.ly/2yCkhkQ (others are available via this link too).
I realised in my initial post that I didn’t clearly state that although bookings should not be allowed for the following day, they are okay for days that follow. So on a Friday, I don’t want users to be able to book for the Saturday, but they can book Sunday, Monday, etc.
It’s very possible that the filter you told me about does exactly this, but I’m not sure how to implement it exactly. Logically, I need it to do this:
- if recurring event is < 1 day away, prevent users selecting it on the calendar layout
- if recurring event is > 1 day away, allow bookings via the calendar as normal
- apply same rule to all events across the site
Thanks again for your help, it’s very much appreciated.
FYI, the first filter in the codex returns an error: “Notice: Undefined variable: occurrences”.

Veronika Nesverova
Hello.
I tried to setup different redirect after someone signs up.
Following https://wp-event-organiser.com/forums/topic/dedicated-bookings-landingpage-possible/ I tried to do it as:
function workshoppa_redirect_after_booking($booking_id, $booking, &$errors, $form) {
$total_price = eo_get_booking_meta($booking_id, 'booking_amount');
$event_id = eo_get_booking_meta($booking_id, 'event_id');
if (0 == $total_price) {
eo_confirm_booking($booking_id, true);
}
// Set redirect url and send them there
$redirect = '/signup/'.get_permalink($event_id);
wp_redirect($redirect);
exit();
}
//This will work only for gateways where you don't leave the site.
add_filter('eventorganiser_pre_gateway_booking_stripe', 'workshoppa_redirect_after_booking', 100, 4);
add_filter('eventorganiser_pre_gateway_booking_free', 'workshoppa_redirect_after_booking', 100, 4);
add_filter('eventorganiser_pre_gateway_booking_offline', 'workshoppa_redirect_after_booking', 100, 4);
But I cannot notice any difference when trying to redirect.
I also tried to redirect to another string as well, but to no effect.
Any clues?

Sadik Bhimani
In file event-organiser-fes/includes/actions.php, for the function function _eo_es_process_event_submission( $form ), for the case default (custom taxonomy)
Line 296 is $terms = array_map( ‘intval’, $element->get_value() );
It needs to be $terms = array_map( ‘intval’, $element->get_value(‘terms’) );
for the custom taxonomy to be saved after creating it as in the last post of this thread
https://wp-event-organiser.com/forums/topic/extending-fes-like-the-booking-form/, else the custom taxonomy won’t save.
Regards

Stephen Harris
Hi Mark,
Editing the Bookee data. Many people have errors in their email address or other when they submit.
This will be possible in the next major version of Event Organiser Pro. If you want access to a beta-version, I’d be happy to arrange that.
Sometimes we cancel an event and need to move registrants to another program
This is not straightforward unfortunately. Each event has their own tickets, so moving users from one event to another would mean assigning the new tickets. Additionally, each event can have different booking forms, requiring different information. I will consider this for a future update, but it’s unlikely to get into 2.0.
Is there a way to copy an event to save recreating one?
No but there is a Duplicate Post plugin that also works for custom post types, and in particular events.

Stephen Harris
Hi Veronika,
Apologies for the delay in responding to this. You can create a page and use the booking form shortcode to display the booking form, but this requires manually creating a page for each event.