Jump to content

Nabeel

Administrators
  • Posts

    8151
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Can you do the same as my post above and attach the log?
  2. yuppers, glad it worked
  3. You didn't close the php tag, above that </tr> put ?>
  4. Hey there, Did you click on the link to force it?
  5. Yeah I was gonna say that has to sit outside of the php tags
  6. <?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>'; }
  7. Hehe jokin' It's fixed in latest beta
  8. downloads.phpvms.net
  9. Try the beta out
  10. did you happen to put that inside a <?php ?> code tag?
  11. It shows on all the profiles? Hmm.. Will look...
  12. Well not all of it, just a couple portions
  13. Replace <img src="<?php echo SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png';?>" alt="No Avatar" /> with <?php if(!file_exists(SITE_ROOT.AVATAR_PATH.'/'.$pilotcode.'.png')) { echo 'No avatar'; } else { echo '<img src="'.SITE_URL.AVATAR_PATH.'/'.$pilotcode.'.png'.'" alt="No Avatar" /> '; } ?> Should be able to see how that works..
  14. I'm rewriting this javascript code as it's pretty heavy. Hopefully that will help
  15. Use what I posted. Why's there a quote in front of the PilotData?
  16. You can uncheck it as a hub, then it won't show up in registratoin, but will remain a hub
  17. Should be enough to ge tyou goin: <?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>'; }
  18. can you post the code you have so far?
  19. You can create a module watch the post_registration event, and then call the PilotData::ChangeStatus() function I think it is
  20. Yeah yeah just complain' always you two I added it to my list. Hopefully I can fit it in for the weekend
  21. Can you turn ACARS_DEBUG to on in the local.config.php, then attach the /core/modules/acars/log.txt file?
  22. Been fixed again (grr) Should be ok now for sure ! lol
  23. I'll see what I can do
  24. $fieldvalue should be equal to the getfieldvalue() function, I don't remember exactly what it is off the top of my head atm
  25. What about in a different browser? I'm not able to dupe this
×
×
  • Create New...