Jump to content

CFVA

Members
  • Posts

    107
  • Joined

  • Last visited

Everything posted by CFVA

  1. Any help with this error Fatal error: Using $this when not in object context in /home/www/myairline/core/modules/FrontSchedules/FrontSchedules.php on line 16 Using Current 5.5.2 release stable on php 5.6 environment Thanks
  2. Anyone tell me where the purchase date is stored as the template defaults to "Date of Purchase: Thursday 01 January 1970" Can't see anything in the aircraft tab in SQL G-azza
  3. CFVA

    CAVacars

    Anyone know where this can be downloaded from now? Or has someone got a copy of the client & web modules to email Thanks
  4. I'm now totally confused with all this. The frontpage map and the live acars map DO work! I think I will leave it as it is, it's not a big problem Thanks for the help
  5. I know the min & max can be set, but I want a fixed level, no zoom
  6. Yes. No zoom in/out fixed m level
  7. How do I set a fixed zoom level? Rather than from 5 to 17, if I want about 15 how to do please. Thanks for the help so far, it's been fantastic Gary
  8. I've combined the 2 files. Seems to be ok at the moment
  9. Now I've lost my live ACARS map on frontpage & live acars page!
  10. Where are these going? core_htmlhead.php?
  11. It does, seems not to load first time but a refresh sorts it.
  12. Sorry to say that's not made any difference. I may just take the map display off that page and not bother
  13. There is a core_htmlhead.php in the skins folder as well as core/templates folder Which one?
  14. Did that but no change Did this but now get message This page can't load Google Maps correctly. (I've reversed the changes now)
  15. It is, but maps in other pages all work. ACARS live map, the vFleetTracker map that shows where all aircraft are, just the 1 map when you view a single plane's information. So it must be the code somewhere! Thanks for the input though
  16. No change Just get a blank white square and no map!
  17. Sure it's a zoom issue. The imagery issue was just the location I was using. Yes I can "manually" zoom in and out. The module wasn't made by me. I've no idea, it's vFleetTracker Module Created By Vansers These screenshots probably better Can zoom in & out using scroll or +/- buttons, it's just the zoom level it starts at. All other pages that use maps are fine, just this one Thanks for the help so far
  18. first line returns undefined second line returns Uncaught TypeError: Cannot read property 'setZoom' of null at <anonymous>:1:3 Here is is a screenshot with console open with some error stuff! No idea as map zoom works on other pages no problems Capture.zip
  19. CFVA

    sky blue 1.0.4 help

    Thanks great, thanks I knew it was just a question of adding CF somewhere in the code, but wasn't sure where! Thanks again
  20. Hi I know the zoom= but what ever value it is set to doesn’t change the zoom! it seems I’m zoomed in maximum whatever that is! As I’m zoomed righ in to the runway of the airport. Other pages/modules, like acars map live display works fine. using v5.5.2 thanks
  21. Trying to change the map zoom on the view screen but no matter what zoom level I choose it's not changing Any help please
  22. skyBlue skin for phpvms Version 1.0.4 phpVMS v5.5.2 Released August 26, 2016 Updated: September 9, 2016 Using charter flights only in kACARS so no schedules! in frontpage_reports.php in want to add a flight code prefix (CF) to the listing, but can't work it out. This is the current code echo '<td><a href="'.SITE_URL.'/index.php/pireps/viewreport/'.$pirep->pirepid.'">'.$pirep->code.$pirep->flightnum.'</a></td>'; which shows just just flight number ie 117, what I want to show is CF117 Any help accepted Thanks
  23. Hi All I'm trying to get the map zoom in the view.php template to be a wider zoom! I've tried many setting for zoom under the Current Aircraft Location (this is the map for the individual aircraft, not the fleet, thats changes when zoom level is changed in map.php) Current code is: <h3>Current Aircraft Location</h3> <?php $location = vFleetTrackData::getLastFlightAircraft($aircraft->id); if($location) { $airport = OperationsData::getAirportInfo($location->arricao); ?> <div class="mapcenter" align="center"> <div id="currentlocation" style="width: 960px; height: 520px;"></div> </div> <script type="text/javascript"> var options = { autozoom: false, zoom: 5, mapTypeId: google.maps.MapTypeId.HYBRID } var map = new google.maps.Map(document.getElementById("currentlocation"), options); var flightMarkers = []; current_location = new google.maps.LatLng(<?php echo $airport->lat?>, <?php echo $airport->lng?>); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: current_location, map: map, title: "<?php echo "$airport->name ($airport->icao)";?>" }); if(flightMarkers.length > 0) { var bounds = new google.maps.LatLngBounds(); for(var i = 0; i < flightMarkers.length; i++) { bounds.extend(flightMarkers.position); } } map.fitBounds(bounds); </script>
  24. Hi All I'm trying to get the map zoom in the view.php template to be a wider zoom! I've tried many setting for zoom under the Current Aircraft Location (this is the map for the individual aircraft, not the fleet, thats changes when zoom level is changed in map.php) Current code is: <h3>Current Aircraft Location</h3> <?php $location = vFleetTrackData::getLastFlightAircraft($aircraft->id); if($location) { $airport = OperationsData::getAirportInfo($location->arricao); ?> <div class="mapcenter" align="center"> <div id="currentlocation" style="width: 960px; height: 520px;"></div> </div> <script type="text/javascript"> var options = { autozoom: false, zoom: 5, mapTypeId: google.maps.MapTypeId.HYBRID } var map = new google.maps.Map(document.getElementById("currentlocation"), options); var flightMarkers = []; current_location = new google.maps.LatLng(<?php echo $airport->lat?>, <?php echo $airport->lng?>); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: current_location, map: map, title: "<?php echo "$airport->name ($airport->icao)";?>" }); if(flightMarkers.length > 0) { var bounds = new google.maps.LatLngBounds(); for(var i = 0; i < flightMarkers.length; i++) { bounds.extend(flightMarkers.position); } } map.fitBounds(bounds); </script>
×
×
  • Create New...