Picon
Picon

(no subject)

How am I able to read the date that is inputted into MySQL  as I wish to read these and make a script that does
certain things to certain dates. Also how would I be able to make only 3 bookings possible in a week.

Thanks
Mark

-----------------------------------------------------------------------
Unix IS user friendly... It's just selective about who its friends are.

CONFIDENTIALITY NOTICE AND DISCLAIMER

Information in this transmission is intended only for the person(s) to whom it is addressed and may contain
privileged and/or confidential information. If you are not the intended recipient, any disclosure,
copying or dissemination of the information is unauthorised and you should delete/destroy all copies
and notify the sender. No liability is accepted for any unauthorised use of the information contained in
this transmission.

This disclaimer has been automatically added.
lists | 15 Apr 18:20 2006
Picon

repeat bookings - issues with postres or php

Hi.

Hi all.

I also get some errors when i create a booking with mrbs on my debian
box. In my postgres logs i get this errors: 

2006-04-14 20:48:11 [3687] ERROR:  relation "mrbs_repeat" does not exis

php4       4.3.10-16
postgresql 7.4.7-6sarge1
Apache     1.3.33-6sarge1
MRBS       mrbs-1.2.3.tar.gz

Mibur

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Michael Burkhard | 16 Apr 09:48 2006
Picon

Duration of 30 minutes as default

Hi all.

Is it possible to configure mrbs to use 30 minutes for the default
duration of a booking. The default is one hour, where can i change
this if i want?

Thanks in advance

Mibur

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Vince LaMonica | 16 Apr 10:27 2006

Re: Duration of 30 minutes as default

On Sun, 16 Apr 2006, Michael Burkhard wrote:

} Is it possible to configure mrbs to use 30 minutes for the default
} duration of a booking. The default is one hour, where can i change
} this if i want?

Look in the config.inc.php file for $resolution. That's the number of 
seconds in a block that can be booked. In my config, 1800 seconds is the 
default. 1800 is 30 minutes, but I'm using an older version of MRBS, so 
perhaps the new versions default to 3600. 

/vjl/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Michael Burkhard | 16 Apr 10:31 2006
Picon

Re: Duration of 30 minutes as default

Hi Vince.

Vince LaMonica <vjl <at> cullasaja.com> schrieb:

> On Sun, 16 Apr 2006, Michael Burkhard wrote:
>
> } Is it possible to configure mrbs to use 30 minutes for the default
> } duration of a booking. The default is one hour, where can i change
> } this if i want?
>
> Look in the config.inc.php file for $resolution. That's the number of 
> seconds in a block that can be booked. In my config, 1800 seconds is the 
> default. 1800 is 30 minutes, but I'm using an older version of MRBS, so 
> perhaps the new versions default to 3600. 

I have also have:

# Default is half an hour: 1800 seconds.
$resolution = 1800

That ist the display of the time on the right and left side of
mrbs. It hat no effects to the duration.

Mibur

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
(Continue reading)

Rob Middleton | 16 Apr 10:59 2006
Picon

Re: Duration of 30 minutes as default

>> } Is it possible to configure mrbs to use 30 minutes for the default
>> } duration of a booking. The default is one hour, where can i change
>> } this if i want?
>>
>> Look in the config.inc.php file for $resolution. That's the number of 
>> seconds in a block that can be booked. In my config, 1800 seconds is the 
>> default. 1800 is 30 minutes, but I'm using an older version of MRBS, so 
>> perhaps the new versions default to 3600. 
> 
> I have also have:
> 
> # Default is half an hour: 1800 seconds.
> $resolution = 1800
> 
> That ist the display of the time on the right and left side of
> mrbs. It hat no effects to the duration.

The "resolution" (smallest booking graduation allowable) is not the same 
as the default duration for new bookings.

Change edit_entry.php to change the default duration (not a config 
option). Change line:
         $duration    = ($enable_periods ? 60 : 60 * 60);
to:
         $duration    = ($enable_periods ? 60 : 30 * 60);

Rob.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
(Continue reading)

Rob Middleton | 16 Apr 11:07 2006
Picon

Re: Question about LDAP, AD and bind passwords

Kristin L. Nielsen (née Igaki) wrote:
> Actually, though I might have been able to make mrbs work with the
> company AD if I had listed all our base DNs, I found it easier to use
> the mod_auth_ldap apache module (configured in the httpd.conf) and then
> choose "omni" for $auth["session"] and "none" for $auth["type"].  Since
> session_omni.inc basically looks for exactly what apache auth delivers,
> this type of setup should work with any apache auth module (mysql,
> etc.).  Much less tweaking, much less hassle, but requires edit
> permissions on httpd.conf.

The problem would have likely been PHP using LDAP v2 to connect to AD. 
If you tell PHP to use LDAPv3 instead then the user's uid & pass can be 
used to authenticate without first knowing the DN of the user.

Other than that you just need ldap_base and ldap_host set.

[this is covered in the list archives]

Rob.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
Michael Burkhard | 16 Apr 11:18 2006
Picon

Re: Duration of 30 minutes as default

Rob Middleton <robm-sourceforge <at> centenary.org.au> schrieb:

> Change edit_entry.php to change the default duration (not a config
> option). Change line:
>          $duration    = ($enable_periods ? 60 : 60 * 60);
> to:
>          $duration    = ($enable_periods ? 60 : 30 * 60);

Thank you, my personal will love you for this. ;-)

Mibur

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Rob Middleton | 16 Apr 11:19 2006
Picon

Re: Adding owners of M-rooms

Eduo wrote:
> Hello, all.
> 
> There is something my boss wants to do and I've searched around but no clear solution has been clear.
> 
> We're setting up a new MRBS instance where the company's Managers log the times they will be unavailable or
out of the office, so it's available to the rest of the employees and other managers.
> 
> The thing is that each of these managers should be able to edit only their own "Meeting Rooms", but all
should be viewable by all users (and all should be editable by the admins). I've tried playing around with
the auth settings but I have to admit no solution has been adequate.
> 

I am planning to implement ACLs at some time this year (but of course on 
a schedule based on the various competing needs of my organisation - and 
my desire on-and-off to spend a couple of evenings fiddling with some 
relaxing PHP -- others might read a book :-).

> Also: Are there any plans for a newer version of MRBS? One that allows requests for time slots to be later
approved the admins, for example? Or one that implements some improved aesthetic control options?

Tentative bookings with confirmation via one-step work-flow are also on 
my list.

I have an "improved aesthetic" version ... people use MRBS in a wide 
variety of ways though - so some of my changes won't suit others. I 
still need to have thoughts on how this might best be ported back in to 
leave admin flexibility in choosing a design that best suits their needs.

(I made some gradual javascript / css div changes to improve 
(Continue reading)

Michael Burkhard | 16 Apr 11:39 2006
Picon

Re: Adding owners of M-rooms

Rob Middleton <robm-sourceforge <at> centenary.org.au> schrieb:

> I am planning to implement ACLs at some time this year (but of course
> on a schedule based on the various competing needs of my organisation
> - and my desire on-and-off to spend a couple of evenings fiddling with
> some relaxing PHP -- others might read a book :-).

Me and my personal used until last week webcalendar as the planner for
meetings, reservations of room and personal calendars. I had a lot of
views and groups of user calendars. So i use one view/calendar just
for me and my chief, no other can't view or edit this calendar view.

This would be a nice feature, acl's to prevent other users to edit and
view a booking room/calendar.

I use MRBS because the views and bookings of dates and rooms is easier
in mrbs. Nice work, thank you.

Regards,

Mibur

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Gmane