Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 13, 2012, 12:17:21 AM
1 Hour
1 Day
1 Week
1 Month
Forever
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
.
149699
Posts in
21103
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Bookings module - current version 2.22 (see page 13)
Pages:
1
...
5
6
[
7
]
8
9
...
16
Go Down
Author
Topic: Bookings module - current version 2.22 (see page 13) (Read 47061 times)
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #150 on:
November 13, 2008, 05:51:44 PM »
Quote from: wwwMARKLEYcouk on November 13, 2008, 02:25:56 PM
ok i have that working now but the calendar in my sidebar doesnt highlight correctly.. the event appears as full text
Please include the
frontend.css
. You may do so by adding this code:
Code:
if((!function_exists('register_frontend_modfiles') || !defined('MOD_FRONTEND_CSS_REGISTERED')) &&
file_exists(WB_PATH .'/modules/bookings_v2/frontend.css')) {
echo '<style type="text/css">';
include(WB_PATH .'/modules/bookings_v2/frontend.css');
echo "\n</style>\n";
}
Quote from: wwwMARKLEYcouk on November 13, 2008, 02:25:56 PM
also in the week view the highlight time slots show up as "array" on the tooltip
I'll fix this in the next version.
Edit:
Beta 9 (see attachment) fixes this, but as I made lots of code changes, there may be (lots of) other errors now. You will have to uninstall and reinstall the module if you use any previous beta versions, as upgrading is not implemented for betas.
I found out how to add the [Edit CSS] button, so you'll find it on the [Options] page now.
Edit 2:
Woops, I skipped Beta 8.
Edit:
Removed Beta 9 as there's a new one.
«
Last Edit: November 14, 2008, 01:46:33 PM by WebBird
»
Logged
wwwMARKLEYcouk
Offline
Posts: 288
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #151 on:
November 14, 2008, 11:25:08 AM »
ok ive installed the v2.9b
still not sure where to add that code though for the frontend.css thing
looks great code though
but as you say, a couple things went upside down.. the calendar is a list now not neatly sorted into columns. possibly a request there to allow how many columns to show the calendar in?
Logged
http://www.markley.co.uk
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #152 on:
November 14, 2008, 12:02:20 PM »
Quote from: wwwMARKLEYcouk on November 14, 2008, 11:25:08 AM
possibly a request there to allow how many columns to show the calendar in?
You can set this under [Options]. (It's the first option.)
The layout problem you have may results of your CSS. I made a change there to fix problems occuring with "floating" layouts. I am now using
display: inline-table;
instead of
float: left;
in frontend.css. You may reset it to float if that works better for you.
Logged
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #153 on:
November 14, 2008, 12:09:19 PM »
Quote from: wwwMARKLEYcouk on November 14, 2008, 11:25:08 AM
ok ive installed the v2.9b
still not sure where to add that code though for the frontend.css thing
Variant 1: Add this to your template (index.php) at the position where the month sheet shall occur.
Code:
<?php
if((!
function_exists
(
'register_frontend_modfiles'
) || !
defined
(
'MOD_FRONTEND_CSS_REGISTERED'
)) &&
file_exists
(
WB_PATH
.
'/modules/bookings_v2/frontend.css'
)) {
echo
'<style type="text/css">'
;
include(
WB_PATH
.
'/modules/bookings_v2/frontend.css'
);
echo
"\n</style>\n"
;
}
include_once(
WB_PATH
.
'/modules/bookings_v2/functions.php'
);
$year
=
date
(
"Y"
);
$month
=
date
(
"m"
);
global
$page_id
;
$page_id
=
3
;
echo
"<div id=\"mod_bookings\">\n"
,
Bookings_Month_Sheet
(
$year
,
$month
,
10
,
true
),
"</div>\n"
;
}
?>
Variant 2: Add this to the <head> section of the index.php. (Where the other CSS files are included.)
Code:
<link href="
<?php
echo
WB_URL
;
?>
/modules/bookings_v2/frontend.css" rel="stylesheet" type="text/css" media="screen" />
Leave this part at the position of the calendar sheet:
Code:
<?php
include_once(
WB_PATH
.
'/modules/bookings_v2/functions.php'
);
$year
=
date
(
"Y"
);
$month
=
date
(
"m"
);
global
$page_id
;
$page_id
=
3
;
echo
"<div id=\"mod_bookings\">\n"
,
Bookings_Month_Sheet
(
$year
,
$month
,
10
,
true
),
"</div>\n"
;
}
?>
Hope this helps.
Logged
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #154 on:
November 14, 2008, 01:45:21 PM »
Here's Beta 10.
I made some corrections; I think there's going to be a release candidate next week.
New:
* You can now set a "default view" (current year / month / quarter / week / day)
* In list view for day, there will be a "no bookings" text if ... well, there are no bookings
* Current day will be highlighted in year or month view
* Default date format for day view is now set in language modules
Edit:
Removed attachment. See next page for current Beta.
«
Last Edit: November 27, 2008, 01:15:39 PM by WebBird
»
Logged
wwwMARKLEYcouk
Offline
Posts: 288
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #155 on:
November 14, 2008, 02:42:56 PM »
excellent thats worked a treat
although the yearly sheet is still listing and not sorting into a 3*4 column
also the bottom save in the admin-->page settings section for the permissions has been disabled
excellent module though webBird and very diverse for its application
keep up the great work
Logged
http://www.markley.co.uk
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #156 on:
November 14, 2008, 04:24:38 PM »
Quote from: wwwMARKLEYcouk on November 14, 2008, 02:42:56 PM
excellent thats worked a treat
although the yearly sheet is still listing and not sorting into a 3*4 column
Did you try the display-change in the CSS file?
Quote from: wwwMARKLEYcouk on November 14, 2008, 02:42:56 PM
also the bottom save in the admin-->page settings section for the permissions has been disabled
I added the buttons to the top, this surely causes the problem. I'll fix this.
Quote from: wwwMARKLEYcouk on November 14, 2008, 02:42:56 PM
excellent module though webBird and very diverse for its application
keep up the great work
Thank you!
Logged
wwwMARKLEYcouk
Offline
Posts: 288
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #157 on:
November 15, 2008, 03:46:59 PM »
Quote from: WebBird on November 14, 2008, 04:24:38 PM
Quote from: wwwMARKLEYcouk on November 14, 2008, 02:42:56 PM
excellent thats worked a treat
although the yearly sheet is still listing and not sorting into a 3*4 column
Did you try the display-change in the CSS file?
Code:
#mod_bookings .bookings_sheet { border : 1px solid #ccc;
float : left;
display: inline-table; margin-right : 5px; margin-bottom : 5px;}
this worked
thanks
Logged
http://www.markley.co.uk
macsmet
Offline
Posts: 230
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #158 on:
November 19, 2008, 11:48:53 AM »
Hi webbird,
I am keeping my eye on your module and so far I'm very impressed.
I also noticed you can now choose a different output but that is only in the backend and not in the frontend?
Is it also possible to show the add form without logging into the database?
And does the owner get's notified by e-mail when a user 'makes' a booking?
Or is that not possible?
Keep up the good work!!!!!!
Greetings,
MacSmet
Logged
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #159 on:
November 19, 2008, 12:14:47 PM »
Quote from: macsmet on November 19, 2008, 11:48:53 AM
I also noticed you can now choose a different output but that is only in the backend and not in the frontend?
Uhm, I'm not sure what you mean.
Quote from: macsmet on November 19, 2008, 11:48:53 AM
Is it also possible to show the add form without logging into the database?
At the moment, it is meant to have registered (=backend) users to make bookings. It is not possible to let guests make bookings. (BEWARE OF SPAM!!! I would NEVER let guests do ANYTHING with bookings! Well, other of look at them.
)
Quote from: macsmet on November 19, 2008, 11:48:53 AM
And does the owner get's notified by e-mail when a user 'makes' a booking?
No.
Quote from: macsmet on November 19, 2008, 11:48:53 AM
Or is that not possible?
It is not planned for this version.
Logged
macsmet
Offline
Posts: 230
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #160 on:
November 19, 2008, 12:42:58 PM »
Hi WebBird,
You're absolutely right about SPAM. I forgot all about it.
What I meant is that in the backend you choose dayview, weekview or yearview but you cannot change that in the frontend (on the website). So as a visitor you cannot go from dayview to yearview!
I vote for booking notification by e-mail
Greetings,
MacSmet
Logged
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #161 on:
November 19, 2008, 12:49:34 PM »
Quote from: macsmet on November 19, 2008, 12:42:58 PM
What I meant is that in the backend you choose dayview, weekview or yearview but you cannot change that in the frontend (on the website). So as a visitor you cannot go from dayview to yearview!
Of course you can. Try the "back" link at the bottom of the day view.
Ah... well, there's a bug.
Edit: This is fixed with Beta 11.
«
Last Edit: November 27, 2008, 01:14:19 PM by WebBird
»
Logged
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #162 on:
November 19, 2008, 05:47:54 PM »
Quote from: macsmet on November 19, 2008, 12:42:58 PM
I vote for booking notification by e-mail
Is it enough to configure an email address in the options dialog?
Logged
macsmet
Offline
Posts: 230
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #163 on:
November 19, 2008, 05:56:19 PM »
Hi WebBird,
I think that would be enough!
I was thinking as in the guestbook module: get an e-mail on a new message or not.
greetings,
MacSmet
Logged
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #164 on:
November 21, 2008, 01:50:25 PM »
When would you like to receive emails? On new bookings only?
Logged
macsmet
Offline
Posts: 230
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #165 on:
November 21, 2008, 07:07:26 PM »
Hi WebBird,
Yes my first thought was on a new booking only. But maybe also when someone changes his booking?
Have you got some other ideas about it then?
Greetings!
Logged
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #166 on:
November 24, 2008, 10:39:19 AM »
There may be mails on all actions (add/modify/delete), but I'm afraid this could lead into a mass of mails.
Logged
macsmet
Offline
Posts: 230
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #167 on:
November 24, 2008, 10:47:04 AM »
Yes that's true but it will be a handy feature I think.
And you could also use a special e-mailaddress for it.
Ans I think if you make it an option in the backend everyone who uses the module can choose f the y want to use it or not..
Greetings!
Logged
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #168 on:
November 24, 2008, 11:22:08 AM »
Well, that's the question. The easy way is to only let the admin enter an email address and send mails on each action. The more complicated way is to let the admin choose on which actions he wants to receive mails. I'd prefer the easy way.
Logged
macsmet
Offline
Posts: 230
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #169 on:
November 24, 2008, 11:44:29 AM »
Hi Webbird,
Choose the easy way?
Greetings!
Logged
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #170 on:
November 24, 2008, 01:52:58 PM »
Okay, if you tell me so
Logged
wwwMARKLEYcouk
Offline
Posts: 288
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #171 on:
November 25, 2008, 12:16:23 PM »
how is the development of v2 coming on?
Logged
http://www.markley.co.uk
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #172 on:
November 25, 2008, 01:22:14 PM »
Well, as I put some more requests in this version, it used some more time than I thought. The last feature to add is the mail notice. From this point it's testing only.
So please test it and report what you find out.
As a developer, sometimes things get out of sight, so you miss the mistakes you made.
Logged
wwwMARKLEYcouk
Offline
Posts: 288
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #173 on:
November 26, 2008, 01:59:37 PM »
Quote from: WebBird on November 25, 2008, 01:22:14 PM
Well, as I put some more requests in this version, it used some more time than I thought. The last feature to add is the mail notice. From this point it's testing only.
So please test it and report what you find out.
As a developer, sometimes things get out of sight, so you miss the mistakes you made.
yes i know that for sure with developing databases..
i have a feature i would perhaps like to see.
at present you only have the either 'occupied' and 'partial occupied' which actually needs changed in the css file. perhaps allow for numerous states with different colour coding to be added/modified for example, i operate a coach firm and bookings for me take place in the form of: INITIAL, DEPOSIT PAID, CONFIRMED and COMPLETED
just a thought
im sure as a general use that feature would be good?
Logged
http://www.markley.co.uk
WebBird
Guest
Re: Bookings module - current version 1.20 - see page 7 for details
«
Reply #174 on:
November 26, 2008, 02:49:04 PM »
Well, the "occupied" and "partially occupied" states are determined automatically by analyzing the date and time settings. The states you are suggesting would have to be set by the admin. Additionally, the "(partially) occupied" state is still significant in combination with any other state manually set. So you would have to define colors for each combination. ("confirmed, partially" and "confirmed, full day", for example)
I should say that the bookings module was never meant to be a management tool for bookings. It's primary goal is to allow you to show the availability of resources to your visitors. So, currently I am not planning to implement payment or customer relationship features.
But you could write the "custom state" into the name field or use the group feature. I can add the possibility to use the group name as a css class.
Logged
Pages:
1
...
5
6
[
7
]
8
9
...
16
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...