Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. Where did you get the template from? From here or it's custom made? it's definitely you template.
  2. LOL, Okay! I don't know what to tell you. Maybe you need to call the guy and ask him to fix this for you or if you wanna give access to your site so I can figure out where the problem is.
  3. oh sorry for misunderstanding. Any way, skin folders have normally 4-5 .tpl files mainly the pilot profile, pilot list and style.css and maybe some other .tpl but not a whole lot unless you added some more files in there.
  4. I don't need your username and passwords I just need your template to install on my website. That doesn't require any user/pass.
  5. Can you give me you whole skin folder I want to try it to see if it's the same on my website?
  6. Okay! I was looking at the codes you pasted here and noticed it's slightly structured differently with mine but you did copy and paste my codes and still don't get it up! That's surprisingly strange!!!!! Would you consider changing your skin like getting a new one and see if it's still blank? BTW, I checked your site but I didn't get blank page I got an image of the whole world pointing out the flight but it was not moving nor was zooming in or out. Can you clear your browser cache?
  7. Just trying to help him out, thought maybe my codes do actually work for him . You're a staff here, you say stop helping others, I'll stop right away.
  8. <p>Live Flights Map</p> <script type="text/javascript"> <?php /* These are the settings for the Google map. You can see the Google API reference if you want to add more options. There's two options I've added: autozoom: This will automatically center in on/zoom so all your current flights are visible. If false, then the zoom and center you specify will be used instead refreshTime: Time, in seconds * 1000 to refresh the map. The default is 10000 (10 seconds) */ ?> var acars_map_defaults = { autozoom: true, zoom: 4, center: new google.maps.LatLng("<?php echo Config::Get('MAP_CENTER_LAT'); ?>", "<?php echo Config::Get('MAP_CENTER_LNG'); ?>"), mapTypeId: google.maps.MapTypeId.TERRAIN, refreshTime: 10000 }; </script> <div class="mapcenter" align="center"> <div id="acarsmap" style="width:<?php echo Config::Get('MAP_WIDTH');?>; height: <?php echo Config::Get('MAP_HEIGHT')?>"></div> </div> <?php /* See below for details and columns you can use in this table */ ?> <table border = "0" width="100%" class="acarsmap"> <thead> <tr> <td><b>Pilot</b></td> <td><b>Flight </b></td> <td><b>Depar</b></td> <td><b>Arrive</b></td> <td><b>Stat</b></td> <td><b>Alt</b></td> <td><b>Spd</b></td> <td><b>Dist/Time</b></td> </tr> </thead> <tbody id="pilotlist"></tbody> </table> <script type="text/javascript" src="<?php echo fileurl('/lib/js/acarsmap.js');?>"></script> <?php /* This is the template which is used in the table above, for each row. Be careful modifying it. You can simply add/remove columns, combine columns too. Keep each "section" (<%=...%>) intact Variables you can use (what they are is pretty obvious) Variable: Notes: <%=flight.pilotid%> <%=flight.firstname%> <%=flight.lastname%> <%=flight.pilotname%> First and last combined <%=flight.flightnum%> <%=flight.depapt%> Gives the airport name <%=flight.depicao%> <%=flight.arrapt%> Gives the airport name <%=flight.arricao%> <%=flight.phasedetail%> <%=flight.heading%> <%=flight.alt%> <%=flight.gs%> <%=flight.disremaining%> <%=flight.timeremaning%> <%=flight.aircraft%> Gives the registration <%=flight.aircraftname%> Gives the full name <%=flight.client%> FSACARS/Xacars/FSFK, etc <%=flight.trclass%> "even" or "odd" You can also use logic in the templating, if you so choose: http://ejohn.org/blog/javascript-micro-templating/ */ ?> <script type="text/html" id="acars_map_row"> <tr class="<%=flight.trclass%>"> <td><a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotname%></a></td> <td><%=flight.flightnum%></td> <td><%=flight.depicao%></td> <td><%=flight.arricao%></td> <td><%=flight.phasedetail%></td> <td><%=flight.alt%></td> <td><%=flight.gs%></td> <td><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%></td> </tr> </script> <?php /* This is the template for the little map bubble which pops up when you click on a flight Same principle as above, keep the <%=...%> tags intact. The same variables are available to use here as are available above. */ ?> <script type="text/html" id="acars_map_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <a href="<?php echo url('/profile/view');?>/<%=flight.pilotid%>"><%=flight.pilotid%> - <%=flight.pilotname%></a><br /> <strong>Flight <%=flight.flightnum%></strong> (<%=flight.depicao%> to <%=flight.arricao%>)<br /> <strong>Status: </strong><%=flight.phasedetail%><br /> <strong>Dist/Time Remain: </strong><%=flight.distremaining%> <?php echo Config::Get('UNITS');?> / <%=flight.timeremaining%><br /> </span> </script> <?php /* This is a small template for information about a navpoint popup Variables available: <%=nav.title%> <%=nav.name%> <%=nav.freq%> <%=nav.lat%> <%=nav.lng%> <%=nav.type%> 2=NDB 3=VOR 4=DME 5=FIX 6=TRACK */ ?> <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> Copy and paste these codes to your acarsmap.tpl (Make a back up first) meaning replacing with what you have in there and then upload acarsmap.tpl into your skin folder I repeat SKIN FOLDER and see if it's fixed.
  9. Skin problem, go to your skin style.css the problem comes from there. And Joeri is right it would be a relief if you could give us the codes somehow.
  10. Okay, what I meant was that when you use the original skin(template) does it show the ACARS map correctly or not? if it shows the map correctly then the problem is with your skin(template) if not the problem is either with your installation or something that we have to find out.
  11. Remove the acarsmap.tpl and load the page. also if you can upload the file or paste the codes here.When you change skin(template) is it working?
  12. Go to your skin / obsessblue folder and replace the profile_main.tpl with original one that comes with phpvms and see if that fixes the problem.Also, make sure that the pilot center button is linked to your profile_main.tpl
  13. Check your skin folder if there is an acarsmap.tpl there, replace it with the original one and see if it's fixed.
  14. Parkho

    Ranks

    Did you put the pay rate amount in the specified field when adding the rank? If yes, then check to see if you DB tables where installed correctly. Go to admin/sidebar/site & settings/Maintenance Options/ Optimize Tables to reindex all of your tables in DB. Also, do an install check to see if there are any errors on the tables.
  15. Parkho

    Hubs

    Jeff, is this an add-on? Besides, why would the airline want to put the new registrant in limitation of choosing a HUB or have them wait for the available one since the admin can easily change the pilot's HUB at anytime? I don't see the point here!BTW, I visited your website. you did a good job there keep it up
  16. Parkho

    Hubs

    You can delete the select box in registration_form.tpl but that just keeps it from the registrant and the system will automatically assigns them to the first available HUB. Do you want to remove that part to avoid the pilot's page to show your pilots in separate tables? if that's the case instead of removing the HUB selection, you could modify the pilots page to show every body in one table regardless of their HUB.
  17. Parkho

    Hubs

    Can you be more specific of what you mean?
  18. Also, if you hit the calculate distance link when adding the schedules it gives you a direct vor to vor distance then assume that any medium or heavy type aircraft have about 470 - 480 kts total average speed(T/O - Cruising - Landing). Now divide that distance by 475 and you'll get an approximate cruising flight duration then add 30 minutes for T/O and Lndg and you'll have an estimated flight duration otherwise there is no way you can get the exact time for your flights everything is approximate.
  19. Well! as I mentioned in the last post, there might be some errors with Google map unless you risk to reinstall phpvms all over again.
  20. Was this working before and stopped suddenly or not working from the beginning? Cause my guess is that it's gotta be the Google map codes that either is changed or not responding suddenly!
  21. This one is a module for your pilots to directly search for their routes from your website rather than going to the actual website. Don't worry I checked that website and it's free to use. Install: 1. Unzip the folder anywhere you want. 2. Upload in the order of folders. 3. make a link to the module like this <?php echo url('/rfinder') ;?>. 4. Enjoy. Screenshot: Download at Github: Github.com/parkho
  22. It's gotta be the ACARSMAP. Check there because all those files that you mentioned are linked to ACARSMAP.
  23. Parkho

    AcarsMap

    OKAY! there is a folder in your images folder called "inair" replace the original inair folder with this one and clear your browser cache see if that fixes the problem the path: public_html or www or whatever your main site folder is/lib/images/inaiar
×
×
  • Create New...