Jump to content

steelerboi

Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by steelerboi

  1. Thanks, I've emailed you now
  2. Hi, Our v.a. uses custom kACARS and one of our pilots is struggling with a fuel issue, in that 99% of his PIREPs show 0kg fuel usage, even though the log itself shows correct take-off and landing fuel quantities in lbs. Very occasionally he will have a PIREP with the correctly calculated value in kg, but I'm at a loss to figure out why most show 0kg. PIREPs from all other pilots are spot on with the fuel usage the majority of the time, although sometimes I will see a report with a negative value, but there is no indication of midair refuel etc. In all the above situations, I can manually work out the use by subtracting the landing fuel value from the take-off value, and then convert to kg, but obviously this adds time to the processing of the reports, and I'd like to have the value populated correctly when the report is initially filed by the pilot. Has anyone had this happen to them or their pilots ?
  3. Hi guys, Sorry to resurrect this year-old post, but my pilots are reporting some strange issues with fuel usage figures. For example, a flight of just over an hour in a 757-200 recorded about 13000lbs fuel used, but the PIREP showed 28000kg (my local.config is setup for liquid units in kg). Now, obviously that figure in kg is way off, so I looked at another PIREP log which showed take off fuel as 4737 lbs and landing with 2921 lbs, so 1816 lbs used. I looked at the kACARS code, which shows that if liquid unit is set to 2, then the conversion to kg is fuelused * .45359237, which in that case would work out as 823.72 kg. However, the PIREP showed 916.71kg ! Can someone shed some light on this issue please ? Is fuel usage definitely the take-off minus landing values, and if so, how come the total is not that of the formula in the code ? Many thanks, Nige
  4. Thanks Jeff. I have absolutely no idea why it's not working for mine though. Actually, as I write this, I'm wondering whether it could actually be dependant on the browser being used. I normally use Chrome, but next time there's a flight on the go, I'll try using Firefox or IE.
  5. Hmmm, I changed the value to 5000 as suggested, but still no joy. There's still a 1 minute refresh time on the map
  6. Thanks again for replying so quickly I think I tried changing the acarsmap.tpl to 5000 and nothing changed, but will certainly give it another go. Would I need to reset Acars and clear cache from the Admin page ?
  7. Hi Parkho, Thanks for the reply, but I think you misunderstood what I was trying to achieve. The setting which you mention is to determine the length of time a flight shows on the map before clearing itself. That one I have nailed already The setting which I'm looking for is the refresh rate at which the data on the map changes, i.e. when the aircraft moves from one point to another, and the flight data changes.
  8. The live map on my site seems to always refresh every minute, but I'd like it to refresh every 30 seconds if possible. I've looked at the acarsmap.tpl and that still shows a default setting of 10000 (i.e.10 seconds), and the refreshTime in acarsmap.js is 6000. Changing either of the values appears to have no effect on the map refresh, which remains stubborn at a 1 minute interval. Any assistance to point out where I'm going wrong would be very much appreciated.
  9. I currently use Addonchat integrated with PHPBB3 on my site, but would ideally like to change this so that it's integrated with the main PHPVMS pilot centre. I was wondering whether anyone else uses Addonchat or has successfully managed to integrate it with PHPVMS using the Remote Authentication method which the service allows. The Addonchat homepage is http://www.addonchat.com Their support page on the use of remote authentication is http://support.addoninteractive.com/index.php/Knowledgebase/List/Index/8/remote-authentication Would very much appreciate any help or guidance anybody can provide on this. Regards, Nige.
  10. Thanks, glad you like it Good luck with yours too.
  11. Thanks for the feedback Jake, will see what I can do.
  12. Heh, I work for Plusnet, but there's no official connection other than that. It's not an official company project or anything Nige.
  13. After a long development phase, I am pleased to announce that Plusair virtual airline is now in the Beta testing phase. Based at Leeds Bradford airport, we operate scheduled and charter passenger domestic and European flights, although we plan to introduce long haul flights in the near future. Any help with the Beta testing and/or suggestions for improvements would be more than welcome. Many thanks,
  14. Thanks for the reply, yep I already watched the video guide and as far as I can tell everything is setup in accordance with the instructions. Oh well, I'll keep on trying ! Thanks again
  15. Anybody able to suggest a fix for this plz ?
  16. Hi guys, I'm having the exact same issue. No matter what I do, I just can't seem to get FSFK to submit a successful PIREP. It always tells me the schedule does not exist, but it does!. Did you manage to resolve this one ? Thanks
  17. is glad it's Friday ! W00t !

  18. Hi Nabeel, Just thought you might like to know that the TopRoutes function in StatsData.class.php needs a slight change to the SQL query to make it work. The query as it currently stands is $sql = 'SELECT * FROM `'.TABLE_PREFIX.'schedules`'; if($airline_code != '') { $sql .= " AND `code`='{$airline_code}' GROUP BY `code`"; } $sql =' ORDER BY `timesflown` DESC LIMIT 10'; However, this doesn't work as the 'AND' needs to be a 'WHERE'. Also, there's a period missing before the = in the 2nd sql join. The other thing which I had to change in order to get it working on my site, was to remove the GROUP BY `code` since no results were returned if this was left in. I only have the one code anyhow, so it's no biggie for me Anyway, here's the query which I now use: $sql = 'SELECT * FROM `'.TABLE_PREFIX.'schedules`'; if($airline_code != '') { $sql .= " WHERE `code`='{$airline_code}'"; } $sql .= ' ORDER BY `timesflown` DESC LIMIT 10'; Kind regards, Nige.
  19. Hi Nabeel, Did you get chance to look into this ? I think it's a combination of the field type in the database and the SUM() query which is adding up flighttime in AircraftStats.class.php. So naturally, if there are two PIREPs with flightime values of 1.4 and 1.3 (i.e. 1 hr 40 and 1 hr 30), the SUM() literally adds them together as 2.7 and this is displayed on the aircrafts reports page in the admin panel. I was thinking perhaps that storing flighttime as minutes would be a possible option, then using code to convert mins to hh:mm on each page where you want the total to be displayed. However, I'm not sure how this would impact other functions which use the value.
  20. Hi Selwyn, It's prolly easier to use the $POST variables directly, like this: Pilot Name: <?php echo $_POST['firstname'],$_POST['lastname'];?><br/> Email Address: <?php echo $_POST['email'];?><br/> Follow the same pattern for whatever variables you need to display. If you want the pilotid, then this will have to be pulled from the database using the API. Something like this should work. <?php $newpilots = PilotData::GetLatestPilots(1); foreach($newpilots as $newpilot) { echo 'Pilot ID: ' . $_POST['code'],$newpilot->pilotid; } ?> Nabeel may know a neater way to grab the pilot id though Hope that helps.
  21. Thanks Nabeel, I knew there must be an easier way
  22. Managed to get something up and working, although it's maybe not the pretiest code and possibly a case of using a sledgehammer to crack a walnut, but it works <h3>Confirmation Sent</h3> <p>Thanks for registering with <?php echo SITE_NAME; ?>.</p> <?php $newpilots = PilotData::GetLatestPilots(1); foreach($newpilots as $newpilot) { ?> Your account will be created using the following details:<br/> Pilot Name: <?php echo $newpilot->firstname.' '.$newpilot->lastname ?><br/> Login Email Address: <?php echo $newpilot->email?><br/> Login Password: The password you chose during signup<br/> <?php } ?> <p>Your application will now be processed, so please check your email for further updates.</p> As I say, there may be a better way to do it, but it's 01:20 here right now, so I'm a bit brain-dead, lol. Going to grab some kip now
  23. OK, I understand what you're trying to do now. I just altered the email which is sent once a pilot has been accepted to include all the account details (so they don't need to be logged into the site), but I see you're wanting to display them on the page following registration. Hmmm, I'm sure this should be possible by pulling the data in a similar manner. I'll have a play with the template and see what I can come up with.
  24. Hi Rob, I use the following lines in my email_registrationaccepted.tpl but I think it should work just as well in any other email such as registration_sentconfirmation.tpl. Pilot Name: <?php echo $pilot->firstname.' '.$pilot->lastname ?><br/> Pilot ID: <?php echo PilotData::GetPilotCode($pilot->code,$pilot->pilotid)?><br/> Login Email Address: <?php echo $pilot->email?><br/> Login Password: The password you chose during signup<br/> I'd advise against the sending of passwords in emails for obvious reasons Hope that helps.
×
×
  • Create New...