Jump to content

MrDalle

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by MrDalle

  1. The module is working fine but cant handle a big database.. i had to remove it couse of 505 erorrs or dealing with loading times over 1min.. Im now using a modified Schedule Search Module so our pilots can also book flights on our Website.

    ps: smartCars Bids are working with WEB541 and Parkhos version! :)

  2. Hey guys,

    i made a template to use this great weather map with phpvms. Its just a iframe but its doing his job!

    The map is very accurate!!.. i tested it yesterday with AS16 (P3D)

    https://www.ventusky.com/

    S3nUZEO.jpg

    put this in core/modules/ACARS/ACARS.php

     public function viewmapwxr()
    {
    
    $this->render('wxrmap.php');
    }
    

    create a file called "wxrmap.php" inyour /lib/skins/YOURSKIN/wxrmap.php

    <style>
    .embed-container {
     position: relative;
     padding-bottom: 56.25%; /* ratio 16x9 */
     height: 0;
     overflow: hidden;
     width: 100%;
     height: auto;
    }
    
       .embed-container iframe {
    
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
    }
       /* ratio 4x3 */
    .embed-container.ratio4x3 {
     padding-bottom: 75%;
    }
       </style>
    <!-- Main content -->
    
    
       <!-- Main row -->
     <div class="embed-container">
      <iframe src="https://www.ventusky.com/?p=-53;31;2&l=wind&m=icon" name="" scrolling="yes"></iframe>
       </div>
    

    acces it by using:

    /index.php/acars/viewmapwxr
    

    I cant get the iframe responsive maybe you can help.. :P

  3. Solved it by myself.. i used the Touchdownstats Module and messed around with the code.. wokring expample here:

     <section class="col-lg-2 connected">
    	    <div class="small-box bg-red">
    		    <div class="inner">
    			    <h3><?php echo TouchdownStatsData::pilot_average($userinfo->pilotid); ?> </h3>
    			    <p>Landing Rate</p>
    		    </div>
    		    <div class="icon">
    			    <i class="ion-ios-analytics"></i>
    		    </div>
    	    </div>
    

  4. Hey folks,

    im trying to display the average landing rate per user in our dashboard.. but i cant find a way to do this..

    As you see in the screenshot below i got managed to display Hours Flown, Total Flights and the Pilot Wallet correctly with $userinfo ->totalhours etc..

    2gwyuVy.png

    for example:

    <section class="col-lg-2 connected">
    	    <div class="small-box bg-yellow">
    		    <div class="inner">
    			    <h3><?php echo $userinfo->totalhours; ?></h3>
    			    <p>Hours flown</p>
    		    </div>
    		    <div class="icon">
    			    <i class="ion-earth"></i>
    		    </div>
    	    </div>
    	    </section>
    

    So whats the right code for doing this for the landing rate?

    Thanks for your Help!

  5. Working like charm now! thanks!! :) im using a modified version of the "CrewCenter" skin so it was that double bootstrap which couses errors..

    Do i need to install Parkhos fuel Calculator to get this working too?...

    - https://github.com/parkho/FuelCalculator.V1.2

    i wrote to TFDI design and they told me so long the bids are added into the "standard" phpvms page (/index.php/schedules/bids) it will also show up in the smartCARS client.

  6. hey guys,

    i installed this great add-on but getting this error... any ideas?

    Notice: The template file "/var/www/......../core/templates/weather/weather.php" doesn't exist in /var/www/vhosts/......................./core/classes/TemplateSet.class.php on line 231
  7. Thanks for the great add-on!!! i just installed everything on my phpvms 5.5.2. Its working but i get a error.. do you have any clue?

    i attached also a screenshot..

    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/dd-photography.de/vas.airberlin-va.de/core/templates/finance/airline_finance.php on line 9
    

    post-49581-0-19064900-1478185371_thumb.png

  8. hey folks!

    im working rnw on the new Virtual Airline System for FSCloud.

    I want to build in web541 Version of his FLTbook System. I moved al the files created the all entries. Page is working but when i try to book a flight the window where you can chose the plane pops up but always close immediately. I didn't changed the code or styled anything..

    Im using the php branch ( https://github.com/web541/FltbookSystem/tree/php ) and phpvms 5.5.2

    Hope you can help!

    ps: is this fltbooking system working with smartCARS ?

×
×
  • Create New...