Ed | 4 Jan 2008 04:04

Booking in advance

Hello everyone.  I hope I can get a little help here.

I need 4 things.  One was already answered in the archives.

1.  To prevent booking in the past, today or within the next 14 days.   
I found the fix
for the past and today and modified the ($day < $this_day) to ($day <  
$this_day+14) and
that works.  But, still need help with the next 3 items.

2. Prevent bookings more than 6 months out.  I don't want someone  
booking for next year.  I found a post for 4 months out but didn't  
seem to work for me.  I will continue to tinker with it.

3. The 3 calendar display shows last month, this month and next month.  
  I want to change that to this month and the next 5 months (or  
atleast the next 2 months).

4. Is there any way a user can register and make their booking?  Then  
maybe send them to a another webpage to make a payment (deposit) to  
reserve the day?

This a great program and looks like it will work for our videography business.

Thanks in advance,
Ed

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
(Continue reading)

Daniel Håkansson | 5 Jan 2008 13:27
Picon
Picon

Stop time

I am wondering if it is possible to stop the time in mrbs.

What i would like to achive is that for each room there is 10 "days" shown in kolums next to eachother and that the "days" are namne 1-10 and that regardles of that date you log in at mrbs its always the same 10 "days" that are shown.

 

Kind Regards

Daniel Håkansson

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mrbs-general mailing list
mrbs-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Chris Snow | 7 Jan 2008 17:06
Picon

Move booking forward 7 days

Hello.

Unfortunately one user has booked several rooms on a two week rotation 
but started with the wrong week!

Does anyone have a query that will move forward (or back) all bookings 
made by a given user by 7 days?

I'd be much obliged!

Chris.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
John Beranek | 7 Jan 2008 17:19
Picon
Favicon

Re: Move booking forward 7 days

Chris Snow wrote:
> Hello.
> 
> Unfortunately one user has booked several rooms on a two week rotation 
> but started with the wrong week!
> 
> Does anyone have a query that will move forward (or back) all bookings 
> made by a given user by 7 days?

UPDATE mrbs_entry SET
start_time=start_time+(7*60*60*24),end_time=end_time+(7*60*60*24) WHERE
create_by='WHOEVER'

UPDATE mrbs_repeat SET
start_time=start_time+(7*60*60*24),end_time=end_time+(7*60*60*24) WHERE
create_by='WHOEVER'

This won't update the repeat end date as it is. Replace the + with a -
to make the query move the bookings back in time.

Also, as it stands it will change all bookings that user has created,
including ones in the past.

John.

--

-- 
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake
Attachment (smime.p7s): application/x-pkcs7-signature, 3331 bytes
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mrbs-general mailing list
mrbs-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Julian Egelstaff | 7 Jan 2008 19:17
Picon

Added copy feature

Hello,

We've recently added a feature to MRBS that lets you copy entries and
series, in addition to editing and deleting them.  The modified files
are here:  http://www.freeformsolutions.ca/temp/mrbs-copy_feature.zip

The changes were very minor, since the edit system is so cleanly
written, nice work!  :-)

Basically, we make two new links on the view_entry page, and those links
have a special flag parameter in the URL to indicate that the entry is
being copied (we used "clone" for the param name, since &copy in the URL
results in a copyright symbol appearing there).

Then, on the edit page, if the clone param is in the URL, we change the
text in the title of the page, and we omit the entry ID so the entry
handler treats the submission as a new entry.  But since an ID was in
the URL, the form is populated with the data from the original entry.

Nice and elegant, and a neat new feature.  I hope you find it useful and
perhaps can include it in a future release.

Feel free to get in touch if there's any questions.

--Julian

=============================================================
Julian Egelstaff   (   Technical Architect ~ Web Applications
647 723-5415 x101   )  Freeform Solutions
=============================================================

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Chris Snow | 8 Jan 2008 11:03
Picon

Re: Move booking forward 7 days

Thanks John.

I added  and timestamp like '2008-01-03%' as they were done on the same 
day and all is now well after some manual tweaking!

Chris.

John Beranek wrote:
> Chris Snow wrote:
>   
>> Hello.
>>
>> Unfortunately one user has booked several rooms on a two week rotation 
>> but started with the wrong week!
>>
>> Does anyone have a query that will move forward (or back) all bookings 
>> made by a given user by 7 days?
>>     
>
> UPDATE mrbs_entry SET
> start_time=start_time+(7*60*60*24),end_time=end_time+(7*60*60*24) WHERE
> create_by='WHOEVER'
>
> UPDATE mrbs_repeat SET
> start_time=start_time+(7*60*60*24),end_time=end_time+(7*60*60*24) WHERE
> create_by='WHOEVER'
>
> This won't update the repeat end date as it is. Replace the + with a -
> to make the query move the bookings back in time.
>
> Also, as it stands it will change all bookings that user has created,
> including ones in the past.
>
> John.
>
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> mrbs-general mailing list
> mrbs-general <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mrbs-general
>   

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Johan Sundström | 8 Jan 2008 11:28
Picon

Change booking-time specification?

Hi!

Is there a way to change the way you specify the length of a booking?  
Instead of specifying hours i would be able to set the end-time as i  
do with the start-time.
Would be easier to count for long bookings..

Cheers /Johan

- -

Johan Sundström
Västerbottens museum
Box 3183
903 04 Umeå

Tel.		090 - 17 18 33
Mobiltel.	070 - 321 84 04
E-post.	johan.sundstrom <at> vbm.se
www	.	http://www.vasterbottensmuseum.se

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Jennifer Pollard | 8 Jan 2008 11:35
Picon
Picon
Favicon

Re: Added copy feature

Julian Egelstaff wrote:
> We've recently added a feature to MRBS that lets you copy entries and
> series, in addition to editing and deleting them.  The modified files
> are here:  http://www.freeformsolutions.ca/temp/mrbs-copy_feature.zip

Oooh, handy!  Thanks for sharing, Julian! :)

-Jen
-- 
Jennifer Pollard
Computer Officer
Faculty of English
University of Cambridge

This e-mail (and any files transmitted with it) is strictly confidential 
and intended only for the use of the individual or organisation to whom 
it is addressed. It may contain information which is privileged. If you 
are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this e-mail is strictly prohibited. If you 
have received this e-mail in error, please notify the sender and destroy 
the original message. Thank you.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Sandy Spence | 8 Jan 2008 12:13
Picon

Re: Change booking-time specification?

Hi All,

Can I ask for the same feature, it would be nice if you clicked on a start
time, then clicked on the end time before the details page came up with the
start and end time already filled in.

Cheers,

Sandy Spence
====================================
Department of Computer Science - UWA 
Llandinam Building 
Penglais Campus 
Aberystwyth 
Ceredigion 
Wales - UK
SY23 3DB
Tel: (01970)-622433
Fax: (01970)-628536
Home Page

-----Original Message-----
From: mrbs-general-bounces <at> lists.sourceforge.net
[mailto:mrbs-general-bounces <at> lists.sourceforge.net] On Behalf Of Johan
Sundström
Sent: 08 January 2008 10:29
To: General purpose list (support/developers/users)
Subject: [MRBS-general] Change booking-time specification?

Hi!

Is there a way to change the way you specify the length of a booking?  
Instead of specifying hours i would be able to set the end-time as i  
do with the start-time.
Would be easier to count for long bookings..

Cheers /Johan

- -

Johan Sundström
Västerbottens museum
Box 3183
903 04 Umeå

Tel.		090 - 17 18 33
Mobiltel.	070 - 321 84 04
E-post.	johan.sundstrom <at> vbm.se
www	.	http://www.vasterbottensmuseum.se

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
mrbs-general mailing list
mrbs-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Phil Dunford | 8 Jan 2008 13:14
Picon

Re: Added copy feature

Excellent feature and very handy.

Is there a simple way to copy a whole day (all rooms, all bookings) and
paste it to another day. Would be very useful for me, but I'm very much a
PHP novice.

Phil Dunford

Bishop Thomas Grant School

-----Original Message-----
From: mrbs-general-bounces <at> lists.sourceforge.net
[mailto:mrbs-general-bounces <at> lists.sourceforge.net] On Behalf Of Julian
Egelstaff
Sent: 07 January 2008 18:17
To: mrbs-general <at> lists.sourceforge.net
Subject: [MRBS-general] Added copy feature

Hello,

We've recently added a feature to MRBS that lets you copy entries and
series, in addition to editing and deleting them.  The modified files
are here:  http://www.freeformsolutions.ca/temp/mrbs-copy_feature.zip

The changes were very minor, since the edit system is so cleanly
written, nice work!  :-)

Basically, we make two new links on the view_entry page, and those links
have a special flag parameter in the URL to indicate that the entry is
being copied (we used "clone" for the param name, since &copy in the URL
results in a copyright symbol appearing there).

Then, on the edit page, if the clone param is in the URL, we change the
text in the title of the page, and we omit the entry ID so the entry
handler treats the submission as a new entry.  But since an ID was in
the URL, the form is populated with the data from the original entry.

Nice and elegant, and a neat new feature.  I hope you find it useful and
perhaps can include it in a future release.

Feel free to get in touch if there's any questions.

--Julian

=============================================================
Julian Egelstaff   (   Technical Architect ~ Web Applications
647 723-5415 x101   )  Freeform Solutions
=============================================================

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
mrbs-general mailing list
mrbs-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general
..

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

Gmane