Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 09:57:46 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 ... 12 13 [14] 15 16   Go Down
Print
Author Topic: Bookings module - current version 2.22 (see page 13)  (Read 51011 times)
grimweb

Offline Offline

Posts: 26


« Reply #325 on: March 25, 2010, 01:32:33 PM »

Thanks, guess my google spread still works best in that case.
Logged
newfy

Offline Offline

Posts: 69



WWW
« Reply #326 on: April 13, 2010, 10:02:34 PM »

Hey guys,
I've installed bookings_V2.22 and it works great in IE8 and all other browsers but in IE7 (and6) the months all apear underneath eachother instead 4 across and 3 down. Any suggestions?
Logged

Greetz,
Newfy
Melonhead

Offline Offline

Posts: 10


« Reply #327 on: April 14, 2010, 03:52:09 AM »

hi,

where can i get a translation in spanish for this bookings?
or if not available one in an other language - which i can translate bymyself?

thankx
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #328 on: April 14, 2010, 09:30:22 AM »

Hey guys,
I've installed bookings_V2.22 and it works great in IE8 and all other browsers but in IE7 (and6) the months all apear underneath eachother instead 4 across and 3 down. Any suggestions?

Look back a few pages (or on the opening post of this thread). This is a very common question answered lots of times. Wink
Logged

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

Posts: 2068



WWW
« Reply #329 on: April 14, 2010, 09:32:56 AM »

where can i get a translation in spanish for this bookings?

Unfortunately, there's no spanish translation available yet. If you wish to create one, copy the EN.php file, name it ES.php, and translate the text on the right side of the =>.

Example:

Code:
'ADD_GROUPS'          => 'Add new bookings',
^^ leave this                ^^ translate this
Logged

Alle großen Veränderungen beginnen im Kleinen
newfy

Offline Offline

Posts: 69



WWW
« Reply #330 on: April 15, 2010, 08:20:04 PM »

Look back a few pages (or on the opening post of this thread). This is a very common question answered lots of times. Wink
I did that in the frontend but it destroid the layout of the page in FF, I set the float in backend to and now its ok.
Thnx
Logged

Greetz,
Newfy
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #331 on: April 27, 2010, 12:50:13 PM »

I just released a new version 2.23.

* New: Bookings can have two different states now: "reserved" or "booked"
* New: Navigation "Next month" and "Previous month" links on month and quarter view
* New: [Back]-Button on Frontend Editing (you had to click on the page link to go back in older versions)
* Fix: When changing dates in the backend, the "end date" did not change correctly in some cases (the end date is set to the begin date using JS if begin date is greater than the end date)
* Added Breadcrumbs to some views

See http://wuermersheim.de/ortsteil/waldhuette/belegungsplan.php for this version in action.

Download at AMASP: http://www.websitebakers.com/pages/modules/calendar-and-time/bookings.php

Edit: I forgot to say:

Known issues:
* Incomplete Translations for Danish and Nederlands due to new language strings.
« Last Edit: April 27, 2010, 01:00:45 PM by BlackBird » Logged

Alle großen Veränderungen beginnen im Kleinen
CodeALot

Offline Offline

Posts: 58



« Reply #332 on: April 27, 2010, 03:05:45 PM »

Known issues:
* Incomplete Translations for Danish and Nederlands due to new language strings.

Updated and corrected Dutch language file attached.
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #333 on: April 27, 2010, 04:00:56 PM »

Oops, Dutch... I'm sorry... rolleyes

Thank you for updating the language file! It will be included in the next release. grin
Logged

Alle großen Veränderungen beginnen im Kleinen
Falcon

Offline Offline

Posts: 50


« Reply #334 on: April 27, 2010, 04:09:58 PM »

Version 2.23 vs V 2.22

which files are affected? Again functions.php and info.php or even others?
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #335 on: April 27, 2010, 04:12:52 PM »

CalendarAJAX.js
frontend.css
functions.php
info.php
install.php
upgrade.php
view.php

...and all language files
Logged

Alle großen Veränderungen beginnen im Kleinen
Falcon

Offline Offline

Posts: 50


« Reply #336 on: April 27, 2010, 05:16:54 PM »

Thanks,
have the modul completly updated and my previous changes renewed.
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #337 on: April 27, 2010, 06:36:31 PM »

So you have customized the module? Maybe you'd like to share what you've done?
Logged

Alle großen Veränderungen beginnen im Kleinen
comfort

Offline Offline

Posts: 48


« Reply #338 on: April 28, 2010, 07:23:28 AM »

http://bit.ly/bPp8FF mine is not working after the update... it contains 3 bookings... if you click on year, i see my bookings again. what to do?
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #339 on: April 28, 2010, 09:54:10 AM »

Oops... I tested with quarter view only. I will check that.

Edit: Works for me when setting "default view" to "year" in the options. Anyway, I found a little bug in the functions.php, maybe this causes the problem on your page. So please replace the include.php with the attached one.

If this doesn't help, please set the PHP Errors to "E_ALL" in the WB backend.
« Last Edit: April 28, 2010, 10:02:43 AM by BlackBird » Logged

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

Posts: 2068



WWW
« Reply #340 on: May 05, 2010, 12:26:34 PM »

Uhm, @comfort, have you checked this out? rolleyes
Logged

Alle großen Veränderungen beginnen im Kleinen
quinto

Offline Offline

Posts: 67


WWW
« Reply #341 on: May 11, 2010, 03:05:34 PM »

Hello Blackbird Smiley you've made a really really cool module.
Here is the French Translation file for the version 2.23 !
I hope you'll enjoy and you'll integrate this to your module.
(if you add some strings for a next version don't hesitate to ask me translation in french).

[Edit: I've translated the module description, now the whole module is in French]
« Last Edit: May 11, 2010, 03:29:19 PM by quinto » Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #342 on: May 11, 2010, 05:07:23 PM »

Wow, that's really great! I will link to the forum thread from the Bookings home page and the AMASP page 'til the language file is included in the next release. grin Thank you very much!!!
Logged

Alle großen Veränderungen beginnen im Kleinen
Vidar

Offline Offline

Posts: 36


« Reply #343 on: July 03, 2010, 06:25:56 AM »

BlackBird, Thank you for this great module!

I'm administering a small companys website and they asked if there's a possibility to add booking option for their cabin. With this module it seems to be very easy  grin

The users of the page are middle-aged constructions workers so the desing-line of the whole site has been: keep it simple! These guys don't know anything about computers so everything has to be easy and simpe.

This in mind I've deleted the "reserved" -state altogether, everything is simply booked or not. Admin options of the module gave excellent possibilities to set what the end user sees and dosen't see.

Few more things I'd like to do, but since I'm no coder I have to ask for your help! Smiley

1. Can I add "show day-view"-"show week view"  etc -links at the top of the frontend, above the bookings view. So that the user is first presented the default view but can then change it easily to whatever.

2. When user is adding a new booking, the dropdown menu shows begin and end month. These aren't loaded from the language file, where can I translate these? This is the most important one, since end-users won't be able to understand english month names.

3. Can I hide the "Group" colum from the mod booking table, the non-administrative user dosen't need to see that?
Thank you again!
« Last Edit: July 04, 2010, 11:09:19 AM by Vidar » Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #344 on: July 05, 2010, 09:14:55 AM »

1. Can I add "show day-view"-"show week view"  etc -links at the top of the frontend, above the bookings view. So that the user is first presented the default view but can then change it easily to whatever.

Ahm, yes, but you'll have to code it, because you will have to calculate what is "today" or "this week".

2. When user is adding a new booking, the dropdown menu shows begin and end month. These aren't loaded from the language file, where can I translate these?

Hm. I am using strftime() to get the month names there, which uses the LOCALE of the server. I think that's simply a bug, 'cause I changed that behaviour at other places to use the translations. I'll fix this.

3. Can I hide the "Group" colum from the mod booking table, the non-administrative user dosen't need to see that?

In functions.php, find line 1366ff:

Code:
    <tr>
        <td class="mod_bookings_left">
            <?php echo $MOD_BOOKINGS['GROUP']; ?>
        </td>
        <td class="mod_bookings_right" colspan="2">
            <select id="group" name="group">
<?php
    $groups 
_GetBookingsGroups$section );
    foreach ( 
$groups as $group ) {
        
$flag_checked '';
        if ( 
$group['group_id'] == $dates['group_id'] ) {
    
    $flag_checked  ' selected="selected"';
    
}
        echo 
"<option value=\""$group['group_id'], "\" $flag_checked>"$group['name'], "</option>\n";
    }
?>

            </select>
        </td>
    </tr>

Change it to this:

Code:
<?php
        
if ( Bookings_user_can'admin'''$section  ) ) {
?>

    <tr>
        <td class="mod_bookings_left">
            <?php echo $MOD_BOOKINGS['GROUP']; ?>
        </td>
        <td class="mod_bookings_right" colspan="2">
            <select id="group" name="group">
<?php
    $groups 
_GetBookingsGroups$section );
    foreach ( 
$groups as $group ) {
        
$flag_checked '';
        if ( 
$group['group_id'] == $dates['group_id'] ) {
    
    $flag_checked  ' selected="selected"';
    
}
        echo 
"<option value=\""$group['group_id'], "\" $flag_checked>"$group['name'], "</option>\n";
    }
?>

            </select>
        </td>
    </tr>
<?php 
    

    else {
        echo 
"<input type=\"hidden\" value=\"<groupid>\" name=\"group\" id=\"group\" />
    }
?>


...where <groupid> is the ID (number) of your default group. You can leave this blank for "no group".
Logged

Alle großen Veränderungen beginnen im Kleinen
WDStudio

Offline Offline

Posts: 14



WWW
« Reply #345 on: July 09, 2010, 08:25:46 PM »

When viewing specific day. Is it possible to make it show only the hours at which there is some event created? I mean, not to show all the hours, just those that have content.

thx
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #346 on: July 12, 2010, 09:38:56 AM »

Uhm, no, there's no such option implemented. You would have to hack it. wink
Logged

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

Posts: 2068



WWW
« Reply #347 on: July 14, 2010, 10:25:41 AM »

Important question! Is anyone using the "Groups" feature? I'd like to remove it 'cause it seems to me that it's more irritating than helpful.
Logged

Alle großen Veränderungen beginnen im Kleinen
WDStudio

Offline Offline

Posts: 14



WWW
« Reply #348 on: July 14, 2010, 06:40:29 PM »

Quick question,

can an event be made for one hour only ? At the moment its minimum of 2 hours.
Is there fast fix for this ?

Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #349 on: July 15, 2010, 12:08:07 PM »

As Bookings first was meant for holiday appartments, I never thought about hourly rental. rolleyes

Anyway, you _can_ make a one-hour-booking. You may prefer the list view instead of the calendar view for days. I think this will solve your problem(s).

Screenshots: List view vs. calendar view.
« Last Edit: July 15, 2010, 12:24:31 PM by BlackBird » Logged

Alle großen Veränderungen beginnen im Kleinen
Pages: 1 ... 12 13 [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!