Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 04:05:21 PM

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.
149664 Posts in 21100 Topics by 7539 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: 1 ... 3 4 [5] 6 7 ... 16   Go Down
Print
Author Topic: Bookings module - current version 2.22 (see page 13)  (Read 47000 times)
mr-fan

Offline Offline

Posts: 1538


WWW
« Reply #100 on: October 06, 2008, 06:23:20 PM »

for explanation,

with the bookings modul is it possible to make such a thing like a usercalender ...

i hope that this is a mod that need other wb-family-members too  rolleyes

regards martin
Logged

 
WebBird
Guest
« Reply #101 on: October 07, 2008, 11:06:30 AM »

You may download a BETA of the new module version here:

Edit: Removed download link as this is no longer up to date.

This code is for testing purposes only and not for production use!

Warning: Please do not upgrade any prior version if you are going do "downgrade" to this version after testing! There are lots of structural changes that cannot be revoked easily. However, upgrading is possible, of course. wink
« Last Edit: October 14, 2008, 04:59:07 PM by WebBird » Logged
mr-fan

Offline Offline

Posts: 1538


WWW
« Reply #102 on: October 09, 2008, 08:07:23 PM »

"Unknown column 'owner_id' in 'field list'

Zurück"

in the backend after click on "Hinzufügen"  wink

i've stolen me some time tonight Wink

this error comes when i try to make a booking... tested with php 5.2.5 and WB 2.7 RC1 on XAMPP and online php 5.2.6 and WB 2.7 F....

new edit button looks good, admin option "settings" looks good, i like it!

your personal tester  smiley

greets martin
Logged

 
WebBird
Guest
« Reply #103 on: October 10, 2008, 09:50:49 AM »

your personal tester  smiley

LOL cheesy

One short question: Did you upgrade from an older version, or did you a fresh install?

Edit: Ah! I found that I forgot to add this column to the install.php. I've attached a corrected Beta. Please uninstall the module and reinstall. Thank you.

Edit: Removed download as it is no longer up to date.
« Last Edit: October 14, 2008, 05:00:59 PM by WebBird » Logged
mr-fan

Offline Offline

Posts: 1538


WWW
« Reply #104 on: October 10, 2008, 12:12:57 PM »

let's test... install works online (5.2.6/2.7)

i made some testbookings:

1. Double bookings is possible  => http://wbtest.mragrar.de/pages/bookingstest.php?year=2008&month=10&day=20

so far i test more when i've catch some time this weekend....

regaards (your personaly tester;) grin

ps: i make you a test account as a user that have not all access!.... i send you a pm


EDIT: ooOOppss...sry for time being totally confused...my week has 7 workingdays and about~60 hours...
         i will drive to improment next time! grin
« Last Edit: October 12, 2008, 03:50:52 PM by mr-fan » Logged

 
WebBird
Guest
« Reply #105 on: October 11, 2008, 08:14:35 PM »

There is no double Wink
Logged
Olli

Offline Offline

Posts: 288


« Reply #106 on: October 13, 2008, 04:42:19 PM »

hello,
thanks for all the afford, but i still can not use the module...

no matter what version i try i get a blank page. the database stays empty. no query is made.
if you need any more information to track this down let me know

thanks
Logged
WebBird
Guest
« Reply #107 on: October 13, 2008, 05:31:59 PM »

Do you use PHP 4.x?

I'm sorry, I found that you said you use PHP 5.1.6 on previous page.

I have no idea at the moment where the problem lies. You may want to set all the

Code:
$debug = false;

to

Code:
$debug = true;

found in different files. (add.php, functions.php, modify.php, modify_settings.php) Maybe it gives us a hint what's wrong.
« Last Edit: October 13, 2008, 05:36:36 PM by WebBird » Logged
mr-fan

Offline Offline

Posts: 1538


WWW
« Reply #108 on: October 13, 2008, 06:18:07 PM »

@olli have you on options in WB php errors on E_ALL^E_NOTICE..

it show's you php error in the frontend and backend!

@webbird i send you a PM today...Wink
Logged

 
WebBird
Guest
« Reply #109 on: October 14, 2008, 08:58:06 AM »

@olli have you on options in WB php errors on E_ALL^E_NOTICE..

$debug = true sets E_ALL
Logged
Olli

Offline Offline

Posts: 288


« Reply #110 on: October 14, 2008, 03:08:13 PM »

@webbird: maybe quite useful for you to know: i just upgraded from php 5.1.6 to 5.2.6 and now everything works flawlessly. so this was a php isssue...

thanks and keep up the good work smiley
Logged
WebBird
Guest
« Reply #111 on: October 14, 2008, 04:27:01 PM »

Humm. huh Maybe I'll do some testing later on this issue. (After finishing the new version.) Thanks for the hint @Olli. smiley
Logged
WebBird
Guest
« Reply #112 on: October 14, 2008, 04:58:03 PM »

I've decided to release the new version as '2.0' as there are major code rewrites. Aside from the permission options, authorized users can now edit bookings from the WB frontend without having backend permissions. grin

This code is beta and it's most certain that it is incomplete and faulty by now. You're invited to test and post your testing results here, but only use in testing environments!

Edit: Uploaded Beta 2 as it was impossible to add new bookings. grin This may work with PHP4, too, so it would be great to hear of some PHP4 tests!

Edit: Removed attachment. See below for current BETA version.
« Last Edit: October 15, 2008, 10:48:26 AM by WebBird » Logged
erpe

Offline Offline

Posts: 2077


WWW
« Reply #113 on: October 14, 2008, 07:44:35 PM »

There must be something wrong.
After installation the latest version I got this screen: see image.

rgds

erpe
Logged

WebBird
Guest
« Reply #114 on: October 15, 2008, 09:04:35 AM »

Just find

$debug = true;

and change to

$debug = false;
Logged
erpe

Offline Offline

Posts: 2077


WWW
« Reply #115 on: October 15, 2008, 09:16:50 AM »

Did you post the modified module?
Logged

Olli

Offline Offline

Posts: 288


« Reply #116 on: October 15, 2008, 09:30:19 AM »

hello webbird,

right now it is not possible to have 2 diffenrent instances of the bookings module at one webpage at once, right? all bookings appear in one view only (they get mixed). can you confirm this? smiley

thanks
Logged
WebBird
Guest
« Reply #117 on: October 15, 2008, 09:35:26 AM »

Did you post the modified module?

No. I will post a new version later. The debug messages do not affect the functionality of the module.
Logged
WebBird
Guest
« Reply #118 on: October 15, 2008, 09:37:10 AM »

hello webbird,

right now it is not possible to have 2 diffenrent instances of the bookings module at one webpage at once, right? all bookings appear in one view only (they get mixed). can you confirm this? smiley

thanks

As with any other module, you can add as many instances as you like. (More than one per page or on different pages.) If the bookings get mixed, it's a bug. Wink

Edit: I can confirm that this was a bug. Wink Corrected version (with debug set to false) attached. I also uploaded a correction version 1.18; use the link in my signature for this download.

Edit: Removed attachment (beta version). See next page for downloading V2.0.
« Last Edit: October 22, 2008, 09:57:50 AM by WebBird » Logged
Olli

Offline Offline

Posts: 288


« Reply #119 on: October 17, 2008, 09:33:59 AM »

@webbird: you rule man smiley thanks for this cool module and all those bugfixing!
Logged
WebBird
Guest
« Reply #120 on: October 17, 2008, 10:18:55 AM »

Uhm, woman, please.  grin

Has anyone tested with PHP 4 by chance?
Logged
vyni

Offline Offline

Posts: 566


« Reply #121 on: October 17, 2008, 11:20:46 AM »

Good news, Birdy!

I´m watching a while Your thread, and as far as I know, my server is running php4 and/or MySQL 4.

This version works.

I installed it - made a page and wondered. Even the options are accessible through the frontend.

The only thing right now I can say: It starts, I didnot test further. One thing more: With template Journey it is not working, propably because of the style-sheet, using positioning, but with Round it integrates fine. Just like this.

So I will come back in a couple of day´s....

regards from Himberg, next to Vienna

PS: Server-info:

Checking mySQL
version : 4.1.20

Checking PHP
Version: 4.4.8

WB_VERSION: 2.7
VERSION: 2.7

DEFAULT_CHARSET: utf-8
OPERATING_SYSTEM: linux
« Last Edit: October 17, 2008, 11:35:56 AM by 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.
WebBird
Guest
« Reply #122 on: October 17, 2008, 01:03:54 PM »

Nice to hear that it seems to work with PHP 4 now. grin

I will have a look at the template you mentioned. (This weekend, I hope.)

Thank you for your response! grin

Edit: If it's for sure that it works with PHP 4, I will implement the changes to the 1.x release, too.
« Last Edit: October 17, 2008, 01:10:03 PM by WebBird » Logged
WebBird
Guest
« Reply #123 on: October 17, 2008, 04:22:12 PM »

One thing more: With template Journey it is not working, propably because of the style-sheet, using positioning, but with Round it integrates fine.

I found that this was caused by a missing </div> in view.php. To repair this,

OPEN view.php

FIND

Code:
        for ( $m = 1; $m <= 12; $m++ ) {
            if ( $m % $set['breakafter'] == 1 ) {
                echo "<br class=\"bookings_clear\" />\n";
            }
            echo Bookings_Month_Sheet( $year, $m, $section_id, false );
        }

AFTER, ADD

Code:
        echo "</div>\n";

This should work. (You may have to edit some CSS anyway. "Journey" has a very small content box.)

Edit: I uploaded a corrected version 1.19. (See download link in my sig.) I also added the new PHP 4 support there, so this hopefully works with PHP 4 now, too. I'd like to hear if it works. grin

New BETA of v2.0 attached. (b4) Edit: Removed. See below for download.

Edit: For Template "Journey", set Year view -> Linebreak after: to 2 months.

If you want 3 months shown on one line, edit frontend.css like this:

Code:
#mod_bookings {
    font-size       : smaller;
}
« Last Edit: October 22, 2008, 09:58:59 AM by WebBird » Logged
vyni

Offline Offline

Posts: 566


« Reply #124 on: October 17, 2008, 05:59:47 PM »

Thank You,

I supposed something like this, because I know toubles like this with some templates.

I plan to add an exclusiv Kalendar-block to the template, an "overlay", because of the small content-area.

And if You look at the calendar or do some kind of work or whatever, You don´t need all the other stuff, do You? And if You need an other thing to read or see or what ever, klick on a button and all is there.  cool

I will try it out in the next day´s, than I can report how things are running.

regards from Himberg
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.
Pages: 1 ... 3 4 [5] 6 7 ... 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!