Jump to content

hjhjhgjgjh

Members
  • Posts

    210
  • Joined

  • Last visited

Posts posted by hjhjhgjgjh

  1. Okay here is my problem,.. i am using the exam center but it has a problem with my website. The problem is, that my website is a custom one and phpvms is included in an iframe which automatically resizes itself every 400milliseconds. Everything works except the exam script... the script resizes itself to 0 so you cant see any content then anymore. Then i had the idea that it is because of the resize script so i made it "target="_blank"" and it opens in a new window.. this works (i have a new page coming up without my VA design which is no problem) but it contains the navigation which i dont want to load in this time, so is it possible to do the following (i explain it with some flash code because i know how to write it there xD)

    onload('exams.tpl'){hide 'core_navigation.tpl};

    ;D

  2. Okay i just got 2 ideas but dont know how to make the code for.

    1. Pilots will get a regular salary (like 3500$), if they fly or not. After 3 month without flying, they will get an email like "You didnt fly, how bad, now you have one month left or we delete your account"  ;) ooor the admin gets some msg in the admin panel and can write the email by himself..

    2. Lets change the rules and turn this into something realistic.. The pilot can have the choice to choose the routes by himself or let the flight operation officer do that task (he will choose the flights for the pilot and the pilot is not able to book flights by himself anymore) Maybe adding something like a switch when registering (but can be changed also later in the profile somewhere)

    Wbr

    Tebin

  3. Okay this is going mostly to Nabeel but also to all the others, providing this project with new addons..

    Id like to thank everybody for what they did and for what will come..

    When i started my virtual airline Pan American Airways, i had to decide what to use. It took me some days to figure out, that there arent lot of such systems. Finally i had the choice between vabase and phpvms. Now I was one of those guys who thought that payware is always better and so i bought vabase. This was a big mistake because they dont have a good support and everything has to be customized and it would take weeks to get it even running in a decent way. Then i tried out phpvms which was then the best step i could do. After some days, my design changes were done and now i am even making some addons for it. Its just awesome and i like the community here. Great work everybody  8)

  4. Okay here we go.. when i start a flight and turn on fsacars, it looks like this

    fsacars.png

    Now what i want is to customize the data which the FSAcars get from my website. Especially the remarks. On my website i changed some files so it now also outputs the registration of the aircraft in the schedules_briefing.tpl ...Is it possible to automatically put it into the remarks? so it wont be like on this screen

    "+RMK/ CALLSIGN CLIPPER / WWW PANAM AIRWAYS COM" but would look like

    "+RMK/ CALLSIGN CLIPPER / WWW PANAM AIRWAYS COM / REG/N747PA / CLIPPER MAID OF SEAS"

    (for the name, i already changed the code also so its just another variable

  5. if you do not find any data in the internet, make a normal flight in flightsimulator and just write down how much fuel you burned per hour (but if possible with a lot of thrust so you have reserves,.. i always check my fuelflow with maximum possible mach and thats how i calculate it)

  6. Okay this is what you have at the moment:

    a couple of weather maps but only for U.S.

    And this is what my script does:

    It recognizes, from what country you are flying and will output a weather map for the departure area and same for arrival area so if you fly from EDDF to KJFK, it will show a map of europe and its winds and same for U.S. (And in this case also a NAT map for westbound flights/on return flight, it will show NAT map for eastbound flights). With a bit php knowledge, it should be easy to customize this script to add other maps or whatever is required. I by myself work for a german airline and i try to improve it later so it looks like what we have.

    Instructions:

    1. remove all the lines related to the original maps in schedules_briefing.tpl (/core/templates/)

    2. put this line instead of the old ones: <?php include('weather.tpl'); ?>

    3. place the weather.tpl into your /core/templates/ directory

    4. thats it, check out your pilot briefing ;)

    A screenshot is available here http://tebinulrich.de/files/preview.png

    weatherscript.zip

    • Like 1
  7. no, you can edit those values also. so the code starts like this:

    <?php

            /**

    *Fuelflow Table

    */

            $fuelflowMD11 = 7500;

            $fuelflowMD11F = 7500;

    to add an aircraft, just put the random value like for a b737-800 you can put $fuelflowB738 or something. then = and then how much it burns per hour. then also to reservers so it would look like

            $reservesB738 = 1000;

    and later you have to add this "B738" to those lines

            elseif($schedule->aircraft == 'B737-800') <- there you see the actual name of the aircraft in your list.. you have to put it in manually as well

            {

            $fuelflow = $fuelflowB738;

                $reserves = $reservesB738;

            }

    and then its done. well, its not easy to explain, if you want i can edit it for you. or maybe someone can make some panel for it...

×
×
  • Create New...