Jump to content

MrAmsterdam

Members
  • Posts

    277
  • Joined

  • Last visited

Everything posted by MrAmsterdam

  1. Thanks man, i already had one of my pilots on the phone complaining ;-)
  2. Yeah, i am also on fivedev. they have some problems as well when i try to create a ticket. I can add bids and stuff but when i try to go to cpanel, it says that 500 attempts have exceeded or something....
  3. Guys, Can you have a look at the website www.serious-airlines.com ? I have some strange lines in the top of the website. I have not changed anything in the past hours. Hopefully you know what i can do to fix it... Regards Lucas
  4. OK. I'll just post it as i got it. You can create one page yourself. Shouldn't be that hard. I'll post it tomorrow i think. Regards Lucas
  5. Go to core/common/TouchdownStatsData.class.php Add this to the file: public function get_planemd11_stats($howmany) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND Aircraft = '2' ORDER BY landingrate DESC LIMIT $howmany"; return DB::get_results($query); } planemd11 can be edited to the plane that you would like to show. AND Aircraft = '2' the 2 can be changed to the aircraft that you would like to show. (See the phpvms_aircraft table) So in my case the MD11 has ID '2' in the 'phpvms_aircraft' table. Next, you need to add the following rules to the core/modules/Touchdownstats/TouchdownStats.php public function planemd11_landings($howmany) { $this->set('stats', TouchdownStatsData::get_planemd11_stats($howmany)); $this->show('touchdownstats/touchdownstats_index.tpl'); } Again, please make sure that the planemd11 in both rules are the changed to the same name as used in the core/common/TouchdownStatsData.class.php file. When this is done, you can use this link to view the results: yoursite/index.php/TouchdownStats/planemd11_landings/20 (and again, planemd11 needs to be the same as in the two files we have edited. DEMO: http://serious-airlines.com/index.php/pages/aircraftstatistics It's my first little project... Regards Lucas
  6. MrAmsterdam

    VAForum 2

    cool! thanks for the heads up :-)
  7. Hey guys, Just a question about expanding this module a little... again, i have tried but no luck. I would like to get the average touchdown stats for every pilot (got this already via this topic) but also for every pilot with the different airplanes... so the average for pilot 0001 with B747-400 is - 212.10 (just an example). And i would like to do this for all airplanes. Could you help me with a start? Thanks a bunch guys! Lucas
  8. Hey guys, Is it possible to add the rank picture to the live map page? Now you see the name, icao's and all the other defaults.. but is it possible to add the rank image to this? Hopefully you guys can help me out here. Regards Lucas
  9. Hey guys, Could you have a look at this picture? I have got no expenses the last two months.... anyone else had this problem before? Regards Lucas
  10. Search for the top pilot module... you've got some stats in there..
  11. Hey guys, I know that jeffrey K. is gone for the weekend so i thought, let's post my question here.. maybe you have had the same... In the free version you are able to click Charter flight and then change the aircraft and the number of passengers.. this isn't available in the paid version. I this correct or am i missing something? Hopefully you guys can help me out with this issue. Thanks! Lucas
  12. oh my god... yes.. of course.. i pasted the link.. aargghhh... OK. thanks nabeel!
  13. search for top pilot.. it should be in the simpilot forum...
  14. Hey all, I have a stupid question... how do i add Youtube movies to my news items? I know for sure that i used it in the past, but can't get it to work anymore... grrr. ik checked out the forum but no luck. Could it have something to do with my crystal2 skin? Regards Lucas
  15. Hey Ray, Send me a PM with your skype address... i can send you a program which you can use... it's easy. I am not much of a painter myself but i managed to create a 767 paint for www.serious-airlines.com SA Paint Regards Lucas
  16. Hi guys, i was wondering if it's possible to create the following addon: I would like to have a statistic page that shows all the pilots and how many hours they have spent in any aircraft they have flown in. I would like this so that i can give out new awards that i am planning to create.. and i think it's a nice feature.. Then it's possible to add more routes for a specific aircraft or even delete aircrafts that are not used much.. Hopefully you guys can help me out with this. Thanks in advance, Lucas
  17. Is this the right location to post a request?? Anyway, i would like to know this too :-) Regards Lucas
  18. B737-800 B747-400 B767-300 B757-200 Airbus A318, 319, 320, 330, 340-300, 340-600
  19. Nice!! I changed Kai Tak to Hong Kong International (VHHX to VHHH) and it works again!! Thanks guys!
  20. I don't know if i am reacting too fast, but my GCmap isn't working anymore... is there anyone else with this problem? You can see the problem at www.serious-airlines.com The map should be on the frontpage... it's gone. Thanks for the support! Lucas
  21. Cool! Thanks! i tried and it worked like a charm.. the tough part though, is that i am on the second place of worst landings ever.. :-( *sigh* :-)
  22. Hey, i was wondering.. is it easy to have the option "Worst Landingrate"? Right now its the top landings.. but i would like to show the worst also :-)
  23. I agree! by the way, i've got only 6 pilots as well.. the 2 that joined the company just joined this week and there hasn't been much contact yet.. but me and three others are flying all the time. Maybe it's fun to do a online phpvms event with some of the va's ? :-) Regards Lucas
×
×
  • Create New...