-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Colonia
-
-
Hey, I've added this, too. Thanx also from me, Stuart
-
I could be wrong, but I don't think it would be that easy to configure it that way since the way it is pulling that info out is depending on your settings inside your config file.
@Jeff: This was the first what I've tried, but it doesn't work.
Inside of the loop would need to add something like
$c['alt_metre'] = $flight->altitude * .3048;
In the template you can then use
<%=flight.alt_metre%>
Thank you very much, @lorathon It works absolutely fine, with a small modification to round the output.
I've added the following lines in the ACARS.php:
$alt_meters = round(($flight->alt * 0.30479), 0); $c['alt_meters'] = $alt_meters; $gs_kilometers = round(($flight->gs * 1.851984), 0); $c['gs_kilometers'] = $gs_kilometers;
Then I've added this in the acarsmap.tpl:
<%=flight.alt_meters%> <%=flight.gs_kilometers%>
-
Hello,
I'm looking for a possibility to show the altitude beside feet also in meters in the Acarsmap. Also the speed should be indicated in knots as well as kilometers per hour (km/h). I've done some attempts, but nothing is working. I need two other variables, e.g. <%=flight.meters%> and <%=flight.kilometers%>. I tried to multiply the height by PHP with 0.30479 and the speed with 1.851984, but the result is always 0.
Can someone help, please?
-
OK, I've just installed the AFC script with some small modifications and it works fine. Thanx for it @tebinu
-
Fantastic module. Thanx for it, Dave. I've modified it a little bit, so now it is sorted by departure or arrival times, shows airport full names, flight types (pax, cargo) and arrival times. And for this great work I've added a link to simpilotgroup.com at the bottom of the page. Example: Colonia VA.
-
Hi @all, here is a german language version of kACARS.
-
I'm using the VMS 2.1.934 and the RSL beta 1.0. Because I've got this problem, I reinstalled both twice again, phpVMS and RSL, also the SQL tables. But the result with a fresh install was the same: "You are here" and "You are at XXXX" vs. "You are not at this airport". But with my posted code above it works fine for me.
-
But...once you fly your first route it will show up correctly.
Yes, that's correct. But the first flight can't book on my website via the hub EDDK. And that was the problem. If anyone of the new pilots take any random existing flight number it works. But I would that they start the first flight in EDDK or another chosen hub after registration and that them shown flights from the selected hub airport by REALScheduleLite.
-
Thank you for the reply, Dave
Have you assigned the pilots to a hub? - I built in a qualifier in the index template to put the pilot at their hub if they have never filed a PIREP.
Yes, the pilots are assigned to the hub EDDK, also in the pilots table of the SQL database. And the qualifier is correct in my realschedulelite_index.tpl. But it doesn't work I tried the following in the realschedulelite_airport_details.tpl:
//If pilot is logged in check their location //If the pilot is at this airport allow them to bid on flights if(Auth::LoggedIn() == true) { $location = PIREPData::getLastReports(Auth::$userinfo->pilotid, 1, ''); $location = RealScheduleLiteData::get_pilot_location(Auth::$userinfo->pilotid); if(!$location == $name->hub) { echo '<td><a id="'.$flight->id.'" class="addbid" href="'.actionurl('/schedules/addbid').'">Add to Bid</a></td>'; } else if($location->arricao == $name->icao) { echo '<td><a id="'.$flight->id.'" class="addbid" href="'.actionurl('/schedules/addbid').'">Add to Bid</a></td>'; } else { echo '<td>You are not at this airport</td>'; } }
That way it works fine for new and also existed pilots At least for the moment, I'll continue testing...
-
Great Add-On. Thanks for it! But a little problem: New pilots are general stationing at EDDK. But if they klick the RealScheduleLite-Link of this airport, the message is "You are not at this airport" and they can't add a flight to their BIDs. "You are here" ist right, but then it isn't going further for them. And yes, there are enough aircrafts to fly at the airport.
-
Thanx for this great add-on, Dave. It work's fine and it's on time before I provide the flight plan for my VA.
Entrance Exam Module
in Simpilot Group Addons
Posted
Oh no, this isn't only good or cool, it's absolutely perfect. I've bought it and are glad to have this add-on Thank you very much for this, @simpilot!