Sudhanshu Rajvaidya | 1 Sep 03:25 2004

Print Button in Preview

Hi,
I would like to add a print button in print previews(Day, week & month). Can any one suggest me how to do it? I
have been looking for a place in code where I can add javascript:print(). Is there any other way to
accomplish this?

Thanks,
Sudhanshu

----------------------------------------------------------------------------------
" Self-esteem is great but beware of creating a cozy home for unproductive people with bad ideas."

--

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

Sandvik, Bjorn | 1 Sep 15:29 2004
Picon

Wrong day view for users

Hi
 
Great application!
 
One question though
 
Why come some users are not redirected to the appropriate day view when entering
the application?
 
This works fine for most of the users, however some users are always redirected
to the same date, 10th May 2004 in this case, when they login.
 
Please help
 
Regards,
Bjorn
Charles Theobald | 1 Sep 18:43 2004
Picon

Authentication variables

We would like to use an existing database to authenticate our users.  
What variables do we need to set  in our script that mrbs is going to need?
Thanks

Larvoire, Jean-Francois | 1 Sep 18:55 2004
Picon

RE: Authentication variables

Hello,

There's way to do this by just setting configuration variables.
You need to rewrite file auth_db.inc. (70 lines, 3/4 of which are comments)
Please read the file AUTHENTICATION for details about the authentication system.

Jean-François

========================================================================
= Jean-François Larvoire                 =========   _/      ===========
= Hewlett-Packard                        =======    _/           =======
= 5 Avenue Raymond Chanas, Eybens        =====     _/_/_/  _/_/_/  =====
= 38053 Grenoble Cedex 9, FRANCE         =====    _/  _/  _/  _/   =====
= Phone: +33 476 14 13 38                =====   _/  _/  _/_/_/    =====
= Fax:   +33 476 14 45 19                =======        _/       =======
= Email: jean-francois.larvoire <at> hp.com   ==========    _/     ==========
========================================================================

-----Original Message-----
From: mrbs-general-admin <at> lists.sourceforge.net
[mailto:mrbs-general-admin <at> lists.sourceforge.net]On Behalf Of Charles
Theobald
Sent: Wednesday, 01 September, 2004 18:44
To: mrbs-general <at> lists.sourceforge.net
Subject: [MRBS-general] Authentication variables

We would like to use an existing database to authenticate our users.  
What variables do we need to set  in our script that mrbs is going to need?
Thanks

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
Larvoire, Jean-Francois | 1 Sep 19:10 2004
Picon

RE: Authenticate users

Hello,

currently, the authentication system does not distinguish the booking creation right from the booking
change rights.
It's the same page that manages both: edit_entry.php.
You would have to move the authentication call from the beginning of that file, to the branch that deals with updates.

# Authentication code:
if(!getAuthorised(getUserName(), getUserPassword(), 1))
{
...
}

# Creation / update test:
if (isset($id))
{
...
}

-------------------------------

As for your second question, room names are located in a table heading, and are links.
The colors are defined in the style sheet:
The TH section for table heading;
The A sections for links. (There are several)

Jean-François

========================================================================
= Jean-François Larvoire                 =========   _/      ===========
= Hewlett-Packard                        =======    _/           =======
= 5 Avenue Raymond Chanas, Eybens        =====     _/_/_/  _/_/_/  =====
= 38053 Grenoble Cedex 9, FRANCE         =====    _/  _/  _/  _/   =====
= Phone: +33 476 14 13 38                =====   _/  _/  _/_/_/    =====
= Fax:   +33 476 14 45 19                =======        _/       =======
= Email: jean-francois.larvoire <at> hp.com   ==========    _/     ==========
========================================================================

-----Original Message-----
From: mrbs-general-admin <at> lists.sourceforge.net
[mailto:mrbs-general-admin <at> lists.sourceforge.net]On Behalf Of Geir André
Leithe
Sent: Monday, 30 August, 2004 08:11
To: mrbs-general <at> lists.sourceforge.net
Subject: [MRBS-general] Authenticate users

I need help with autentication. I want to let all users by default registrer bookings, but not be able to
edit. Edit rights is just for a few admins. How can I configure this? I'm not able to use IP and is running MRBS
1,2 PRE on a Win2k server.

PS! By the way. How do I edit the files to change the colors of the room-names in the calendar? As default they
are almost impossible to read.

Regards,
Geir André Leithe

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick
Larvoire, Jean-Francois | 1 Sep 19:15 2004
Picon

RE: multiple servers

A change has been made a few months ago to allow searching several pop3 servers for authentication data.

I suppose your directory servers are LDAP servers?

In this case you'd have to make changes in auth_ldap.inc similar to the change made in auth_pop3.inc at that time.

Jean-François

========================================================================
= Jean-François Larvoire                 =========   _/      ===========
= Hewlett-Packard                        =======    _/           =======
= 5 Avenue Raymond Chanas, Eybens        =====     _/_/_/  _/_/_/  =====
= 38053 Grenoble Cedex 9, FRANCE         =====    _/  _/  _/  _/   =====
= Phone: +33 476 14 13 38                =====   _/  _/  _/_/_/    =====
= Fax:   +33 476 14 45 19                =======        _/       =======
= Email: jean-francois.larvoire <at> hp.com   ==========    _/     ==========
========================================================================

-----Original Message-----
From: mrbs-general-admin <at> lists.sourceforge.net
[mailto:mrbs-general-admin <at> lists.sourceforge.net]On Behalf Of Jason
Joines
Sent: Friday, 27 August, 2004 18:23
To: mrbs-general <at> lists.sourceforge.net
Subject: [MRBS-general] multiple servers

    We need to be able to authenticate users against two directory
servers.  We have a local directory server that we maintain with about
250 users, our employees.  There is another directory server that we
don't maintain with about 20,000 users, students.  We want to use MRBS
to let students schedule appointments with our advisers.  Ideally, we
would search our small directory first so advisers could authenticate.
If a user isn't found in our directory we need to search the other one.
Is there any way to set this up?

Thanks,

Jason Joines
=================================

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
Larvoire, Jean-Francois | 1 Sep 19:22 2004
Picon

RE: Mixed-mode authentication?

> Is there any way to mix both anonymous and nonymous (word?) access in 
> config.inc.php?

Not yet.

> Generally-speaking, if there is a way to turn auth off for level 1 
> access, that would be swell.

I'll add this in the feature request list.

Jean-François

========================================================================
= Jean-François Larvoire                 =========   _/      ===========
= Hewlett-Packard                        =======    _/           =======
= 5 Avenue Raymond Chanas, Eybens        =====     _/_/_/  _/_/_/  =====
= 38053 Grenoble Cedex 9, FRANCE         =====    _/  _/  _/  _/   =====
= Phone: +33 476 14 13 38                =====   _/  _/  _/_/_/    =====
= Fax:   +33 476 14 45 19                =======        _/       =======
= Email: jean-francois.larvoire <at> hp.com   ==========    _/     ==========
========================================================================

-----Original Message-----
From: mrbs-general-admin <at> lists.sourceforge.net
[mailto:mrbs-general-admin <at> lists.sourceforge.net]On Behalf Of Jim Hogan
Sent: Wednesday, 25 August, 2004 21:40
To: mrbs-general <at> lists.sourceforge.net
Subject: [MRBS-general] Mixed-mode authentication?

I am updating an existing MRBS install and saw some of the changes in 
authentication structure. 

Under the new setup, access to MRBS will be protected by Apache 
directives, so I am not looking to implement level one user auth other 
than via IP address range perhaps (I have that working).  I would, 
however, like to auth level 2 administrator access with id/password (in 
config initially, perhaps mysql/LDAP later on).

Is there any way to mix both anonymous and nonymous (word?) access in 
config.inc.php?

Generally-speaking, if there is a way to turn auth off for level 1 
access, that would be swell.

Thanks,

Jim

--

-- 
/*********************************************************/
 Jim Hogan                   jimh AT u__ washington__ edu

/*********************************************************/

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
Sudhanshu Rajvaidya | 2 Sep 16:22 2004

Printing directly

Hi,
I would like to add a print button in print previews(Day, week &
month) generated by MRBS. Can any one suggest me how to do it? I have been looking for
a place in code where I can add javascript:print(). Is there any
other way to accomplish this?

Thanks,
Sudhanshu

----------------------------------------------------------------------------------
" Self-esteem is great but beware of creating a cozy home for unproductive people with bad ideas."

--

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

John Beranek | 2 Sep 16:50 2004
Picon

Re: Print Button in Preview

Sudhanshu Rajvaidya wrote:

> Hi, I would like to add a print button in print previews(Day, week &
> month). Can any one suggest me how to do it? I have been looking for
> a place in code where I can add javascript:print(). Is there any
> other way to accomplish this?

Are users really incapable of finding the print function in their 
browsers themselves? :)

If that really is the case, then what you need to do is find the 
location in the HTML you'd like to put the link/button, find where in 
day.php, week.php and month.php that is and add something like:

if ($pview == 1)
{
   echo "<a href="javascript:print">Print</a>"
}

> Thanks, Sudhanshu

John.

P.S. The repeated post wasn't necessary, it won't make people more keen 
to answer you...

--

-- 
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake

Neil Hawes | 2 Sep 23:06 2004
Picon

Area and Room display on "day.php"

Hello, and thanks for the wonderful script.

I was wondering how would I get the "Areas" and "Rooms" to display on the
'day.php' page as they currently do on 'week.php' and 'month.php'?

Thank you for any help which you may be able to post for me.

Regards,
Neil

---
[This E-mail has been scanned for viruses by the IPC E-mail server]


Gmane