Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. I have integrated the fspax log into phpvms modifying the pirep table and the faspax config file to insert each line of the log file into a separate DB field then I managed to basically get rid of the "n" in front of each log data.
  2. yep! That's another way. You can add this to code snippets section if you want.
  3. if you think you won't use those airports ever again, then you'll have to do two things to remove them for good: 1. Delete the airports from your DB totally. 2. Delete all schedules you have created for those airports * You can either use the admin center for this or your DB. But if you want them to be there just in case for future use then you're gonna have to write some code and say if $airport->name == "LLLL", continue here is an example: foreach($depairports as $airport) { { if($airport->icao == "ABCD") { continue; } echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>'; } Now "ABCD" is the ICAO of the airport you want to exclude.
  4. 1. Noted and fixed. thanks 2. I have to look for it and let you know.
  5. 2.You're missing the script that gets the info for you. 1. I'm not following you on this. That space can be simply removed.
  6. Both issues noted and fixed thanks again. The images also have been added to the repo in lib/images folder in case you want to use them. remember to upload them in lib/images in your phpvms folder.
  7. 1. Open common/RealScheduleLiteData.class.php and look for the following: realschedulelite_location And change all of them to the following: flightbookingsystem_location BTW, thanks for pointing that out. I fixed the problem.
  8. 1. Have you imported the SQL provided with the download into your DB? 2. Have you copied the following in your core/local.config.php? 3. Fuel per hour and per 100 nm can be set in schedules_results.tpl. Config::Set('JUMPSEAT_COST', '.25');
  9. That's right but you may also want to add something that's not added in those AFCADS like a "Transfer Bus" or a "Light Pole". Also some airports are like getting updated monthly. I have searched for some airports and there are nothing in AVSIM or FLIGHTSIM for them and nor there are in the internet, so that where i can provide this service.
  10. Use $pirep->code instead of $flight->code.
  11. I didn't realize the code is for one pilot, so I just gave you the code to show by airline and I'll be around if you need more help.
  12. The code in the post you mentioned has the following part: <?php $flights = PIREPData::getLastReports($userinfo->pilotid, '10'); $string = ""; foreach($flights as $flight) { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; } ?> Now change it to the following: <?php $flights = PIREPData::getLastReports($userinfo->pilotid, '10'); $string = ""; foreach($flights as $flight) { if($flight->code =="ABC") { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; } } ?> "ABC"is your airline code.
  13. haha! To be honest I myself would like to release it very much but there is this glitch with it that I don't know why I can't figure it out but I'm asking you for patience hope that I can make it happen.
  14. v2 still has some bugs, so you can have it but with bugs.
  15. Yes. Once I release it but I'm afraid it's gonna be a payware.
  16. Are you the one who installed the software or somebody gave you permission for admin?
  17. I think you didn't install the module correctly. This means the module folder is not where it's supposed to be. You might want to check if the folder pfinance is in lower case or upper in the download and make sure you have uploaded them in order.
  18. Sorry I totally lost the data on that website and it's no longer accessible, so I'm asking if you could replace the images with yours.
  19. I'm not very good at css coding but if you open the css and look for the "ul" and "li" in there you might be able to figure it out.
  20. Hey Guys, I'm offering FS Scenery modifications for both fs9 and fsx. Anyone interested? PM me. Add, edit airport, taxi ways, nav data, runway, ILS, Lights, objects, and more Thanks
  21. if you create a folder in core/ templates and add your TPL in there you won't loose them during an upgrade. You would then access it like (foldername/file.tpl) using the template::show().
×
×
  • Create New...