richipilot Posted January 8, 2015 Report Share Posted January 8, 2015 Nice!!! Quote Link to comment Share on other sites More sharing options...
danydj96 Posted March 4, 2015 Report Share Posted March 4, 2015 Hello, When I am at an airport it tells me that: You are not at this airport. And it is where I am, it says that on my profile. How can I solve it? Kind regards, Quote Link to comment Share on other sites More sharing options...
danydj96 Posted March 4, 2015 Report Share Posted March 4, 2015 I modified the realschedulelite a little and now it shows all the schedules from a depart airport for a specific aircraft. Also I have made the code when a pilot bid a flight with an <a> aircraft and there are other flights with the same plane from the same Departure airport, can not bid them other pilot. You can see those flights but the code shows reserved and no one can bid them. I made this because if an airplane depart from than airport and a pilot bid the same time a flight with the same aircraft(registration) then the aircraft will change arrival airport and the pilot who made the first flight looses the aircraft. I post a picture to see it Sorry for my english Could you please provide the code for that table? Thanks, Quote Link to comment Share on other sites More sharing options...
bambam35614 Posted August 15, 2015 Report Share Posted August 15, 2015 Please help I have installed using the addon manger but it says it is invalid there is no config.php Quote Link to comment Share on other sites More sharing options...
RedwoodVA Posted September 9, 2015 Report Share Posted September 9, 2015 I am having the old "no route passed" error and I have determined that two lines in my layout.tpl seem to be the culprits. If i remove the "skins/redwood/" from both lines' URLs the booking starts working and the "no route passed" error disappears. The only problem is that when I do this all the active content on my site dies (i.e, menus, pic carousels, etc.). <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/redwood/js/jquery-1.11.0.min.js"></script> and <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/redwood/js/custom.js"></script> I've tried leaving both versions (both with and without the /skins/redwood/ portion or the URL) in the file but that hasn't worked. I've tapped a couple of friends who are good with php but we haven't been able to figure it out. Any help is greatly appreciated. Thanks in advance. 1 Quote Link to comment Share on other sites More sharing options...
RedwoodVA Posted November 15, 2015 Report Share Posted November 15, 2015 UPDATE - This post (http://forum.phpvms....-passed-solved/) solved it for me. Quote Link to comment Share on other sites More sharing options...
bass Posted November 19, 2015 Report Share Posted November 19, 2015 Install the module, did everything in the instructions, but gets off the template in the header pishit mistakes and errors on the page also gives ... The following screens, tell me what I did wrong Quote Link to comment Share on other sites More sharing options...
web541 Posted November 19, 2015 Report Share Posted November 19, 2015 Is your phpvms version 5.5.x? Quote Link to comment Share on other sites More sharing options...
bass Posted November 19, 2015 Report Share Posted November 19, 2015 Is your phpvms version 5.5.x? Yes I have is 5.5 Quote Link to comment Share on other sites More sharing options...
web541 Posted November 20, 2015 Report Share Posted November 20, 2015 rename all your realschedulelite files with a .php ending Quote Link to comment Share on other sites More sharing options...
bass Posted February 29, 2016 Report Share Posted February 29, 2016 it is impossible to correct errors Quote Link to comment Share on other sites More sharing options...
MichaelKattirtzis Posted March 12, 2016 Report Share Posted March 12, 2016 go to local config and edit line 139 to this # Debug mode is off by default Config::Set('DEBUG_MODE', false); Config::Set('ERROR_LEVEL', 0); Quote Link to comment Share on other sites More sharing options...
bass Posted April 3, 2016 Report Share Posted April 3, 2016 In this module, there is a very nice feature. Your unit can display the plane at the airport have or do not have it. Tell me, how can this function is set to flight list ??? (Schedule_resilts.tpl) The pilot could not make reservation for a flight, if it is not the plane right now? Schedule_resilts.tpl- I have now installed this code. <?php $pilotid = Auth::$userinfo->pilotid; $last_location = FltbookData::getLocation($pilotid, 1); $last_name = OperationsData::getAirportInfo($last_location->arricao); ?> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> <script src="http://code.jquery.com/jquery-latest.js"></script><!-- Latest compiled and minified Javascript - Modified to clear modal on data-dismiss --> <script type="text/javascript" src="<?php echo SITE_URL;?>/lib/js/bootstrap.js"></script> <br /> <table width="787" class="table table-striped table-bordered table-hover" id="tabledlist"> <?php if(!$allroutes) { ?> <?php } else { ?> <thead> <tr id="tablehead"> <th bgcolor="#C20A1F">Компания</th> <th bgcolor="#C20A1F">Номер рейса </th> <th bgcolor="#C20A1F">Вылет</th> <th bgcolor="#C20A1F">Прибытие </th> <th bgcolor="#C20A1F">Самолет</th> <th bgcolor="#C20A1F">Статус</th> </tr> </thead> <tbody> <?php foreach($allroutes as $route) { if(Config::Get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn()) { if($route->aircraftlevel > Auth::$userinfo->ranklevel) { continue; } } ?> <tr style="height:12px; font-size:14px; font-weight:normal;"> <td width="16.5%" align="left" valign="middle"><div align="center"><img src="<?php echo SITE_URL?>/lib/skins/red/images/airlines/<?php echo $route->code;?>-tail.png" width="50" height="50" align="absbottom" style="vertical-align:top; margin-bottom:10px;"></div></td> <td width="16.5%" align="center" valign="middle"><center><?php echo $route->code . $route->flightnum?></center></td> <td width="16.5%" align="center" valign="middle"><?php $country = OperationsData::getAirportInfo($route->depicao); $imgicao = array_search($country->country, Countries::$countries); ?> <img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strtolower($imgicao);?>.png" alt="<?php echo strtolower($imgicao);?>" /> <a href="<?php echo SITE_URL?>/index.php/airports/get_airport?icao=<?php echo $route->depicao ?>" target="_blank"><?php echo $route->depicao;?></a> (<?php echo $route->deptime; ?>) </strong><br /> <?php $departname = OperationsData::getAirportInfo($route->depicao); $depairport = substr($departname->name,0,18);?><?php echo $depairport;?></td> <td width="16.5%" align="center" valign="middle"><?php $country = OperationsData::getAirportInfo($route->arricao); $imgicao = array_search($country->country, Countries::$countries); ?> <img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strtolower($imgicao);?>.png" alt="<?php echo strtolower($imgicao);?>" /> <a href="<?php echo SITE_URL?>/index.php/airports/get_airport?icao=<?php echo $route->arricao ?>" target="_blank"><?php echo $route->arricao;?></a> (<?php echo $route->arrtime; ?>) </strong><br /> <?php $arrivename = OperationsData::getAirportInfo($route->arricao); $arrairport = substr($arrivename->name,0,18);?><?php echo $arrairport;?></td> <td width="16.5%" align="left" valign="middle"><?php echo $route->aircraft ;?> <?php echo $route->registration ;?> <div class="vertical-align-text pull-right" style="padding-left:6px;"> <div class="font-small pull-right"><?php echo $route->flighttime; ?>h</div> <div class="font-small"><?php echo round($route->distance,0,PHP_ROUND_HALF_UP); ?>nm</div> </div> </td> <td width="16.5%" align="center" valign="middle"><?php if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0) { ?> <div class="btn btn-danger btn-sm sharp disabled">недоступен</div> <?php } else { ?> <a data-toggle="modal" href="<?php echo SITE_URL?>/action.php/Fltbook" data-target="#confirm" class="btn btn-success btn-md">Свободен</a> <?php } ?> </td> </tr> <td colspan="6"> <table cellspacing="0" cellpadding="0" border="1" id="details_dialog_<?php echo $route->flightnum;?>" style="display:none" width="100%"> <tr> <th align="center" bgcolor="black" colspan="4"><font color="white">Flight Brefing</font></th> </tr> <td><a href="<?php echo url('/schedules/details/'.$route->id);?>"><strong><font color="red">Отправить Fplan в VATSIM </strong></a></td> <tr> <td align="left">  Deaprture:</td> <td colspan="0" align="left" ><b> <?php $name = OperationsData::getAirportInfo($route->depicao); echo "{$name->name}"?></b></td> <td align="left">  Arrival:</td> <td colspan="0" align="left" ><b> <?php $name = OperationsData::getAirportInfo($route->arricao); echo "{$name->name}"?></b></td> </tr> <tr> <td align="left">  Aircraft</td> <td colspan="0" align="left" ><b> <?php $plane = OperationsData::getAircraftByName($route->aircraft); echo $plane->fullname ; ?></b></td> <td align="left">  Distance:</td> <td colspan="0" align="left" ><b> <?php echo $route->distance . Config::Get('UNITS') ;?></b></td> </tr> <tr> <td align="left">  Dep Time:</td> <td colspan="0" align="left" ><b> <font color="red"><?php echo $route->deptime?> GMT</font></b></td> <td align="left">  Arr Time:</td> <td colspan="0" align="left" ><b> <font color="red"><?php echo $route->arrtime?> GMT</font></b></td> </tr> <tr> <td align="left">  Altitude:</td> <td colspan="0" align="left" ><b> <?php echo $route->flightlevel; ?> ft</b></td> <td align="left">  Duration:</td> <td colspan="0" align="left" ><font color="red"><b> <?php $dist = $route->distance; $speed = 440; $app = $speed / 60 ; $flttime = round($dist / $app,0)+ 20; $hours = intval($flttime / 60); $minutes = (($flttime / 60) - $hours) * 60; if($hours > "9" AND $minutes > "9") { echo $hours.':'.$minutes ; } else { echo '0'.$hours.':0'.$minutes ; } ?> Hrs</b></font></td> </tr> <tr> <td align="left">  Days</td> <td colspan="0" align="left" ><b> <?php echo Util::GetDaysLong($route->daysofweek) ;?></b></td> <td align="left">  Price:</td> <td colspan="0" align="left" ><b> $<?php echo $route->price ;?>.00</b></td> </tr> <tr> <td align="left">  Flight Type:</td> <td colspan="0" align="left" ><b> <?php if($route->flighttype == "P") { echo'Passenger' ; } if($route->flighttype == "C") { echo'Cargo' ; } if($route->flighttype == "H") { echo'Charter' ; } ?></b></td> <td align="left">  Flown</td> <td colspan="0" align="left" ><b> <?php echo $route->timesflown ;?></b></td> </tr> <tr> <th align="center" bgcolor="black" colspan="4"><font color="white">Fuel Calculation for <?php $plane = OperationsData::getAircraftByName($route->aircraft); echo $plane->fullname ; ?> </font></th> </tr> <?php $fuelflowB722 = 3800; $fuelhrB722 = 3000; $fuelflowB738 = 1045; $fuelhrB738 = 3970; $fuelflowB744 = 1845; $fuelhrB744 = 7671; $fuelflowB763 = 1405; $fuelhrB763 = 4780; $fuelflowB772 = 2200; $fuelhrB772 = 6400; $fuelflowA30B = 1526; $fuelhrA30B = 8065; $fuelflowA320 = 790; $fuelhrA320 = 3000; $fuelflowA332 = 1433; $fuelhrA332 = 6375; $fuelflowA343 = 1829; $fuelhrA343 = 8300; $fuelflowF100 = 744; $fuelhrF100 = 2136; if($route->aircraft == 'B737-800') { $fuelflow = $fuelflowB738; $fuelhr = $fuelhrB738; } elseif($route->aircraft == 'B747-400') { $fuelflow = $fuelflowB744; $fuelhr = $fuelhrB744; } elseif($route->aircraft == 'B767-300') { $fuelflow = $fuelflowB763; $fuelhr = $fuelhrB744; } elseif($route->aircraft == 'B777-200') { $fuelflow = $fuelflowB772; $fuelhr = $fuelhrB772; } elseif($route->aircraft == 'B727-200') { $fuelflow = $fuelflowB727; $fuelhr = $fuelhrB727; } elseif($route->aircraft == 'A300B2') { $fuelflow = $fuelflowA30B; $fuelhr = $fuelhrA30B; } elseif($route->aircraft == 'A320-200') { $fuelflow = $fuelflowA320; $fuelhr = $fuelhrA320; } elseif($route->aircraft == 'A330-200') { $fuelflow = $fuelflowA332; $fuelhr = $fuelhrA332; } elseif($route->aircraft == 'A340-300') { $fuelflow = $fuelflowA343; $fuelhr = $fuelhrA343; } elseif($route->aircraft == 'F100') { $fuelflow = $fuelflowF100; $fuelhr = $fuelhrF100; } $fldis = $route->distance / 100; $fuelnm = $fuelflow * $fldis; $fltaxi = 200; $flndg = $fuelhr * 3/4; $result = $fuelnm + $flndg + $fltaxi; ?> <tr> <td><a href="<?php echo url('/schedules/details/'.$route->id);?>">Смотреть детали </a></td> <td align="left" colspan="2">  Average Cruise Speed:</td> <td align="left" colspan="2"> <b>430 kt/h - 800 km/h</b></td> </tr> <tr> <td align="left" colspan="2">  Fuel Per 1 Hour:</td> <td align="left" colspan="2"> <b><?php echo $fuelhr ;?> kg - <?php echo ($fuelhr *2.2) ;?> lbs</b></td> </tr> <tr> <td align="left" colspan="2">  Fuel Per 100 NM:</td> <td align="left" colspan="2"><b> <?php echo $fuelflow ;?> kg - <?php echo ($fuelflow *2.2) ;?> lbs</b></td> </tr> <tr> <td align="left" colspan="2">  Taxi Fuel:</td> <td align="left" colspan="2"><b> <?php echo $fltaxi ;?> kg - <?php echo ($fltaxi *2.2) ;?> lbs</b></td> <tr> <td align="left" colspan="2">  Minimum Fuel Requiered At Destination:</td> <td align="left" colspan="2"><b> <?php echo $flndg ;?> kg - <?php echo ($flndg *2.2) ;?> lbs</b></td> </tr> <tr> <td align="center" colspan="4"><font color="blue" size="4">Total Estimated Fuel Requiered For This Route: <?php echo round($result, 1) ;?> kg - <?php echo round(($result *2.2), 1) ;?> lbs</font></td> </tr> <tr> <td align="center" colspan="4"><font size="3" color="red"><b>TO PREVENT ANY MISCALCULATION ADD 500 KG EXTRA!</b></font></td> </tr> </td> </tr> <tr> <th align="center" bgcolor="black" colspan="4"><font color="white">Flight Map</font></th> </tr> <tr> <td width="100%" colspan="4"> <?php $string = ""; $string = $string.$route->depicao.'+-+'.$route->arricao.',+'; ?> <img width="100%" src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=bm&MR=240&MX=680x200&PM=pemr:diamond7:red%2b%22%25I%22:red&PC=%230000ff" /></tr> </td> </table> </td> <div class="modal fade" id="confirm"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> </div> </div> </div> </div> <?php /* END OF ONE TABLE ROW */ } } ?> </tbody> </table> </div> <hr> <center> <a href="<?php echo url('/Fltbook') ;?>"></a> </center></div> <br /> Quote Link to comment Share on other sites More sharing options...
Michael2015 Posted May 5, 2016 Report Share Posted May 5, 2016 i have come across an error i have 3 aircraft at OMAA and one at OMDB i am currently at OMAA but when i go into click on add bid it states i am not at the airport what is this doing as i bought a jump seat ticket to get to OMAA please help as i would like this in my VA Quote Link to comment Share on other sites More sharing options...
Rene Posted November 30, 2016 Report Share Posted November 30, 2016 i got error: ...public_html/core/templates/realschedulelite/realschedulelite_index.php" doesn't exist in.... yes and its missing in the downloaded zip... where can i find? i have installed vms 5.x Quote Link to comment Share on other sites More sharing options...
Jerry Posted December 2, 2016 Report Share Posted December 2, 2016 HELP my schedules are not changing. I have been seeing the same flights available everyday of the week even on days they are not available on the schedule. It is simply not updating and its the same options every day per aircraft where flights are available Sunday to Sunday. http://www.fofvirtua...ealScheduleLite Quote Link to comment Share on other sites More sharing options...
Melli Posted December 19, 2016 Report Share Posted December 19, 2016 (edited) Installed this module and i had no problems ...all ok. but now im standing at the airport and if i click "Search for a flight" im always getting "no routes have been found" :-( * jumpseat is working fine. what im doing wrong? im using the last phpvms version and i changed all from tpl to php also inside "RealScheduleLiteData.class.php" Edited December 19, 2016 by Melli Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.