Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. Are you using an extra code to reward the pilot or something similar?
  2. I decided to change the look to tab version. Those of you who wants this please get the new files from Github. Also, I removed the images so they're no longer necessary. Changed File(s): -pilot_manager.php Added File(s): -pilot_information.php -edit_pilots.php -send_email.php Install: -Overwrite "pilot_manager.php" with the new one. -Add new files to "pm" folder. Screen Shots:
  3. Oh I see. Actually I'm not a fan of apple devises since they're not my type therefore I don't have them at all and nor my wife does as he thinks the same as me. Ha! Ha! Anyways, I think I continue replying to posts using my mighty laptop.
  4. Hi guys, For some reason, every time I try to access the forum from my tablet in Chrome or Firefox I get redirected to some website (ww1.br-update.com). Any ideas?
  5. There is no dependency on that part in the module. If you wish to change those settings, it has to be done directly inside it. Actually, now that you mention it I think I will look into it in the next update. Thanks
  6. Have you not upgraded to 5.5x by simpilot? If not do the following: 1.Open admin/modules/pilotmanager and change all .php extensions to .tpl 2.Open admin/templates/pm and change all file extensions from .php to .tpl 3.Open core/common/PManagerData.class.php and change all "public static function" to "public function". Keep in mind that eventually you'll need to upgrade to the latest version. The reason your site is still up and running is that maybe your Host hasn't upgraded their server to php 5.5 once they do that all errors will come up at the same time, so I suggest you upgrade as soon as possible.
  7. What version of phpVMS are you using?
  8. pilot_manager.php.tpl is wrong. It shoyd be pilot_manager.php
  9. Thanks for noticing. Images added.
  10. Good day every one, PilotManager_V2.2 is now available at Github at the link below: PilotManager_V2.2 Changes: -A table has been added to keep records of what has been done. -The template has been changed showing more data. -The functions have been updated to match phpVMS 5.5x by Simpilot.
  11. How about the functionality of your website? Have you checked to see any changes since the upgrade?
  12. Good day every one, PilotManager_V2.2 is now available at Github at the link below: PilotManager_V2.2 Changes: -A table has been added to keep records of what has been done. -The template has been changed showing more data. -The functions have been updated to match phpVMS 5.5x by Simpilot.
  13. I have tried it before and I can do that for you but since it has restrictions on showing some data, I decided to write my own code for the live flight and that's what I'm providing you. If you want airline logo for each flight I can implement it into my code. Also, the attached file needs to go to your skin folder. The Javascript and the <div> can be called almost anywhere in your website as long as they're in the same page.
  14. Hi there, I noticed today that the distance remaining in ACARS table isn't calculated correctly. After starting kACARS at boarding phase, I checked the remaining distance is 376 nm while the actual number is 456 nm. Anyone has the same problem? Cheers Update: Sorry! My bad. I noticed I didn't choose the correct airport in simulator. It's all just fine now.
  15. The code you provided has only 2 colors that appears to be the ones you're after. If changing those will have no effects then style.css is not the place to change the menu colors. Try finding the colors first to see if they match with the menu colors. Try this link to find the colors: http://html-color-codes.info
  16. Upload the attached file and call it like this: //Javascript <script type="text/javascript"> function liveflight(){ $("#lf").load(location.href + " #lf>*", ""); } setInterval(function(){liveflight()}, 10000); </script> //HTML <div id="lf"><?php Template::show('flight.php');?></div> The Javascript will refresh the board every 10 seconds. To change the interval simply change 10000 to your desired number. Remember the number is in milliseconds so 20000 would be 20 seconds. flight.zip
  17. Have you seen the website I developed?
  18. Well, honestly, what I see is that your website has a lot of work to be done and I don't think no one here is willing to work on it for free. I have developed a free skin from TEMPLATED website for a friend that you can see at www.iranskyairlines.com. If you think you can choose one of their skins and work on it to become what you want go to their website and you won't regret it.
  19. I suggest you back up your whole website with all the data then wipe out everything and install a fresh copy of phpVMS then import your tables one by one. Remember to create an airline with the same code as your DB tables such as airlines, schedules.
  20. Create a PHP file and name it whatever you want then inside add the following: <Table> <thead><tr><th colspan="2">Confirmed!</th></tr></thead> <tr> <td align="center">Your flight has been booked succecfully!</td> <td align="center"> <a href="<?php echo url('/profile'); ?>"><input class="button alt" type="submit" name="submit" value="Go To Pilot Center" /> <a href="<?php echo url('/schedules/bids'); ?>"><input class="button alt" type="submit" name="submit" value="Remove Bid" /> </td> </tr> </table> Then open modules/schedules and go to addbid function line 172 and alter it to the following: if ($ret == true) { $this->show('yourfilename.php'); } else { echo 'Already in bids!'; } This will reroute you to a page where you can choose to remove the bid or go to pilot center. This is a temporary solution that requires no jquery call.
  21. Thanks. I haven't had a chance to upload PMV2.1 yet. I'll do it first chance.
  22. Try This: <?php $pilotid = Auth::$userinfo->pilotid; $a = "SELECT count(pirepid) AS count FROM phpvms_pireps WHERE accepted = 0 AND pilotid = '$pilotid'"; $ab = DB::get_row($a); ?> <p> You have <?php echo $ab->count ;?> pending pireps</p>
×
×
  • Create New...