Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. beta? what di dyou enter?
  2. If you look at the PHP example file, you send the XML as POST data to: http://api.vacentral.net/update And you'd send XML: <?xml version="1.0"?> <vacentral> <siteurl> </siteurl> <apikey> </apikey> <version> </version> <debug> </debug> <method>update_vainfo</method> <pilotcount> </pilotcount> <totalhours>5.39</totalhours> <totalflights>2</totalflights> <totalschedules></totalschedules> <expenses>0</expenses> <expensescost></expensescost> <livefuel>1</livefuel> </vacentral> So that all filled in. A huge chunk of the XML docs are missing.. let me find them And the time you send them it up to you... a cron job or integrated into your existing system. For instance, I'd send VA info every 3/4 hours and schedule updates once a day (2am or something), and send pirep info updates every time a PIREP comes in edit: that doc is updated http://forum.phpvms.net/page/index.html/_/developers-guides/vacentral-documentation-r29
  3. Changed Files: m core/common/StatsData.class.php fixed #44 total flight count fixed View complete changes Download from here
  4. Changed Files: m core/common/StatsData.class.php m core/version m install/hashlist m install/sql/structure.xml fixed #44 total flight count fixed View complete changes Download from here
  5. Nabeel

    Hiatus

    Hi all, Just letting everyone know I might be on hiatus for a bit - I've just got too much stuff going on at once in my personal and professional life, and it's now too much for me to keep up. As for the last beta, there are some things still broken, I will try to get those fixed as soon as I can. I didn't just want to run out without a heads up. Thanks for understanding I'm not completely disappearing, I just won't be on as often as I have been. Just too much going on and I need time to recharge. fivedev people - no worries, I'm still handling support 100%, and there's a backup for when I'm not around.
  6. I will try to fix those today, thanks
  7. If you look at the PHP file on that page, it's a little clearer. And it would be overall totals, to date. You have to fill int he parameters, it's in the documentation in the PHP file. Also, where was the dead link?
  8. I'd make sure the edit was correct and the file didn't get truncated on upload or something
  9. Nabeel

    KAcars XML

    Depends what you're updating from... what version are you on?
  10. Hi You can't integrate the two, the best you can probably do is make them look like each other. Search for "joomla" here, you'll get plenty of information
  11. No reason, maybe some bad adjustment. I would just do the full reset. It'll fix all your pilot hours. If that one is wrong, a few others may also be messed up
  12. The SWFs go to: /pilots/statsaircraftdata/ module pilots, function is statsaircraftdata
  13. Thanks, i appreciate all the testing from all of you!
  14. Do it to the value from that function, so: $total = StatsData::TotalFuelBurned(); $total = round($total, 0); # no decimals
  15. I elected not to do that because the usernames/passwords are transferred over plain-text. If there's a fake PIREP sent in, an admin can reject it, but if there's a snoop or something, then the username/password can't be sniffed out. Also, I believe the username and password are stored in the config - the password is encrypted, and there's no way of getting the plain-text version back, so I can't gen/add that in
  16. Changed Files: m core/modules/PIREPS/PIREPS.php m core/templates/pireps_viewall.tpl m core/version m install/hashlist m install/sql/structure.xml #38 Pilot PIREPS showing blank View complete changes Download from here
  17. Do they have json output? I'd use that, easier than parsing XML, though in the end it would be the same. JSON would use less bandwidth: $contents =- ... $contents = json_decode($contents); echo $contents->variable
  18. I've added a note in the app.config and the generated local.config noting that those should be a FTP user/pass which is used only for that and has only access to that directory
  19. Changed Files: m core/app.config.php m install/templates/config.tpl security notice on FSFK FTP info View complete changes Download from here
  20. Are you using that URL properly? With this code: <?php include 'phpvms/core/classes/CodonWebService.class.php'; echo '<pre>'; $url = 'http://www.stopforumspam.com/api?email=nabeel@&f=xmlcdata'; $file = new CodonWebService(); $contents = $file->get($url); var_dump($contents); $response = simplexml_load_string($contents); echo $contents; On this page: http://fivedev.net/test.php Something is being returned - $contents is a 190 character string(of spaces apparently?)
  21. This would be an FSFK problem as well, anyone who has access to that URL would be able to download that config file, whether through phpvms or through the fsfk scripts I'm hoping that VA owners made a restricted username/password for, and didn't use their main FTP user/password.
×
×
  • Create New...