Jump to content

piper338

Members
  • Posts

    152
  • Joined

  • Last visited

Everything posted by piper338

  1. Hey, thanks for the avsim idea... lots of good info on there I think I might just try and do it myself now. Its been awhile since Ive painted a plane, but at least I can make it how I want it if I do it myself.. Also thanks to those of you that PM'd me
  2. Hi everyone, I wanted to throw out the idea we are trying to implement over at my VA as far as the ranking system goes. I wanted to see what is the best/easiest way of going about this. Here we go.. All pilots will be hired on as a NEW HIRE and progress up through the ranks based only on the hours flow with our VA. "That's the easy part" Upon completion of our application the pilot will be given an Entry Exam, based on this score pilots will be placed on different aircraft. ex. Score>70 A/C= B1900 Score 71-85 A/C= E145 Score 86-100 A/C= 737 & DC9 (So a person with a score off 100% with 0hrs with our VA will be ranked as a 737 New Hire) Of course a person assigned a higher ranking aircraft will be able to fly the lower airplanes as well. And to Progress, we will have Type rating Exams for other airplanes. So I hope I explained that well enough. Here is my question what would be the easiest way to do this lol. They Rank is easy I can just set PHPVMS to not count Xfer hours towards the ranks. The aircraft is the hard part. I am thinking about just renaming the Awards to something Like Category or something and store this info there. Here it would be up to the person approving pireps to notice what CAT a person is in to approve or deny pireps. Is this the easiest way to do it? Is there a better way? I would love to hear anyone's suggestions. Thanks! Chad C.
  3. Thanks man! Got it running on my front page of my dev site just gotta style it up and it should be good to go. Thanks again, Chad C.
  4. Hey guys, I didn't want to have to ask here, but our guy fell of the face of the earth and we need a few repaints. Anyone know who does them? I'm willing to pay via paypal. I have 2 maybe 3 planes that need done. 737, B1900, and I would like to redo our E145 send me your estimates if your interested. Thanks! Chad C.
  5. Please don't use flash to make your website "More better" a few flash elements fine, but nothing gets on my nerves more than a 100% flash site. But hey, I'm just one person.
  6. Thanks for the reply, I think I have tried that in the past. The problem is certain files have to be placed outside the aircraft folder. Modules folder for example.
  7. Hey guys, Im looking for a good program to make .exe's/installers for our fleet... anyone have any Ideas? I want to be able to package panels, sounds, ect. and have in installed via one .exe Thanks, Chad C.
  8. I was wondering if it is possible to have folders inside my skin to organize the tempaltes. ex. lib/skins/mynewskin/frontpage/frontpage_main.tpl My skin folder for my new design is just getting messy.
  9. Well the css you can ignore I should have that in an external style sheet... it is just in my .tpl though... Now the error. I am not sure that was just copied out of the old (frontpage_reports.tpl) <?php if(!$reports) { echo 'No reports have been filed'; return; } foreach($reports as $report) { ?> Maybe someone better with php could help us out here?
  10. I'm probably the wrong guy to be giving advise, but here is how I did it. First copy frontpage_reports.tpl to your skin folder. I edited mine to look like this <style type="text/css"> a:link { color: ##FFCC33; } a:visited { color: ##FFCC33; } a:hover { color: ##FF9933; } a:active { color: ##FF9933; } .style2 {color: #FFFFFF} .style3 {color: #000000; } </style> <table width="100%" class="tablesorter" id="tabledlist"> <thead> <td colspan="6"> <div align="center"><img src="<?php echo SITE_URL?>/lib/skins/valujet2/images/arrivals.png"> </div></td> <tr> <th bgcolor="#666666"><div align="center" class="style2">Flight Number</div></th> <th bgcolor="#666666"><div align="center" class="style2">Depart</div></th> <th bgcolor="#666666"><div align="center" class="style2">Arrive</div></th> <th bgcolor="#666666" class="style2">Pilot Name</th> <th bgcolor="#666666"><div align="center" class="style2">Aircraft</div></th> <th bgcolor="#666666"><div align="center" class="style2">Flight Time</div></th> </tr> </thead> <tbody> <?php if(!$reports) { echo 'No reports have been filed'; return; } foreach($reports as $report) { ?> <tr> <td align="center" bgcolor="#CCCCCC"><table border="0" cellpadding="0" cellspacing="0"> <tr> <td><a href="<?php echo url('/pireps/view/'.$report->pirepid);?>" class="style3"><img src="<?php echo SITE_URL?>/lib/skins/valujet2/images/smallplane.png"></a></td> </tr> </table> <a href="<?php echo url('/pireps/view/'.$report->pirepid);?>" class="style3"><?php echo $report->code . $report->flightnum; ?></a> </td> <td align="center" bgcolor="#CCCCCC"><span class="style1 style3"><?php echo $report->depicao; ?></span></td> <td align="center" bgcolor="#CCCCCC"><span class="style1 style3"><?php echo $report->arricao; ?></span></td> <td align="center" bgcolor="#CCCCCC"><a href="<?php echo url('/profile/view/'.$report->pilotid);?>"><?php echo $report->firstname . ' ' . $report->lastname?></td> <td align="center" bgcolor="#CCCCCC"><span class="style1 style3"><?php echo $report->aircraft . " ($report->registration)"; ?></span></td> <td align="center" bgcolor="#CCCCCC"><span class="style1 style3"><?php echo $report->flighttime; ?> Hours</span></td> </tr> <?php } ?> </tbody> </table> Then Just place this where ever you want it to be displayed Someone correct me if I'm wrong. There might be a more correct way to do it.
  11. If I do this and change the theme on my devsite... will it also change it on my main site?
  12. Thanks man, I appreciate it.
  13. <?php echo $userinfo->joindate;?> Got it thanks! is there a list of these functions? I don't know much about php sorry...
  14. Is there a way to see when and display the date the pilot joined our airline?
  15. piper338

    Which one?

    Hey guys just wanted to take a small poll here... Which design do you like better? #1 http://flyvva.org (This I designed from scratch, but it has its issues) #2 http://dev.flyvva.org (This on I am still working on, it stated as a template but doesn't resemble the original template at all anymore.) Thanks, Chad C.
  16. VATSIM ID is how it is in the field, I changed it from Vatsim ID to VATSIM ID <h3><?php echo $title?></h3> <?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>Vatsim ID</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 url('/profile/view/'.$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 Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <td><?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?></td> <?php } ?> </tbody> </table>
  17. It's showing on the users profile just not the list. I tried to manually add my vatsim id in phpmyadmin using 7,7,2, 855360 still didn't display anything on the pilot list, but in my profile it showed my vatsim id 2 times.
  18. Not still no joy, I am able to view the pilots Vatsim ID in the admin center... but I don't understand how if it's not saving it to the database.
  19. simpilot, thats what I was looking for 7 doesn't even exist in there so that must be my problem goes from 6 to 8
  20. Hey Nabeel, I have tried that before I just did it again for giggles and no joy :-( in the admin center it is "Vatsim ID"
  21. Hey guys, here is what the field looks like inside phpMyadmin if it helps http://i49.tinypic.com/1zpi2jt.jpg Also where are the actual numbers stored I cant find it.. maybe that is the problem?
  22. Hey guys thanks for trying to help me, but I still cant get it through my head what/Where I need to Edit the following. I added <td><?php echo PilotData::GetFieldValue($pilot->pilotid, 'Vatsim ID')?></td> as that is what is commented to do... <h3><?php echo $title?></h3> <?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>VATSIM ID</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 url('/profile/view/'.$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 Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <td><?php echo PilotData::GetFieldValue($pilot->pilotid, 'Vatsim ID')?></td> </tr> <?php } ?> </tbody> </table>
  23. Never mind, I got it. I have 2 themes that are named almost the same thing it was late last night and I changed it in an inactive theme... lols Thanks anyhow, Chad C.
×
×
  • Create New...