Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Nabeel

    SSL

    https://github.com/nshahzad/phpVMS/blob/master/core/bootstrap.inc.php#L106 That line, change SITE_URL to 'https://yoururl.com' (up to the /admin path)
  2. Did you enter the airline code with the flight number in xacars?
  3. Sounded like a browser issue. Use FF or Chrome for best results
  4. I don't think you can do that in one query, you'll have to write a script that analyzes them.
  5. Anything is possible https://github.com/n...class.php#L1260 You'd have to modify that area of code there. Though that's the code in the latest beta which is changed. You would have to add the fields for the total pirep pay in that sql query, and then get a %-age from there. Not sure how it looks in the release version but it's probably something similar in that calculatepireppayment function
  6. I wouldn't do that, it's not a good editor, and probably is causing your problem. Use something like WinSCP to FTP in
  7. In your local.config.php add: date_default_timezone_set('TIMEZONE'); Select your timezone from http://us.php.net/ma...nes.america.php
  8. also 777 on any files inside of the pages folder
  9. I don't see any extra stuff in the beta download in http://downloads.phpvms.net/ ? If it's from github, there's an extra folder for unittest, which can be ignored
  10. I don't know why you're doing all that. Add custom profile fields from the admin panel. They will show up on the registration form, and you can select them as private so only the admin can see them.
  11. Changed Files: m core/common/PIREPData.class.php m core/common/PilotData.class.php m core/version m install/hashlist m install/sql/structure.xml m install/update.php m unittest/Tests/UserTest.php close #53 pilot reset pirep count fixed View complete changes Download from here
  12. Don't write directly to the database. You'll lose any data integrity, and you'll lose things in updates (like in the betas, a ton of code has changed in the pirep submission process). And all that financial code is changing/changed You need to use the ACARSData::filePIREP function. Read through here: http://forum.phpvms....html?category=6 Looks through this code: https://github.com/n...sacars.php#L386 And look how each variable is formatted so then it's submitted
  13. You can edit that template too, I believe it's pilots_list.tpl
  14. If you edit the pilot, there's the option for their group. There are still issues with it
  15. There is a pilot roster built in, if you goto the pilots link on the front-end. Or are you trying something different? Check out the add-ons forum as well
  16. Those errors... did you update the config files?
  17. $total = count(PilotData::getAllPilotsByHub('YPPH'));
  18. LIve map... I believe it depends if the route was entered in acars/they're flying a scheduled route that does have a route with it. Have you verified those waypoints exist within the navdata?
  19. Follow instructions in my signature about debug mode
  20. Changed Files: m core/codon.config.php m core/version m install/hashlist m install/sql/install.sql m install/sql/structure.xml fixed codon.config error View complete changes Download from here
  21. I seem to remember someone posting a way to do it, you'd have to search
×
×
  • Create New...