Jump to content

Extended Fleet v1.0


magicflyer

Recommended Posts

Zumeweb.com is proud to release Extended Fleet v1.0 to the community, 100% Free.

Extended Fleet is a module that goes beyond phpvms's capabilities to render a full fleet description page for each aircraft in your fleet, from the aircraft's physical characteristics to it's financial capabilities. The current available details of the aircrafts are available below:

  • Type, weight, cargo, range, passengers, and cruise altitude.
  • Fuel data incl. Average fuel use per flight, total fuel used, and fuel consumption rate.
  • Average flight distance per flight, and total distance traveled.
  • Listings of most recent flights with the aircraft
  • Listings of routes the aircraft serves
  • A neat display of the aircraft's rentability

Download: https://github.com/magicflyer/Advanced_Fleet

Demo: http://zumeweb.com/D...index.php/fleet

This module is released 100% free, and does not require that the Virtual Airline provides a link back to zumeweb.com, although that would be appreciated.

  • Like 4
Link to comment
Share on other sites

What a great add on/module. Thanks so much for this. How hard would it be to add a Previous and Next button's so I can cycle through the fleet? And maybe a Fleet Home once you are in the module from a navigation link :)

Something like this:

http://screencast.com/t/ntxzLw4IINWT

Of course not RED text :)

Once again thanks so much this is awesome!

I also edited the fleet_view.tpl to show Download/Purchase Aircraft!

http://screencast.com/t/wAdPx8z2

Since I am still learning I can't figure out how to do the Previous and Next bit, but I did figure out the Fleet Home which was simple once I thought about it!

http://screencast.com/t/sHICndmj

The really simple link to Fleet Home in the fleet_view.tpl at the very top of the page. Not real pretty but it works.

<h3>Aircraft Information for <strong><?php echo $basicinfo->registration; ?></strong> </h3>

<h4>Basic Information</h4>

<a href="<?php echo url('/fleet') ;?>"><h4>Fleet Home</h4></a>

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...
  • 4 weeks later...
  • 3 weeks later...

I get a little error. I am using Simpilots extended phpvms

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Fleet' does not have a method 'fleet.php' in core\classes\MainController.class.php on line 218

Might my php be out of date on the server? 5.3.13

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
  • 2 months later...
  • 2 months later...
  • 1 month later...

Hi all,

I am getting these errors when installing

Deprecated: Non-static method FleetData::getAircraftTotals() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/core/modules/Fleet/Fleet.php on line 36
Deprecated: Non-static method FleetData::get5MostRecentFlights() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/core/modules/Fleet/Fleet.php on line 37
Deprecated: Non-static method FleetData::getAllScheduledFlights() should not be called statically, assuming $this from incompatible context in /home/angelair/public_html/core/modules/Fleet/Fleet.php on line 38

Any help would be great thanks

and I have tried the above suggestion and it does not work

Link to comment
Share on other sites

  • 3 months later...

Notice: The template file "/home/u296393427/public_html//core/templates/fleet/fleet_list.tpl" doesn't exist in /home/u296393427/public_html/core/classes/TemplateSet.class.phpon line 248

:(

:( :(

?????

You need to change all of the .tpl files located in your template/fleet folder to .php,e.g., fleet_list.tpl to fleet_list.php. Also check to make sure that you change the two .tpl calls in your core\modules\fleet\fleet.php file to .php as well.

Regards!

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...