mattsmith Posted October 30, 2016 Report Posted October 30, 2016 How do get the Profile page and the Downloads page the same as these? Quote
lapw123 Posted October 30, 2016 Report Posted October 30, 2016 great skin but alaskaair im just wondering how can i change the color of the skin Quote
flyalaska Posted October 31, 2016 Author Report Posted October 31, 2016 How do get the Profile page and the Downloads page the same as these? great skin but alaskaair im just wondering how can i change the color of the skin It is that way by default. Quote
flyalaska Posted October 31, 2016 Author Report Posted October 31, 2016 great skin but alaskaair im just wondering how can i change the color of the skin In your css Quote
TAV1702 Posted November 9, 2016 Report Posted November 9, 2016 I bumped in to an issue and I thought it was my PC/browser. When trying to download something via the menu bar the page will act like it is getting ready to download the file then it starts blinking and basically gets stuck in a loop of some sorts. I uninstalled my Ad blockers, shut off all popup blockers and all and yet I still had the same issue over and over no matter the browser. I had a buddy in Canada log on to my site and give it a try and low and behold, the same issue. No errors to report, just a download stuck in what appears to be a loop of some sorts. The page just refreshes and refreshes. Download links were checked and double checked and all was well. Java error/issue? Quote
flyalaska Posted November 11, 2016 Author Report Posted November 11, 2016 Can you PM non admin login details to your site, or give me the link so I can register. Quote
TAV1702 Posted November 11, 2016 Report Posted November 11, 2016 Can you PM non admin login details to your site, or give me the link so I can register. Will do. Thanks for taking a look Quote
Boogace Posted January 18, 2017 Report Posted January 18, 2017 Good Evening guys, wow what a skin its awesome, I have 2 bugs which i think it might be a database issue but not sure?, everything installed fine and I have followed the readme with the changes all ok, but when a new person selects Join today they get.... The module "JOIN" doesn't exist! I Also have an issue when trying to add a schedule in its says saved but it doesnt show in either page or in the database ? I have input Aircraft and Airports, here is my phpmyadmin details attached, please help as I love this livery.. Thanks in advance !!! Wazza Quote
flyalaska Posted January 18, 2017 Author Report Posted January 18, 2017 5 hours ago, Booagce said: Good Evening guys, wow what a skin its awesome, I have 2 bugs which i think it might be a database issue but not sure?, everything installed fine and I have followed the readme with the changes all ok, but when a new person selects Join today they get.... The module "JOIN" doesn't exist! I Also have an issue when trying to add a schedule in its says saved but it doesnt show in either page or in the database ? I have input Aircraft and Airports, here is my phpmyadmin details attached, please help as I love this livery.. Thanks in advance !!! Wazza You need to install the join MODULE. Included in the zip. Quote
Boogace Posted January 18, 2017 Report Posted January 18, 2017 (edited) there is no Join module in the zip i can find !!! I do apologise I have found it in the zip and it is now working thank you flyalaska but I still have an issue with adding Schedules.. as above !!! Edited January 18, 2017 by Booagce Quote
flyalaska Posted January 18, 2017 Author Report Posted January 18, 2017 1 hour ago, Booagce said: there is no Join module in the zip i can find !!! I do apologise I have found it in the zip and it is now working thank you flyalaska but I still have an issue with adding Schedules.. as above !!! That is not a template issue. I can try to help you. In core/local_config.php what do you have under #Airport lookup Quote
Boogace Posted January 18, 2017 Report Posted January 18, 2017 Hi I have nothing under core/local_config.php #Airport there is nothing there, nothing relating to #Airport and thank you for helping.. brilliant work !!! Regards Wazza Quote
Boogace Posted January 29, 2017 Report Posted January 29, 2017 (edited) Hi Gus ive managed to sort out most of my issues but I cannot sort these two ,http://prntscr.com/e1t1wu and http://prntscr.com/e1t73q Rooute map somethings wrong, and I cannot get the map info to move to the left. I have done the API thing and searched through all the route maps I can find and add the API into but this is still not working can someone point me in the right direction please, many thanks Wazza Edited January 29, 2017 by Booagce Quote
Boogace Posted February 1, 2017 Report Posted February 1, 2017 Hi I've managed to sort out the table now but it's the map still blank? Www.transatlanticvirtual.co.uk Quote
Boogace Posted February 1, 2017 Report Posted February 1, 2017 (edited) Hi yes thats the public view no the pilot view sorry this is what we are getting http://prntscr.com/e3aeuq.. its when you insert route in Admin back page and to view the route before you save.. Edited February 1, 2017 by Booagce Quote
flyalaska Posted February 1, 2017 Author Report Posted February 1, 2017 I didn't know that was an option. I never noticed that before. Something is an issue from your phpbms if its not loading. Quote
mmalling Posted February 7, 2017 Report Posted February 7, 2017 I love you skin, but i get this error <!--Begin Average Landing --> <center><button type="button" class="btn btn-landing">Average Landing <span class="badge"><span class="counter"><br /> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/www/airscandinavia-va.dk/core/common/TouchdownStatsData.class.php</b> on line <b>90</b><br /> <br /> <b>Warning</b>: Division by zero in <b>/home/www/airscandinavia-va.dk/core/common/TouchdownStatsData.class.php</b> on line <b>95</b><br /> 0</span></span></button></center> <!--End Average Landing --> Quote
mmalling Posted February 8, 2017 Report Posted February 8, 2017 6 hours ago, flyalaska said: Whats your URL? http://www.airscandinavia-va.dk Quote
flyalaska Posted February 9, 2017 Author Report Posted February 9, 2017 (edited) 19 hours ago, mmalling said: http://www.airscandinavia-va.dk Add the following code below to core/common/TouchdownStatsData.class public static function airline_average() { $stats = self::get_all_stats(); $total = 0; $count = 0; foreach ($stats as $stat) { $total = $total + $stat->landingrate; $count++; } $average = $total / $count; return $average; } public static function get_stats_by_cur_month($howmany) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND MONTH(submitdate)=MONTH(now()) AND YEAR(submitdate)=YEAR(now()) ORDER BY landingrate DESC LIMIT $howmany"; return DB::get_results($query); } Edited February 9, 2017 by flyalaska Quote
mmalling Posted February 9, 2017 Report Posted February 9, 2017 9 hours ago, flyalaska said: Add the following code below to core/common/TouchdownStatsData.class public static function airline_average() { $stats = self::get_all_stats(); $total = 0; $count = 0; foreach ($stats as $stat) { $total = $total + $stat->landingrate; $count++; } $average = $total / $count; return $average; } public static function get_stats_by_cur_month($howmany) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND MONTH(submitdate)=MONTH(now()) AND YEAR(submitdate)=YEAR(now()) ORDER BY landingrate DESC LIMIT $howmany"; return DB::get_results($query); } Done it, but it is still the same, is because there have not been any flights yet or should then say 0 Quote
flyalaska Posted February 9, 2017 Author Report Posted February 9, 2017 On 1/18/2017 at 2:19 PM, Booagce said: Hi I have nothing under core/local_config.php #Airport there is nothing there, nothing relating to #Airport and thank you for helping.. brilliant work !!! Regards Wazza Yes, 0 flights. Just do a flight, that should fix it. Quote
bradleysmith94 Posted March 4, 2017 Report Posted March 4, 2017 Hi, really liking the Skin, i have got one small problem though (porbably a quick fixe). Whenever i click on a pilots profile it displays a very basic looking page with a fatal error (see attached image). Any help would be really great Quote
web541 Posted March 5, 2017 Report Posted March 5, 2017 Add this before the last } in the core/common/StatsData.class.php file. public static function TotalPilotMiles($pilotid) { $key = 'total_miles'; $key .= '_'.$pilotid; $total = CodonCache::read($key); if($total === false) { $total = 0; $sql = "SELECT * FROM ".TABLE_PREFIX."pireps WHERE pilotid='$pilotid' AND accepted=1"; $results = DB::get_results($sql); if($results) { foreach($results as $result) { $total += $result->distance; } } CodonCache::write($key, $total, '15minute'); } return $total; } Quote
BaderNET Posted May 5, 2017 Report Posted May 5, 2017 First I would like to thank you for this wonderful Skin, It has been installed successfully on my Va but i have a some of issue .. ?! - i can't see any pilot flying or details on Live flight or Live map ?? ( I am using simpilot 5.5.2 Version ) And using Kacars ?! Any help ?! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.