Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5419
|
 |
« Reply #15 on: July 18, 2011, 02:56:55 PM » |
|
You're right, that errored out for me. It looks like its a problem with the database for the demo. I'll be releasing another update this week which should fix this.
|
|
|
|
|
Logged
|
|
|
|
rhondaduranceau
Newbie
Karma: 0
Posts: 1
Do as you would be done by.
|
 |
« Reply #16 on: July 19, 2011, 11:33:00 PM » |
|
Thanks. We need your help!
|
|
|
|
|
Logged
|
|
|
|
Lazi
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #17 on: July 21, 2011, 04:43:46 AM » |
|
Hi, first of all, You made great job! Thanks for this! Right now I'm using phpScheduleIt ver 1.2.12 and there is no option to prevent bookings resources for long time e.g. six months. So I decided to try ver 2.0 and check how it's solved in new version because I've read that this feature was pretty on top Your list between other functions to implement. But sadly I can't see possibility to block long term reservations. There is only field to put maximum booking time in HH:mm. Additionaly during playing new release, something gone wrong during adding new resource and now is visible info: Fatal error: Class 'DateInterval' not found in /home/nkorbel/public_html/demo2/lib/Common/TimeInterval.php on line 27I can't now even edit existing resources. Here is the link to the topic about this feature in ver 1.2: http://php.brickhost.com/forums/index.php?topic=3222.new;topicseen#newBest regards Lazi
|
|
|
|
« Last Edit: July 21, 2011, 04:46:59 AM by Lazi »
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5419
|
 |
« Reply #18 on: July 25, 2011, 01:55:41 PM » |
|
This bug should be fixed (I was inadvertently using a feature from PHP 5.3).
I haven't built the resource configuration rule enforcement yet, but I can get this in next. Adding reservation rules is now a pretty simple process in 2.0.
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5419
|
 |
« Reply #19 on: July 25, 2011, 01:59:53 PM » |
|
Correction: This is already implemented. Please let me know how it looks.
|
|
|
|
|
Logged
|
|
|
|
Lazi
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #20 on: August 01, 2011, 07:10:36 AM » |
|
Hi and thanks for quick reaction!
Below You can find results of my tests:
1st step: Admin->Manage Resources->Change Configuration I've set this option: Reservations cannot last more than HH:mm What is the maximum time which I can put in this field? Is it 838:59? Will be great to have an option to put value in days/months. Anyway I set it just for test on 48 hours.
2nd step: I want to test how it works and I log in as a standard user. Schedule->Bookings->Create a new reservation After fill all fields I receive error: Fatal error: Class 'AdminEmailCreatedNotification' not found in /home/nkorbel/public_html/demo2/lib/Application/Reservation/Notification/ReservationNotificationFactory.php on line 27
Best regards Lazi
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5419
|
 |
« Reply #21 on: August 01, 2011, 01:58:19 PM » |
|
1) I like the idea, I'm just not sure how to best approach it from a UI standpoint. We need to be able to support lengths from 1 minute to multiple days/weeks. Would it be as simple as entering days, hours, minutes as separate fields?
2) I must have somehow missed a file. I'm shooting for weekly updates at this point (today being an update day), so it should be working now.
|
|
|
|
|
Logged
|
|
|
|
Lazi
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #22 on: August 02, 2011, 03:54:49 AM » |
|
Of course, in my opinion it can be in separate fields. Even will be better.
Now after log in (as admin or user), such warnings are shown: Warning: fopen(c:\temp\log_20110802.log) [function.fopen]: failed to open stream: Permission denied in /home/nkorbel/public_html/demo2/lib/external/log4php/appenders/LoggerAppenderFile.php on line 77
Warning: fopen(c:\temp\sql_log_20110802.log) [function.fopen]: failed to open stream: Permission denied in /home/nkorbel/public_html/demo2/lib/external/log4php/appenders/LoggerAppenderFile.php on line 77
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5419
|
 |
« Reply #23 on: August 08, 2011, 03:21:21 PM » |
|
 Fixed this one, too. I've also added the first attempt at the quota feature and would LOVE some feedback here. You can add a quota under Admin -> Manage Quotas. They will be enforced against all users except administrators.
|
|
|
|
|
Logged
|
|
|
|
Lazi
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #24 on: August 09, 2011, 04:56:50 AM » |
|
Schedule->Bookings->Create a new reservation After fill all fields I receive an error:
Fatal error: Call to undefined method DateTime::setTimestamp() in /home/nkorbel/public_html/demo2/lib/Common/Date.php on line 332
Quotas seems to be usable.
Best regards Lazi
|
|
|
|
|
Logged
|
|
|
|
chaplib
Newbie
Karma: 0
Posts: 20
|
 |
« Reply #25 on: August 10, 2011, 05:22:55 PM » |
|
 Fixed this one, too. I've also added the first attempt at the quota feature and would LOVE some feedback here. You can add a quota under Admin -> Manage Quotas. They will be enforced against all users except administrators. Yay! Quotas based on time seem to be working. how difficult would it be to modify the code to make the quota based on number of future reservations?
|
|
|
|
|
Logged
|
|
|
|
chaplib
Newbie
Karma: 0
Posts: 20
|
 |
« Reply #26 on: August 10, 2011, 05:33:46 PM » |
|
 Fixed this one, too. I've also added the first attempt at the quota feature and would LOVE some feedback here. You can add a quota under Admin -> Manage Quotas. They will be enforced against all users except administrators. Yay! Quotas based on time seem to be working. how difficult would it be to modify the code to make the quota based on number of future reservations? My bad. I did not notice that there was a dropdown. Next question: Is it possible to import the user table from 1.2.x install?
|
|
|
|
|
Logged
|
|
|
|
bgunn
Newbie
Karma: 0
Posts: 3
|
 |
« Reply #27 on: August 11, 2011, 11:24:21 AM » |
|
Love the quotas! Would it be possible to expand the options so that I can set quotas for all resources in a schedule as well? ie, limit a user to 2 bookings a week in schedule A (over all of its resources)? I have a lot of resources in each schedule and don't care which one they use, but want to limit the number of bookings in the schedule instead to control the crowd. In my case my resources are machines in a room, and the schedules are the rooms themselves.
Looking good!
|
|
|
|
|
Logged
|
|
|
|
Catarino
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #28 on: August 12, 2011, 05:31:33 AM » |
|
Suggestion...
Reserve more than 1 resource at one time
Example: In a school if i want to reserve a classroom and 5 laptops i have to make 6 reservations.
Iis possible in the "Create a new reservation" page add some select boxes of the resources available between the dates??
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5419
|
 |
« Reply #29 on: August 15, 2011, 01:45:35 PM » |
|
Would it be possible to expand the options so that I can set quotas for all resources in a schedule as well? Should be very simple. The quota code is pretty easy to build on, so adding new rules is pretty straightforward.
|
|
|
|
|
Logged
|
|
|
|
|