Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. It is quite simple to use - here is a simple example. http://www.gcmap.com/map?P=KORD-KDEN You can find all the map options, which would be included in the url, here -> http://www.gcmap.com/mapui <- create your map with the options you would like and copy the url to use in your site. Then simply use the data off your site for the path section of the url "KDEN-KPHX, KDEN-KSFO" etc.
  2. Sorry I'm not NABEEL. This project is based all on his generous giving of his free time to the coding of phpVMS. Have some patience, he will answer.
  3. Try this guys, basic but I think it is what you are looking for. http://forum.phpvms.net/topic/2989-touchdownstats-10/
  4. TouchdownStats 1.0 Module to extract and display landing rates from your PIREPS table ---------------------------------------------- A visible link to http://www.simpilotgroup.com must be provided on any webpage utilizing this script for the license to be valid. ---------------------------------------------- Developed by: simpilot - David Clark www.simpilotgroup.com www.david-clark.net Developed on: phpVMS 2.1.935 php 5.2.11 mysql 5.0.51 apache 2.2.11 Install: -Download the attached package. -unzip the package and place the files as structured in your root phpVMS install. To show all the landing stats currently in the datbase create a link to www.yoursite.com/index.php/TouchdownStats To show a limited number of stats from your database create a link to www.yoursite.com/index.php/TouchdownStats/top_landings/10 The "10" can be changed to however many you would like to see The most useful method of the data class would be to use TouchdownStatsData::get_all_stats() and TouchdownStatsData::get_stats('10') You can use these inside of one of your templates to bring back the data you want and display it as you wish. An example to fill a variable with data for use in your template you can use $this->set->('stats', TouchdownStatsData::get_stats('10')); in your module to pass the data to the template within the $stats variable. Then in your template use the $stats variable to do what you wish with the display. TouchDownStats Released under the following license: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License Code hosted on Github - Link In Signature.
  5. This is not what I had intended to happen, although I stand by my comments. Locking Topic
  6. I call your bluff Brian, you have been posting stuff about your ACARS program as early as last December and promising a functional release "any day". I think I speak for many Brian when I say it's time to release something.... http://forum.phpvms.net/topic/2576-acars-beta-development-re-opened-to-public/ http://forum.phpvms.net/topic/2339-beta-testers-needed-for-acars-development/ http://forum.phpvms.net/topic/2708-new-vacars-v10-released-for-beta-testing/ http://forum.phpvms.net/topic/2706-new-vacars-v10-screenshots/ http://forum.phpvms.net/topic/1523-phpvms-fully-custom-acars-beta-release/ and yes, I know you have said you had, A major Snowstorm, Your wisdom teeth out, A car accident, Multiple tornado warnings, A pc crash, ACARS for UPSVirtual, ACARS for AAVirtual, and................ I am glad my life is not as exciting as yours.
  7. Ok Guys, I will write a version 2 class in order to display the info out of the database. Give me a day and I will post something in the Addons forum.
  8. Until they take the "RC" off of it I will wait on building anything. I have not been too impressed with 2.0 so far anyway. 1.1.11 is stable and addon's are not a big deal to be built.
  9. You can do as you please with the code. Easiest might be to just put -> <?php MainController::Run('FrontSchedules', 'index'); ?> somewhere in your pilot center.
  10. Its your server time.
  11. http://forum.phpvms.net/topic/2197-schedule-search-airline-aircraft-arrival-departure/
  12. simpilot

    View Badge

    Looking here - http://www.oneworldvs.net/lib/signatures/DL0001.png - it looks as though you could have one of two things happening. 1 - You have the png image properties set incorrectly when you are saving it, check the transparency setting. 2 - You have the text color set as the same color of the background of the image. Check the setting in your config files.
  13. Looks like an older template maybe with 2.1 phpVMS.... What version phpVMS are you running? Looks like a modified Clowdy skin, which was designed for 1.0. You will have to update some of the tpl files in the skin if this is the case.
  14. You do not need a map key in ver 2.1 The login module is already set to accept a pilot id as a login - ex - ABC1234
  15. What version are you uploading? If you are uploading the newest, the template is included. If you are using a skin from an older version with a copy of the registration form in the skin folder, you will have to overwrite it and reskin it to your site, or add the necesarry code to it for the recaptcha plugin to work.
  16. The deptime and arrtime fields in the database are not true time fileds, they are varchar. So trying to sort numerically does not work well. If the time was not stored with the : it work better, but that is the nature of the beast. The sort function is looking at the numerical value prior to the non numerical character - ie the 12 of 12:35, the 35 is ignored. So, when the sort comes out with all the schedules with a 12 prior to the : it sorts them in their order in the database as a secondary sort. What you can do to fix it is go in the schedules database and erase your schedules, then input them in the order of times. It would take some work to keep the order correct that both the deptime and arrtime fields were in the correct order to display in order on your site.
  17. Do your flights have the departure and arrival fields filled? Have you changed the prefix for your database from the standard "phpvms_"? Try a print_r using the $list variable and see what, if anything at all is coming back. New Code -> http://forum.phpvms.net/topic/2811-request-flight-board/page__view__findpost__p__19704
  18. That error is telling you that the "$list" variable is coming back empty, there is nothing for the foreach command to look at. Do you have any schedules in your DB? @dimitris - that is the older code as well.
  19. Looks like you have 1.0 template in a 2.0 application. What version are you uploading to your site?
  20. The easiest way is to use your ftp client and right click on the folders and then use the "set permissions" option. Setting them to 777 should work for you.
  21. Did you try and clear the cache data in the admin panel or directly out of core/cache folder
  22. You can intergrate the Great Circle Mapper into the page like I did here -> http://www.westjetvirtual.net/index.php/profile/view/1 - I think it is easier than the google map for static displays. The Great Circle Mapper Site -> http://www.gcmap.com/
  23. You need to chmod all those folders so they are writable. You will not be able to continue till you do. fopen is also disabled on your server. I noticed you are on free hosting, do not be surprised when you have problems with some of the functionality of phpVMS.
  24. Try this out guys -> http://pastebin.com/Yr1aGv4m
  25. Why not get rid of all that and just do <td><img src="<?php echo SITE_URL; ?>/lib/skins/ObsessBlue/image/<%=flight.phasedetail%>.gif" /></td> for that data block, then name your images to match the flight phases i.e. Climbing.gif Cruise.gif Arrived.gif etc....
×
×
  • Create New...