Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 09:57:22 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155401 Posts in 21698 Topics by 7730 Members
Latest Member: yo9dvmvg828uk
* Home Help Search Login Register
Pages: 1 ... 14 15 [16]   Go Down
Print
Author Topic: Bookings module - current version 2.22 (see page 13)  (Read 51011 times)
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #375 on: August 11, 2011, 01:38:06 PM »

Can you please try the version attached? Thank you.

Edit: Found another problem. Please replace the functions.php with the new one. (See second download below.)
« Last Edit: August 11, 2011, 02:37:55 PM by BlackBird » Logged

Alle großen Veränderungen beginnen im Kleinen
lausianne
WebsiteBaker Org e.V.

Offline Offline

Posts: 155


WWW
« Reply #376 on: August 11, 2011, 02:51:26 PM »

Hi,
thank you, that was quick!
Upgrade didn't work (maybe my mistake), so I uninstalled 2.29 and then installed 2.30.
Unfortunately, the result is the same as before, for Options and CSS.
Cheers,
Ralf.
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #377 on: August 11, 2011, 02:52:24 PM »

Please replace the functions.php (see my post on top of this page).
Logged

Alle großen Veränderungen beginnen im Kleinen
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #378 on: September 06, 2011, 12:48:12 PM »

I've just released Bookings v2.31.

* New: Visitors can select a span of days to view. (See screenshot)
* New: Some options can be set by config.inc.php
* Fix: Problem with leap seconds

I chose to place some options in a new file config.inc.php. These options are not configurable via backend. As Bookings is a very old module, it is hard to extend on the current code base. Maybe some day there will be a completely rewritten v3. cool

Options to set in config.inc.php (using AFE, for example):

// where to show the legend - top|bottom|both
$legend_on = 'top';

// where to show the navigation links - top|bottom|both
$nav_on    = 'both';

// max range of days for the new span feature
$max_range = 180;

// values for ranges drop down
$ranges    = array( 10, 30, 60, 90, 180 );

http://www.websitebakers.com/pages/modules/calendar-and-time/bookings.php
Logged

Alle großen Veränderungen beginnen im Kleinen
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #379 on: September 06, 2011, 12:50:44 PM »

I've also updated the droplet code for the Bookings module. Get it here:

http://www.webing.de/webbird/Websitebaker/BookingsDroplet

If you use the DropletsExtension module, the frontend.css will be loaded automatically. If not, you will have to load it manually (in your template, for example).
Logged

Alle großen Veränderungen beginnen im Kleinen
netash

Offline Offline

Posts: 14


« Reply #380 on: February 13, 2012, 09:48:00 AM »

Hallo.
How can I change the week days to be Sun - Saturday instead of Mon -Sunday?
Start day to be Sunday.
Thanks
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #381 on: February 13, 2012, 09:52:58 AM »

I'm sorry, this is not possible.
Logged

Alle großen Veränderungen beginnen im Kleinen
netash

Offline Offline

Posts: 14


« Reply #382 on: February 13, 2012, 01:22:35 PM »

One more question,

I have 3 rooms, 1 is booked the others not.
How can I make their status BOOKED PARTIALLY so guests can know they can book.

Thanks
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #383 on: February 13, 2012, 01:55:58 PM »

You will have to add one bookings section per room (or create separate pages), so the bookings state is for ONE room only. There's no way to manage more than one ressource with only one bookings section.
Logged

Alle großen Veränderungen beginnen im Kleinen
gast42

Offline Offline

Posts: 10


« Reply #384 on: February 26, 2012, 12:31:29 PM »

Hallo,
I've been using the bookings module without any problems for quite a long time. So first of all, thanks for the nice module!
Today I noticed, that I can't enter the options page in the backend (anymore) (maybe  for a while, maybe since the update to WB 2.8.3). If I click the "options" link in the backend on the site where the module is placed, the index page of the website (frontend) will be loaded.
Any ideas?
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7972



WWW
« Reply #385 on: February 26, 2012, 01:38:00 PM »

Hello,

has to do with WB 2.8.3. I'm pretty shure you have WB installed in a subfolder (like /wb). If this is the case replace the attached file in framework dir. This should fix it.

The fix package also includes a fix with magic_quotas_gpc=on wich is describe here:
http://www.websitebaker2.org/forum/index.php/topic,23479.0.html

Matthias



« Last Edit: February 26, 2012, 01:43:55 PM by ruebenwurzel » Logged
gast42

Offline Offline

Posts: 10


« Reply #386 on: February 26, 2012, 02:30:15 PM »

Hello ruebenwurzel,

Thank you for the prompt reply (and btw for your very helpful WebsiteBaker 2.8.3 UPGRADE Instructions).

Unfortunately the fix hasn't solved my problem with the bookings module (v2.29) yet. WB ist directly installed in "htdocs" (no further subfolder); PHP version is 5.2.10 (if relevant).
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #387 on: February 27, 2012, 01:39:06 PM »

I'm getting this error message with WB 2.8.3 and Bookings 2.31:

Warning: Cannot modify header information - headers already sent by (output started at D:\_daten\apache\htdocs\_projects\wb283\include\phplib\template.inc:668) in D:\_daten\apache\htdocs\_projects\wb283\admin\pages\modify.php on line 38
Logged

Alle großen Veränderungen beginnen im Kleinen
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #388 on: February 27, 2012, 01:45:39 PM »

Okay, here's the reason: WB always had problems if the page_id was not provided via GET. So, I always added ?page_id=xx to the action attr of the form, even on method="POST".

Example:

Code:
<form action="/_projects/wb283/admin/pages/modify.php?page_id=1" method="post" autocomplete="off">
<input type="hidden" alt="" title="" value="a94e7cde2b06d679" name="eda94e7cde2b06d6">
<input type="hidden" value="1" name="settings">
<input type="hidden" value="1" name="section_id">
<input type="submit" style="width: 100%;" value="Optionen">
</form>

Now it seems WB 2.8.3 has a "fix" for this. But as there is no additional hidden field for the page_id, the value is missing. This leads to the error message above.

There should be a fix in WB to give a nicely formatted error message instead of an empty page.

I will try to fix the issue in Bookings as soon as possible.
Logged

Alle großen Veränderungen beginnen im Kleinen
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #389 on: February 27, 2012, 02:34:47 PM »

Please try this upgrade.

Edit: Removed download. Please download at AMASP -> http://www.websitebakers.com/pages/modules/calendar-and-time/bookings.php
« Last Edit: February 28, 2012, 11:23:52 AM by BlackBird » Logged

Alle großen Veränderungen beginnen im Kleinen
gast42

Offline Offline

Posts: 10


« Reply #390 on: February 27, 2012, 11:34:30 PM »

Hello BlackBird,

the updated version has solved the problem. Thank you very much!

One further question: Is it possible to add a mail function for new entries/bookings?
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #391 on: February 28, 2012, 11:19:13 AM »

It's possible, but unfortunately, I don't have the time to do this at the moment.
Logged

Alle großen Veränderungen beginnen im Kleinen
gast42

Offline Offline

Posts: 10


« Reply #392 on: March 02, 2012, 06:55:54 PM »

No worries, was just a thought. - Unless there aren't any chances to bribe you with some bars of chocolate  wink
Logged
Sokhim Sim

Offline Offline

Posts: 67



« Reply #393 on: March 21, 2012, 05:48:09 AM »

Dear WB,

I like but i have small thing need to help me please. I can not modify as register page for booking module like add new.

Thanks
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #394 on: March 21, 2012, 10:10:02 AM »

Sorry, I don't understand you. huh
Logged

Alle großen Veränderungen beginnen im Kleinen
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #395 on: March 21, 2012, 10:20:26 AM »

I can not modify as register page for booking module like add new.

Hi, this is really not understandable. Please try to be a bit more precise in your help request. Depending on your native language, you might want to post in it, in other areas we have Dutch, French and Italian support.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Pages: 1 ... 14 15 [16]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!