Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 06:50:55 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 2 [3] 4 5 ... 16   Go Down
Print
Author Topic: Bookings module - current version 2.22 (see page 13)  (Read 46981 times)
WebBird
Guest
« Reply #50 on: September 01, 2008, 03:55:27 PM »

Thanks for your suggestions. I will wait a while for more suggestions before doing a new version. Wink
Logged
vyni

Offline Offline

Posts: 566


« Reply #51 on: September 01, 2008, 04:35:40 PM »

Suggestions?

Hi there,
if You don´t know how to really enrich Your module, just think about an hourly rental. Not only daily. There are a lot of things out there which could be rented timebased.
Tennis-place, squash-hall, badminton-hall, bowling-hall - just to name a few of them. Bicycle, Bungee-Jump or sailing-boat. Helicopter or personal-trainer.

And once You are on programming - add a history and a daily/weekly overview. Add more "user-fields" so You can trace which "user" rented which place how often?

Just imagine You own 3 Tennishalls with 2 Places in each and You are going to run business with them.

I think You shouldn´t wait for suggestions - just go on writing not to loose time.

I was testing this module but unfortunately on the server where I could make use of it, it doesn´t create a booking. Installing was ok, creating a booking failed without any comment. In the frontend I can see an untouched empty calendar. - In the backend nothing, an untouched empty screen. Instead of input-field for the date/time.

And I dont have a glue....

regards from Himberg, next to Vienna.

Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
WebBird
Guest
« Reply #52 on: September 01, 2008, 08:23:32 PM »

if You don´t know how to really enrich Your module, just think about an hourly rental. Not only daily.

This was added with version 1.10.

And once You are on programming - add a history and a daily/weekly overview. Add more "user-fields" so You can trace which "user" rented which place how often?

There already is a day view. It's linked automatically from year view when times are given. Please see page 2 of this thread.

I think You shouldn´t wait for suggestions - just go on writing not to loose time.

This module did all I wanted it to do with the first version, and I never planned to add new features. However, I like to hear suggestions, 'cause this makes the module more attractive to more WB users. That does not mean that I will ever add all features someout shouts for. Wink I collect and decide what I like (time feature) and what I don't like (online payment features, as I think this should be available module independent).

There is no time to loose for me, 'cause I am doing this as a hobby and not for money. Wink
Logged
Motteck

Offline Offline

Posts: 6


« Reply #53 on: September 07, 2008, 04:09:35 PM »

Hi WebBird,

thanks for this Modul. I tested it (I want to use it on www.cvjm-waldheim.de) and have a Problem; perhaps you can help me.

I installed the Modul on WB 2.7 (langage german, Table Prefix is used for this installation), PHP 4.4.9, MySQL 5 (hoster: goneo.de). Installing the module was successfull, creating a "bookings-page" also; this page is also shown in the frontend. I also can edit Preferences (Optionen) of this "bookings-page".

But creating a booking with the button "Add" (Hinzufügen) failed without any comment. The backend just shows "Erfolgreich" for a short moment an than a blank site.

I tested it with FireFox and IE Browser, always the same problem.

Do you have an idea what can be the Problem and how I can fix it?

Thanks and greetings

Martin
Logged
mr-fan

Offline Offline

Posts: 1538


WWW
« Reply #54 on: September 07, 2008, 07:35:34 PM »

I've got the same problem tested with WB 2.7(RC1) Bookings 1.10 and 1.11
blanc screen in the backend and no entry in the frontend....?

 huh

(ps.:sry for my english)
Logged

 
WebBird
Guest
« Reply #55 on: September 08, 2008, 08:51:10 AM »

Can you tell me if there was an entry added to the database? (See table mod_bookings_dates)
Logged
Motteck

Offline Offline

Posts: 6


« Reply #56 on: September 08, 2008, 10:39:09 AM »

I would say Yes: see hardcopy
Logged
WebBird
Guest
« Reply #57 on: September 08, 2008, 01:19:51 PM »

You tried more than once, did you?  grin

So, there seems to be an error with the edit page. I'll see if I can reproduce it.

Edit: Well, this (again) is a problem caused by mySQL 5.x. Can you please try the add_bookings.php attached and tell me if it works?
« Last Edit: September 08, 2008, 01:39:09 PM by WebBird » Logged
mr-fan

Offline Offline

Posts: 1538


WWW
« Reply #58 on: September 08, 2008, 01:45:25 PM »

sry for stupid question....

where install -paste or copy the file? add_bookings.php

mr-fan rolleyes
Logged

 
WebBird
Guest
« Reply #59 on: September 08, 2008, 01:50:01 PM »

I just uploaded all changes as new version 1.12.

http://www.webing.de/webbird/cgi-bin/dtrack/dtrack.cgi?rc=real&file=Bookings%20Module%20for%20websitebaker%202.70
Logged
WebBird
Guest
« Reply #60 on: September 08, 2008, 02:02:19 PM »

- using the "date picker" like the one used in the NEWS-module

There are some problems I see with this. If the admin has JavaScript deactivated, he can't use the date picker, but has to insert a valid date into the field by hand. There will have to be expensive control functions in the backend to make sure that the format is really valid.  sad I really don't like to rely on this.
Logged
mr-fan

Offline Offline

Posts: 1538


WWW
« Reply #61 on: September 08, 2008, 02:29:19 PM »

hi,

i've download the linked file and installed, same problem!

here the testpage http://www.mragrar.de/pages/kalendertest/buchen-nach-mass.php

and don't know if it is important, but all month's after the month august...are Huh?

greet's
Logged

 
WebBird
Guest
« Reply #62 on: September 08, 2008, 02:33:55 PM »

I think you added an event in September, and as there's an error somewhere, the module breaks. I don't know what to do without admin access to WB and FTP access to the server. Sad

Edit: Woops... I forgot to change the permalink to the new version. Please download again and make sure that you have the brand new version 1.13!

YES, it's v1.13 now!

New/changed:

* Added Calendar JavaScript Popup to choose date (_not_ time!)
* You can choose to show the name in each single entry (!)
* Tooltip (mouseover) appears in month view if
** day booked partly (time given) or
** day booked (no time given) and name to show
« Last Edit: September 08, 2008, 05:00:40 PM by WebBird » Logged
macsmet

Offline Offline

Posts: 230


« Reply #63 on: September 08, 2008, 05:21:50 PM »

@ Webbird: this one is getting better and better. Keep up the good work!!!

Edit: I think I found a bug!
I just filled in a week (08-09-2008 from 10 AM / 15-09-2008 10 AM) and in dayview it shows the whole first- and last day as occupied. This should be only occupied  from 10.00 AM !
In dayview the name is still show although it is set to NOT show!
I am right?

Cheers,

MacSmet

« Last Edit: September 08, 2008, 05:35:37 PM by macsmet » Logged
ronald32

Offline Offline

Posts: 25



WWW
« Reply #64 on: September 08, 2008, 05:52:00 PM »

Great! it works

another issue:
when I make a booking for example from 27th December (arriving at 15.00)  til 6th January (departing 10.00) the following dates shown as partly available: 31th December and 1ste January. But those two day are of course not available...

Question:
When I want to change the colours of the  "not avalible" dates  (red and the font white) which file need to be edited?

Ronald

www.duinenzee.nl
http://www.duinenzee.nl/web/pages/test-boekingskalender.php?year=2008





Logged
Motteck

Offline Offline

Posts: 6


« Reply #65 on: September 08, 2008, 06:27:28 PM »

Hi,

I reinstalled the old version and installed the new Version, but it does not work ...  cry

The same Problem as before
Logged
WebBird
Guest
« Reply #66 on: September 09, 2008, 08:50:51 AM »

I will have a look at the failures later.

When I want to change the colours of the  "not avalible" dates  (red and the font white) which file need to be edited?

The frontend.css file.

Code:
.bookings_booked {
    background   : #ff0;
}

For red background and white font change this to:

Code:
.bookings_booked {
    background   : #f00;
    color: #fff;
}
Logged
WebBird
Guest
« Reply #67 on: September 09, 2008, 03:37:31 PM »

I just filled in a week (08-09-2008 from 10 AM / 15-09-2008 10 AM) and in dayview it shows the whole first- and last day as occupied. This should be only occupied  from 10.00 AM !

Fixed.

In dayview the name is still show although it is set to NOT show!

Fixed.

when I make a booking for example from 27th December (arriving at 15.00)  til 6th January (departing 10.00) the following dates shown as partly available: 31th December and 1ste January. But those two day are of course not available...

Fixed.

Version 1.14 now includes some major code rewrite to (hopefully) fix this issues.

I reinstalled the old version and installed the new Version, but it does not work ...  cry

I really don't know how to help without direct access to the server.  huh  I am using PHP 5.x, maybe it's around there. Does anyone else use PHP 4.x having problems with the Bookings module?

Edit: A friend with goneo account tested this for me now, without any problems.  rolleyes
« Last Edit: September 09, 2008, 04:00:17 PM by WebBird » Logged
mr-fan

Offline Offline

Posts: 1538


WWW
« Reply #68 on: September 09, 2008, 06:16:20 PM »

that might be the problem i use php 4.x .... can i change to 5.x with wb 2.7 without problems?

i think wb is working better with php 4?

©martin
Logged

 
Motteck

Offline Offline

Posts: 6


« Reply #69 on: September 09, 2008, 10:53:18 PM »

Hi WebBird,

I tested 1.14 and have the same Problem ...  cry

Quote
Edit: A friend with goneo account tested this for me now, without any problems.  rolleyes
At goneo you can choose between PHP 4 an PHP 5. I did choose PHP 4 because a friend (who knows more about it than me) told me so. When bookings just works with PHP 5 I have to check if the rest of my Page works proper with PHP 5.

But I say thanks for your help !!!!
Logged
WebBird
Guest
« Reply #70 on: September 10, 2008, 08:54:56 AM »

Maybe I used a method that's only available with PHP5. I'll see if I can work this out.

Edit: I just asked my friend, he has PHP5 at goneo. Seems to work fine with WB 2.7.

Edit2: I just found that date_parse() is only available with PHP >= 5.1.3. I'll see how to fix this.
« Last Edit: September 10, 2008, 09:00:29 AM by WebBird » Logged
WebBird
Guest
« Reply #71 on: September 10, 2008, 09:43:58 AM »

Can you please try the attached functions.php? (Unpack to your modules/bookings folder.)
Logged
vyni

Offline Offline

Posts: 566


« Reply #72 on: September 10, 2008, 12:19:41 PM »

Hi WebBird,

the add-event page stay´s empty. Same difficulty.

regards Vyni
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
maverik

Offline Offline

Posts: 1541



WWW
« Reply #73 on: September 10, 2008, 01:59:45 PM »

hi

Quote
I just found that date_parse() is only available with PHP >= 5.1.3. I'll see how to fix this.

i think remember: "go php5"

it works fine here, php 5.2.6, mysql 5.0.67, apache 2.2.9 on suse linux 10.2

only between two events are 30 minutes lost, end maybe 14.00 and next begin can only be
14.30

day begin can only 1 and end 23, in day view you see 01.00 > 23.30, lost 1,5 hour


sorry but english is not my language, but i hope you understand what i mean



greets

maverik
« Last Edit: September 10, 2008, 06:59:23 PM by maverik » Logged

Signatur wird geladen...
WebBird
Guest
« Reply #74 on: September 10, 2008, 02:44:31 PM »

only between two events are 30 minutes lost, end maybe 14.00 and next begin can only be
14.30

Yes, it's documented as "known bug" for later improvement. Wink

day begin can only 1 and end 23, in day view you see 01.00 > 23.30, lost 1,5 hour

Hm, 0:30 und 23:30 should be possible. I will have a look at this.

Edit:
0:00 to 23:30 - works
0:30 to 23:00 - works
0:30 to 23:30 - works

To have the whole day booked, leave the times at 0:00!

Maybe a misunderstanding?
« Last Edit: September 10, 2008, 03:01:37 PM by WebBird » Logged
Pages: 1 2 [3] 4 5 ... 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!