Jump to content

Recommended Posts

Posted
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 :p

  • 1 month later...
Posted
@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!! :-)

Posted

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]"

Posted

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;
               }

Posted

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 + '"';

Posted

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 + '"';

Guest
This topic is now closed to further replies.



×
×
  • Create New...