phpScheduleIt
May 24, 2013, 05:04:41 AM
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
>
Help and Support
>
phpScheduleIt 2.x
>
Remove repeat booking for normal users
Pages: [
1
]
« previous
next »
Print
Author
Topic: Remove repeat booking for normal users (Read 127 times)
Matt Elms
Newbie
Karma: 0
Posts: 28
Remove repeat booking for normal users
«
on:
November 07, 2012, 05:04:15 AM »
Does anyone know if there is any way to remove the option to make repeat bookings for normal users? But Admin users could still make repeat bookings.
Regards
Matt
Logged
pask
Newbie
Karma: 0
Posts: 39
Re: Remove repeat booking for normal users
«
Reply #1 on:
November 07, 2012, 01:27:21 PM »
Hi,
If you are using the 2.3.x version, in the config file, change $conf['settings']['reservation']['prevent.recurrence'] = 'false'; for 'true' and you have what you want.
If you are using an older version, you will need to change the file /tpl/Reservation/create.tpl. Look for the line <div id="repeatDiv"> and insert before the <li> tag the following line: {if $CanViewAdmin || $CanViewResourceAdmin } . You need to close the "If" statement just before this line: <li class="rsv-req"> with the code {/if} .
Don't forget to delete all files in the tpl_c folder to view changes.
Regards,
Pascal
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...