Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Chuchy

    (@chuchy)

    I’ve tried to run the plugin in my local WAMP server, and it works fine. But my public hosting provider’s server it doesn’t. It’s php.ini is not very strict (or safe), all the main functions are allowed. I’ve used php version 5.2.17, then I’ve changed it to 5.6.8. Now I’m able to create presets, but if I refresh the page, the preset is gone. I’ve also not able to see ingestions, if I choose a file to ingest, nothing happens (even if I choose the sample files). And an other strange thing is that if I hover over the questionmarks in the plugin (tips), it shows “undefined” instead of tips.
    Do you know what php or server settings needs to be changed to make the plugin work?

    Thread Starter Chuchy

    (@chuchy)

    One more thing, if you want to close the reservation on a specific day, when the number of people reached the maximum, that won’t work. As you can read above:

    Yes, you can accept overlapped reservations on the same days, that’s a configuration option located below the calendar on the admin-settings area, however note that in that case the availability verification won’t be automatic, so you will have to manually disable the unavailable dates from the admin area when needed.

    Thread Starter Chuchy

    (@chuchy)

    You actually don’t need to code to achieve that. On the Booking Calendar Contact Form -> Settings page go almost to the bottom of the page, and find the “Optional Services/Items Field” section.
    My settings are the following:
    Field Label: Number of people”
    If enabled, use the services/items field as: Additional items field per day. The item price will be added for each day to the above prices.”
    Options (drop-down select, one item per line with format: price | title):
    00.00 | 1
    50.00 | 2
    100.00 | 3
    150.00 | 4
    200.00 | 5
    250.00 | 6
    300.00 | 7
    350.00 | 8
    400.00 | 9
    450.00 | 10
    This is for ten people, 50$/each added to the price, and since this will be a select field in the form, you can also limit the number of people.

    I hope this helps!

    Thread Starter Chuchy

    (@chuchy)

    That was a good idea! It returns an array:

    $_GET:Array
    (
        [page_id] => 8/?link=function
    )

    I modified my code like this, it’s working now:

    <?php
      $childof= 4;
      if(isset($_GET[page_id])){
        $link=$_GET[page_id];
        if ($link == '8/?link=function'){
             $childof= 9;
        }
        elseif ($link == '8/?link=time'){
            $childof= 4;
        }
    }
    ?>

    Thank you!

    Thread Starter Chuchy

    (@chuchy)

    Works like a charm! Thank you!

    Thread Starter Chuchy

    (@chuchy)

    Thank you for the answer! Yes, I’m using the pro version, (sorry for the wrong thread) and meanwhile I’ve succeeded to figured out, how to solve the problem of “the number of people”. I’ts a great plugin, thank you for your help!

Viewing 6 replies - 1 through 6 (of 6 total)