Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. I also replied to your bug report, as a comment
  2. You can code a module, and use a post-registration hook to change any details: http://forum.phpvms.net/page/index.html?record=28 Also, using the API, and not directly editing the database, will make sure there are no integrity issues: http://docs.phpvms.net/api/
  3. The flighttime column isn't used internally anymore, only the flighttime_stamp. As long as the flighttime_stamp column is correct. I haven't removed that column yet, but I will be for the next version. But as of the previous version, it's not used anymore. From the PIREPs it always comes as HH:MM:SS I believe. There's only a reformatting of a time if it's been typed in. Times are *not* stored as decimal as you indicated. It's always in HH:MM:SS format. If you're seeing decimal formatted time anywhere, then that's a bug. I'm not sure where else you got decimal time notation from. It's in HH:MM:SS format to allow MySQL to do any time summations, and I don't have to handle that. It comes from ACARS as HH:MM:SS format as well. During editing, if it's reverting to decimal format, then that's a bug.
  4. You're supposed to copy the template to your skin's folder, and edit it there. The engine looks for a template in the skin's folder first, before going to /core/templates. That way, templates can be kept from skin to skin. In a release, I list all of the modified templates, so they can be checked for changes
  5. The link doesn't have to be a singular chart, it can be to a page which contains all the charts. Separate airlines are just for schedules for now. They're not separated in financials, yet. There's no restrictions. As for the difference, it's explained here: http://forum.phpvms.net/page/index.html?record=14
  6. I believe there is a charts URL when editing the airport
  7. If you look in the pilots_list.tpl, you can see the code used there, you can use the same code, just use the proper variable for the pilot's ID
  8. Daily backups are good. Was there a MySQL upgrade? Could be the .frm files for those databases were corrupted.
  9. Nabeel

    Route Map

    I believe that is a config option
  10. Make sure they are not marked as inactive
  11. Yes, you can do that https://github.com/nshahzad/phpVMS/blob/master/core/templates/schedule_boarding_pass.tpl#L65 That PHP there where it gets the date, you can do: <?php if($schedule->depicao == 'KLAS') { echo chr(rand(65, 68)); // Gate letter between A and C echo rand(10, 22); // Random gate letter between 10 and 22 } elseif($schedule->depicao == 'KJFK') { echo chr(rand(66, 70)); // Gate letter between B and E echo rand(110, 120); // Random gate letter between 110 to 120 }
  12. Are you using a full admin user, or a user you added? If the latter, I would check that user's permissions as well
  13. Nabeel

    Financials

    I'm planning on (yet another) overhaul. I guess if stuff is entered properly it will work properly. I can see a lot of VAs just pumping stuff up.
  14. Disable the rank from being set via hours
  15. I would target your CSS more specifically (like from parent div down to the class/p)
  16. You can also try setting the lookup server (in app.config.php) from "geonames" to "phpvms".
  17. Updated Tickets: [VMS-339] - Cannot change default pilot's group [VMS-338] - SITE_NAME: You have been marked as retired [VMS-338] - SITE_NAME: You have been marked as retired Changed Files: m admin/templates/settings_mainform.tpl m core/codon.config.php m core/common/SettingsData.class.php m core/lang/en.lang.php VMS-339 VMS-338 VMS-338 #close fixed View complete changes Download from here
  18. Changed Files: m core/common/RegistrationData.class.php m install/loader.inc.php default pilot group fix on registration View complete changes Download from here
  19. You need to contact your host about that error, which is:
  20. The beta has an import/export, but I wouldn't run that unless you're comfortable
  21. You can move the database. Any settings are stored in core/local.config.ph If an airport is not present in an import, it attempts to look it up and add it, but that's iffy, depends on the host. The export is the standard import file, so usually I say to export, then change your schedules, and reimport
  22. All times are handled as decimals internally IIRC. Times can get messy :\
  23. It's not designed to handle those altitude adjustments. However, if you can send me 4/5 examples of altitude adjustments, etc, I can handle that in the route code (add to the bug tracker in my sig)
  24. Thanks, it's available on github: https://github.com/nshahzad It can easily be forked, and with push/pull requests, it's easy to merge code in. There are other's who are writing addons (see the addons forum), and people do send in patches for bugs. But my "real-life" is pretty busy these days (I am a software engineer), I don't get much time. I do have some things on the board, including an overhaul of the financial core which I'm planning (albeit, slowly). But anyway, the code is on github, anyone is welcome to change and add, and send me a pull request.
×
×
  • Create New...