Jump to content

Nabeel

Administrators
  • Posts

    8147
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Changed Files: m admin/modules/Dashboard/Dashboard.php m core/version m install/hashlist m install/sql/structure.xml version check fix View complete changes Download from here
  2. Changed Files: m admin/modules/Dashboard/Dashboard.php m core/common/CentralData.class.php m core/version m install/hashlist m install/sql/structure.xml dashboard cache error fixed View complete changes Download from here
  3. The pilots can place bids - do you mean limiting flights based on rank? That's an interesting idea
  4. Changed Files: m core/common/PIREPData.class.php m core/version m install/hashlist m install/sql/structure.xml vacentral pirep send bugfix (bug from beta) View complete changes Download from here
  5. If you're using cPanel, have it do a database export. that will be the easiest way. otherwise, make sure the destination database is empty before you import the .sql file in
  6. Changed Files: m admin/modules/Dashboard/Dashboard.php m core/app.config.php cache of news/version retrieval in admin View complete changes Download from here
  7. What I do is this, read the RSS feed of the forum: http://forum.phpvms....ype=forums&id=1 Replace that with your URL, and the id=1 is the id of the forum. Then the code (you can see in the dashboard), I use in phpVMS is: $file = new CodonWebService(); $contents = $file->get("YOUR URL HERE"); $feed = simplexml_load_string($contents); $contents = ''; $i = 1; $count = 5; // Show the last 5 foreach ($feed->channel->item as $news) { $news_content = (string )$news->description; $date_posted = str_replace('-0400', '', (string )$news->pubDate); // YOU CAN CUSTOMIZE THIS $contents .= "<div class=\"newsitem\"> <b>{$news->title}</b> <br />{$news_content} <br /><br /> Posted: {$date_posted} </div>"; if ($i++ == $count) break; } } // ECHO THE HTML echo $contents; I elected to go that route because the databases are different, I don't want to open another connection. You can also cache this, which I'm going to add the code to do right now in the next beta
  8. These are internal changes, mainly moving from XML to JSON format to save processing power and bandwidth on both ends, and removing unnecessary fields
  9. Yes, PM me your email addresses
  10. Changed Files: m core/app.config.php m core/common/CentralData.class.php m core/version m install/hashlist m install/sql/structure.xml m unittest/utils/vac_diag.php vacentral default type to json, modifieddate column for pireps View complete changes Download from here
  11. Changed Files: m core/common/PIREPData.class.php m install/sql/install.sql pirep modified date View complete changes Download from here
  12. Changed Files: m core/app.config.php m core/common/CentralData.class.php m core/common/PIREPData.class.php m core/version m install/hashlist m install/sql/structure.xml vacentral send data via json, code cleanup View complete changes Download from here
  13. I think there's a sort order in the local.config file for the airlines
  14. Changed Files: m core/common/PIREPData.class.php m core/version m install/hashlist m install/sql/structure.xml pilot pay fix, code docs/cleanup View complete changes Download from here
  15. Changed Files: m core/app.config.php m core/bootstrap.inc.php m core/common/PIREPData.class.php documentation View complete changes Download from here
  16. Nabeel

    Livemap

    I'm trying to work out a deal with navigraph for nav data, but no promises
  17. Did you try $route->pilotpay? If you do: echo '<pre>'; print_r($route); echo '</pre>'; It will tell you all of the contents of the $route variable, you can pick and chose what you want
  18. You can add them directly in the table, not the interface, if that's faster for you. You have to add all of them. You can't enter one aircraft and associate multiple reg #s. You'll have to enter the full info I'm not sure why/what your table changes are
  19. Remove this peice: '.$airline->code.' So it's: <dt>Select Airline: <font color="#FF0000">*</font></dt> <dd> <select name="code" id="code"> <?php foreach($allairlines as $airline) { echo '<option value="'.$airline->code.'">'.$airline->name.'</option>'; } ?> </select> </dd> Sorting should be alpha by default
  20. Strange, can you follow the "debug info" instructions in my signature, and zip up and send me the core/logs/fsfk.txt and log.txt files? Also, paste the outputs from install/checkinstall.php and install/checkdb.php Thanks!
  21. Fix has been commited, let me know if that works now for you
  22. Changed Files: m core/common/PIREPData.class.php fixed #20, flighttype properly recorded View complete changes Download from here
  23. That's probably the best way to do it, change the 'Charter' to just read "Military' instead. It was done that way to be able to change the name
  24. Changed Files: m core/bootstrap.inc.php Added as a global variable in templates for the logged in user View complete changes Download from here
  25. Nevermind, file a bug for that. I think that came up in a beta. That the flight-type is not properly set when a PIREP is filed
×
×
  • Create New...