Support Forum
Any questions or bug reports go here.
7149 topics in this forum
-
- 1 reply
- 1.5k views
Hey Guys is there a way to add best and worst landing for the month with who the pilot is ? in the top pilot stats?
Last reply by Boogace, -
- 1 reply
- 1.1k views
Is there any Addon For I Put the Menu Top Pilots At Site of My Virtual Airline?
Last reply by Nabeel, -
- 0 replies
- 1k views
Hello everyone and sorry for my english. And 'possible to enter the list of "top pilots" within the code <marquee> es. BEST PILOTS: LANDING RATE: (pilot name), DISTANCE: (pilot name) etc.. etc.. Thank you all for a possible answer
Last reply by gio1961, -
- 0 replies
- 1.1k views
Can some one help me to fix my Top Pilots page help? First visit this link: http://airindiavirtual.com/index.php/TopPilot now say me how to fix that problem? and i followed the instructions on readme, but dint work out, Greetings Afsal Zain
Last reply by SkilledPilotA320, -
- 6 replies
- 1.7k views
Hi all boys I was trying to create a code to get a list of the 15 best riders with more miles flown, can anyone help me do this Many thanks for help
Last reply by mattia, -
- 4 replies
- 1.6k views
I am trying to copy some code from top pilots module, put into my frontpage_main.php. When I do this I get this message. I have flights already this month, the mod pages shows that aswell. Here is the code take from the modules template file. Am I missing something? Any idea why its not showing the flights? <div class="group"> <div class="col span_1_of_2"> <h3>Hours Flown</h3> <table> <thead> <tr> <th> Member </th> <th style="text-align: right;"> …
Last reply by flyalaska, -
Top Routes
by OA01- 1 reply
- 1.2k views
Hello coding Gurus Why does this code produce no output? <table> <h3>Top Routes</h3> <tr> <td><?php echo StatsData::TopRoutes(); ?></td> </tr> </table>
Last reply by Tom, -
I tried to skin my website but my new topbanner wirh the same lenght and hight like crystal went too large in the website. Can sb help me?
Last reply by servetas, -
- 2 replies
- 1.4k views
I Somehow changed the direction of the Top navigation bar and now it looks like this, (Default skin, Crystal) Any ideas?
Last reply by Tom, -
- 6 replies
- 2.6k views
Hello, Hope everyone had a nice Christmas, Quick question, how would I get the current months (http://www.airfranceva.com/index.php/TopPilot), (middle row) only to be viewable on the frontpage. Many thanks, Connor
Last reply by Connor1994, -
- 1 reply
- 1.6k views
Hi Nabeel, Just thought you might like to know that the TopRoutes function in StatsData.class.php needs a slight change to the SQL query to make it work. The query as it currently stands is $sql = 'SELECT * FROM `'.TABLE_PREFIX.'schedules`'; if($airline_code != '') { $sql .= " AND `code`='{$airline_code}' GROUP BY `code`"; } $sql =' ORDER BY `timesflown` DESC LIMIT 10'; However, this doesn't work as the 'AND' needs to be a 'WHERE'. Also, there's a period missing before the = in the 2nd sql join. The other thing which I had to change in order to get it working on my site, was to remove the GROUP BY `code` since no results were returned if …
Last reply by Nabeel, -
TopRoutes() not working for me.[SOLVED]
by Guest Stormchaser- 3 replies
- 1.6k views
Hey been adding a lot of the stats from statsdata. All of them working except for TopRoutes. Any suggestions. Calling it to my frontpage with: <?php echo StatsData::TopRoutes('DAL'); ?> Function is from StatsData.class : public static function TopRoutes($airline_code='') { $key = 'top_routes'; if($airline_code != '') { $key .= '_'.$airline_code; } $top_routes = CodonCache::read($key); if($top_routes === false) { $sql = 'SELECT * FROM `'.TABLE_PREFIX.'schedules`'; if($airline_code != '') { $sql .= " WHERE `code`='{$airline_code}' GROUP BY `code`"; } $sql =' ORDER BY `timesflown` DESC LIMIT 10'; …
-
- 1 follower
- 22 replies
- 7.4k views
Hi! I wonder is there any way to have total cargo carried under statistics on frontpage..heres the code, pls help <h3>Airline Stats</h3> <div class="box"> <strong>Total Pilots:</strong><?php echo StatsData::PilotCount(); ?><br> <strong>Total Flights: </strong><?php echo StatsData::TotalFlights(); ?><br> <strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?><br> <strong>Total Schedules: </strong><?php echo StatsData::totalschedules(); ?><br> <strong>Flights Today: </strong><?php echo StatsData::totalflightstoday(); ?>…
Last reply by Industrialshadow, -
- 7 replies
- 2.8k views
Hello I want change time format for Total Flight Hours in my website , 25.49 -> 25:49:00 (HH:MM:SS) I try to sum flighttime_stamp in pireps table : $params = array( 'table' => TABLE_PREFIX.'pireps', 'fields' => 'SUM(`flighttime_stamp`) AS `total`', 'where' => array('accepted' => PIREP_ACCEPTED), ); $sql = DB::build_select($params); $results = DB::get_results($sql); echo $total = $results[0]->total; That code shown Total Flight Hours 20:30:12 (HH:MM:SS) but my VA Total Flight Hours is 25.49 . I don't understand why !! Tnx
Last reply by piuozorio, -
- 1 follower
- 21 replies
- 4.4k views
Hi all, some weeks ago i have two aircraft with the same total flight time (838 hours), both of them have more than 1000 hours, the other aircraft less than 1000 hours have the total flight time correct. I did the query directly in the database for all aircrafts and there is indeed an error in the flight times of these two aircract. Boeing 747-400 ER Freighter (N269TP) Total Flights: 201 Total Distance: 492820 Average Flight Distance: 2451.84 Total Hours: 838 instead 1113.36 Average Flight Time: 5.54 Boeing 737-700 Converter (N271TP) Total Flights: 109 Total Distance: …
Last reply by Thomasha, -
- 5 replies
- 2.3k views
Hello, for my new VA website, the last big problem for me is the transfer of the number of flights. When i update the number of flights in the pilot profile, this number turns to 1 when a pilot fly for the first time on the new site. It's resetting the number of flights in the database. I've try to do the same thing wich works with the transfer hours. So i've created a new column "transferflights" in the pilots table of the database. In my admin/template/pilots_details.php, i've added this code : <td>Total flights</td> <td><input type="text" name="totalflights" value="<?php echo $pilotinfo->totalflights;?>" /></td> </tr>…
Last reply by orobouros, -
- 7 replies
- 1.9k views
Hi guys, im having trouble displaying todays flights or flights today this is the code that im using am i missing something somewhere? All the other stats populate except for Total Flights Today. Total Flights Today: <?php echo StatsData::totalflightstoday(); ?><br />
Last reply by Nabeel, -
- 1 reply
- 1.2k views
Hi all, Last week I upgraded my site to PHP 7 using the update avaliable in this forum. Everything works fine but the total flown hours count does not show them correctly. Is there any way to fix this? Thank you!
Last reply by Imanol, -
- 8 replies
- 2.6k views
Total hours is not showing, and I have tried a re-calculation via the maintenance page. Hours show as 0 in VaCentral as well. Any idea how to fix?
Last reply by mark1million, -
- 4 replies
- 1.8k views
HI when I created 3more Airlines , Total Hours Flown and Total Flight Today stop working. In Reports page (Admin): VA Stats: At a Glance Total Pilots: 10 Total Flights: 18 Total Hours Flown: Total Miles Flown: 7980 Total Fuel Burned: 225404 Total Flight Today: 0 Total PAX Carried: 3499 Stats for SAS Total Pilots: 2 Total Flights: 13 Total Hours Flown: Total Miles Flown: 5834 Total Fuel Burned: 189907 Total Flight Today: 0 Total PAX Carried: 2950
Last reply by Nabeel, -
- 10 replies
- 2.7k views
Hi there Just wanted to inform:-) It seems like the "total Airline hours" were only updated when we do a update on the whole cms System - without an update the total hours always "freez" on the same level
Last reply by Nabeel, -
- 1 follower
- 1 reply
- 1.3k views
Hi guys, I have a problem with my stats airlines. The Total hours by airline is not correct. I've total hours of all airlines. For view: www.staralliance-va.com/about/members Thank you. PS: I'm the webmaster and i'm french.
Last reply by Parkho, -
- 11 replies
- 2.8k views
* Total Pilots: 51 * Total Flights: 326 * Total Hours Flown: hours ??? HY ,good evening How are you sir? Iwold like,if you will can help me in this problem. I didn´t fixed the hours total belong my Virtual companyair line va virtual. I never now,how mutch hours,my Company have. I did try,all my ways to make this segments work,and I didn´t get. Wha can I do for? Can you give me a idea? Thanks for all,and I will weating for a answer. A big hug Qeiroz Marcelo
Last reply by selwynorren, -
- 4 replies
- 1.6k views
I am getting a format like : Total Hours Flown: 1400:19:15 I get this on multiple areas of my site. I can deal with the minutes but I would like to loose the seconds. Can anyone point me in the right direction. I made a few edits here and there that I found in that format but nothing changed.
Last reply by TAV1702, -
- 6 replies
- 1.7k views
As described really, all the other stats work other than totalhours flown. It shows no reading? on .930. Do i have to set it to true somewhere? i have checked config files but cant see anything?
Last reply by Nabeel, -
- 4 replies
- 1.7k views
I am in a slight predicament. I am trying to display total hours flown for a specific airline. The code I am using is not displaying the correct output for it. It keeps displaying my total VA hours instead of just the individual Airline I want. Here is the code I am using <?php echo StatsData::TotalHours(AA); ?> If I use these codes <?php echo StatsData::TotalPaxCarried(AA); ?> <?php echo StatsData::TotalMilesFlown(AA); ?> <?php echo StatsData::totalschedules(AA); ?> <?php echo StatsData::TotalFlights(AA); ?> These all show up correctly. Any idea why the Total Hours one isn't showing correctly?
Last reply by Jeff, -
- 3 replies
- 1.4k views
I noticed last night that my VA's Total Hours is not changing. It has been stuck on 14,777 hours. Today with 13 flights already put in, it has not changed. Any idea whats causing this? Resetting the hours didn't help.
Last reply by flyalaska, -
- 2 replies
- 1.5k views
Is there a function to show a pilots total miles flown?
Last reply by mark1million, -
- 3 replies
- 1.6k views
Hey guys, The total pax count on my logging site is now in the tens of millions. I can only assume the system is including cargo load in the value too. Does anyone have a fix for this? Thanks!
Last reply by Caporrella, -
- 1 reply
- 1.6k views
Hello, I have this and for some reason the flag and text doesnt line up? any ideas? my code is... <table width="700px" border="0" cellspacing="0" cellpadding="1"> <?php echo '<td width="250px" valign="top">'; echo '<table cellspacing="1" cellpadding="1" border="1">'; echo '<th width="150px"><div align="left">Country Location</div></th>'; echo '<th width="100px"><div align="center">Pilots</div></th>'; $country_info = DB::get_results('SELECT COUNT(pilotid) as total, location FROM '.TABLE_PREFIX.'pilots GROUP BY location'); foreach($country_info as $country) { echo '<tr>'; echo '<td ali…
Last reply by simpilot,