Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Hey there, Did you click on the link to force it?
  2. Yeah I was gonna say that has to sit outside of the php tags
  3. <?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>'; }
  4. Hehe jokin' It's fixed in latest beta
  5. did you happen to put that inside a <?php ?> code tag?
  6. It shows on all the profiles? Hmm.. Will look...
  7. Well not all of it, just a couple portions
  8. 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..
  9. I'm rewriting this javascript code as it's pretty heavy. Hopefully that will help
  10. Use what I posted. Why's there a quote in front of the PilotData?
  11. You can uncheck it as a hub, then it won't show up in registratoin, but will remain a hub
  12. 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>'; }
  13. can you post the code you have so far?
  14. You can create a module watch the post_registration event, and then call the PilotData::ChangeStatus() function I think it is
  15. Yeah yeah just complain' always you two I added it to my list. Hopefully I can fit it in for the weekend
  16. Can you turn ACARS_DEBUG to on in the local.config.php, then attach the /core/modules/acars/log.txt file?
  17. Been fixed again (grr) Should be ok now for sure ! lol
  18. $fieldvalue should be equal to the getfieldvalue() function, I don't remember exactly what it is off the top of my head atm
  19. What about in a different browser? I'm not able to dupe this
  20. Sounds like something else on the computer which is causing it, like a plugin. I've seen it go crazy because of flash before. Which page is it happening on?
  21. What's the error? Does it happen on any other site?
×
×
  • Create New...