henning dalgaard | 2 May 18:13 2006
Picon

limit duration to either one or two hours

Hello

Great system. I am a newbie at this.

I figured out how to remove minutes and days in the duration drop down.
How do I limit the other form so that you can only type 1 or 2 hours? (sort of similar to how you can only select between the different rooms)

Also is there an easy way to limit the number of concurrent bookings? (not counting past bookings)

Any help is appreciated...
Thanks

Henning

Ianatjoxbox | 5 May 00:56 2006
Picon

Help - Entry Types

Hi All,
 
Have tried to work this out myself but hasnt worked. I want to add different types of bookings for example adding 'students' to the external/internal list.
 
So i go into my config.inc.php and change the list to...
$typel["A"] = get_vocab("student");
$typel["E"] = get_vocab("external");
$typel["I"] = get_vocab("internal");
 
However when uploaded it doesnt show student at the bottom of the sheet or on the list when making a booking.
 
Any Ideas
 
Ian
Rob Middleton | 5 May 01:15 2006
Picon

Re: Help - Entry Types

Ianatjoxbox <at> aol.com wrote:
> Hi All,
>  
> Have tried to work this out myself but hasnt worked. I want to add 
> different types of bookings for example adding 'students' to the 
> external/internal list.
>  
> So i go into my config.inc.php and change the list to...
> $typel["A"] = get_vocab("student");

use
= "student"
not
= get_vocab("student")

get_vocab only works when the term you are looking up is listed in the 
appropriate lang file.

> $typel["E"] = get_vocab("external");
> $typel["I"] = get_vocab("internal");
>  
> However when uploaded it doesnt show student at the bottom of the sheet 
> or on the list when making a booking.
>  
> Any Ideas
>  
> Ian

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Umer Irshad | 9 May 03:36 2006
Picon

Customizing MRBS!

Hello there!
            I've installed the great might MRBS script on this website:  http://umer.eyci.ca/booking 
That website doesn't have a purpose of booking rooms, instead it will be used by students to booking appointments with their guidance counsellors. I do not want the students to see, the details of an appointment, therefore I have modified view_entry.php page, and now whenever an apointment is booked, it says "Booked!", in that cell.  THis raises a problem, now the students can't delete/cancel their OWN appointment. How can I make a page where students, can see the details of  their OWN appointments, that they have booked.
    Also, how can I make it so, they they can't book any appointments between, 11:40PM and 12:40 PM. Thanks alot for your time!


--
Kind Regards,
Umer I.
-----------------
Morpheus:
Have you ever had a dream,  that you were so sure was real? What if you were unable to wake from that dream? How would you know the difference between the dream world and the real world?
Umer Irshad | 9 May 15:54 2006
Picon

Customizing MRBS!

Hello there!
            I've installed the great might MRBS script on this website:  http://umer.eyci.ca/booking 
That website doesn't have a purpose of booking rooms, instead it will be used by students to booking appointments with their guidance counsellors. I do not want the students to see, the details of an appointment, therefore I have modified view_entry.php page, and now whenever an apointment is booked, it says "Booked!", in that cell.  THis raises a problem, now the students can't delete/cancel their OWN appointment. How can I make a page where students, can see the details of  their OWN appointments, that they have booked.
    Also, how can I make it so, they they can't book any appointments between, 11:40PM and 12:40 PM. Thanks alot for your time!


--
Kind Regards,
Umer I.
-----------------
Morpheus:
Have you ever had a dream,  that you were so sure was real? What if you were unable to wake from that dream? How would you know the difference between the dream world and the real world?
Leon Stringer | 9 May 19:37 2006

Re: Customizing MRBS!

On Tue, 2006-05-09 at 09:54 -0400, Umer Irshad wrote:
>     Also, how can I make it so, they they can't book any appointments
> between, 11:40PM and 12:40 PM. Thanks alot for your time!

The simple answer is get an administrator to book slots for every day at
11:40 for 1 hour, say 4 weeks in advance and just call that slot "Break"
or "Unavailable".

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Phil Greer | 9 May 19:59 2006
Picon

Re: Customizing MRBS!

OK, I did this before, it is just a bit of subterfuge/logic.....

The tough part is, how do students log in? I have a sql db so that the create_by field is the login. 
that makes it real easy to pull create_by in day, week, month, view_entry, whathaveyou and 
do a compare. between create_by and the person currently logged in. it is then an easy matter 
of allowing those entry titles to be seen by the user logged in but come up "***" for all others. 
accept admin who gets to see all descriptions.... 

The only other functions you need to be mindfulof are the search and report functions as well 
as the conflict error. meaning if you put in a week worth of appointments for a person 
knowing that he already has many appointments it will display all of the conflicting 
appointments along with info about each one. 

if you are not using individual accounts, I have no idea how you could do it.

this is the simple logic from day.php (row[3] is shortdesc{mrbs_entry.name} and row[7] is mrbs_etry.create_by)

# Show the name of the booker (if permitted) in the first segment that the booking
# happens in, or at the start of the day if it started before today.
    if($userlevel == 2  || getUserName() == htmlspecialchars($row[7])){
        $sdescr  = htmlspecialchars($row[3]);
    } else {
        $sdescr  = "*****";
    }


On May 9, 2006, at 9:54 AM, Umer Irshad wrote:

Hello there!
            I've installed the great might MRBS script on this website:  http://umer.eyci.ca/booking 
That website doesn't have a purpose of booking rooms, instead it will be used by students to booking appointments with their guidance counsellors. I do not want the students to see, the details of an appointment, therefore I have modified view_entry.php page, and now whenever an apointment is booked, it says "Booked!", in that cell.  THis raises a problem, now the students can't delete/cancel their OWN appointment. How can I make a page where students, can see the details of  their OWN appointments, that they have booked.
    Also, how can I make it so, they they can't book any appointments between, 11:40PM and 12:40 PM. Thanks alot for your time!


--
Kind Regards,
Umer I.
-----------------
Morpheus:
Have you ever had a dream,  that you were so sure was real? What if you were unable to wake from that dream? How would you know the difference between the dream world and the real world?

Umer Irshad | 10 May 01:08 2006
Picon

Re: Customizing MRBS!

Thanks alot for your reply guys!
             Phil what would be the structure of the table if I was to use the mysql for student's to login..?? and where would I config it in MRBS...

-Umer

On 5/9/06, Phil Greer <pgreer+ <at> pitt.edu> wrote:
OK, I did this before, it is just a bit of subterfuge/logic.....

The tough part is, how do students log in? I have a sql db so that the create_by field is the login. 
that makes it real easy to pull create_by in day, week, month, view_entry, whathaveyou and 
do a compare. between create_by and the person currently logged in. it is then an easy matter 
of allowing those entry titles to be seen by the user logged in but come up "***" for all others. 
accept admin who gets to see all descriptions.... 

The only other functions you need to be mindfulof are the search and report functions as well 
as the conflict error. meaning if you put in a week worth of appointments for a person 
knowing that he already has many appointments it will display all of the conflicting 
appointments along with info about each one. 

if you are not using individual accounts, I have no idea how you could do it.

this is the simple logic from day.php (row[3] is shortdesc{mrbs_entry.name} and row[7] is mrbs_etry.create_by)

# Show the name of the booker (if permitted) in the first segment that the booking
# happens in, or at the start of the day if it started before today.
    if($userlevel == 2  || getUserName() == htmlspecialchars($row[7])){
        $sdescr  = htmlspecialchars($row[3]);
    } else {
        $sdescr  = "*****";
    }


On May 9, 2006, at 9:54 AM, Umer Irshad wrote:

Hello there!
            I've installed the great might MRBS script on this website:  http://umer.eyci.ca/booking 
That website doesn't have a purpose of booking rooms, instead it will be used by students to booking appointments with their guidance counsellors. I do not want the students to see, the details of an appointment, therefore I have modified view_entry.php page, and now whenever an apointment is booked, it says "Booked!", in that cell.  THis raises a problem, now the students can't delete/cancel their OWN appointment. How can I make a page where students, can see the details of  their OWN appointments, that they have booked.
    Also, how can I make it so, they they can't book any appointments between, 11:40PM and 12:40 PM. Thanks alot for your time!


--
Kind Regards,
Umer I.
-----------------
Morpheus:
Have you ever had a dream,  that you were so sure was real? What if you were unable to wake from that dream? How would you know the difference between the dream world and the real world?




--
Kind Regards,
Umer I.
-----------------
Morpheus:
Have you ever had a dream,  that you were so sure was real? What if you were unable to wake from that dream? How would you know the difference between the dream world and the real world?
Mikael Haapakoski | 10 May 15:33 2006
Picon

default settings

I set up mbrs to school environment few weeks ago and noticed that system is quite stiff. While making very many repetative bookings apache didn't let me do it because of time-out so i added some time to it but real irritating was making of repeating and similar bookings so I created small cell to admin page where you can set default settings for booking. I have those edited files with me and i was thinking that would someone like to see what i have done?

--
Mikael Haapakoski

Dr Pingu | 14 May 16:28 2006
Picon

MRBS: Support Request: Entry data on upgrade of PHP mod / changing environment

Entry data on upgrade of PHP mod / changing environment:
 
I installed mrbs on php 5.0.5 and now have to upgrade my php module to 5.1.2, however, the entries seem to disappear after doing so (just as when I changed the localtime on my server).
 
I've tried restoring the MySQL entry and repeat tables, however, the only way the entries will appear again is if I downgrade to the previous php module version. The entries are still there and can be restored manually one by one if I search under the createdby username and confirm the bookings as administrator, however, that's not a feasible option for thousands of records.
 
I'm hoping there is a simple remedy that I've overlooked.

Gmane