Revision: 1233
http://mrbs.svn.sourceforge.net/mrbs/?rev=1233&view=rev
Author: cimorrison
Date: 2009-10-31 18:48:40 +0000 (Sat, 31 Oct 2009)
Log Message:
-----------
Improved the error handling when adding a new user, so that form data is reloaded if there is an error and does not have to be re-typed by the user.
Modified Paths:
--------------
mrbs/trunk/web/edit_users.php
mrbs/trunk/web/lang.en
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

I did use version 6 with 1.4.2, went off of the INSTALL file. Will keep
that in mind when upgrading.
I turned on log_errors in my php.ini file as well as the display_errors from
on to off. Restarted the services and the "Depreciated" error message is no
longer there!
Thanks for your help,
John
On Fri, Oct 30, 2009 at 2:41 PM, Campbell Morrison <
mail@...> wrote:
> Make sure that you’ve used the database schema version that matches your
> code. The lines below (ie version 8) apply to the latest version in the
> SVN trunk. The version that corresponds to MRBS 1.4.2 is 6. If you’re
> running 1.4.2 and your database thinks that it’s at Version 8, it will work
> OK at the moment but when you take the next upgrade, MRBS will think that
> the database is already at Version 8, and so you’ll miss out on two database
> upgrades and your system will be in a mess.
>
>
>
> The Deprecated notice is nothing to do with changing the default view.
> It’s because you’re running PHP 5.3.0 and ereg_replace() is deprecated. It
> still works OK, but the function will be dropped when PHP 6 comes out.
> You can avoid the message appearing on the screen by configuring PHP to send
> error messages to the error log – a good thing to do anyway. You could
> also download and install the very latest version of MRBS from the
> Subversion trunk where the usage of ereg_replace() has been replaced by
> another function. (But make sure you’ve sorted out your database version
> first!)
>
>
>
> Campbell
>
>
>
>
>
> *From:* John Lessandrini [mailto:jlessandrini@...]
> *Sent:* 30 October 2009 18:08
>
> *To:* General purpose list (support/developers/users)
> *Subject:* Re: [MRBS-general] MRBS Installation instructions
>
>
>
> That worked!! I left those two lines out when creating my tables.
>
>
>
> Everything seems to be running correctly. This is a great program!
>
>
>
> One thing that is happening is when I changed the default view from "day"
> to "month" i get the following error:
>
>
>
> *Deprecated*: Function ereg_replace() is deprecated in *C:\www\month.php*on line
> *292*
>
>
>
> Should I just remove this line from the config? Although i think it has
> something to do with returning to month view because when i click on a "day"
> there is no option to return to month view.
>
>
>
> Thanks again,
>
>
>
> John
>
> On Fri, Oct 30, 2009 at 5:56 AM, John Beranek - MRBS Developer <
> jberanek@...> wrote:
>
> David Moore wrote:
> > In the variables table there is an entry for database version. If you do
> > not update the table with the current version number you will not be able
> to
> > login and it will keep looping the install script.
>
> That's what the 2 lines at the end of tables.my.sql are for (this is
> from the tip of the SVN trunk):
>
> INSERT INTO mrbs_variables (variable_name, variable_content)
> VALUES ( 'db_version', '8');
> INSERT INTO mrbs_variables (variable_name, variable_content)
> VALUES ( 'local_db_version', '1');
>
>
>
> Cheers,
>
> John.
>
> --
> John Beranek - MRBS Developer <http://mrbs.sourceforge.net/&gt;
>
> To generalise is to be an idiot.
> -- William Blake
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> mrbs-general mailing list
> mrbs-general@...
> https://lists.sourceforge.net/lists/listinfo/mrbs-general
> Want to unsubscribe: mailto:mrbs-general-request@...
> ?subject=unsubscribe
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> mrbs-general mailing list
> mrbs-general@...
> https://lists.sourceforge.net/lists/listinfo/mrbs-general
> Want to unsubscribe: mailto:mrbs-general-request@...
> ?subject=unsubscribe
>
>

Make sure that you've used the database schema version that matches your
code. The lines below (ie version 8) apply to the latest version in the
SVN trunk. The version that corresponds to MRBS 1.4.2 is 6. If you're
running 1.4.2 and your database thinks that it's at Version 8, it will work
OK at the moment but when you take the next upgrade, MRBS will think that
the database is already at Version 8, and so you'll miss out on two database
upgrades and your system will be in a mess.
The Deprecated notice is nothing to do with changing the default view.
It's because you're running PHP 5.3.0 and ereg_replace() is deprecated. It
still works OK, but the function will be dropped when PHP 6 comes out.
You can avoid the message appearing on the screen by configuring PHP to send
error messages to the error log - a good thing to do anyway. You could
also download and install the very latest version of MRBS from the
Subversion trunk where the usage of ereg_replace() has been replaced by
another function. (But make sure you've sorted out your database version
first!)
Campbell
From: John Lessandrini [mailto:jlessandrini@...]
Sent: 30 October 2009 18:08
To: General purpose list (support/developers/users)
Subject: Re: [MRBS-general] MRBS Installation instructions
That worked!! I left those two lines out when creating my tables.
Everything seems to be running correctly. This is a great program!
One thing that is happening is when I changed the default view from "day" to
"month" i get the following error:
Deprecated: Function ereg_replace() is deprecated in C:\www\month.php on
line 292
Should I just remove this line from the config? Although i think it has
something to do with returning to month view because when i click on a "day"
there is no option to return to month view.
Thanks again,
John
On Fri, Oct 30, 2009 at 5:56 AM, John Beranek - MRBS Developer
<jberanek@...> wrote:
David Moore wrote:
> In the variables table there is an entry for database version. If you do
> not update the table with the current version number you will not be able
to
> login and it will keep looping the install script.
That's what the 2 lines at the end of tables.my.sql are for (this is
from the tip of the SVN trunk):
INSERT INTO mrbs_variables (variable_name, variable_content)
VALUES ( 'db_version', '8');
INSERT INTO mrbs_variables (variable_name, variable_content)
VALUES ( 'local_db_version', '1');
Cheers,
John.
--
John Beranek - MRBS Developer <http://mrbs.sourceforge.net/&gt;
To generalise is to be an idiot.
-- William Blake
----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
mrbs-general mailing list
mrbs-general@...
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Want to unsubscribe:
mailto:mrbs-general-request@...?subject=unsubscribe

Thanks, Campbell.
I made the change for month view as you suggested. I can enter data on month
view (I didn't check it before so I don't know if the change made any
difference to my problem - I can do that if necessary.)
However I still can't enter data in either day or week view.
The demo site works fine. I guess I'll try a complete new download of the
source files from Sourceforge and upload to my server tonight and advise.
Thanks again.
Michael
> -----Original Message-----
> From: Campbell Morrison [mailto:mail@...]
> Sent: 30 October 2009 16:44
> To: 'General purpose list (support/developers/users)'
> Subject: Re: [MRBS-general] Updating to MRBS 1.4.2 from 1.4.1
>
> There is a known problem with the month view that is solved
> by changing the line in mrbs.css.php that looks like this:
>
> .dwm_main#month_main a {padding: 0 2px 0 2px}
>
> to
>
> .dwm_main#month_main a {height: 100%; width: 100%; padding: 0
> 2px 0 2px}
>
> However the day and week views should be OK. Do you suffer from the
> problem on the demo installation of 1.4.2 at
> http://mrbs.sourceforge.net/demo.php ?
> If so, what browser and version are you using?
>
> Campbell
>
>
>
>
> -----Original Message-----
> From: Michael Graham [mailto:mgraham597@...]
> Sent: 30 October 2009 10:51
> To: 'General purpose list (support/developers/users)'
> Subject: [MRBS-general] Updating to MRBS 1.4.2 from 1.4.1
>
> I am in the process of updating from MRBS 1.4.1 to 1.4.2. I
> do this using a "development" system rather than our live system.
>
> I have updated all the files and have edited config.inc.php
> but now find that I am unable to make new entries on the
> system whether logged in or not.
>
> The problem seems to be that each blank "cell" on the booking page
> (day.php......) is no longer being displayed as a clickable
> link to edit_entry.php. Cells with exisiting entries are
> clickable and editable.
>
> I've been off-list for some time and suspect I've missed
> something simple :-(
>
> Michael
>
>
>
> --------------------------------------------------------------
> --------------
> --
> Come build with us! The BlackBerry(R) Developer Conference in
> SF, CA is the only developer event you need to attend this
> year. Jumpstart your developing skills, take BlackBerry
> mobile applications to market and stay ahead of the curve.
> Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> mrbs-general mailing list
> mrbs-general@...
> https://lists.sourceforge.net/lists/listinfo/mrbs-general
> Want to unsubscribe:
> mailto:mrbs-general-request@...?subject=unsubscribe
>
>
> --------------------------------------------------------------
> ----------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year.
> Jumpstart your
> developing skills, take BlackBerry mobile applications to
> market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> mrbs-general mailing list
> mrbs-general@...
> https://lists.sourceforge.net/lists/listinfo/mrbs-general
> Want to unsubscribe:
> mailto:mrbs-general-request@...?subject=unsubscribe
>
>

You might want to download the latest version in the SVN trunk (apologies if
that's what you meant). This will have all the latest bug fixes, including
the month.php fix below.
Let me know if you have any problems,
Campbell
-----Original Message-----
From: Michael Graham [mailto:mgraham597@...]
Sent: 30 October 2009 18:22
To: mail@...; 'General purpose list
(support/developers/users)'
Subject: RE: [MRBS-general] Updating to MRBS 1.4.2 from 1.4.1
Thanks, Campbell.
I made the change for month view as you suggested. I can enter data on month
view (I didn't check it before so I don't know if the change made any
difference to my problem - I can do that if necessary.)
However I still can't enter data in either day or week view.
The demo site works fine. I guess I'll try a complete new download of the
source files from Sourceforge and upload to my server tonight and advise.
Thanks again.
Michael
> -----Original Message-----
> From: Campbell Morrison [mailto:mail@...]
> Sent: 30 October 2009 16:44
> To: 'General purpose list (support/developers/users)'
> Subject: Re: [MRBS-general] Updating to MRBS 1.4.2 from 1.4.1
>
> There is a known problem with the month view that is solved
> by changing the line in mrbs.css.php that looks like this:
>
> .dwm_main#month_main a {padding: 0 2px 0 2px}
>
> to
>
> .dwm_main#month_main a {height: 100%; width: 100%; padding: 0
> 2px 0 2px}
>
> However the day and week views should be OK. Do you suffer from the
> problem on the demo installation of 1.4.2 at
> http://mrbs.sourceforge.net/demo.php ?
> If so, what browser and version are you using?
>
> Campbell
>
>
>
>
> -----Original Message-----
> From: Michael Graham [mailto:mgraham597@...]
> Sent: 30 October 2009 10:51
> To: 'General purpose list (support/developers/users)'
> Subject: [MRBS-general] Updating to MRBS 1.4.2 from 1.4.1
>
> I am in the process of updating from MRBS 1.4.1 to 1.4.2. I
> do this using a "development" system rather than our live system.
>
> I have updated all the files and have edited config.inc.php
> but now find that I am unable to make new entries on the
> system whether logged in or not.
>
> The problem seems to be that each blank "cell" on the booking page
> (day.php......) is no longer being displayed as a clickable
> link to edit_entry.php. Cells with exisiting entries are
> clickable and editable.
>
> I've been off-list for some time and suspect I've missed
> something simple :-(
>
> Michael
>
>
>
> --------------------------------------------------------------
> --------------
> --
> Come build with us! The BlackBerry(R) Developer Conference in
> SF, CA is the only developer event you need to attend this
> year. Jumpstart your developing skills, take BlackBerry
> mobile applications to market and stay ahead of the curve.
> Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> mrbs-general mailing list
> mrbs-general@...
> https://lists.sourceforge.net/lists/listinfo/mrbs-general
> Want to unsubscribe:
> mailto:mrbs-general-request@...?subject=unsubscribe
>
>
> --------------------------------------------------------------
> ----------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year.
> Jumpstart your
> developing skills, take BlackBerry mobile applications to
> market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> mrbs-general mailing list
> mrbs-general@...
> https://lists.sourceforge.net/lists/listinfo/mrbs-general
> Want to unsubscribe:
> mailto:mrbs-general-request@...?subject=unsubscribe
>
>

That worked!! I left those two lines out when creating my tables.
Everything seems to be running correctly. This is a great program!
One thing that is happening is when I changed the default view from "day" to
"month" i get the following error:
*Deprecated*: Function ereg_replace() is deprecated in *C:\www\month.php* on
line *292*
*
*
*Should I just remove this line from the config? Although i think it has
something to do with returning to month view because when i click on a "day"
there is no option to return to month view.*
*Thanks again,*
*John
*
On Fri, Oct 30, 2009 at 5:56 AM, John Beranek - MRBS Developer <
jberanek@...> wrote:
> David Moore wrote:
> > In the variables table there is an entry for database version. If you do
> > not update the table with the current version number you will not be able
> to
> > login and it will keep looping the install script.
>
> That's what the 2 lines at the end of tables.my.sql are for (this is
> from the tip of the SVN trunk):
>
> INSERT INTO mrbs_variables (variable_name, variable_content)
> VALUES ( 'db_version', '8');
> INSERT INTO mrbs_variables (variable_name, variable_content)
> VALUES ( 'local_db_version', '1');
>
>
> Cheers,
>
> John.
>
> --
> John Beranek - MRBS Developer <http://mrbs.sourceforge.net/&gt;
>
> To generalise is to be an idiot.
> -- William Blake
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> mrbs-general mailing list
> mrbs-general@...
> https://lists.sourceforge.net/lists/listinfo/mrbs-general
> Want to unsubscribe: mailto:mrbs-general-request@...
> ?subject=unsubscribe
>

There is a known problem with the month view that is solved by changing the
line in mrbs.css.php that looks like this:
.dwm_main#month_main a {padding: 0 2px 0 2px}
to
.dwm_main#month_main a {height: 100%; width: 100%; padding: 0 2px 0 2px}
However the day and week views should be OK. Do you suffer from the
problem on the demo installation of 1.4.2 at
http://mrbs.sourceforge.net/demo.php ?
If so, what browser and version are you using?
Campbell
-----Original Message-----
From: Michael Graham [mailto:mgraham597@...]
Sent: 30 October 2009 10:51
To: 'General purpose list (support/developers/users)'
Subject: [MRBS-general] Updating to MRBS 1.4.2 from 1.4.1
I am in the process of updating from MRBS 1.4.1 to 1.4.2. I do this using a
"development" system rather than our live system.
I have updated all the files and have edited config.inc.php but now find
that I am unable to make new entries on the system whether logged in or not.
The problem seems to be that each blank "cell" on the booking page
(day.php......) is no longer being displayed as a clickable link to
edit_entry.php. Cells with exisiting entries are clickable and editable.
I've been off-list for some time and suspect I've missed something simple
:-(
Michael
----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
mrbs-general mailing list
mrbs-general@...
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Want to unsubscribe:
mailto:mrbs-general-request@...?subject=unsubscribe

I am in the process of updating from MRBS 1.4.1 to 1.4.2. I do this using a
"development" system rather than our live system.
I have updated all the files and have edited config.inc.php but now find
that I am unable to make new entries on the system whether logged in or not.
The problem seems to be that each blank "cell" on the booking page
(day.php......) is no longer being displayed as a clickable link to
edit_entry.php. Cells with exisiting entries are clickable and editable.
I've been off-list for some time and suspect I've missed something simple
:-(
Michael

David Moore wrote:
> In the variables table there is an entry for database version. If you do
> not update the table with the current version number you will not be able to
> login and it will keep looping the install script.
That's what the 2 lines at the end of tables.my.sql are for (this is
from the tip of the SVN trunk):
INSERT INTO mrbs_variables (variable_name, variable_content)
VALUES ( 'db_version', '8');
INSERT INTO mrbs_variables (variable_name, variable_content)
VALUES ( 'local_db_version', '1');
Cheers,
John.
--
John Beranek - MRBS Developer <http://mrbs.sourceforge.net/&gt;
To generalise is to be an idiot.
-- William Blake

Dear MRBS developer,
I'm prof. Tommaso Minerva, from the University of Modena and
Reggio Emilia, Italy.
I' d like to ask if you can work on inclusion of a couple of features
in MRBS:
- a Manager user level, where Manager is an Area Manager that can
insert, modify, delete
bookings in one or more Areas;
- Normal users can only make Requests of Booking to be confirmed from
the Area or Room Manager;
So what I need is thata when I define an Area I can assign a Manager
from the user list;
The manager can manage only the Room in his/her Area and is a normal
user respect to
the other ones;
The admins can manage all the areas, include new areas, rooms... the
same as the actual profile...
The normal user can only make requests of reservation (similar to
private).. the requests
will be shown on the timetable without details as Pending Request...
I can donate 500 Euros if you can develop MRBS in that direction and
you are free
to include the features in the GPL code...
I can donate further 500 Euros (so... it's 1000 Euros!) if the feature
could be included
in the next two weeks.
Let me know,
Tommaso Minerva

In the variables table there is an entry for database version. If you do
not update the table with the current version number you will not be able to
login and it will keep looping the install script.
-----Original Message-----
From: John Beranek - MRBS Developer [mailto:jberanek@...]
Sent: Thursday, October 29, 2009 6:24 PM
To: General purpose list (support/developers/users)
Subject: Re: [MRBS-general] MRBS Installation instructions
On 29/10/2009 22:17, David Moore wrote:
> I have done several installations with PHP, mySQL, and IIS. You will have
> to do it manually... Create the database tables using the .mysql install
> file and then update your database version to correspond with the code.
It
> really can be a mess but wants its installed it is a great app.
I've no idea what you mean by "then update your database version to
correspond with the code"!
Cheers,
John.
--
John Beranek - MRBS Developer <http://mrbs.sourceforge.net/&gt;
To generalise is to be an idiot.
-- William Blake
----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
mrbs-general mailing list
mrbs-general@...
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Want to unsubscribe:
mailto:mrbs-general-request@...?subject=unsubscribe

On 29/10/2009 22:17, David Moore wrote:
> I have done several installations with PHP, mySQL, and IIS. You will have
> to do it manually... Create the database tables using the .mysql install
> file and then update your database version to correspond with the code. It
> really can be a mess but wants its installed it is a great app.
I've no idea what you mean by "then update your database version to
correspond with the code"!
Cheers,
John.
--
John Beranek - MRBS Developer <http://mrbs.sourceforge.net/&gt;
To generalise is to be an idiot.
-- William Blake

I have done several installations with PHP, mySQL, and IIS. You will have
to do it manually... Create the database tables using the .mysql install
file and then update your database version to correspond with the code. It
really can be a mess but wants its installed it is a great app.
-----Original Message-----
From: John Beranek - MRBS Developer [mailto:jberanek@...]
Sent: Thursday, October 29, 2009 4:35 PM
To: General purpose list (support/developers/users)
Subject: Re: [MRBS-general] MRBS Installation instructions
On 29/10/2009 20:14, John Lessandrini wrote:
> Does anyone have a more complete set of installation instructions for
> MRBS. I am running IIS with php and mysql. I have tested php and it is
> running properly. I cannot bring up any pages for MRBS.
The file INSTALL in the archive you downloaded or:
http://mrbs.sourceforge.net/view_text.php?section=Documentation&file=INSTALL
I can't help you with an IIS installation as I've never done one, and
never _want_ to do one.
Cheers,
John.
--
John Beranek - MRBS Developer <http://mrbs.sourceforge.net/&gt;
To generalise is to be an idiot.
-- William Blake
----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
mrbs-general mailing list
mrbs-general@...
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Want to unsubscribe:
mailto:mrbs-general-request@...?subject=unsubscribe

On 29/10/2009 20:14, John Lessandrini wrote:
> Does anyone have a more complete set of installation instructions for
> MRBS. I am running IIS with php and mysql. I have tested php and it is
> running properly. I cannot bring up any pages for MRBS.
The file INSTALL in the archive you downloaded or:
http://mrbs.sourceforge.net/view_text.php?section=Documentation&file=INSTALL
I can't help you with an IIS installation as I've never done one, and
never _want_ to do one.
Cheers,
John.
--
John Beranek - MRBS Developer <http://mrbs.sourceforge.net/&gt;
To generalise is to be an idiot.
-- William Blake

Does anyone have a more complete set of installation instructions for MRBS.
I am running IIS with php and mysql. I have tested php and it is running
properly. I cannot bring up any pages for MRBS.
Thanks,
John

The descriptors are in the lang files (eg lang.en for English) and the
format is set in functions.mail.inc. Adding new lines is relatively
easy, but making text bold is less so. The emails are sent as plain text
emails, and if you want to make text bold, for example, you're going to have
to turn them into HTML emails. This is not simple to do as different email
clients interpret HTML differently and so you'll need to do a lot of testing
to ensure it's working. Besides, many people prefer receiving plain text
emails anyway.
Campbell
From: Husnain Kermalli [mailto:hkermalli@...]
Sent: 29 October 2009 02:23
To: 'General purpose list (support/developers/users)'
Subject: [MRBS-general] Change email booking notification
Hello . we want to alter the text/formatting of the email booking
notification, which file should be used to alter?
Principally, we want to change some descriptors and alter the formatting
(make it bold) . also change the format on an EDIT so that the initial
time/day is placed on a SEPARATE line rather than in parenthesis .
Thanks for the help!
Husnain

Hello . we want to alter the text/formatting of the email booking
notification, which file should be used to alter?
Principally, we want to change some descriptors and alter the formatting
(make it bold) . also change the format on an EDIT so that the initial
time/day is placed on a SEPARATE line rather than in parenthesis .
Thanks for the help!
Husnain

Revision: 1231
http://mrbs.svn.sourceforge.net/mrbs/?rev=1231&view=rev
Author: cimorrison
Date: 2009-10-27 16:52:17 +0000 (Tue, 27 Oct 2009)
Log Message:
-----------
Added a sort key for rooms, so that rooms can be sorted in an order defined by the administrator rather than alphabetically. By default the sort key is the same as the room name and rooms will be sorted alphabetically as before. The sort order applies whenever rooms are listed, eg in the main day view and in drop-down lists.
Modified Paths:
--------------
mrbs/trunk/tables.my.sql
mrbs/trunk/tables.pg.73and_above.sql
mrbs/trunk/tables.pg.sql
mrbs/trunk/web/add.php
mrbs/trunk/web/admin.php
mrbs/trunk/web/day.php
mrbs/trunk/web/dbsys.inc
mrbs/trunk/web/edit_area_room.php
mrbs/trunk/web/edit_entry.php
mrbs/trunk/web/functions.inc
mrbs/trunk/web/lang.en
mrbs/trunk/web/month.php
mrbs/trunk/web/report.php
mrbs/trunk/web/week.php
Added Paths:
-----------
mrbs/trunk/web/upgrade/8/
mrbs/trunk/web/upgrade/8/mysql.sql
mrbs/trunk/web/upgrade/8/pgsql.sql
mrbs/trunk/web/upgrade/8/post.inc
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

On 26/10/2009 18:58, Marcos Mezo wrote:
> Marcos Mezo wrote:
>>> Thanks for your efforts, but frankly I'm not convinced. If you cache all
>>> the HTML output before sending any of to the web browser, doesn't that
>>> lead to much less "progressive" display of the calendar. If the database
>>> access and processing takes a significant amount of time on the server,
>>> the user will just be left with a progress bar and possibly an empty
>>> page, won't they?
>>>
>>>
>> I've put some "microtime()":
>> - at the start of the script after the requires
>> - when processing ends and the page begins to be sent, right before
>> the "print_header()" in my version
>> - at the second last line of the script (just before the require_once
>> "trailer.inc")
>>
>> The result:
>> Start: 0.12682600 1256570427
>> End processing and 'caching'/Begin rendering: 0.15040300 1256570427
>> End: 0.15754300 1256570427
Many thanks for your efforts in profiling this. When I get a timeslice
for MRBS work I'll take a further look at your patch.
Cheers,
John.
--
John Beranek - MRBS Developer <http://mrbs.sourceforge.net/&gt;
To generalise is to be an idiot.
-- William Blake

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffcc" text="#000000">
Thanks,<br>
yes, this does the job!<br>
Friedaweb<br>
<br>
Campbell Morrison wrote:
<blockquote cite="mid:01d301ca5681$1e7c1a20$5b744e60$@co.uk" type="cite">
<pre wrap="">In mrbs.css.php change the line (round about line 226 in 1.4.2) that looks
like this
echo ".month div.$type {float: left; max-height: 1.3em; height: 1.3em;
min-height: 1.3em; overflow: hidden; background-color: $col}\n"; // used
in the month view
to
echo ".month div.$type {float: left; overflow: hidden; background-color:
$col}\n"; // used in the month view
I've tested this with $monthly_view_entries_details = "both". I'm not sure
what will happen if you're using "description" or "slot", but I guess you
wouldn't be using those anyway if you want to see the full text.
Campbell
From: Frieda Bos Webdesign [<a class="moz-txt-link-freetext" href="mailto:frieda@...">mailto:frieda@...</a>]
Sent: 26 October 2009 16:53
To: <a class="moz-txt-link-abbreviated" href="mailto:mrbs-general@...">mrbs-general@...</a>
Subject: [MRBS-general] month.php no clipping
Hallo,
Month view is now clipping the name of the entry. How can you stop it
clipping the name and if it is a long name have it on 2 lines instead of
making the date cell wider?
Thanks in advance for your help,
Friedaweb
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/devconference">http://p.sf.net/sfu/devconference</a&gt;
_______________________________________________
mrbs-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mrbs-general@...">mrbs-general@...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/mrbs-general">https://lists.sourceforge.net/lists/listinfo/mrbs-general</a&gt;
Want to unsubscribe: <a class="moz-txt-link-freetext" href="mailto:mrbs-general-request@...?subject=unsubscribe">mailto:mrbs-general-request@...?subject=unsubscribe</a>
</pre>
</blockquote>
</body>
</html>

I don't think there are any patches. There was some discussion a few weeks
ago on the required behaviour and I was going to implement something, but
haven't had time yet.
Campbell
-----Original Message-----
From: Emmanuel Dreyfus [mailto:manu@...]
Sent: 26 October 2009 19:49
To: General purpose list (support/developers/users)
Subject: Re: [MRBS-general] minor annoyances
Marcos Mezo <m.mezo@...> wrote:
> 1) and 2) are known and there has been discussion about it on the
> mailinglist. The outcome if I remember well is that it's suboptimal and
> that it is beeing worked on or someone has patches or something like that.
Anyone remember where the patches are?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...
----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
mrbs-general mailing list
mrbs-general@...
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Want to unsubscribe:
mailto:mrbs-general-request@...?subject=unsubscribe