Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 06:59:42 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 ... 8 9 [10] 11 12 ... 16   Go Down
Print
Author Topic: Bookings module - current version 2.22 (see page 13)  (Read 46985 times)
WebBird
Guest
« Reply #225 on: March 12, 2009, 01:14:54 PM »

I just release V2.13. grin

Changelog:

* New: You may decide to not show past bookings (requested by "abidan")
* New (and Fix): Show "Breadcrumb" instead of "back link" (see below)
* Fix: Error message when setting "default view" to "current month"

Instead of showing a "back link", I decided to create a "breadcrumb". So, if you are in "day view", there will be links to current year, month, and week of year on top of the calendar. In "week view", year and month are linked, and so on.

If you'd like to have another delimeter, open view.php and set $delim to whatever you want.

I hope you enjoy this change. grin

@abi: Remember to edit functions.php to have all the days linked on month sheet. wink

Edit: Removed download link. New version available.
« Last Edit: April 22, 2009, 10:36:51 AM by WebBird » Logged
abidan

Offline Offline

Posts: 102


« Reply #226 on: March 12, 2009, 03:07:18 PM »

YOUR A STAR!!!  grin

yep and best not save over my styles this time too Smiley

I think I  have found another small bug though - you know the setting "Start sheet with hour (0 <= x <= 12):" well if i set it to 10 it doesnt work it still shows 8am? I have had to hard code it in the php???

Thanks (abi - chief tester )  grin

Logged
WebBird
Guest
« Reply #227 on: March 12, 2009, 03:13:13 PM »

Well, that's "by design". grin

Anyway, you can change the default min and max hour by editing the functions.php (line 12 up):

Code:
$DEFAULTS = array(
    'startminhour' => 8,
    'endminhour'   => 12,
    'show_until'   => true
);
Logged
abidan

Offline Offline

Posts: 102


« Reply #228 on: March 12, 2009, 03:15:31 PM »

Yeah thats what i did Smiley

Hmmmmmmmmm
 this new download, its not the same?

I installed it and its called bookings one? Not the same in the back end?
I have been using bookings v2?

Logged
abidan

Offline Offline

Posts: 102


« Reply #229 on: March 12, 2009, 03:21:46 PM »

Dope got it, i used your signature not the link Smiley sorry Smiley
Logged
WebBird
Guest
« Reply #230 on: March 12, 2009, 04:21:41 PM »

New: This is "Chocware". If you like this module, feel free to send me a donation in the form of Lindt-Chocolate. grin

http://www.lindt.de/epages/Lindt.sf/de_DE/?ObjectPath=/Shops/Lindt/Categories/ChocolateBars&PageSize=40
« Last Edit: March 13, 2009, 09:54:31 AM by WebBird » Logged
WebBird
Guest
« Reply #231 on: March 12, 2009, 04:51:37 PM »

Dope got it, i used your signature not the link Smiley sorry Smiley

Unfortunately, the space provided for the sig is too small to have both versions linked there. So I decided to link the older version in the sig and the newer in the messages.
Logged
abidan

Offline Offline

Posts: 102


« Reply #232 on: March 12, 2009, 05:04:09 PM »

A fello chocoholic! Smiley Me too!! I will see what i can do for you Smiley grin
Logged
WebBird
Guest
« Reply #233 on: March 13, 2009, 09:58:01 AM »

When I was in school, I had an english pen friend who always sent me "Maltesers" as a birthday gift. (I sent her wine gum in return.) That time, you couldn't buy them in Germany, but now you can. grin Just a little anecdote. wink
Logged
Bramus
Forum Team
*****
Offline Offline

Posts: 600


WWW
« Reply #234 on: March 13, 2009, 11:12:29 AM »

I am working on a module that will be something like "More Advanced Bookings Pro Gold Platinum best ever Edition", but I don't want to tell more at the moment. grin

I am not going to ever add a feature like "locked days" or "locked hours" to "Bookings".

Could you also make it possible to use it for mutliple meetingrooms by giving colours or something? I'm excited too see what it is gonna be, i'm looking for a nice booking module for multiple meeting rooms for a customer.

Would be nice if it is possible by colors or by just choosing a meeting room by name, and i hope you can set the view to like 1 hour and then even can book for like 30mins.
Logged

BRAMUS Internet Services
WebBird
Guest
« Reply #235 on: March 13, 2009, 11:52:05 AM »

Well, this is what my new module is for. grin

But you may want to try out the "groups" feature of Bookings.
Logged
abidan

Offline Offline

Posts: 102


« Reply #236 on: March 14, 2009, 12:53:07 PM »

New: This is "Chocware". If you like this module, feel free to send me a donation in the form of Lindt-Chocolate. grin

http://www.lindt.de/epages/Lindt.sf/de_DE/?ObjectPath=/Shops/Lindt/Categories/ChocolateBars&PageSize=40

Hey, how can i send you a choccie bar for the help with the booking mod? Can you send address in personal email Huh
Logged
WebBird
Guest
« Reply #237 on: March 16, 2009, 10:09:40 AM »

Hi Abi,

just have a look at my homepage http://www.webbird.de grin
Logged
abidan

Offline Offline

Posts: 102


« Reply #238 on: March 22, 2009, 06:37:26 PM »

Hiya web bird i think i have found another small bug  sad

In admin, if you go to use the delete option to delete a booking it deletes the booking and then takes you to a new page for example :
....../modules/bookings_v2/delete_bookings.php?delete=1&page_id=9&section_id=106&bookings_id=5
this page then shows the remaining bookings and also gives an option to add a new booking if i click add on this page i get  the Not Found error message and aslo the back link does not work?

Can you understand what i mean?

Thanks

Logged
WebBird
Guest
« Reply #239 on: March 23, 2009, 09:13:15 AM »

I'll have a look at this later.
Logged
WebBird
Guest
« Reply #240 on: March 24, 2009, 03:00:27 PM »

Hopefully I corrected this now. grin

Changes:

* Removed delete_bookings.php (integrated this in modify.php)
* Fix: Different errors after deleting booking

Edit: Removed attachment. (New version available.)
« Last Edit: May 06, 2009, 11:52:01 AM by WebBird » Logged
abidan

Offline Offline

Posts: 102


« Reply #241 on: March 24, 2009, 04:11:30 PM »

Cooll thanks mate  grin
Logged
WebBird
Guest
« Reply #242 on: March 25, 2009, 05:29:56 PM »

You may include the current month by using this droplet code:

Code:
if ( empty( $section ) ) return;
global $page_id;
$_year = empty($year) ? date('Y') : $year;
$_month = empty($month) ? date('m') : $month;
$page_id = empty($page) ? PAGE_ID : $page;
global $MOD_BOOKINGS;
$return = array();
if(!file_exists(WB_PATH .'/modules/bookings_v2/languages/' .LANGUAGE .'.php')) {
    require_once(WB_PATH .'/modules/bookings_v2/languages/EN.php');
} else {
    require_once(WB_PATH .'/modules/bookings_v2/languages/' .LANGUAGE .'.php');
}
if ( file_exists(WB_PATH .'/modules/bookings_v2/frontend.css') ) {
    $return[] = '<style type="text/css">';
    ob_start();
    include(WB_PATH .'/modules/bookings_v2/frontend.css');
    $return[] = ob_get_contents();
    ob_end_clean();
    $return[] = "</style>";
}
include_once(WB_PATH.'/modules/bookings_v2/functions.php');
$return[] = '<div id="mod_bookings">';
$return[] = Bookings_Month_Sheet( $_year, $_month, $section, true );
$return[] = '</div>';
return implode('', $return);

Store this droplet as "Bookings" und use like this:

Code:
[[Bookings?page=NUMBER&section=NUMBER&month=NUMBER&year=YEAR]]

You must enter a valid page and section number. You may enter a month and/or a year; the default is to use current month and year.

Let me know if it works. grin
« Last Edit: March 25, 2009, 05:59:47 PM by WebBird » Logged
maverik

Offline Offline

Posts: 1541



WWW
« Reply #243 on: March 25, 2009, 05:43:20 PM »

Quote
Let me know if it works

here it works wonderfull http://www.websitebaker.net/pages/labor/bookings/bookings-droplet.php

very nice

greets maverik
Logged

Signatur wird geladen...
WebBird
Guest
« Reply #244 on: March 25, 2009, 06:00:27 PM »

I updated the droplet code, be sure that you have the new one!
Logged
abidan

Offline Offline

Posts: 102


« Reply #245 on: April 04, 2009, 07:36:11 AM »

Hmmmmmmmmmm how easy would it be to write a small function to always block out certain days or hours in a diary. Say for example 1-2pm every weekday is booked that would not have to be manually entered in the diary. Have you got any tips for doing this? I dont mind if it isnt added to the admin options just tweak the backend code would do the job Smiley
Ta muchly
Logged
WebBird
Guest
« Reply #246 on: April 06, 2009, 08:08:24 AM »

Sorry, there is no easy way doing this, especially if you'd like to have different colors for this kind of "event". This is the reason why I decided to never add this feature to "Bookings". Wink
Logged
WebBird
Guest
« Reply #247 on: April 22, 2009, 10:36:09 AM »

Version 2.15 fixes some security issues reported by "doc".

Note: These issues only occured with backend permissions. (But also if providing permissions to user groups using the Bookings permissions system.) You should never grant any permissions to users you don't know. (Or do you leave your front door open when leaving your home?)

Download: http://www.webing.de/webbird/cgi-bin/dtrack/dtrack.cgi?rc=real&file=bookings_v2.16.zip
« Last Edit: May 06, 2009, 11:52:33 AM by WebBird » Logged
Ronja

Offline Offline

Posts: 66



« Reply #248 on: April 29, 2009, 08:35:36 AM »

Hi,

sorry für den deutschen Post im Englisch-Forum, aber meine Sprachkenntnisse reichen für die folgende Frage nicht aus:
Wie kann ich verhindern, dass der Kalender unendlich in die Vergangenheit und in die Zukunft angezeigt werden kann? Google indiziert nämlich die Kalenderseiten bis irgendwann 2060 oder so und das ist natürlich unsinnig.

Danke
Ronja
Logged

I love WB!
WebBird
Guest
« Reply #249 on: April 29, 2009, 09:52:43 AM »

Wie kann ich verhindern, dass der Kalender unendlich in die Vergangenheit und in die Zukunft angezeigt werden kann? Google indiziert nämlich die Kalenderseiten bis irgendwann 2060 oder so und das ist natürlich unsinnig.

Tse, und das, wo doch 2012 die Welt untergeht... wink

Das ist bisher nicht vorgesehen, ich implementiere es aber in die nächste Version. Okay?
Logged
Pages: 1 ... 8 9 [10] 11 12 ... 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!