Jump to content

Nabeel

Administrators
  • Posts

    8149
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

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