nickbro Posted July 31, 2012 Author Posted July 31, 2012 v8 Alpha is due out next week, with the Stable release scheduled for Mid/Late August.
tj2419 Posted July 31, 2012 Posted July 31, 2012 v8 Alpha is due out next week, with the Stable release scheduled for Mid/Late August. Awesome Will there be a guide to install from scratch (e.g. without having a previous version). I have been trying to install v7.10 but the video guide looks like it assumes you have a previous version installed. Could just be me, been a long day
nickbro Posted July 31, 2012 Author Posted July 31, 2012 The main installation hasn't changed since the early v7. The HAP Config page is still the place to go after installation
TheScarfedOne Posted September 6, 2012 Posted September 6, 2012 @TheScarfedOne I've just added the feature to book multi lessons (if you enable it, it will be disabled by default, and can be configured on a per room basis). It will also be an advanced feature, which requires direct editing of the hapConfig.xml file. It will not currently be configurable via the setup.aspx page. @nickbro - can you give me some more info on how this works and how to do it, perfect!! :-)
nickbro Posted September 6, 2012 Author Posted September 6, 2012 On the booking system node add MutliLesson="true" then on the resources you want to grant multilesson access too you add multilessonto="[All|None|AD Groups|AD Users]"
TheScarfedOne Posted September 7, 2012 Posted September 7, 2012 Great, thanks. Ive done that - but it looks like something isnt right? See attached. The dropdown is empty.
nickbro Posted September 7, 2012 Author Posted September 7, 2012 can't see the attached, I couldn't get anyone to test this feature before release
TheScarfedOne Posted September 8, 2012 Posted September 8, 2012 Hmm, not sure where the attachment went. Will try reposting it tomo
nickbro Posted September 10, 2012 Author Posted September 10, 2012 Ok, I'll have to look into that one
TheScarfedOne Posted September 10, 2012 Posted September 10, 2012 Great, thanks :-) Will leave it as "off" for the moment - but I will definately be using it, so can test more if need. Will PM personal email to keep in touch on the issue.
nickbro Posted September 10, 2012 Author Posted September 10, 2012 Ok give this a try Open ~/BookingSystem/Default.aspx go to line 290. Replace it with this: (changes are in bold if (curres.MultiRoom) { $("#bfmultilesson").show(); $("#[u][b]bfmultiroom[/b] [/u]option").remove(); var l1 = false; var l2 = ""; var l3 = 0; for (var i = 0; i < curres.Data.length; i++) { if (!l1) l1 = (curres.Data[i].Lesson == lesson); if (l1) { l3++; $("#[u][b]bfmultiroom[/b][/u]").append('' + l3 + ' Lesson' + (l3 == 1 ? '' : 's') + ''); l2 += curres.Data[i].Lesson + ','; } } canmulti = true; }
TheScarfedOne Posted September 13, 2012 Posted September 13, 2012 Yep - that sorts the display issue - but now on clicking "Book" the entry doesnt get added, no matter what the setting on the number of lessons.
nickbro Posted September 13, 2012 Author Posted September 13, 2012 Ok, here's the next fix, or at least it fixes it for me: Line 341 var d = '{ "booking": { "Room": "' + curres.Name + '", "Lesson": "' + (canmulti ? $("[u][b]#bfmultiroom[/b][/u]").val() : curles) + '", "Username": "' + (user.isBSAdmin ? $("#<%=userlist.ClientID %> option:selected").val() : user.username) + '", "Name": "' + n1 + '"';
TheScarfedOne Posted September 17, 2012 Posted September 17, 2012 Hmm - still the same here any other references to check/fix? Ok, here's the next fix, or at least it fixes it for me: Line 341 var d = '{ "booking": { "Room": "' + curres.Name + '", "Lesson": "' + (canmulti ? $("[u][b]#bfmultiroom[/b][/u]").val() : curles) + '", "Username": "' + (user.isBSAdmin ? $("#<%=userlist.ClientID %> option:selected").val() : user.username) + '", "Name": "' + n1 + '"';
nickbro Posted September 17, 2012 Author Posted September 17, 2012 Can you do some JSON Debugging, I'll need to find out what it's trying to send to the server
TheScarfedOne Posted September 17, 2012 Posted September 17, 2012 Of course - what do you need me to test? Can you do some JSON Debugging, I'll need to find out what it's trying to send to the server
TheScarfedOne Posted September 17, 2012 Posted September 17, 2012 Some test results for you... Ive gone and nosied at the the booking xml file and found the following entries... These are before the last fix: These are after the last fix:
TheScarfedOne Posted September 17, 2012 Posted September 17, 2012 And another quick one - if I wanted the "Charging" on laptops to block out the next two sessions (we have AM Break, PM Break and Lunch all on the system) - what would I need to change...
nickbro Posted September 17, 2012 Author Posted September 17, 2012 Can you paste the HTML of the Booking form, it doesn't seem to be rendering properly. Changing is +/- 1 session either side
TheScarfedOne Posted September 17, 2012 Posted September 17, 2012 Can you paste the HTML of the Booking form, it doesn't seem to be rendering properly. Changing is +/- 1 session either side Is it possible to have it as +2 on the after booking side?
TheScarfedOne Posted September 17, 2012 Posted September 17, 2012 And restarting IIS has dealt with the failing to book properly issue on multi rooms. Works brilliantly too - like the way it knows its a multi booking and on delete, it takes them all out :-)
Recommended Posts