Jump to content
magicflyer

Extended Fleet v1.0

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

Share this post


Link to post
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>

Share this post


Link to post
Share on other sites

first of all congratulation for creating this great addon

one question is it possible that it show only enabled/purchased aircraft ordered by Type?

best regards,

Thomas

Share this post


Link to post
Share on other sites

Nice add on...

Since i run multiple va on my site, how can i sort the aircraft to its airline?

Default phpvms didn't group aircraft to airlines, but, can it be done?

Regards

Share this post


Link to post
Share on other sites

Seems to be a additional column in phpvms_aircraft table ?!

Where the ICAO of your Airlines go in

But I Does Not Know how to implement that on Admin side

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Please help

Strict Standards: Non-static method FleetData::getAircraftTotals() should not be called statically, assuming $this from incompatible context in/homepages/10/d328219951/htdocs/core/modules/Fleet/Fleet.php on line 36

Share this post


Link to post
Share on other sites

Change

public function getAircraftTotals(){ ...

to

public static function getAircraftTotals(){ ...

in what I assume must be core/common/FleetData.class.php.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

This here should work, do it for each function -

Change

public function getAircraftTotals(){ ...

to

public static function getAircraftTotals(){ ...

in what I assume must be core/common/FleetData.class.php.

Share this post


Link to post
Share on other sites

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

:(

:( :(

?????

Share this post


Link to post
Share on other sites

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...