Jump to content

Strider

Members
  • Posts

    1821
  • Joined

  • Last visited

  • Days Won

    53

Everything posted by Strider

  1. <?php $fieldvalue = PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); if($fieldvalue != '') { echo '<a href="http://vatstats.net/pilots/details/'.$fieldvalue.'" target="_blank"><img src="'.SITE_URL.'/lib/skins/SKIN_NAME/images/vatsim.gif" alt="Vatsim ID" border="0" /></a>'; } ?> Place the above code in the pilots_list.tpl file, and create the image. place it in your skin folder images folder. Note: It won't get everyone's info, as they have to fly online for it to get their details. But once they do, it will show the details.
  2. I have updated the module now, it has fixed that error, also the way the url to the hubview is called has changed now. https://github.com/Strider2/phpvms_hub
  3. in the hubview.tpl file bellow where it has: if($pilot->totalhours == '0'){continue;} put: if(!$pilot){echo "Sorry, no pilot allocated to this hub yet.";} and let me know if that helps.
  4. That error usually happens when no pilots are in the hub. I will see about getting it to not show that error if no pilots are in the hub.
  5. some details are taken from the airports table and you would have to edit the airport itself. The link for the nav bar, goes into your layout.tpl or if you use the default nav, into the core_navigation.tpl file
  6. You can use the vatsim metar code, can be found on the forum.
  7. Just got my laptop back, it is like new now :D

  8. https://github.com/Strider2/phpvms_hub That uses Tom's hubstats stats class.
  9. It is a problem with the js, you will have to have a go at moving them to different locations. Also try commenting out a js script at a time, to see which one is the cause of the problem.
  10. If you want to do maintenance on your site, you can always set phpvms to go into maintenance. That is located in your local.config file.
  11. Servetas, the way you said it, it looked like you meant their pireps.
  12. It should give that fine, it doesn't work on mine, as there are question marks instead of spaces, so it just shows a straight line, but where there are spaces and no question marks it works fine.
  13. Good idea but only problem, it will keep changing anytime they file a pirep. Only thing I can suggest, is to try and order it by the 3rd number in the pilot ID.
  14. At Katie Mcloughlin wedding party

  15. Strider

    HubStats Class

    Try looking at the error_log, errors that dont show, usually show in that.
  16. I already have the latest, if you want it, I can send the link to it
  17. Google have probably changed some code, and this is now not used.
  18. This seems to be happening on quite a few acars maps with other VA's, so I am wondering has google changed something
  19. I am having the same problem, it has even gone as far as removing the weather data on it. Deleting the cache and resetting acars does not help. The table is being filled with data, but it is not showing the information on the map.
  20. If you want to test a skin, it is best to have it offline, using xamp or a similar program which creates a virtual server on your pc. You can download a copy of your db, and your phpvms installation, and test it out on that before putting it live. You can't set it manually in the layout.tpl as it would have to be changed everytime you want to change the site design. And that is just tedious. But as servatas said, just use the same folder name for both skins, but have a different layout in the one of them, that means you can have two different layouts and designs with the same db.
  21. you have to let some people know that, as they will do it the normal way and find they are having trouble with one of them.
×
×
  • Create New...