flyalaska Posted January 5, 2018 Report Posted January 5, 2018 @Parkho love the MOD. I have 2 issues. The first one is that the Best Flight Time, all time is off. They dont match the pilots total hours. Second issue is the hours showing too many digets. 2060:14.9999999995 HRS for example. What file do I edit to add the number format to the all time Best Flight Time? Quote
Moderators shakamonkey88 Posted January 5, 2018 Moderators Report Posted January 5, 2018 I think the hours issue is the fact that there is an issue with some modules showing “1” as 100 minutes and other modules showing “1” as 60 minutes. As for the “too many numbers”, you can use php’s round function. I’m on mobile so I’m not sure of the line in question but similar to this: <?php echo round($flighthours,2); ?> This will round it with 2 decimal numbers. Hope this helps. Quote
flyalaska Posted January 5, 2018 Report Posted January 5, 2018 This module uses the 60 minute if($min >= 60) { $hrss = $hrs + 1; $mins = $min - 60; Quote
Moderators Parkho Posted January 12, 2018 Author Moderators Report Posted January 12, 2018 On 1/5/2018 at 9:41 PM, flyalaska said: @Parkho love the MOD. I have 2 issues. The first one is that the Best Flight Time, all time is off. They dont match the pilots total hours. Second issue is the hours showing too many digets. 2060:14.9999999995 HRS for example. What file do I edit to add the number format to the all time Best Flight Time? Actually I'm aware of that I just haven't had time to fix it. I remember I fixed it for an airline using PHP strtotime function. I will have to rewrite that function and once done both your issues will be resolved. Quote
flyalaska Posted January 12, 2018 Report Posted January 12, 2018 2 minutes ago, Parkho said: Actually I'm aware of that I just haven't had time to fix it. I remember I fixed it for an airline using PHP strtotime function. I will have to rewrite that function and once done both your issues will be resolved. Thank you! 1 Quote
Daniboi Posted July 29, 2020 Report Posted July 29, 2020 On 11/15/2016 at 4:25 PM, Parkho said: I have created a new tab version for Toppilot itself. Please download and replace the template files and download and add JS, CSS files. Don't forget to add the following to your layout.php <script type="text/javascript" src="<?php echo fileurl('lib/js/toppilot.js');?>"></script> <link rel="stylesheet" href="<?php echo fileurl('lib/css/toppilot.css');?>" /> between <head></head> tags. Cheers Screenshots Where can I download the JS and CSS files @Parkho? Quote
perryfincher Posted August 3, 2020 Report Posted August 3, 2020 Hello; I may have done something wrong. After installing, we do not get the table as shown in images posted. We get the following all shifted to the left and not tables. https://paaclippersva.com/index.php/toppilot Thanks in advance for any help or assistance. Quote
Administrators ProAvia Posted August 3, 2020 Administrators Report Posted August 3, 2020 1 hour ago, perryfincher said: Hello; I may have done something wrong. After installing, we do not get the table as shown in images posted. We get the following all shifted to the left and not tables. https://paaclippersva.com/index.php/toppilot Thanks in advance for any help or assistance. Change back to the default crystal skin and see if the issue persists. Chances are you may need to format the Top Pilot page so it shows as you would like. Quote
Moderators Parkho Posted August 13, 2020 Author Moderators Report Posted August 13, 2020 On 8/3/2020 at 5:03 AM, perryfincher said: Hello; I may have done something wrong. After installing, we do not get the table as shown in images posted. We get the following all shifted to the left and not tables. https://paaclippersva.com/index.php/toppilot Thanks in advance for any help or assistance. Check your table prefix, the module's using "phpvms_" as the prefix. If yours is something else, you'll have to change it everywhere inside the module. Quote
Strider Posted August 13, 2020 Report Posted August 13, 2020 6 hours ago, Parkho said: Check your table prefix, the module's using "phpvms_" as the prefix. If yours is something else, you'll have to change it everywhere inside the module. Looks like he has uninstalled it, the link says it doesn't exist Quote
perryfincher Posted August 13, 2020 Report Posted August 13, 2020 Thanks Gentlemen!!!! Will reinstall it soon and check the information provided above. Quote
perryfincher Posted August 15, 2020 Report Posted August 15, 2020 Thanks guys for the help!!! Think I gotz it working. 1 Quote
Virtualei Posted April 2, 2022 Report Posted April 2, 2022 Could a search function be added to this module to find out what pilot flew the most hours of a particular month. I know the display shows for the current month but I would like to find out who flew the most hours last month. Thanks in advance Quote
Moderators Parkho Posted May 6, 2023 Author Moderators Report Posted May 6, 2023 On 4/2/2022 at 8:38 PM, Virtualei said: Could a search function be added to this module to find out what pilot flew the most hours of a particular month. I know the display shows for the current month but I would like to find out who flew the most hours last month. Thanks in advance Yes it could but only if you're willing to do a donation 🙂 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.