Jump to content

Kishshey

Members
  • Posts

    81
  • Joined

  • Last visited

Everything posted by Kishshey

  1. Hello, I have already created the Module and the page, And when I view vasite.com/action.php/Ops/page I can view my page, all i need to do is include the Acars live flight data in a table
  2. Hello, I would like to show Live flight data on a different page that I created, and I do require to show this page with a custom module called Ops.php Can anyone help me with this.
  3. Thanks I will try now EDIT Thanks a lot sir it is working perfectly now.
  4. And I'm still failing at it, do you mind sending me all the files associated with this full screen map, sir? http://va.skylinefsx.com/index.php/acars/viewmapbig here is the link
  5. Thank you very much for this sir, I will take a look today. Thanks EDIT : Would you mind telling me what should I include in the header_map.tpl
  6. The map doesn't load up when it's in action.php however on index.php it loads up inside the skin. He has mentioned doing some edits to index.php on the root folder. I tried that too, still no luck
  7. When I use that it returns an empty page.
  8. Is it possible to take the flight progress from smartcars and show it with the Live flights data?
  9. http://forum.phpvms.net/topic/4498-flightbookingsystem/
  10. http://forum.phpvms.net/topic/21848-real-booking-system-v1/ Check here
  11. Do a search on Realistic booking system. It doesn't make it mandatory to a pilot to fly back to the origin airport. However, it only allows pilots to book flights that are departing from the last airport the specific pilot landed last.
  12. Thank you sir, But could you clarify this a little bit. When you say use action.php you mean like this, am I correct? http://mysite.com/action.php/Module ** Edit ** Thank you, that method works. I also have another question, and maybe not related to php by any means. Can I make a module run on a subdomain For example the above module: http://mysite.com/action.php/Module Is there a possible way I can make it always open on a subdomain, like: module.mysite.com module.mysite.com/page2.php
  13. Greetings everyone, I am trying to make my pilot center as a complete module, than having it inside the template. So I tried creating some custom modules and I successfully tested that. However, the module is displayed inside the content area of the layout.tpl(or .php) and I would like to know if it is possible to display that in a blank page(or just display the index page of the module without embedding it in to the layout template). I hope somebody knows how to do this because I am desperate to get this working as I can't continue building my site without getting this to work. Thanks in advance Regards, Kishshey
  14. Yeah I tried it on my site, exactly the way he described and it is rendering the map in my layout page.
  15. Hello, thanks for the information, I tried that, and instead of getting a fullscreen map, the map actually loads within the default layout (layout.tpl)
  16. Greetings everyone, If any of you know how to get a fullscreen acars map as a separate module, please let me know how to. Your help would be appreciated much. Thanks
  17. Thanks alot, I will take a look and update soon.
  18. thank you for your reply, but I didn't quite get that. (I'm sorry this is my first attempt to make a skin)
  19. Hello, I would like to know how to have a different homepage other than having the homepage content implemented to layout.php(or .tpl) via frontpage_main.php For example I have a home page designed with a slider(I'll refer to is as PAGE1), and I a separate page planned for all other pages (a layout page). So i would like to display PAGE1 on myurl.com/index.php and display the layout(as usual) on all other pages "myurl.com/index.php/something/" Thanks in advance. Kind regards, Kishshey
  20. Yeah, I contacted support. And it's working after getting the coordinates from airnav. If anyone experience the same issue that is the fix. Thanks bergman and joeri for your replies.
  21. I am looking for someone who can convert a Template I already have to a PHPVMS skin. I am really not on a high budget here so please post your prices.
  22. Yeah mainly big airports, like Boston, Manchester etc etc'
  23. Hello, For some airports, when people spawn and try to start the flight on SmartCARS it gives them this error. INCORRECT SIMULATOR SCENARIO You must be at the departure airport to start your flight I suppose it has something to do with the coordinates I have added, I am actually getting the airport data from Phpvms fetching. If you know any fix to this issue please do let me know, because I have this issue on many airports. Thanks in advance Regards, Kishshey
  24. My current flights are not being displayed, and the Error messgae saying "Pilots are taking a rest" is also not being triggered. <?php $q = "SELECT * FROM ". TABLE_PREFIX ."acarsdata"; $l = DB::get_results($q); if($l != null){ ?> <table border="0" width="100%" cellspacing="4" 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>Time Remaining</b></td> </tr> </thead> <tbody id="pilotlist"> <? foreach($l as $fl) { $lu = strtotime($fl->lastupdate); $min_u = strtotime(date("Y-m-d") - 900); if($lu > $min_u) { echo("<tr>"); echo("<td>".$fl->pilotname."</td>"); echo("<td>".$fl->flightnum."</td>"); echo("<td>".$fl->depicao."</td>"); echo("<td>".$fl->arricao."</td>"); echo("<td>".$fl->phasedetail."</td>"); echo("<td>".$fl->alt." feet</td>"); echo("<td>".$fl->gs." knots</td>"); echo("<td>".$fl->timeremaining."</td>"); echo("</tr>"); } } }else{ ?> <div class="alert alert-danger"> <strong>Looks like Skyline Pilots are taking a rest!</strong> There is no current flights online. </div> <?php } ?> This is a code I have
×
×
  • Create New...