Jump to content

Jacob Armstrong

Members
  • Posts

    103
  • Joined

  • Last visited

Everything posted by Jacob Armstrong

  1. Whole script of? That is everything that is in the pilots_list.tpl file.
  2. I'm using the Clowdy template. The ObsessBlue was just way to much to edit the with the staff that I had. I didn't have a technical administrator at the time, and the one we have now is writing us our own system. I would still like to get this working for now though. It might just have the code copied from the ObsessBlue template...I don't know. LOL!
  3. This is my code: <div id="main"> <h4><?php echo $title?></h4> <?php if(!$allpilots) { echo 'There are no pilots!'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> <th>FlightRUN</th> </tr> </thead> <tbody> <?php foreach($allpilots as $pilot) { /* To include a custom field, use the following example: <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> </td> For instance, if you added a field called "IVAO Callsign": echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); */ ?> <tr> <td width="1%" nowrap><a href="<?php echo SITE_URL?>/index.php/profile/view/<?php echo $pilot->pilotid?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td><?php echo $pilot->totalflights?></td> <td><?php echo $pilot->totalhours?></td> <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'FlightRUN (FRUN)'); ?> </td> <?php } ?> </tbody> </table> <!--for every page you make, copy and paste the code below exactly how it is so the footer will align correctly!--> </div> <div class="leftbottom"></div> </div> <div id="clear"></div>
  4. The South Hub is way too low for where it should be.
  5. LOL! WOOPS! Sorry, just realized that I didn't give the link. http://virtualamerican.org/index.php/pilots
  6. I need some help. I don't know what is wrong with my Pilot Roster. I think that it might be a CSS problem, but I'm not good with it. Can someone please tell me how to fix it or I can give you the CSS and you can edit it for me. Thanks!
  7. A way to only allow a certain amount of manual PIREP's in an amount of days.
  8. Yes, I would do that, but I know that you can have technical difficulties with ACARSA programs, so I was just wanting to limit the amount. Although, I would want Admin's to be able to submit as many as they want.
  9. I was wondering if there was a way to limit the amount of manual PIREP's that can be submitted. I only want pilot's to be able to submit a manual PIREP once in every 90 days.
  10. What file do I put it in? header.tpl?
  11. How would I remove it from just one page?
  12. In my installation, it didn't ask for an API code. I can't get my ACARS map to work. http://virtualamerican.org/index.php/acars If I go to my settings, it doesn't let me put in an API code there either. Thanks for the help in advance.
  13. I went in and edited it and edited the local.config.php to make it the email. What did I do wrong?
  14. All my pilots avatars are not showing up. Any suggestions. Here is my page: http://virtualamerican.org/index.php/profile/view/1
  15. I really am as stupid as I sound. I uploaded the examimages folder, but it didn't go through. I got that part now, how do I make it go where it needs to go. I'm a newbie! LOL!
  16. I put it in the root. It's where the admin and core and lib is. Also the Rank Images don't come up. I put them in the ranks folder.
  17. There isn't anything there called registration_accepted.tpl.
  18. Does anyone know why this is happening. It's below where it should be. Also, the images don't show up, neither do the rank images either.
  19. Let me rephrase it. "How" do I do it. LOL! I'm a newbie!
  20. Where do I put the link for the admin page at?
×
×
  • Create New...