Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. You need to set your table width for them like this: <table width="100%">.........................</table>
  2. I just tried it and it works on my end but I'm using IDM on Chrome, so not sure if it works without IDM.
  3. I have made changes in "airline_finance.php" as per TAV1702 mentioned. Just download and replace the mentioned file at GitHub.
  4. Thanks for the addition. Glad you like it.
  5. Are you not by any chance on a HOST running php 7.0 or php 5.6?
  6. Open "toppilot.css" and go down to line 68 and change the following: ul.toppilot li { float: left; padding: 5px; width: 25%;<-----This text-align: center; } To: ul.toppilot li { float: left; padding: 5px; width: 20%;<-----To this text-align: center; }
  7. I just made a small change in "email_warning.php" file you can download and replace it if you wish. Change Log: Warning email message to pilots who haven't filed any PIREPS yet is changed. Screenshot:
  8. I'm glad you resolved your problem. The altered SQL file is for php 5.6 version install.
  9. You need to link "toppilot.css" and "toppilot.js" in your "layout.php" file between <head> section. Install: Download the repository at Github and unzip in a desired location. Upload files into corresponding folders on your website in the order. Include the following codes into your "layout.php" between <head></head> section. <script type="text/javascript" src="<?php echo fileurl('lib/js/toppilot.js');?>"></script> <link rel="stylesheet" href="<?php echo fileurl('lib/css/toppilot.css');?>" /> Access it using <?php echo url('/toppilot') ;?> Enjoy!
  10. The option is at the page where you run the install.php but I just did a re-install to find out where the problem is, so the problem is in "sql/install.sql". The default values for "DATE" field must be "1000-01-01" and for "DATETIME" must be "1000-01-01 00:00:00:". I have attached an edited version of the sql file here. What you need to do are as follows: 1. Delete your DB entirely. 2. Create a new DB (can be the same name). 3. Replace the SQL file from here with the one in "install/sql" folder. 4. Run the installer. install.zip
  11. The reason you get DB install error is because phpVMS 5.5x uses MySQLi instead of MySQL to connect to your DB. I would wipe the site entirely and do a fresh install except this time use MySQLi type for connection.
  12. During the installation, have you encountered any issues or messages or did it install smoothly with no errors? Also, Check what version of PHP your host is running and make sure you're not on a free host. If all the above were correct, then I suggest you remove the whole software and do a re-install.
  13. You would need a function to count ACARS data in ACARS data table like this: public static function countactiveflights() { $sql="SELECT * FROM phpvms_acarsdata WHERE lastupdate = date(now())"; $count = DB::get_results($sql); return count($count); } Now place this in "OperationsData.class.php" at the bottom before the closing bracket. Then you would call the function like this: <table> <tr> <td>Active Flights:</td> <td><?php echo OperationsData::countactiveflights(); ?> Active flights </td> </tr> </table>
  14. There is not a pilotid of 0 in your DB but if you open "admin/maintenance.php", there you can see "Auth::$userinfo->pilotid = 0". Also, there is a section in "core/app.config.php" which can be used when defining ADMIN PANEL to true. I would add that section to my "core/local.config.php" to see what happens.
  15. You need to upgrade your phpVMS version to 5.5x by Simpilot. Alternatively, you can change my module core files to match older versions of phpVMS (AKA, TPL version)
  16. You need to upgrade your phpVMS version to 5.5x by Simpilot. Alternatively, you can change my module core files to match older versions of phpVMS (AKA, TPL version)
  17. Add the following code in your "frontpage_main.php" and refresh the page to trigger it. Keep in mind to remove it after you're done cause if you don't every time your website opens, it will be triggered and your pilot's signature will be reset. <?php PilotData::generatesingnature($pilotid) ;?> "$pilotid" is the id of your specific pilot(eg. 27). This will reset the signature of that specific pilot.
  18. Create a <div>. Copy the entire code in "core/templates/acarsmap.php" and paste them inside the <div>.
  19. I have made some changes to TopPilot V2.0. If you wish you can download again and replace it. Change Log: For tabbings, some free net version was used which is now removed and coded from scratch CSS was changed to a new look (Screenshots below). Install: download and replace "templates" and "lib" folders. Screenshots: Cheers! :D
  20. I have searched for an ACARS compatible with MAC but seems there is none available at the moment.
×
×
  • Create New...