jokewouters
Forum Replies Created
-
BINGO! Works perfect now.
Thank you very much ??
Okay, we’re almost there. It’s still not using the original (First) and (Last) sub labels.
Now I get this: Presenter_name (Presenter_name)
Hi Doeke,
Thanks for your quick response. Of moet ik eerder bedankt zeggen? ??
Unfortunately this is not working as expected. Now I get a mix of labels. I mostly use a custom admin field label. This is now showing between the brackets (). Not the (First) or (Last) sub label.For example our first name field.
Field Label = Your name
Admin Field Label = Presenter_nameManual export from GF = Presenter_name (First) –> and this is what I need
Your plugin export = Your name (Presenter_name)Any ideas?
Hi Leon,
Okay, I think it works now. Changed a lot of settings and updated all plugins.
Thank you for the support!
Hi Rogier,
As stated in my original question, my browser is not set to delete cookies when closing. I even tried different browsers (Edge, Chrome, Firefox & IE).
Hi Aert,
Cookie is set to 365 days indeed. When I accept cookies, the ‘complianz_consent_status’ is made and will expire in 2022.
Closing my browser (doesn’t matter which one) and opening again doesn’t show this cookie again. So I still have to accept everytime.
The only cookie that is always there is ‘complianz_policy_id’.Real strange…
Hi,
Unfortunately this doesn’t work. Now it books all days before the check in date.
Could you check these changes? Thank you!Class-backend-reservation.php
ORIGINAL CODE
// Loop between timestamps, 24 hours at a time for ( $i = $check_in; $i <= $check_out; $i = $i + 86400 ) { $day = date( 'Y-m-d', $i ); $year = date( 'Y', $i ); $price_min = 1000000000; $price_max = 0;
NEW CODE
// Loop between timestamps, 24 hours at a time $check_in_start = strtotime( $reservation['check_in'].' 12:00 - 1 day'); for ( $i = $check_in_start; $i <= $check_out; $i = $i + 86400 ) { $day = date( 'Y-m-d', $i ); $year = date( 'Y', $i ); $price_min = 1000000000; $price_max = 0;
Class-backend-calendar-schedule.php
ORIGINAL CODE:
if ($settings_calendar->days_morning_check_out == 'true'){ $days = $wpdb->get_results($wpdb->prepare('SELECT * FROM '.$DOPBSP->tables->days.' WHERE calendar_id=%d AND day>="%s" AND day<"%s"', $reservation->calendar_id, $reservation->check_in, $reservation->check_out));
NEW CODE:
if ($settings_calendar->days_morning_check_out == 'true'){ $check_in_start = strtotime( $reservation->check_in.' 12:00 – 1 day'); $days = $wpdb->get_results($wpdb->prepare('SELECT * FROM '.$DOPBSP->tables->days.' WHERE calendar_id=%d AND day>="%s" AND day<="%s"', $reservation->calendar_id, $check_in_start, $reservation->check_out));
Hi,
Thank you for your quick response.
That worked great for the check out date but not for the check in date.
The 9th of November is fully booked but the 6th of November is still half booked and can be selected by an new guest.More tips on where this particular code can be found?
Kind regards,
Joke WoutersHi,
Any tips for our developer on where in the cdoe we can tweak the plugin so this can be implemented for our website? We really need to calculate by night and keep the whole day booked.
Kind regards,
Joke WoutersForum: Plugins
In reply to: [The Events Calendar] Change time format to europeanHaha, that was stupid of me not checking the settings of WordPress. ??
Thanks for the quick response!