Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Heritage1 last won the day on September 7

Heritage1 had the most liked content!

Community Reputation

9 Neutral


About Heritage1

  • Rank
    Advanced Member

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    New Hampshire
  • Interests
    Camping,fishing,puppies,flying,simming,to much to list here.

Recent Profile Visitors

2681 profile views
  1. Heritage1

    Authorization Logged In or Guest

    Sorry about that, wasn't thinking, I'm bad, won't happen again 😁
  2. Heritage1

    Authorization Logged In or Guest

    Thanks for sharing that, for those who are using PHPVMS 5.x.xx, here is a simple code to view your members online; <?php $usersonline = StatsData::UsersOnline(); foreach($usersonline as $pilot) { echo "{$pilot->firstname} {$pilot->lastname}-{$pilot->rank}-{$pilot->location}<br />"; } ?> This gives, 3 total viewing options, you may of course weed it down to your choices.
  3. Heritage1

    Showing & Hiding Menu items by login

    ur welcome, sorry couldn't be better help to you, as I'm running the older phpvms 5.x.xx , however if I can help in the future, just poke me, I am in and out of here often take care, Jim
  4. Heritage1

    Showing & Hiding Menu items by login

    Ahhh, yes your right, didn't know you were running version 7, I'll get back to you on that one, got a few friends around duh boards here, let me see if I can find you and answer. Jim
  5. Heritage1

    Google Maps Conversion

    Sorry about the delay on your post, I have seen this many times before, question, is your map on the frontpage_main.php file or the layout.php file ? This makes a difference. I'm sure I can help you out, and again sorry about the delay on the post here.......let me know. Jim
  6. Heritage1

    Showing & Hiding Menu items by login

    Thats great, however for future reference you can protect anything on the site with this simple very short script. For normal members permissions; <?php if(Auth::LoggedIn()) { ?> <!-- your content here etc...... --> <?php } ?> For Admin and staff permissions; <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { ?> <!-- your content here etc. --> <?php } }?> I use this everywhere I don't want Guests to view any member modules, maps, and/or Pilot Tools, including menus. Hope this helps for the future. Jim
  7. Heritage1

    The New Boarding Pass at Air India Virtual

    For those interested, and its open to anyone, here is another view with a little something different, WXR Instant Live weather for the Boarding pass Departure and Arrival Airports instantly, From NOAA of course......... here's duh link to view them.......... http://seairtransport.net/crewcenter/index.php/Screenshots And the ideas keep flowing around here.........😁
  8. Heritage1

    Live Map Problems after PHP Update

    Question, what version of PHPVMS install did you use first off...??? Send me a message in here, if you don't mind, or you can contact me on our Web Site, http://seairtransport.net/crewcenter There are a ton of contact areas there. Thanks. let me know maybe I can help you out with that, I think I know what the issue is already. Jim
  9. Seairtransport VA is owned and operated by Heritage VA & Co. We are looking for Staff, and Pilots. Our restrictions are actually very very little, Just Fly, and fly to and from where ever you want. We've been around for a very long time, and realize people have whats called live's. Well, so do I actually. lol. Come visit us, we offer seaplane routes, major hub routes, long hauls, short hauls and the ability to make your own routes through our vast Charter ops , or our Cargo - Executive Ops. Our only 2 limitations are simple, 2 flights a month, and landing rates under -460, we'd prefer around -300 or lower of course. But we give. Thanks to all here in the forums, I've met many friends here, we look forward to our new look, and our new systems with today's new internet experience. Our link is below, so we hope to see even some guests, http://seairtransport.net/crewcenter Thank you, Jim L. Owner - CEO - Founder
  10. Heritage1

    Airport look up don't work

    I have just uploaded a lat/long little map system that I run Strictly off my Desktop with my default browser, I have been using this a long time for odd ball Airports as we run a LOT of seaplane bases, this map is a Must for me for obvious reasons, Run this off your Desktop only, however if you have An API key from Google, then you can pretty much embed it with some script work on your Web Site. Below is the link to download it, enjoy. http://www.mediafire.com/file/q4heemsq4vxnf5z/gOOgLeiT.html/file
  11. Heritage1

    Airport look up don't work

    Here also is another way , this site is pretty good, hold down the [shift] key and pick your spot on the map. Here is the link; https://getlatlong.net
  12. Heritage1

    Installing Plugins

    Ahh yes, I see this topic is still around, Here's the very simple way, <?php MainController::Run('TouchdownStats', 'top_landings', 10); ?>
  13. Heritage1

    Google Maps Conversion

    Thanks for that, I will check that out for sure. Thank You ! Jim
  14. Heritage1

    Google Maps Conversion

    Yes I can, we all live in duh same world, DUH world of "FLIGHT" , hehehe, here ya go, you owe me a cup of Coffee for this one. It does work, see the below link if you'd like, its running full blown Leaflet map now, and works great with no holding of any keys to zoom in and out either. Here is the code for those who need it, and the Link to my site also running phpvms acars conversion. http://seairtransport.net/crewcenter/index.php/acars And as Always, MAKE SURE you make a copy of the flown_routes.php file somewhere before doing this, don't say I didn't warn you . <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <?php /** * You MUST CONFIGURE your app.config.php & local.config.php files to work with Leaflet ( see below example ) * THIS SCRIPT IS ONLY FOR THE flown_routes_map.php if your running a tpl file, it should be the exact same */ ?> <br /> <br /> <div align="center"> <h3>My Routes Map</h3> </div> <br /> <div class="mapcenter" align="center"> <div id="routemap" style="width: 1100px; height: 640px;"></div><!--Adjustable of course --> </div> <?php ////// Leave remarked out for Leaflet please /////// /** * * This is the new Google Maps v3 code. Be careful of changing * things here, only do something if you know what you're doing. * * These are some options for the map, you can change here. * * This map is used for schedules and PIREPS * * By default, the zoom level and center are ignored, and the map * will try to fit the all the flights in. If you want to manually set * the zoom level and center, set "autozoom" to false. * * If you want to adjust the size of the map - Look at the above * "routemap" div with the CSS width/height parameters. You can * easily adjust it from there. * * And for reference, you want to tinker: * http://code.google.com/apis/maps/documentation/v3/basics.html */ if(isset($pirep)) $mapdata = $pirep; if(isset($schedule)) $mapdata = $schedule; ?> <script type="text/html" id="navpoint_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <strong>Name: </strong><%=nav.title%> (<%=nav.name%>)<br /> <strong>Type: </strong> <?php /* Show the type of point */ ?> <% if(nav.type == 2) { %> NDB <% } %> <% if(nav.type == 3) { %> VOR <% } %> <% if(nav.type == 4) { %> DME <% } %> <% if(nav.type == 5) { %> FIX <% } %> <% if(nav.type == 6) { %> TRACK <% } %> <br /> <?php /* Only show frequency if it's not a 0*/ ?> <% if(nav.freq != 0) { %> <strong>Frequency: </strong><%=nav.freq%> <% } %> </span> </script> <?php /* Below here is all the javascript for the map. Be careful of what you modify!! */ ?> <script src="<?php echo SITE_URL?>/lib/js/base_map.js"></script> <script src="<?php echo SITE_URL?>/lib/js/acarsmap.js"></script> <script type="text/javascript"> // Write the PIREP data out into JSON // The big reason being we don't need to have PHP writing JS - yuck const flight = JSON.parse('<?php echo json_encode($mapdata); ?>'); console.log(flight); const map = createMap({ render_elem: 'routemap', provider: '<?php echo Config::Get("MAP_TYPE"); ?>', }); const depCoords = L.latLng(flight.deplat, flight.deplng); selDepMarker = L.marker(depCoords, { icon: MapFeatures.icons.departure, }).bindPopup(flight.depname).addTo(map); const arrCoords = L.latLng(flight.arrlat, flight.arrlng); selArrMarker = L.marker(arrCoords, { icon: MapFeatures.icons.arrival, }).bindPopup(flight.arrname).addTo(map); let points = []; points.push(depCoords); // rendering for if there's smartcars data if(flight.rawdata instanceof Object && flight.rawdata.points !== undefined && Array.isArray(flight.rawdata.points) ) { $.each(flight.rawdata.points, function(i, nav) { if(nav.lat === undefined || nav.lng === undefined) { return; } points.push(L.latLng(nav.lat, nav.lng)); }); } else { $.each(flight.route_details, function(i, nav) { const loc = L.latLng(nav.lat, nav.lng); const icon = (nav.type === 3) ? MapFeatures.icons.vor : MapFeatures.icons.fix; points.push(loc); const marker = L.marker(loc, { icon: icon, title: nav.title, }) .bindPopup(tmpl("navpoint_bubble", { nav: nav })) .addTo(map); }); } points.push(arrCoords); const selPointsLayer = L.geodesic([points], { weight: 2, opacity: 0.5, color: 'red', steps: 10 }).addTo(map); map.fitBounds(selPointsLayer.getBounds()); </script> # local.config.php & app.config.php example scripting # app.config.php file only ! # COPY & PASTE # Google Map Options changed as of 7/16/2018 to leaflet maps Config::Set('MAP_WIDTH', '1100px'); #You can change your map dimensions here Config::Set('MAP_HEIGHT', '640px'); #You can change your map dimensions here Config::Set('MAP_TYPE', 'OpenStreetMap.BlackAndWhite'); # see Leaflet site many changable options are availible Config::Set('MAP_LINE_COLOR', '#ff0000'); Config::Set('MAP_CENTER_LAT', '41.149433'); Config::Set('MAP_CENTER_LNG', '-96.425541'); Config::Set('MAP_ZOOM_LEVEL', 4); # !important - This "MUST BE" at zoom level 4 only #local.config.php file only, this is the same scripting as the app.config.php file, they BOTH MUST BE THE SAME! # Google Map Options NOW USING Leaflet maps Config::Set('MAP_WIDTH', '1100px'); Config::Set('MAP_HEIGHT', '640px'); # Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP remarked out from Google maps Config::Set('MAP_TYPE', 'OpenStreetMap.BlackAndWhite'); #changeable through Leaflet web site, many options Config::Set('MAP_LINE_COLOR', '#ff0000'); Config::Set('MAP_CENTER_LAT', '41.149433'); Config::Set('MAP_CENTER_LNG', '-96.425541'); Config::Set('MAP_ZOOM_LEVEL', 4); # MUST BE at level 4
  15. Heritage1

    vaCentral status and updates

    That makes many of us I'm sure, I to am curious.