Jump to content

Arkaine

Members
  • Posts

    65
  • Joined

  • Last visited

Everything posted by Arkaine

  1. Don't be afraid to increment the release number. It's less confusing that way.
  2. Oh, it only did that the first time for me. I just had to change it once. FYI: In setup, the hapswitches on the pop-up dialogs always seem to render initially as false, but the actual checkbox value is what it should be. I figure that's just a minor inconvenience since end users never see the setup menus.
  3. It's weird, because sometimes it works and sometimes it doesn't.
  4. Anything at or below the free resource count.
  5. It stores the count as "0" in bookings.xml when the HTTP post count variable isn't transmitted for that particular booking. The client isn't sending the variable to the server, and the server records 0.
  6. Damn, that's fast! Post #16 above still applies for Alpha 2.
  7. Sometimes when a second user books the same lesson, the "Count" HTTP post variable doesn't get transmitted: Sometimes it does what it's supposed to do:
  8. Oh, wow, I think that did it! I'll try to break it some more for you.
  9. I take that back, it seems to be random rather than on the third booking. Also, is this what you meant by "cocked up display?" Example:
  10. Nick, thank you! It's amazing that you've done this so quickly! It works great for up to two bookings per lesson, but at the third (and any subsequent) booking, the quantity requested is always recorded as "0" regardless of what the user selects when making it. Bookings.xml hapconfig.xml
  11. You get the following error if the "canshare" XML attribute for the resource doesn't already exist. Manually adding the attribute resolves the issue. Object reference not set to an instance of an object. This error has been logged on the server's event log
  12. Holy cow, Nick; you're incredible! I am definitely interested in testing this for you. If the display issues are just a matter of changing some HTML/CSS markup, hell, I am more than happy to contribute to allow you to focus on the more difficult tasks.
  13. Have a pub night on me! I'm glad to hear you're working on booking system improvements! Ha! It's less like a discussion and more like a brawl. I'm definitely no developer, but I'm sometimes capable enough to hack other brilliant developers' code to get it to do what I want (as long as it's a minor change). Of course I'm more comfortable with PHP and VB than C#...and it looks like most of the logic is compiled into binaries so I wouldn't know where to start with that, heh. If this were PHP/MySQL (not C#/XML), I figure the simplest way to do this would add a "maxresourcecount" field for the booking system resource and do something like this. Obviously, it's more difficult than I make it sound...especially when you already have a day job! //pull max resource count from configuration $intMaxResourceCount = mysql_query( "SELECT `maxresourcecount` FROM `bookingsystem_resources` WHERE name='$strResourceName'" ); //calculate resource count already booked (an alternative would be to loop through the records and add them up) $intBookedResourceCount = mysql_query( "SELECT SUM(`bookedresourcecount`) FROM `bookings` WHERE (name='$strResourceName') AND (`date`='$strDate') AND (`lesson`='$strLesson')" ); //determine whether or not to allow booking if($intBookedResourceCount < $intMaxResourceCount){ //allow booking if requested quantity is less than or equal to: $intMaxResourceCount - $intBookedResourceCount }else{ //don't allow booking }
  14. Home Access Plus+ is amazing! The file manager functionality is excellent and the end-user interface looks clean and polished. I can't believe you offer this for free; it's much appreciated! Do you accept donations? In the booking system, it looks like you might be in the early stages of implementing this with the "Laptop" resource type, but do you plan on allowing multiple users to split resources within the same lesson? I have a couple computer labs that may be reserved for multiple classes within the same time slot because there are more than enough workstations to accommodate them. This same concept goes for a couple of my laptop carts as well. I've attached an (edited) screenshot that will hopefully convey my thoughts.
  15. Here's a more elegant solution that doesn't involve modifying code or configuration files.
×
×
  • Create New...