Jump to content

Strider

Members
  • Posts

    1821
  • Joined

  • Last visited

  • Days Won

    53

Everything posted by Strider

  1. I have now updated it to V1.2. It now takes the hub directly from the airports table that ships with phpvms, no more having to add the hub manually to the module. https://github.com/Strider2/phpvms_hub
  2. Look in the layout.tpl for the default crystal skin and you will find the link to it.
  3. You have not included the js script for it, or something is causing the js script not to function right
  4. I am pretty sure I know what is going on, check the DB, add any airport that is not in your DB and it should return. It is not acarsmap.js code that is at fault, a piece of code you have is t rying to find an airport that is not in your db, and so does not show anything on the map
  5. I think that is a problem with php version 5.4, try to ask your host can you revert back to using 5.3. There are problems with phpvms and php 5.4
  6. <img src="<?php echo SITE_URL?>/lib/images/acars/<%=flight.phasedetail%>.png" alt="<%=flight.phasedetail%>"/> Place the above code in your acarsmap.tpl file, in your lib/images folder create a folder called acars. and use your acars map to create the images and name the images exactly how it looks on your acars map. You should have something that looks like: http://malaysiava.org/index.php/acars
  7. http://malaysiava.org/index.php/acars I used my code to show the images. So don't tell me it does not work, when you clearly did not even attempt to create the images.
  8. If you actually created the images they would have worked, you also cant steal other images from other sites. Just makes you look bad.
  9. I still have not been answered, have you created the images?
  10. No I dont think that is possible, as it only takes in the fuel used, you would have to add extra fields and edit the algorithm to get that. It would be a lot of work, and possibly more work to the designer of your acars system.
  11. go into phpmyadmin, go to the database you have phpvms installed on, go into it and click on export, it will give you some options, just click sql and click export, it should then begin to download the db in full. Then just go into your new one and click on import
  12. The link will work. Even if you right the full url, and dont create the image, or an image with the same name as what comes out as the phasedetail, it wont work. What is so hard about that? It is very simple.
  13. Download a copy of your db from the freehost, upload phpvms to the new one, and import the backup you made of the old db to the new one, and you should be fine.
  14. Go into the local.config file and change the following: # Default is 720 minutes (12 hours) Config::Set('ACARS_LIVE_TIME', 720);
  15. If you do not create the images, that code will not work.
  16. that still does not answer my question, have you created the images? They have to be named exactly the same as the phasedetail, if not it wont work, regardless of the image type.
  17. did you create the images? If the images are not created with the same name as the phasedetails then it wont work.
  18. yes, you just need to create the image name it cruising or whatever, and use the code: <img src="<?php echo SITE_URL?>/lib/images/<%=flight.phasedetail%>.png" alt="<%=flight.phasedetail%>"/> You can change it from a png to a gif or jpg if you so wish. Place that code in your acarsmap.tpl file and save it in your skin folder.
  19. What glorious weather we have today.....not.

  20. at the moment it does not take info from another va, so you have to add the flight to your schedules, then add it to the module via the schedid.
  21. That has been there since the beginning, it is taking it from a site that only gives US airports. There is code on the forum somewhere if you search for it you will find it, that will give you charts for airports outside the US.
  22. The slow filing of pireps is to do with your server not vacentral. Vacentral only looks at your db filing a pirep doesn't go through vacentral. The slow loading is also your server and not vacentral. About the score going up and down, is usually normal.
  23. Try getting the link for an updated jquery, that might help. Try this: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
  24. Strider

    HubStats Class

    In the where clause put in accepted = 1
×
×
  • Create New...