Jump to content

Atcarrillo

Members
  • Posts

    56
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Atcarrillo

  1. @Vangelis is there a way to exempt manual flight reports from automatically being accepted?
  2. So what I’m trying to do is create something of a departure board out of the bids. I have the flight bids on the home page under the acars map. When a pilot books a flight, and then starts to fly the booked flight on the acars map, I want it to say departed in the status column in the table I created @ProAvia
  3. Hello, I have been searching the forums but I cannot find anything similar to what I am looking for. I was wondering if there may be a bit of code to check if flight bids are currently being flown. Im trying to display a flight status under the bids that are in progress such as "Departed", or "Scheduled Departure" Thanks!
  4. Hello, I have been searching the forums but I cannot find anything similar to what I am looking for. I was wondering if there may be a bit of code to check if flight bids are currently being flown. Im trying to display a flight status under the bids that are in progress such as "Departed", or "Scheduled Departure" Thanks!
  5. @Nascoli So we got that module install, had to fix a few things but I am getting this erro code “PHP Warning: Missing argument 2 for SMPirepValidator::clearField(), called in /core/modules/SMPirepValidator/SMPirepValidator.php on line 61 and defined in /core/modules/SMPirepValidator/SMPirepValidator.php on line 199” this is the code that we have
  6. @ProAvia thanks, I’m doing this on my ancient work phone and couldn’t figure it out xD
  7. You wouldn’t happen to have a zip file for this would you? The link is dead @Nascoli
  8. Hello, I was just trying to see if anyone here has integrated Rainviewer into their live map, I know there’s a api for it, and I have gotten it close but I can’t get it 100%. Another thing is, has anyone found a way to edit the live map, as to where you click on the flight and the pop up is all styled, as opposed to the little acars bubble pop up…just doing alittle messing around with a test site I have, and I’m stuck at this point.
  9. Okay I think I got it, thanks simpilot
  10. Okay I have placed the code just in the template like this: <?php echo $topflights = TopPilotData::top_pilot_flights('08', '2013', '5'); ?> Would that work?
  11. simpilot where would that code go? Lol Sorry im not good with this stuff lol
  12. Sava, I would be very interested in the code for the buttons that allow the next or previous month. Would you be able to share that with me?
  13. mseiwald thank you that is just what i was looking for
  14. Here is the updated version of the EventsData.class.php that should work. It should solve the problem with the events disappering. All i did was add ".TABLE_PREFIX."events" between public function get_upcoming_events_dates() { $query = "SELECT * FROM ".TABLE_PREFIX."events"; return DB::get_results($query); } and i basically did that for each function. EventsData.class.php.zip
  15. Hello Everyone, I have been looking around at some websites and saw that some virtual airlines have a calender for the events page. I was wondering If anyone could help me code such a think that would work with the basic Events_booking module that is offered here. Thanks Austin
  16. Hello Everyone, I am the CEO of US Airways Virtual, and upcoming vAmerican Airlines. Some time this year around the opening of vAmerican Airlines, US Airways Virtual will close and become American Airlines Virtual. I know what all of you all are thinking and trust me if I were you I would be saying the same thing, but this AA virtual will be different than the others. I cant tell you how it will be different due to the fact that we are still in the developmental stage, It has been a dream of mine to have my own virtual airline since I stumbled onto this flight simulation stuff about 4 years ago, and I am not going to let it be ruined because of this merger. I just wanted to inform you of the impending changes and there is a site where you can get all the information you need about our progress at http://arriving.vusairways.com. Thanks for your time, Austin Carrillo CEO US Airways Virtual Questions? or Comments? Email me at ceo@vusairways.com
  17. Hello Everyone, My name is Austin Carrillo and I am the CEO of the upcoming vAmerican Airlines. I would just like to inform you that everything is going smoothly and we should be up and operational by the summer of 2013. In the mean time you can find updates and news on the arriving page at http://arriving.vusairways.com Thanks, Austin
  18. Sorry about that i was on my iPod and for some reason there was a glitch. It logged me out and i had problems with it after that. I had to re-install the Skype app, I'm sorry if it seemed like i was being rude, it was just my app acting weird. I would never be rude to anyone that's just who I am.
  19. I might know somone who is interested, send me an PM
  20. Hello Everyone, I am the CEO of US Airways Virtual. Some time this year US Airways Virtual will close and become American Airlines Virtual to try and stay up to date with the real world airlines. I know what all of you all are thinking and trust me if I were you I would be saying the same thing, but this AA virtual will be different than the others. I cant tell you how it will be different due to the fact that we are still in the development stage, It has been a dream of mine to have my own virtual airline since I stumbled onto this flight simulation stuff about 3 years ago, and I am not going to let it be ruined because of this merger. I just wanted to inform you of the impending changes, Thanks for your time, Austin Carrillo CEO US Airways Virtual Questions? or Comments? Email me at ceo@vusairways.com
  21. /** * phpVMS - Virtual Airline Administration Software * Copyright (c) 2008 Nabeel Shahzad * For more information, visit www.phpvms.net * Forums: http://www.phpvms.net/forum * Documentation: http://www.phpvms.net/docs * * phpVMS is licenced under the following license: * Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) * View license.txt in the root, or visit http://creativecommons.org/licenses/by-nc-sa/3.0/ * * @author Nabeel Shahzad * @copyright Copyright (c) 2008, Nabeel Shahzad * @link http://www.phpvms.net * @license http://creativecommons.org/licenses/by-nc-sa/3.0/ * * Rewritten for Google Maps v3 */ var flightMarkers = []; var routeMarkers = []; var flightPath = null; var depMarker = null, arrMarker = null; var info_window= null; var run_once = false; var defaultOptions = { autozoom: true, zoom: 4, center: new google.maps.LatLng(-25.363882,131.044922), mapTypeId: google.maps.MapTypeId.TERRAIN, refreshTime: 12000, autorefresh: true }; var options = $.extend({}, defaultOptions, acars_map_defaults); var map = new google.maps.Map(document.getElementById("acarsmap"), options); var weatherLayer = new google.maps.weather.WeatherLayer({ temperatureUnits: google.maps.weather.TemperatureUnit.FAHRENHEIT }); weatherLayer.setMap(map); var cloudLayer = new google.maps.weather.CloudLayer(); cloudLayer.setMap(map); // They clicked the map google.maps.event.addListener(map, 'click', function() { //clearPreviousMarkers(); }); liveRefresh(); if(options.autorefresh == true) { setInterval(function () { liveRefresh(); }, options.refreshTime); } function liveRefresh() { $.ajax({ type: "GET", url: url + "/action.php/acars/data", dataType: "json", cache: false, success: function(data) { populateMap(data); } }); }; function populateMap(data) { clearMap(); $("#pilotlist").html(""); if (data.length == 0) { return false; } var lat, lng; var details, row, pilotlink; var bounds = new google.maps.LatLngBounds(); for (var i = 0; i < data.length; i++) { if(data[i] == null || data[i].lat == null || data[i].lng == null || data[i].lat == "" || data[i].lng == "") { continue; } lat = data[i].lat; lng = data[i].lng; if(i%2 == 0) data[i].trclass = "even"; else data[i].trclass = "odd"; // Pull ze templates! var map_row = tmpl("acars_map_row", {flight: data[i]}); var detailed_bubble = tmpl("acars_map_bubble", {flight: data[i]}); $('#pilotlist').append(map_row); var pos = new google.maps.LatLng(lat, lng); flightMarkers[flightMarkers.length] = new google.maps.Marker({ position: pos, map: map, icon: url+"/lib/images/inair/"+data[i].heading+".png", flightdetails: data[i], infowindow_content: detailed_bubble }); bounds.extend(pos); google.maps.event.addListener(flightMarkers[flightMarkers.length - 1], 'click', function() { clearPreviousMarkers(); var focus_bounds = new google.maps.LatLngBounds(); // Flight details info window info_window = new google.maps.InfoWindow({ content: this.infowindow_content, position: this.position }); info_window.open(map, this); // Add polyline, and start/end points var dep_location = new google.maps.LatLng(this.flightdetails.deplat, this.flightdetails.deplng); var arr_location = new google.maps.LatLng(this.flightdetails.arrlat, this.flightdetails.arrlng); depMarker = new google.maps.Marker({ position: dep_location, map: map, icon: depicon, title: this.flightdetails.depname, zIndex: 100 }); arrMarker = new google.maps.Marker({ position: arr_location, map: map, icon: arricon, title: this.flightdetails.arrname, zIndex: 100 }); // Now the flight path, if it exists var path = new Array(); path[path.length] = dep_location; focus_bounds.extend(dep_location); if(this.flightdetails.route_details.length > 0) { $.each(this.flightdetails.route_details, function(i, nav) { var loc = new google.maps.LatLng(nav.lat, nav.lng); if(nav.type == 3) icon = "icon_vor.png"; else icon = "icon_fix.png"; var navpoint_info = tmpl("navpoint_bubble", {nav: nav}); routeMarkers[routeMarkers.length] = new google.maps.Marker({ position: loc, map: map, icon: url + "/lib/images/"+icon, title: nav.title, zIndex: 100, infowindow_content: navpoint_info }); google.maps.event.addListener(routeMarkers[routeMarkers.length - 1], 'click', function() { info_window = new google.maps.InfoWindow({ content: this.infowindow_content, position: this.position }); info_window.open(map, this); }); path[path.length] = loc; focus_bounds.extend(loc); }); } path[path.length] = arr_location; focus_bounds.extend(this.position); focus_bounds.extend(arr_location); flightPath = new google.maps.Polyline({ path: path, strokeColor: "#FF0000", strokeOpacity: 1.0, strokeWeight: 2 }); map.fitBounds(focus_bounds); flightPath.setMap(map); }); } // If they selected autozoom, only do the zoom first time if(options.autozoom == true && run_once == false) { map.fitBounds(bounds); run_once = true; } } function clearPreviousMarkers() { if(info_window) { info_window.close(); info_window = null; } if(depMarker != null) { depMarker.setMap(null); depMarker = null; } if(arrMarker != null) { arrMarker.setMap(null); arrMarker = null; } if(routeMarkers.length > 0) { for(var i = 0; i < routeMarkers.length; i++) { routeMarkers[i].setMap(null); } } routeMarkers.length = 0; if(flightPath != null) { flightPath.setMap(null); flightPath = null; } } function clearMap() { if(flightMarkers.length > 0) { for(var i = 0; i < flightMarkers.length; i++) { flightMarkers[i].setMap(null); } } flightMarkers.length = 0; if(routeMarkers.length > 0) { for(var i = 0; i < routeMarkers.length; i++) { routeMarkers[i].setMap(null); } } routeMarkers.length = 0; } and you must put this: <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=weather&sensor=false"> </script> in your acarsmap.tpl header
  22. Its called a nivo slider, you just get the free one from here http://dev7studios.com/nivo-slider/ and install it. Then change some of the CSS code to make it fit your needs
  23. Wonder who the friend who was mentioned on your About Us page is(:
  24. Hello, My name is Austin Carrillo, I have been wanting to start a VA for about 4 years now and I finally have gotten a site up. We're not like another US Airways VA out there, we have friendly staff, quick response emails, we use phpvms, and we work hard to make our pilots feel like they dont have to worry. The positions I am looking for are: Webmaster Human Resources Hub Manager for Boston Hub Manager for Charlotte Hub Manager for LaGuardia Hub Manager for Las Vegas Hub Manager for Philadelphia Hub Manager for Phoenix Hub Manager for Pittsburgh Hub Manager for Washington, DC Fleet Manager Schedule Manager Training Director Events Director As a staff member, you must fly 1 flight a month and have access to your email daily. If you are interested in any of these jobs, please sign up here. Questions? Comments? E-mail me at ceo@vusairways.com We have a new web site! http://vusairways.com Austin Carrillo CEO US Airways Virtual http://vusairways.com
×
×
  • Create New...