Jump to content

8 files

  1. Disposable Airlines, Fleet, Aircraft & Pireps Module

    Disposable Airlines, Fleet, Aircraft and Pireps Module for phpVMS v7
    12.MAY.2021
     
    This module is compatible with the latest dev build as of 17APR2021, no need to modify any default files.
    Technically all blade files (views/pages or whatever you call them) should work with your template but they are mainly designed for Bootstrap compatible themes (like Disposable Themes, Stisla etc). 
    So if something looks weird in your template then you need to edit them.
     
    Module is now capable of listening PhpVms Pirep events and change aircrat state
     
    ***** Manual Installation Steps 
     
    Upload contents of the package (or pull/clone from GitHub) to your root/modules/DisposableAirlines folder
    Go to admin section and enable the module, that's all
    After enabling/disabling modules an app cache cleaning process is necessary (check admin/maintenance)
     
    ***** Usage
     
    If you want to disable module auto links and add your own according to your template, then dashout 3 
    frontend link registration commands in the Providers\AirlinesServiceProvider.php file as shown below;
    (Two forward slashes will make them disabled.)
     
        // $this->moduleSvc->addFrontendLink('Airlines', '/dairlines', 'fas fa-calendar-alt', $logged_in=true);     // $this->moduleSvc->addFrontendLink('Fleet', '/dfleet', 'fas fa-plane-departure', $logged_in=true);     // $this->moduleSvc->addFrontendLink('All PIREPs', '/dpireps', 'fas fa-upload', $logged_in=true);     
    Then you can add links to your navbar with below examples;
     
    <li>   <a class="nav-link" href="{{ route('DisposableAirlines.aindex') }}">     <i class="fas fa-calendar-alt"></i>     <span>Airlines</span>   </a> </li> <li>   <a class="nav-link" href="{{ route('DisposableAirlines.dfleet') }}">     <i class="fas fa-plane"></i>     <span>Fleet</span>   </a> </li> <li>   <a class="nav-link" href="{{ route('DisposableAirlines.dpireps') }}">     <i class="fas fa-upload"></i>     <span>All Pireps</span>   </a> </li>  
    Also having a direct link to a specific airline/subfleet/aircraft is possible with;
     
    <li>   <a class="nav-link" href="{{ route('DisposableAirlines.ashow', ['DSP']) }}">     <i class="fas fa-calendar-day"></i>     <span>My Airline</span>   </a> </li> <li>   <a class="nav-link" href="{{ route('DisposableAirlines.daircraft', ['D-ISPO']) }}">     <i class="fas fa-plane"></i>     <span>My Aircraft</span>   </a> </li> <li>   <a class="nav-link" href="{{ route('DisposableAirlines.dsubfleet', ['A320NEO-DSP']) }}">     <i class="fas fa-plane-departure"></i>     <span>My Subfleet</span>   </a> </li>  
    Airline direct links use airline icao code, subfleets use their unique type and aircrafts use their registrations.
    (Best way to add links in Laravel structure is to use routes like above, but plain html href="/dairline/DSP" is also possible)
     
    You are free to edit any of the files as you wish, but please do not expect help/updates for the code you edited (controllers and providers)
    I always try to provide info and support but can not fix things you broke Just share your thoughts about any improvements so we can think together before changing things.
     
    Enjoy,
    Disposable
    18.APR.2021

    381 downloads

    2 comments

    Updated

  2. Disposable Tools & Widgets Module

    # Disposable Tools And Widgets For PhpVms v7
    *** 12.MAY.2021 ***
     
    Module provides some widgets and tools for your v7 installation. 
     
    ***** Manual Installation Steps
     
    Upload contents of the module (or pull via GitHub) to your root/modules/DisposableTools folder.
     
    Go to admin section and enable the module, that's all.
    After enabling/disabling modules an app cache cleaning process IS necessary (check admin/maintenance).
     
    ***** Usage
     
    Call the widgets anywhere you want like you call/load others
     
    @widget('Modules\DisposableTools\Widgets\ActiveUsers') @widget('Modules\DisposableTools\Widgets\AircraftLists', ['type' => 'location']) @widget('Modules\DisposableTools\Widgets\AircraftStats', ['id' => $aircraft->id]) @widget('Modules\DisposableTools\Widgets\AirlineStats') @widget('Modules\DisposableTools\Widgets\AirportAircrafts', ['location' => $airport->id]) @widget('Modules\DisposableTools\Widgets\AirportPireps', ['location' => $airport->id]) @widget('Modules\DisposableTools\Widgets\AirportInfo') @widget('Modules\DisposableTools\Widgets\FlightTimeMultiplier') @widget('Modules\DisposableTools\Widgets\PersonalStats', ['disp' => 'full', 'user' => $user->id]) @widget('Modules\DisposableTools\Widgets\TopAirlines', ['count' => 3, 'type' => 'flights']) @widget('Modules\DisposableTools\Widgets\TopAirports', ['count' => 5, 'type' => 'dep']) @widget('Modules\DisposableTools\Widgets\TopPilots', ['type' => 'landingrate']) @widget('Modules\DisposableTools\Widgets\SunriseSunset', ['location' => $airport->id]) @widget('Modules\DisposableTools\Widgets\FlightsMap', ['source' => $hub->id])  
    ***** Options: ActiveUsers
    Nothing except mins (minutes for inactivity timer)
    ['mins' => 3] Sets timer to 3 mins (default is 5 mins)
     
    ***** Options : AircraftLists
    This widget has only one option called *type* and it displays either your aircraft count according to their locations or a count according the their ICAO type codes.
     
    type can be location or icao
    ['type' => 'icao']
    ['type' => 'location']
     
    By default widget will display aircraft counts per airport
     
    ***** Options : AircraftStats
    This widget has only one option called id, just provide an aircraft id and stats will be displayed
    ['id' => $aircraft->id]
     
    ***** Options: AirlineStats
    This widget has only one option called airline and it displays either your total system stats or stats for the airline choosed.
     
    airline can be any airline's id number
    ['airline' => 3] or
    ['airline' => {{ $user->airline->id }}] *or*
    ['airline' => {{ $flight->airline->id }}] *this depends how and where you want to use the widget*
     
    By default widget will display overall stats of your phpvms installation.
     
    ***** Options : AirportAircrafts
    This widget has only one option called *location* and it displays your aircrafts at given location.
     
    location *must* be an airport_id (4 letter ICAO code)
    ['location' => 'LTCG'] or
    ['location' => $airport->icao] if you are going to use it in Airports page
    ['location' => $flight->dpt_airport_id] if you are going to use it in Bids or Flight Details page
     
    By default widget will not display any aircrafts as expected
     
    ***** Options : AirportPireps
    This widget has only one option called *location* and it displays pireps for given location.
     
    location *must* be an airport_id (4 letter ICAO code)
    ['location' => 'LTAI'] or
    ['location' => $airport->icao] if you are going to use it in Airports page
    ['location' => $flight->dpt_airport_id] if you are going to use it in Bids or Flight Details page
     
    By default widget will not display any pireps as expected
     
    ***** Options : AirportInfo
    No options needed, lists your airports and provides a button to visit that Airport's page
    (This widget is developed by @macofallico and being used in this module by his permission.)
     
    ***** Options: FlightTimeMultiplier
    No options for this, it is just a javascript calculator. Enter hours, minutes and the multiplier to get the result.Some VA's or platforms offer double or multiplied hours for some tours and events, thus this may come in handy.
    Widget may be placed anywhere you wish, best possible location is your pirep fields.blade, just below or above submit/edit buttons.
     
    ***** Options : PersonalStats
    For PersonalStats there are four main options which are user, disp, type and period;
     
    user can be any user's id or not used at all
    period can be any number of days (except 0 of course), currentm, lastm, prevm, currenty, lasty or not used at all
    disp can be full or not used at all
    type can be avglanding, avgscore, avgtime, tottime, avgdistance, totdistance, avgfuel, totfuel, totflight
    If no user is defined, widget get current user's data for calculations. This may be used for dashboard or any personal pages where the viewer will be able to see his results. If you want to put some stats on the user's profile page then you need to define the user otherwise every visitor will see their stats
    *(['user' => $user->id] is enough to get proper results at user profile page)*
    If no period is defined then all accepted reports will be used for calculations, else you will get the result for the last *n* days you provided like Average Landing Rate for flights done in last 15 days
    *(['period' => 7] will give you the last 7 days)*
    If you want to have a full card with the result and the info text then use *'disp' => full*, while calling the widget. It should be compatible with the default template and stisla but if you need you can customize the look in the *personalstats.blade* file.
    Also if you are not using English then you can define the text in your own language in the same file.
     
    ['disp' => 'full', 'user' => $user->id, 'type' => 'totfuel', 'period' => 'lastm'] : Total Fuel Spent During Last Month
    ['disp' => 'full', 'user' => $user->id, 'type' => 'avglanding'] : Average Landing Rate displayed in a card
    ['user' => $user->id, 'type' => 'totdistance', 'period' => 7] : Plain text total distance in last 7 days
    ['user' => $user->id, 'type' => 'totflight', 'period' => 3] : Plain text number of flights in last 3 days 
     
    By default widget will provide average landing rate without any html styling considering the viewer's pireps.
     
    ***** Options: TopAirlines
    For TopAirlines there are three main options.They are count, type and period;
     
    count can be any number you want (except 0 of course)
    type can be flights, time or distance
    period can be currentm, lastm, prevm, currenty or lasty
    ['count' => 5, 'type' => 'flights']
    ['count' => 10, 'type' => 'time']
    ['count' => 8, 'type' => 'distance']
     
    By default widget will report overall top 3 airlines by their flight counts
    If you want to see your "Best" airline, just set the count to 1
     
    ***** Options: TopAirports
    For TopAirports there are two options.They are count and type;
     
    count can be any number you want (except 0 of course)
    type can be dep or arr
    ['count' => 8, 'type' => 'dep']
    ['count' => 5, 'type' => 'arr']
     
    By default (without any options set) widget will report top 3 airports by departure counts
     
    ***** Options: TopPilots
    For TopPilots there are three main options.They are count, type and period;
     
    count can be any number you want (except 0 of course)
    type can be flights, time, distance or landingrate
    period can be currentm, lastm, prevm, currenty or lasty
    ['count' => 5, 'type' => 'flights']
    ['count' => 10, 'type' => 'time']
    ['count' => 8, 'type' => 'distance']
    ['count' => 1, 'type' => 'landingrate']
     
    By default widget will report overall top 3 pilots by their flight counts
    If you want to see your "Best" pilot, just set the count to 1
     
    ***** Options : SunriseSunset
     
    This widget has only one option called *location* and it displays sunrise/sunset times of given location.
    location *must* be an airport_id (4 letter ICAO code)
     
    ['location' => 'LTAI'] or
    ['location' => $airport->id] if you are going to use it in Airports page
    ['location' => $flight->dpt_airport_id] if you are going to use it in Bids or Flight Details page
     
    ***** Options : FlightsMap
     
    Shows a Leaflet map from flights or user pireps, Leatlet map itself can be configured/styled via widget blade file if needed.
    Has 3 main options, these are *source* , *visible* and *limit* . Visible and limit should be used in custom cases, provided defaults for them are ok for generic usage.
    if used source *can* be an airport_id (4 letter ICAO code), an airline_id or user (not user_id, plain text *user*) or can be skipped at all.
    if used visible *must* be either false or true (it show visible flights or hides them - default is true like phpvms and only visible flights are used)
    if used limit *must* be a numeric value like 50, which will limit the flights being drawn on the map. Default is *null* so all flights are drawn.
     
    ['source' => 'LTAI'] or
    ['source' => $airport->id] if you are going to use it in Airports page
    ['source' => $hub->id] if you are going to use it in Disposable Hubs Module: Hub Page
    ['source' => $airline->id] if you are going to use it in Disposable Airlines Module: Airline Page
    ['source' => $airline->id, 'limit' => 200] if you are going to use it at Disposable Airlines Module: Airline Page with a limit of max 200 flight.
    ['source' => 'user', 'limit' => 100] if you are going to use it at User Profile page with a limit of last 100 pireps.
     
    To use the widget at phpvms Flights page, there is no need to define a source. Just load/call the widget directly.
    It will follow your admin side settings to filter results (like pilots only see their airline's flights or flight's from their current location)
     
    *****
     
    Safe flights and enjoy.
    B.Fatih KOZ
    'Disposable Hero'
    https://github.com/FatihKoz
    06.APR.21 

    285 downloads

    2 comments

    Updated

  3. JumpSeat Travel Module

    JumpSeat Module for phpVMS v7
     
    Module enables JumpSeat Travel for pilots, the frontend is a widget which can be placed anywhere you wish. There are no settings for the module itself, no database tables are there either. All settings/adjustments are done via widget.
     
    Module is compatible with dev builds released after 20.MAR.2021
     
    ***** Manual Installation Steps 
     
    S1. Upload contents of the module (or pull via GitHub) to your root/modules/JumpSeat folder.
    Go to admin section and enable the module, that's all.
    On some servers, after enabling/disabling modules an app cache cleaning process may be necessary (check admin/maintenance).
     
    ***** Usage
     
    S2. Place the widget as described below, anywhere protected with login/auth would be good. 
        (Dashboard, User Profile or any other password protected area 'cause widget will not be visible without login)
       
    @widget('Modules\JumpSeat\Widgets\JumpSeat')  
    S3. (Optional) Adjust the options you want to use for JumpSeat Travel.
       
    @widget('Modules\JumpSeat\Widgets\JumpSeat', ['price' => 'auto', 'base' => 0.20])  
    ['price' => 'free'] (this is the default option) no ticket costs, travel is free of charge. ['price' => 50] (or any number you wish except 0) ticket will cost 50 $/Eur (currency of your phpvms settings). ['price' => 'auto'] ticket price will be calculated according to the great circle distance between the airports travelled. ['price' => 'auto', 'base' => 0.25] this will force the auto price system to use 0.25 cents per nm.  
    Please be carefull with the base price definition, anything above 0.50 will make your jumpseats really expensive 'cause it gots multiplied by the distance directly.
     
    Real world companies normally offer reduced/discounted prices to "ID Travel" partners (other company workers), though they are mostly lower than their base economy ticket prices and offer services between economy and business class, 0.13 or 0.15 cents per nm are good start/default values to have.
     
    @widget('Modules\JumpSeat\Widgets\JumpSeat', ['list' => 'hubs', 'price' => 'auto', 'base' => 0.20])  
    ['list' => 'hubs'] will list only your hubs as possible destinations ( with update 24.APR.21 )  
    @widget('Modules\JumpSeat\Widgets\JumpSeat', ['dest' => $flight->dpt_airport_id, 'price' => 'auto'])  
    ['dest' => $flight->dpt_airport_id] will remove the airport selection and display only travel button to the airport specified ( with update 18.JUN.21 )  
    Fixed destination can be any airport you wish, like a hub ($hub->id) or a flight's departure airport as shown above or a fixed one ('LTAI').
     
    S4. (Optional) If you want to edit views you can copy the blade files to your template as described below.
     
    source : phpvms root\modules\JumpSeat\Resources\views\jumpseat.blade.php target : phpvms root\resources\views\layouts\Your_Theme_Folder\modules\JumpSeat\jumpseat.blade.php  
    ***** IMPORTANT UPDATE PROCEDURE FOR OLD VERSION USERS ( applicable to v1.0 ) *****
     
    Please disable the module from Module Manager (check admin section) then delete all files related to JumpSeat Module before installing this new version, not removing old files may cause problems during usage. Re-enable after uploading new version.
     
    phpvms root\modules\JumpSeat (yes, delete complete folder) phpvms root\app\Widgets\JumpSeat.php phpvms root\resources\views\layouts\default\widgets\jumpseat.blade.php phpvms root\resources\views\layouts\Your Theme Folder\widgets\jumpseat.blade.php
    Thanks to Nabeel, Andreas and translators (ARV187, Maco & GAE074) for their support during the development of this module.

    Please check/follow GitHub for possible updates and/or improvements.
     
    Enjoy,
    B.Fatih KOZ
    "Disposable Hero"
    https://github.com/FatihKoz
     

    297 downloads

    0 comments

    Updated

  4. Disposable Technical Specs & Runways Module

    Disposable Technical Specs and Runways Module for phpVMS v7
     
    This module is compatible with the latest dev build as of 28APR2021, there is no need to modify any default files.
    Technically all blade files (views/pages or whatever you call them) should work with your template but they are mainly 
    designed for Bootstrap compatible themes (like Disposable Themes, Stisla etc). 
    So if something looks weird in your template then you need to edit them.
     
    ***** Manual Installation Steps
     
    Upload contents of the package (or pull/clone from GitHub) to your root/modules/DisposableTech folder
    Go to admin section and enable the module, that's all
    After enabling/disabling modules an app cache cleaning process IS necessary (check admin/maintenance)
     
    ***** Usage
     
    This module does not have any standalone views/pages/blades. Disposable Theme and other Disposable Modules are capable of using its functions.
    Module provides runway data and technical specifications to your flights/simbrief_form.blade, also to your aircraft details page when enabled.
    Both data is pulled from Module Models by helper functions/methods when requested.
     
    If you need an airport's runways you can get the collection with;
     
    @php $runways = Dispo_GetRunways('LTAI') ; @endphp or with
     
    @php $runways = Dispo_GetRunways($airport->id) ; @endphp  
    according to your needs. Then you need to step through the $runways collection with a loop to display its contents.
    (Similar logic applies to Aircraft/Subfleet Specs too)
     
    *****
     
    You are free to edit any of the files as you wish, but please do not expect help/updates for the code you edited (controllers and providers)
    I always try to provide info and support but can not fix things you broke Just share your thoughts about any improvements so we can think
    together before changing things.
     
    Enjoy,
    Disposable
    28.APR.2021
     
    ************************
     
    Important Note: A sample disposable_runways.sql.zip file is provided (under Support Files folder of the module). Which is a little bit outdated and was build up using available open sources. I did not found any missing runways and/or changed ones when I compare it to real world data but it may have some errors though. So either replace it with some more reliable data source (if you have rights and subscriptions for such usage of course). or stick with like I do  
     
    You will need some database workbench tool (like phpmyadmin or MySql Workbench) to import that file to your disposable_runways table.
     
    ************************

    170 downloads

    0 comments

    Updated

  5. Disposable Ranks & Awards Module

    # Disposable Ranks and Awards Module for phpVMS v7
     
    This module is compatible with the latest dev build as of 23APR2021, there is no need to modify any default files.
    Technically all blade files (views/pages or whatever you call them) should work with your template but they are mainly designed for Bootstrap compatible themes (like Disposable Themes, Stisla etc). 
    So if something looks weird in your template then you need to edit them.
     
    ***** Manual Installation Steps 
     
    Upload contents of the package (or pull/clone from GitHub) to your root/modules/DisposableRanks folder
    Go to admin section and enable the module, that's all
    After enabling/disabling modules an app cache cleaning process IS necessary (check admin/maintenance)
     
    ***** Usage
     
    If you want to enable module auto links, then enable frontend link registration commands in ModuleFolder\Providers\....ServiceProvider.php file as shown below;
    (Two forward slashes (//) = Disabled, No forward slashes = Enabled )
     
      $this->moduleSvc->addFrontendLink('Ranks', '/dranks', 'fas fa-tags', $logged_in=true);   // $this->moduleSvc->addFrontendLink('Awards', '/dawards', 'fas fa-trophy', $logged_in=true);
        
    DisposableTheme IS capable of recognizing and showing proper links for Disposable Modules but if you need some more control, 
    then you can add links to your navbar (or any other place) with below examples;
     
    <li>   <a class="nav-link" href="{{ route('DisposableRanks.dranks') }}">     <i class="fas fa-tags"></i>     <span>Ranks</span>   </a> </li> <li>   <a class="nav-link" href="{{ route('DisposableRanks.dawards') }}">     <i class="fas fa-trophy"></i>     <span>Awards</span>   </a> </li>  
    (Best way to add links in Laravel structure is to use routes like above, but plain html href="/dranks" is also possible)
    You are free to edit any of the files as you wish, but please do not expect help/updates for the code you edited (controllers and providers)
    I always try to provide info and support but can not fix things you broke Just share your thoughts about any improvements so we can think together before changing things.
     
    Enjoy,
    Disposable
    23.APR.2021

    136 downloads

    0 comments

    Updated

  6. Disposable Hubs & Statistics Module

    Disposable Hubs And Statistics Module for phpVMS v7
     
    This module is compatible with the latest dev build as of 12APR2021, there is no need to modify any default files.
    Technically all blade files (views/pages or whatever you call them) should work with your template but they are mainly designed for Bootstrap compatible themes (like Disposable Themes, Stisla etc). 
    So if something looks weird in your template then you need to edit them.
     
    ***** Manual Installation Steps 
     
    Upload contents of the package (or pull/clone from GitHub) to your root/modules/DisposableHubs folder Go to admin section and enable the module, that's all After enabling/disabling modules an app cache cleaning process is necessary (check admin/maintenance)  
    ***** Usage
     
    If you want to disable module auto links and add your own according to your template, then dashout 2 frontend link registration commands in the Providers\HubsServiceProvider.php file as shown below;
    (Two forward slashes will make them disabled.)
     
    // $this->moduleSvc->addFrontendLink('Hubs', '/dhubs', 'fas fa-calendar', $logged_in=true); // $this->moduleSvc->addFrontendLink('Stats & Leaderboard', '/dstats', 'fas fa-cog', $logged_in=true);
    Then you can add links to your navbar with below examples;
     
    <li>   <a class="nav-link" href="{{ route('DisposableHubs.hindex') }}">     <i class="fas fa-paper-plane"></i>     <span>Hubs</span>   </a> </li> <li>   <a class="nav-link" href="{{ route('DisposableHubs.dstats') }}">     <i class="fas fa-calendar-alt"></i>     <span>Statistics & LeaderBoards</span>   </a> </li>  
    Also having a direct link to a specific hub is possible with
     
    <li>   <a class="nav-link" href="{{ route('DisposableHubs.hshow', ['LTFM']) }}">     <i class="fas fa-calendar-day"></i>     <span>LTFM Hub</span>   </a> </li>  
    (Best way to add links in Laravel structure is to use routes like above, but plain html href="/dhubs/LTFM" is also possible)
     
    You are free to edit any of the files as you wish, but please do not expect help/updates for the code you edited (controllers and providers)
    I always try to provide info and support but can not fix things you broke Just share your thoughts about any improvements so we can think together before changing things.
     
    Enjoy,
    Disposable
    12.APR.2021

    229 downloads

    0 comments

    Updated

  7. [FR] Complete lists of French airports

    Hi,
     
    Hello, I created a simple CSV file containing all the French airports (airports, airfields and heliport)  to import it into PHPVMS v7.
     
    -  Installation : 
     
    0/ I have not tested without deleting the French airports already registered, but I imagine that this does not delete them
    1/ Open the administrator panel of your PHPVMS (v7) installation, then, CONFIG> AIRPORTS 
    2/ At the top right of the screen click on IMPORT FROM CSV
    3/ Click on import
     
    - Informations : 
     
    The base price of kerosene and ground handling in France is pre-recorded in the file. To change this data just modify the CSV file or do it manually in PHP VMS.
     
    Regards.
     

    57 downloads

    2 comments

    Submitted

  8. Acars Software For PHPvms Version 7

    Acars Software For PHPvms Version 7

    3520 downloads

    31 comments

    Updated


×
×
  • Create New...