Jump to content

Nabeel

Administrators
  • Posts

    8147
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Yeah I was gonna say that has to sit outside of the php tags
  2. <?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>'; }
  3. Hehe jokin' It's fixed in latest beta
  4. did you happen to put that inside a <?php ?> code tag?
  5. It shows on all the profiles? Hmm.. Will look...
  6. Well not all of it, just a couple portions
  7. 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..
  8. I'm rewriting this javascript code as it's pretty heavy. Hopefully that will help
  9. Use what I posted. Why's there a quote in front of the PilotData?
  10. You can uncheck it as a hub, then it won't show up in registratoin, but will remain a hub
  11. 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>'; }
  12. can you post the code you have so far?
  13. You can create a module watch the post_registration event, and then call the PilotData::ChangeStatus() function I think it is
  14. Yeah yeah just complain' always you two I added it to my list. Hopefully I can fit it in for the weekend
  15. Can you turn ACARS_DEBUG to on in the local.config.php, then attach the /core/modules/acars/log.txt file?
  16. Been fixed again (grr) Should be ok now for sure ! lol
  17. $fieldvalue should be equal to the getfieldvalue() function, I don't remember exactly what it is off the top of my head atm
  18. What about in a different browser? I'm not able to dupe this
  19. 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?
  20. What's the error? Does it happen on any other site?
  21. I will add an option for a supplemental update for this weekend, to chose whether to include transfer hours or not in the ranks decision. Yup, the templates are separated out when you modify them for updates - sometimes templates are modified in a release, it makes it easier. I list which templates have been changed in the changelog, so you can transfer those changes to your modified templates. Cheers,
×
×
  • Create New...