
ATAvCEO
Members-
Posts
53 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by ATAvCEO
-
WOW, impressive Kyle. Keep up the great work. Thanks for this Add on.
-
Hi Tom, Thanks for your help and your patience with me on this but still not doing anything here. Here is the code: If you notice Section 1 is using the $hub->KMDW, Section 2 is using just plain (KIND) as before and Section 3 is using $hub->ICAO. Section 2 is only pulling info out of the database but not everything that it should get, whereas Sections 1 & 3 aren't pulling anything. I know about creating a table/row for the pilot info I just put the code in there as stated above just as a place holder. <b>Using ..CountPilots ($hub->KMDW) in place of($icao) etc</b><br> <table> <tr>$pilots = HubStats::Pilots($hub->KMDW); foreach($pilots as $pilot){ // Do a table row or something?</tr></table> }<br> Number of Pilots: <?php echo HubStats::CountPilots ($hub->KMDW) ; ?><br> Number of Flights From: <?php echo HubStats::CountFlightsFrom ($hub->KMDW); ?><br> Number of Flights to: <?php echo HubStats::CountFlightsTo ($hub->KMDW); ?><br> Number of Flights: <?php echo HubStats::CountFlights ($hub->KMDW) ?><br> Last 10 Pireps: <?php echo HubStats::FlightsDetails($hub->KMDW, $limit=10); ?><br> Number of Miles: <?php echo HubStats::TotalMiles($hub->KMDW); ?><br> Number of Routes To: <?php echo HubStats::CountRoutesTo($hub->KMDW); ?><br><br> <b>Using ..CountPilots (KIND) in place of ($icao)etc</b><br> $pilots = HubStats::Pilots($hub->KIND); foreach($pilots as $pilot){ // Do a table row or something? }<br> Number of Pilots: <?php echo HubStats::CountPilots (KIND); ?><br> Number of Flights From: <?php echo HubStats::CountFlightsFrom(KIND); ?><br> Number of Flights to: <?php echo HubStats::CountFlightsTo(KIND); ?><br> Number of Flights: <?php echo HubStats::CountFlights(KIND); ?><br> Last 10 Pireps: <?php echo HubStats::FlightsDetails(KIND, $limit=10); ?><br> Number of Miles: <?php echo HubStats::TotalMiles(KIND); ?><br> Number of Routes To: <?php echo HubStats::CountRoutesTo(KIND); ?><br><br> <b>Using ..CountPilots($hub->ICAO) etc</b><br> Pilots: <?php echo HubStats::Pilots($hub->ICAO); ?><br> Number of Pilots: <?php echo HubStats::CountPilots ($hub->ICAO); ?><br> Number of Flights From: <?php echo HubStats::CountFlightsFrom($hub->ICAO); ?><br> Number of Flights to: <?php echo HubStats::CountFlightsTo($hub->ICAO); ?><br> Number of Flights: <?php echo HubStats::CountFlights($hub->ICAO); ?><br> Last 10 Pireps: <?php echo HubStats::FlightsDetails($hub->ICAO, $limit=10); ?><br> Number of Miles: <?php echo HubStats::TotalMiles($hub->ICAO); ?><br> Number of Routes To: <?php echo HubStats::CountRoutesTo($hub->ICAO); ?><br><br> Again thank you for your help and your patience on this, very much appreciated.
-
Hi Tom, Thanks for the info and so far I got the module made and placed in folder per your specs. Now my trouble begins with the hub.tpl file. I have tried a couple of different coding ways each giving me different results. Below is the code I have in hub.tpl file. If you look you can see what I am trying to see. Here is the page that is being called too - http://www.ata-virtu...p/hub/view/KMDW, the /../../KIND page looks the same no matter what. <b>Using ..CountPilots (KMDW) in place of ($icao)etc</b><br> Pilots: <?php echo HubStats::Pilots(KMDW); ?><br> Number of Pilots: <?php echo HubStats::CountPilots (KMDW); ?><br> Number of Flights From: <?php echo HubStats::CountFlightsFrom(KMDW); ?><br> Number of Flights to: <?php echo HubStats::CountFlightsTo($KMDW); ?><br> Number of Flights: <?php echo HubStats::CountFlights(KMDW); ?><br> Last 10 Pireps: <?php echo HubStats::FlightsDetails(KMDW, $limit=10); ?><br> Number of Miles: <?php echo HubStats::TotalMiles(KMDW); ?><br> Number of Routes To: <?php echo HubStats::CountRoutesTo(KMDW); ?><br><br> <b>Using ..CountPilots (KIND) in place of ($icao)etc</b><br> Pilots: <?php echo HubStats::Pilots(KIND); ?><br> Number of Pilots: <?php echo HubStats::CountPilots (KIND); ?><br> Number of Flights From: <?php echo HubStats::CountFlightsFrom(KIND); ?><br> Number of Flights to: <?php echo HubStats::CountFlightsTo(KIND); ?><br> Number of Flights: <?php echo HubStats::CountFlights(KIND); ?><br> Last 10 Pireps: <?php echo HubStats::FlightsDetails(KIND, $limit=10); ?><br> Number of Miles: <?php echo HubStats::TotalMiles(KIND); ?><br> Number of Routes To: <?php echo HubStats::CountRoutesTo(KIND); ?><br><br> <b>Using ..CountPilots($icao)etc</b><br> Pilots: <?php echo HubStats::Pilots($icao); ?><br> Number of Pilots: <?php echo HubStats::CountPilots ($icao); ?><br> Number of Flights From: <?php echo HubStats::CountFlightsFrom($icao); ?><br> Number of Flights to: <?php echo HubStats::CountFlightsTo($icao); ?><br> Number of Flights: <?php echo HubStats::CountFlights($icao); ?><br> Last 10 Pireps: <?php echo HubStats::FlightsDetails($icao, $limit=10); ?><br> Number of Miles: <?php echo HubStats::TotalMiles($icao); ?><br> Number of Routes To: <?php echo HubStats::CountRoutesTo($icao); ?><br><br> I know it looks screwy. but just trying to see how to work this. Again thanks for your help, it is greatly appreciated.
-
Ok, thanks will give it a try and see what happens. Thanks for the info
-
Hi Parkho, Awesome idea, but I added everything as specified above and my VP of Ops did a flight he had a landing rate of 240+ and it still credited him the $250 bonus. I kept all the settings the same as what you have listed above with the < 50 and 8. His flight was only 1.2 hours long. I set the bonus to 250 Any ideas?
-
Hi all, I have been reading this thread over and over trying to figure out how to get this working. I would like to have a single custom page for each main hub we fly to/from (KIND & KMDW) and pull the data out of the hubstats.class file. However I am at a total loss. I have placed the hubstats.class file in the core/common folder on the site, a couple things I am not understanding are, 1) Do I need to create a module for both Hubs and placed in the core/modules folder for this? 2) What code needs to go into the module? Thanks for your time and help and sorry for my ignorance on how to set this up. Still learning
-
Hi All, I know this skin has been around some time now and I am like Jeff in post #12. We really like the skin and are currently using it, but wondering if there was a way to disable the left sidebar on all or some pages? I have been toying with the code for some time now and cannot get it to work. Any help on this would be greatly appreciated.
-
ATA Virtual is back online now. Due to personal reasons we had to temporarily close down our site, however at this time we are back up and running and we intend on sticking around for the long haul. ATA Virtual is hiring for Staff positions which can be located under our Staff Link under About Us tab. We have 220 routes to choose from including connection routes. We are still working on our site as there are some minor tweaks that need to be worked out, as well as adding more routes to the system. However we are fully operational and we look forward to seeing you in the friendly skies under ATA Virtual. Best Regards, Ron Sprinkel CEO ATA Virtual
-
Hi TXmmy83, Thanks for your reply. I was hoping to get back here and mention that I have found my copy of it and it is working to a degree. But will get the issues resolved hopefully. Again thanks for the reply.
-
Hello all, I am back and getting my VA back up and running after many months of being absent due to personal reasons. However I had a flight board on my original site that used the images attached to this post and I Cannot for the life of me remember which Flight Board it was that I was using it with. Hopefully someone here will be able to assist me with my trouble. I have searched the forums for the flight board and cannot come up with the one. These are only a couple of the images. Thank you for your time and help in advance.
-
Works just fine now. Thank You Nabeel.
-
Hi Jeff, Thanks for the info, I kept messing with the layout.tpl but couldn't find the issue. Actually it was just the opposite. I had one too many </div> before the copyright info. Again thank you.
-
Hello, I have just completed the Registration process last night and this morning I got he Confirmation email. Once that was completed I tried to login and am now getting this message "You must be logged in! " The link it is showing me in the address bar where i am getting this error is http://www.vacentral.net/profile. I have tried both the Sign in on the home page as well as clicking the Sign In link and then entering the info and still same thing. Get same results in FireFox and IE8 Thanks for looking into this issue. Ron S.
-
Jeff, Thank you for the compliments on the site. I knew about the footer and have been trying to figure out how to re-center it, shows that way in FF and IE. Just a little work in progress there as it bothers me greatly. The ranks I wanted something different as most VA's use pretty much similar so I changed up a little. Thanks again for the compliments, means alot. Ron S.
-
Hello fellow flight simmers, As CEO of ATA-Virtual I am pleased to announce the re-opening of ATA Virtual. ATA Virtual is under new management and new domain name. ATA Virtual is seeking pilots, Hub Manger (KIND), and other Staff Members to fill our Roster (see our Career Link in our Navigation menu). ATA Virtual’s site is up and going with a growing fleet and Retro routes that the once great ATA Flew. I would like to take this time and introduce myself. My name is Ron Sprinkel, the CEO of ATA Virtual. I understand there was once a VA named ATA Virtual and was saddened to see it close. Therefore I have decided to open up ATA Virtual under a new domain name. ATA Virtual is now officially opened as of this post. ATA Virtual will carry over your flight hours in full from your current or past VA experiences with a verified link for proof. ATA Virtual is using the latest phpVMS and is modded pretty heavy with many great features offered from the phpVMS site. ATA Virtual has its own Team Speak 3 server as well as a dedicated server to fly on. You can visit the new ATA Virtual site located here http://www.ata-virtual.com We look forward to seeing your application and hope to see you in the friendly skies. Best Regards, Ron Sprinkel CEO ATA Virtual www.ata-virtual.com
-
Hi Alemaobaiano, Thanks for the info. Actually I am doing a VA based off a VA which has shut down a few years back due to bankruptcy so I don't think that info would be available for me. Again thank you for the info.
-
Hi all, Update on this issue. I deleted all files on the server and re-uploaded them except the local.config file which holds my db info so I wouldn't have to do install all over again. I uploaded brillancev1, cityportal, expressions, obsessblue and vairline skins and went to the trouble areas within each skin including the default skin crystal in Firefox. Same results - the map doesn't show. However I went into the trouble areas using IE8 and I got a javascript error reporting this: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; AskTbIMB/5.14.1.20007; InfoPath.3; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; BOIE8;ENUSMSE) Timestamp: Mon, 16 Jan 2012 13:38:01 UTC Message: Invalid character Line: 234 Char: 26 Code: 0 URI: http://www.mydomain.com/index.php/pireps/view/3 (Site down and won't advertise site domain until ready to go live) 0 Now when I pull up the file pirep_viewreport.php that only goes to line 144 so I am not sure what else to look for.
-
Hi Jeff, Thanks for the reply. Unfortunately after re-uploading them to the site nothing changed. I thought it might be the skin so I uploaded 4 more to test them out and same goes. Just a blank box where the map is supposed to be. Again thank you for your reply and ideas.
-
Hello CN@ndo, Thanks for your reply. Which scripts? I have made many changes to many scripts?
-
Hello all, I am in need of some help here. When I first set this site up everything including the maps showed up. I did a test flight and submitted pirep(not sure if this is the cause). However since modifying my site I am not showing the following maps: Pilots/Pilot ID/Pireps/ Route Map Profile Center/View Map of all my Flights View Flight Schedules/View Details I am sure these are all linked to same file/code and I am sure I may have left one or two out. These did work before. I have done some modifications to files but don't think I modified any of these files that show that map. I have ran the checkinstall.php and here are the results from that: phpVMS Virtual Airline Administration Software Install Check phpVMS Build Number: 934 Checking PHP version [OK] PHP version is 5.2.9.x ASP Tags [OK] ASP-style tags are disabled Checking connectivity... [OK] Can contact outside servers Checking for SimpleXML module... [OK] SimpleXML module exists! Checking file hashes for corrupt or mismatched files [Checksum failed] /core/modules/kACARS_Free/kACARS_Free.php did not match, possibly corrupt or out of date I know the kACARS is a different version which is newest update but that was installed at the very beginning of setting up the site. I also ran the checkdb.php script and all tables are showing ok. The following files are being shown as modified via the admin center/Template Diffs: So I am not sure what files or code I need to look at to get this issue resolved before advertising the VA and the site. I would like to have everything 100% complete and working before advertising the VA. And for the record I have searched the forums for the following: Route Map, Route Map not showing, My Route. Your help on this matter would be greatly appreciated and I thank you much in advance.
-
This is a nice addition to add to the site. Thanks for the addon. I do have one question concerning the Rank Module. I have seen many sites using this displaying the rate of pay and number of pilots per rank. I got the price in there and working but I cannot get the $ and the /hr in the table. How can I achieve this and how do I get number of pilots per rank in there as well? Thank you much for your time and help
-
I truly like this skin and want to use it and am at the moment but I feel the same as Jeff that he posted in Post 20, here is his post: Would be really great to be able to toggle the left boxes to only show on main page and disappear on the others. I have noticed many things being garbled up due to size of the right box area. Plus I have a few areas that stretch beyond the outer right side of the site which you have to scroll to the right to see the other content. I don't want to remove the left boxes on the main page just all the others so things like the attached images won't happen. Your help would be greatly appreciated and again it is a great skin.
-
tutmeister, Thank you very much works like a charm.
-
Hi All, Like this code snippet and this is what I have so far: <?php if ($userinfo->lastpirep == '0000-00-00 00:00:00') { echo 'You have not flown any flights yet!'; } else { $datebefore1 = substr($userinfo->lastpirep, 0, 10); $datetoday2 = date("Y-m-d"); $datebefore3 = strtotime($datebefore1); $datetoday4 = strtotime($datetoday2); $newdate = $datetoday4-$datebefore3; $lastpirep = floor($newdate/(60*60*24)); $daysleft = $totaldays-$lastpirep; echo '<center><b>Your last flight was</b> '; if ($lastpirep == 0) { echo '<b>today</b>'; } else if ($lastpirep == 1) { echo 'yesterday'; } else { echo $lastpirep . ' day(s) ago.'; } echo ' <b>You have</b> '; if ($daysleft == 0) { echo '<b>You have being marked as a retired pilot!</b>'; } else { echo $daysleft . '<b> days left until you are marked as retired</b></center>'; } } ?> What I want to do is show the number of days in bold red. So it would read like "Your last flight was today You have 90 days left until you are marked as retired". So when a pilot is in their Profile it will stick out some. This is actually the very first line in the profile. So they will see it as soon as they go to their profile page. I have messed with the code a good bit but unable to get what I am looking for. Your help would be greatly appreciated.
-
Hi Jeff, Yup that's the site I saw the other day but could not find it today. Thanks for the link again. Very Much appreciated.