Nolisair Posted March 7, 2016 Report Posted March 7, 2016 Hello guys, Seems a very module but when i'm installing it i have a php error like ; Notice: The template file "/home/cchailler/public_html/phpvms/core/templates/fbsv/airport_search.php" doesn't exist in /home/cchailler/public_html/phpvms/core/classes/TemplateSet.class.php on line 231 Somenone have an idea ..? Thank's Quote
web541 Posted March 7, 2016 Report Posted March 7, 2016 Try changing the file endings from .tpl to .php Or you can try this https://github.com/web541/Advanced_Fleet-master Advanced_Fleet-master.zip Quote
OWA001 Posted August 28, 2016 Report Posted August 28, 2016 Ecelent module, but hope helpme, purchase data print all wenesday 31 december 1969, any form changed to datestamp? Quote
Moderators servetas Posted September 6, 2016 Moderators Report Posted September 6, 2016 You do not know how they did ??? This is a very important function. Bet only available aircraft. fleet_list.tpl This is a custom system developed for this airline. In general, this checks the bids in the system and the currently active flights. There is also a cronjob which checks and removes the bids if the pilot has not started flying within a selected number of hours. Just for informational purposes, as I developed it. Quote
Moderators ProSkyDesign Posted February 17, 2017 Moderators Report Posted February 17, 2017 On 6/10/2016 at 2:11 AM, bass said: Yes, I have made a module which checks the plane. The module based on (Fleet & vFleetTracker). Nice Module, do you sell it? or can you share it :O? Quote
Captthud Posted October 14, 2019 Report Posted October 14, 2019 Is there a way to order the table by ICAO cod rather than database id I've got the ICAO code added to the table, but I'd like it to order the fleet by ICAO so I don't have to go to the database and change the database id every time I add a new plane to the fleet Thanks Rick Quote
magicflyer Posted October 16, 2019 Author Report Posted October 16, 2019 On 10/13/2019 at 11:47 PM, Captthud said: Is there a way to order the table by ICAO cod rather than database id I've got the ICAO code added to the table, but I'd like it to order the fleet by ICAO so I don't have to go to the database and change the database id every time I add a new plane to the fleet Thanks Rick Woah somebody is still using this. (Thanks!) Anyways, all the database queries are in: https://github.com/RyanHerga/Advanced_Fleet/blob/master/common/FleetData.class.php. I don't know what the name of the db field you're trying to order by, but you'd essentially be appending "ORDER BY `icao`" at the end of line 17 Quote
Captthud Posted October 17, 2019 Report Posted October 17, 2019 (edited) Yup I'm us'in it lol I can't seem to find a copy of the new version Phpvms 7 that will instill on my server correctly, and I ran across a version of 5.5.2 that was upgraded for php7.2. It installed perfectly, and runs like a dream Except the map.....I'm not going to give Google my credit card info so it's going away..... This module bolted right in After much Google'in, and a lot of trial and error this is what I ended up with I changed line 17 in fleetdataclass.php from this.....$sql = 'SELECT * FROM '.TABLE_PREFIX.'aircraft WHERE `enabled` = 1'; To this.....$sql = 'SELECT * FROM `phpvms_aircraft` ORDER BY `phpvms_aircraft`.`icao` ASC'; I'm getting these errors on the view page Deprecated: Non-static method FleetData::getAircraftTotals() should not be called statically in /hermes/bosnaweb15a/b82/ipg.rtpianogcom1/ich/core/modules/Fleet/Fleet.php on line 36 Deprecated: Non-static method FleetData::get5MostRecentFlights() should not be called statically in /hermes/bosnaweb15a/b82/ipg.rtpianogcom1/ich/core/modules/Fleet/Fleet.php on line 37 Deprecated: Non-static method FleetData::getAllScheduledFlights() should not be called statically in /hermes/bosnaweb15a/b82/ipg.rtpianogcom1/ich/core/modules/Fleet/Fleet.php on line 38 I was thinking of just removing the three lines they seem restively unimportant Check it out if you like http://www.ich.flyvfrwpr.com/ich/index.php Other than that it runs perfectly Thanks Rick Edited October 24, 2019 by Captthud Quote
Administrators ProAvia Posted October 17, 2019 Administrators Report Posted October 17, 2019 Rick - @Captthud You can get rid of those 3 'Deprecated...' errors on the selected aircraft page by editing /core/common/FleetData.class.php lines 76, 117and 129. Change 'public' to 'public static' and saving the file. Quote
CFVA Posted July 2, 2020 Report Posted July 2, 2020 On 5/25/2014 at 11:36 PM, in2tech said: I also edited the fleet_view.tpl to show Download/Purchase Aircraft! Anyone tell me where the purchase date is stored as the template defaults to "Date of Purchase: Thursday 01 January 1970" Can't see anything in the aircraft tab in SQL G-azza 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.