phpScheduleIt
May 24, 2013, 07:13:32 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: phpScheduleIt 2.4.2 has been released!
Home
Help
Login
Register
phpScheduleIt
>
Modifications
>
Post Modifications
>
preventing users from viewing other reservations
Pages: [
1
]
« previous
next »
Print
Author
Topic: preventing users from viewing other reservations (Read 1220 times)
psi_newbie
Newbie
Karma: 0
Posts: 39
preventing users from viewing other reservations
«
on:
January 26, 2012, 06:25:46 PM »
Please how can i make sure users are only allowed to view/edit/delete their own reservation and not even view other users reservations at all
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
Re: preventing users from viewing other reservations
«
Reply #1 on:
January 31, 2012, 01:22:28 PM »
The simplest way is to enable privacyMode in the config file.
Logged
stevej31088
Newbie
Karma: 0
Posts: 5
Re: preventing users from viewing other reservations
«
Reply #2 on:
February 17, 2012, 05:58:22 PM »
Seems like that line is missing in the config.php file of the 2.0 version. I tried adding several variations, such as:
$conf['app']['privacyMode'] = '1';
and
$conf['settings']['reservation']['privacyMode'] = 'true';
Nothing worked. Should another snippet be placed on other pages?
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
Re: preventing users from viewing other reservations
«
Reply #3 on:
February 21, 2012, 12:31:46 PM »
I haven't incorporated privacy mode into 2.0 yet. This should be included as part of 2.1.
Logged
stevej31088
Newbie
Karma: 0
Posts: 5
Re: preventing users from viewing other reservations
«
Reply #4 on:
February 22, 2012, 11:02:20 AM »
For anyone interested, I'm using a work around with the 2.0 version by:
1. Editing the ../Web/css/schedule.css file - using the same background and font color for the reserved, and pending files.
2. Editing the tpl/schedule.tpl file - removing the css attribute in the respective slot "legend" and inserting images (same background color, with readable text)
3. Editing the tpl/Reservation files to ensure unwanted info is not seen by other users.
Hope that helps.
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
Re: preventing users from viewing other reservations
«
Reply #5 on:
February 27, 2012, 01:03:31 PM »
Nice. Thanks!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> Open Discussion
=> Donations
-----------------------------
Help and Support
-----------------------------
=> phpScheduleIt 2.x
=> EspaƱol
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
=> New Features and Suggestions
=> Developers
-----------------------------
Bugs
-----------------------------
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
-----------------------------
Modifications
-----------------------------
=> Post Modifications
=> Request Modification
-----------------------------
Development
-----------------------------
=> phpScheduleIt 2.0
-----------------------------
Off-Topic
-----------------------------
=> Non-phpScheduleIt Discussion
Loading...