Jump to content

Strider

Members
  • Posts

    1816
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by Strider

  1. just chmod it to 777, this is a common thing. Cheers Dan C
  2. Re made them and at a smaller size of 50x30. Cheers Dan C
  3. Roger i am gonna come and rip ya a new one....lol jk Yea will resize them. Cheers Dan C
  4. YAY got it working, If anyone wants it pm me, will send you the file. Cheers Dan C
  5. Parse error: syntax error, unexpected '<' in /home/globalai/public_html/lib/skins/global/pilots_list.tpl on line 57 Am getting that error now. http://globalaircargovirtual.org/download/pilots_list.zip Cheers Dan C
  6. Parse error: syntax error, unexpected '<' in /home/globalai/public_html/lib/skins/global/pilots_list.tpl on line 57 I get that error with your code. I know the piece of code causing it, but there is no way of stopping it from occuring. Cheers Dan C
  7. <?php $fieldvalue = "PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); if($fieldvalue != '') { echo '<a href="http://www.vataware.com/pilot.cfm?cid='.$fieldvalue.' target="_blank"<img src="'.SITE_URL.'/lib/skins/global/images/vatsim.gif" alt="Vatsim ID" /></a>'"; } Still not working. Cheers Dan C
  8. <?php $fieldvalue = $pilot; if($fieldvalue != 'VATSIM_ID') // <a href="http://www.vataware.com/pilot.cfm?cid=<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); target="_blank"?><img src="<?php echo SITE_URL ?>/lib/skins/global/images/vatsim.gif" alt="Vatsim ID" /></a> there you go nabeel. Cheers Dan C
  9. I think this error is just localized to a few people, as i get no error from your site or mine, in both IE and firefox. Cheers Dan C
  10. Works fine for me. Cheers Dan C
  11. I have equaled the fliedvalue to the getfieldvalue and it still doesn't want to be a good little boy. Cheers Dan C
  12. flyzen it said to comment it out. Cheers Dan C
  13. <?php $fieldvalue = 0; if($fieldvalue != '') //<a href="http://www.vataware.com/pilot.cfm?cid=<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); target="_blank"?><img src="<?php echo SITE_URL ?>/lib/skins/global/images/vatsim.gif" alt="Vatsim ID" /></a> That is the code. Cheers Dan C
  14. Try resetting the hours in the admin panel, it should work, and when they submit a pirep it should correct itself. Cheers Dan C
  15. Then you did it wrong, if you need to edit a template, create a new skin folder for it, that wont get updated or overwritten, if you need to edit any of the core/template files, save them into the custom skin folder, phpvms will go to them for the updated ones, and they wont be overwritten. Cheers Dan C
  16. It still doesn't work. I have tried different combos, and it still doesn't want to work, it now shows the gif, but it doesn't link to vataware. Cheers Dan C
  17. It still not working, it shows the gif now, but it has "> what else should i do to get it working? Cheers Dan C
  18. AJM101 it already is in the pilot center. Cheers Dan C
  19. It is still not working, where do i put the code i am using? Cheers Dan C
  20. How should i assign getfieldvalue() to a variable? I only know very very basic php. Cheers Dan C
  21. no what is happening it shows the button even if it is empty and when it isn't empty. I need it to show nothing when it is empty and the button when it isn't empty. Cheers Dan C
  22. By the looks of it you have directly edited one of the default skins, which is going to cause you trouble in the future. Cheers Dan C
  23. I have some code to get the vataware gif onto the roster, but it shows for every pilot even if they dont have a vatsim id, what code do i need to put in to stop that from happening? Cheers Dan C
  24. Strider

    Need Help

    Yea it is just a permission problem, It will be fine once you give them the proper permissions. Cheers Dan C
  25. What code would i need to put the vataware link and graphic onto the roster? Cheers Dan C
×
×
  • Create New...