Jump to content

druptown

Members
  • Posts

    31
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

druptown's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. how does this implementing work exactly?
  2. fixed, it is quite simple actually. the users have to select a skin on registration or after registration in there profile details. If they don't select one. The badge is not created.
  3. same here, it doesn't render the route. It's just a straight line from A to B I guess because the Routemap has this in it and acarsmap doesn't. So if anyone can check how to add that to acarsmap..... One sidenote to make : this should get it's info from the acarsdata table in the db instead of the schedules. Acarsdata copies the route from the schedules anyway and if a pilot enters his own route, that one is taken. <?php /* Populate the route */ if(is_array($mapdata->route_details)) { $list = array(); foreach($mapdata->route_details as $route) { if($route->type == NAV_VOR) { $icon = fileurl('/lib/images/icon_vor.png'); } else { $icon = fileurl('/lib/images/icon_fix.png'); } echo 'var loc = new google.maps.LatLng('.$route->lat.', '.$route->lng.'); var _marker = new google.maps.Marker({ position: loc, map: map, icon: "'.$icon.'", title: "'.$route->title.'" }); bounds.extend(loc);'; // For the polyline $list[] = "new google.maps.LatLng({$route->lat}, {$route->lng})"; } } ?>
  4. any updates on this issue? we're having the same problem
  5. It is a great virtual airline, come and join us!!!
  6. Uncaught SyntaxError: Unexpected identifier Nothing more, it happens as soon as you exceed 10000 schedules approx.
  7. well, there is actually something wrong with google maps. PHPVMS has a module called routesmap, you can use it to show all schedules you have on a map if you remove the limit in the module. Which I did. It worked great......, untill we passed the 10000 schedules. Now it's only a blank page. It seems that googlemaps can 't handle the amount of markers/polylines. It only has to draw 60000 markers and 30000 polylines
  8. it seems that the transfer of hours isn't even in our registration form......how can i add this?
  9. Any updates on the monthly stats not showing correcly? It seems that Util::date can't handle the seconds. We 've got an difference of 7 minutes allready with 45h flown. It shows very hard now since it's our first month and the alltimesstats are shown above, that will get better next month. But still, I'm a perfectionist and like things to be correct.
  10. so the stats are always 1 pirep late that way?
  11. I've also noticed that when I uncomment the line to make the script look at accepted pireps only, the script doesn't work automatic anymore.
  12. I've added this piece of code and the problem is almost fixed, but the times are still off. It works for calculating the hours and minutes correctly, but it forgets the seconds in the pireps flight time. They are not added.... which results in 5 min difference on 10 flights allready.
×
×
  • Create New...