Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. I would trigger the function on page load to see if it's working properly.
  2. Would you like to give me your Admin and cpanel login info so that I can check it out for you?
  3. No! just paste it as is. Just so you know, if you assign it to a parameter then it will not be executed on page load. Basically, you would assign a value to a parameter to use it somewhere else
  4. @thefiercepilot Same issue for you, no pirpes have been submitted yet or installation problem. Try submitting a manual PIREP.
  5. Please specify the issue again.
  6. It seems you have no pireps submitted yet or you have installation problem.
  7. Does your new skin have javascript on page load? Cause sometimes JS conflict with phpVMS core files may cause the lag. Try disabling JS.
  8. That's a possibility. I remember I had the same issue on my costume HUB page and when I removed the load my site's performance was much better.
  9. Well that line is looking for the pilot's last pirep and since new pilots have none, you'll get this error. Open "PManagerData.class.php" in "common" folder. At line 67 is the following function: public static function getpirep($pilotid) { $sql="SELECT * FROM phpvms_pireps WHERE pilotid = '$pilotid' ORDER BY submitdate DESC"; $check = DB::get_row($sql); } change it to the following: public static function getpirep($pilotid) { $sql="SELECT * FROM phpvms_pireps WHERE pilotid = '$pilotid' ORDER BY submitdate DESC"; $check = DB::get_row($sql); if($check) { return DB::get_row($sql); } } Try this and let me know if the issue is resolved. Thanks for noticing.
  10. Perfect! please mark your post as [SOLVED] in the title. Also, it would be best if you share how you resolved your issue for others.
  11. In order to create a flight map for certain routes, you'll need to create a class function and give its value a variable (ex. route ID) and then use its fetched data in your map. If you don't have the knowledge to code that function, provide what certain routes you would like to show and I will code it for u. Cheers
  12. I will check and let you know.
  13. Hi. The module comes with plain CSS as not all airlines layout are compatible with my CSS.
  14. The most important part of the fuel calculation is that it's stored to DB in lbs, so all you need is to fetch the fuel amount from DB and show it where ever you like. Also, what i can offer is a module I created to calculate fuel, based on aircraft parameters (ex. fuel burn per hour, altitude,...). Then it will give you an estimate of how much fuel to be loaded for a flight in both metric and imperial systems. Here is the link: FuelCalculator_V1.0
  15. I would put this in "FCalculator.class.php" and then call the function in "FuelCalculator.php" in module folder inside index() function like the following: FCalculator::CalcFuelFlows(); This way every time anyone opens the module the table gets updated. Cheers
  16. What do you trying to do in above code? If you're trying to count number of bids then the following is the right code to do it: $bidscontados = COUNT($countabids);
  17. Open fuelcalculator.php in module folder and look for the following: $flndg = $fuelhr * 3/4; 1 hr 15 minutes would be 75 minutes which is "$fuelhr * 1.25 ", so change "fuelhr * 3/4" to that every where you see the code line
  18. Have you altered or modified "Schedules" module? If yes, then try replacing the module folder from phpVMS 5.5x download. The error says your "Schedules" module is missing a section in it.
  19. There is no upgrade file you can run to convert 936 to 5.5x. What you can do instead are the following: 1. Back up your DB tables one by one (separate SQL files). 2. Back up your local.config.php file. 3. Back up your skin folder. 4. Install phpVMS 5.5x. 5. Replace your local.config.php with the one you backed up. 6. Drop all your newly installed tables in database and import the ones you backed up one by one. 7. Place your skin folder in lib/skins. After doing the above, you'll have to run your website to find out if there are any errors. The most important sections are pilots and airlines tables to match exactly with the ones you backed up. I understand this must be a hassle if you don't have PHP and HTML coding knowledge which you can ask someone to get it done for you. Good Luck
  20. Parkho

    Flight Board

    I don't think you can use it for phpVMS directly but you can show VATSIM and IVAO flight board if your VA is setup with them and your pilots connect to their network using your VA's call sign.
  21. Parkho

    Flight Board

    This is the official website: http://www.utr-online.com
  22. Not that I know of. Unless you want to achieve something else, this is the way.
  23. Please tell us what version of phpVMS you are using to better help you. Also, the ACARS client you're using.
  24. You can disable "bids on bid" in "local.config.php" file. Look for the following: Config::Set('DISABLE_BIDS_ON_BID', false); Just change "false" to "true". Now your pilots will be able to bid on a bidded schedule.
×
×
  • Create New...