Jump to content

P.I.A.S Virtual

Members
  • Posts

    73
  • Joined

  • Last visited

Posts posted by P.I.A.S Virtual

  1. I've had this problem since before I opened my site. I'm fed up now. I want this to work. Version is 2.1.944.

    Can anyone using 2.1.944 post their code for acarsmap.tpl and any other files related to the maps please?

    Here you go hope this helps.

    <?php 
    /**
    * These are some options for the ACARS map, you can change here
    * 
    * 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.
    * 
    * You can use these MapTypeId's:
    * http://code.google.com/apis/maps/documentation/v3/reference.html#MapTypeId
    * 
    * Change the "TERRAIN" to the "Constant" listed there - they are case-sensitive
    * 
    * Also, how to style the acars pilot list table. You can use these style selectors:
    * 
    * table.acarsmap { }
    * table.acarsmap thead { }
    * table.acarsmap tbody { }
    * table.acarsmap tbody tr.even { }
    * table.acarsmap tbody tr.odd { } 
    */
    ?>
    <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 Number</b></td>
    	<td><b>Departure</b></td>
    	<td><b>Arrival</b></td>
    	<td><b>Status</b></td>
    	<td><b>Altitude</b></td>
    	<td><b>Speed</b></td>
    	<td><b>Distance/Time Remain</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.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>
    

  2. Manuel & Ahad,

    Find the code for the maps you want to change, and look in the GCMap code for this:

    change to this:

    That will change the Blue Marble map to the Plain map.

    Thanks alot Jeff! :)

  3. If you guys give me the info for what map you want to show, and what page you want it to be placed in. I can give you the code.

    I want it to display on my site's frontpage for recent arrivals and i want the plain map like on GC Mapper site.

    Thanks .

  4. Hello

    I am using GC Mapper to display recent flights on my website you can see it on my website. I want to change the current map style to the plain one ( like on gc mapper site) how to do that?

    Thanks!

  5. This is my first mod which I am going to release to phpvms. I will be making a flight information centre which will include the live flight map, recant flights, and live flight board and booked flights. I am hoping that this mod, or re-vamp of the live flight board will be finished within the next week or two.

    Thanks

    chris

    Good Luck :)

  6. I made you one for free! Why do you keep asking for all of these new things that I've already made for you for FREE - including your whole site?

    The member center you made i dont know how did walid like it i dont like it thats why .

  7. Good Morning,

    AZI Repein Website Down

    Damn your website is boken or shutdown? Why? I have requested a Repaint and yesterday i saw it scheduld? No where is my repaint? its the Service down?

    ANSWER PLEASE

    Thanks

    Thank you for contacting well currently site is down temporarily. continue at PM

  8. Dear Ahad as per my information and conversation AZI also belongs to Afzal Zain.com full form of AZI is afzal zain international anyways best of luck.

    Well Irfan thats what we thought as well earlier but azi paints is different is owned by another person. AZI Paints has different repaint quality and they have been doing repaints earlier to.

    If it was afsal zain than how could he make us a repaint while he is in load of 5-6 repaints a day?

  9. Dear Ahad,

    I also sent a ticket on the matter to your website, but either it may have not been reached you or what I dont know.

    Thank you so much for your acceptance of the facts and using my repaint and best of luck for future I hope you do yourself be aware of such matters from now on.

    Secondly, please dont spread misconception about my site, I am from 2005 also not charging anyone its FREE for all payware and freeware models and all requests.

    Third and last, congratulation on new plan and best of luck with Afsal Zain AZI paints collaboration

    Dear Irfan

    I don't know why didn't we receive your ticket maybe some server error.

    Finally we are not in collaboration with Afsal Zain. Afsal Zain has already a website AFSALZAIN.COM we are in collaboration AZI Paints a separate freeware repaint site on our sub domain.

  10. Dear Ahad Imran,

    Please dont make false or demotivating assumptions. My friend I would love to consider your request. But first, do you promise me, that you will give me credit for my repaints? Because just few days before you pasted my 777-300 repaint on your main page with someone else's name and didnt respond to my request when I told you it was mine also?

    Well Irfan We were given the repaint by Mr.Afsal Zain later onwards we were informed about his copyright infrigement we did not have information on that. Mr.Afsal Zain was in copyright infrigement with your repaint and following to that we have cancelled our partnership with him.

    Finally i would say that currently our great new partner who made us ATR42 repaint he is making a site on our server of repaints which would be coming up soon. Currently we dont require repaint helps anymore as we in colabration with AZI Repaints would be coming up with a free repaint site for everyone.

    • Like 1
  11. 380026_138808499557412_137393633032232_160593_2119276127_n.jpg

    Hello Everyone...!

    I am delighted to announce my new website for repaints help and requests for virtual airlines.

    About us

    Irfan Design, aims to host all Pakistani flight simulation related materials in one place we offer aircraft repainting services only for Virtual Airlines if you are a re painter and wanted to submit your work with people around the world its the right place for you.

    Contributors

    We are extremely thankful to Almighty Allah for his help and guidance in enabling us to reach this far.

    We feel its necessary to mention the names of our friends who helped us in this journey:

    • Umair Ayaz
    • Edward Cox
    • Hiroshi Igami
    • Enigma Simulations
    • Aziz Palas
    • Abdullah Rahman
    • Sabbir Khan
    • Yemel Venehacker Yarbouh
    • kimberly green
    • Abdul Haseeb kamal

    irfan.png

    Visit our website: http://irfandesigns.vpia.org

    our facebook Page: http://www.facebook.com/irfanrepaints

    Our Youtube Page: http://www.youtube.com/user/irfankhandesigns

    Our twitter Page: http://twitter.com/#!/IrfanDesigns

    Good Luck Irfan! Eventhough we know you may not help us in repaints but still Nice site and Good Luck for future.

    Ahad Imran.

×
×
  • Create New...