Jump to content

Tylor Eddy

Members
  • Posts

    275
  • Joined

  • Last visited

Everything posted by Tylor Eddy

  1. G'day Edmund, Id recommend Robert from http://fs809film.com/ He is currently making our promotional video, and his work and fee's are great You can see some his work on his website. Tylor
  2. I wanted to have this option available as well, as some pilots are still looking towards being able to continue and be more realistic by only flying on days the schedules are actually flown. Having both options available to pilots will make us more appealing. Looking at it now, maybe displaying it like flyuk does, with the plane icon under the day flown in their schedules would work better, i remember a post about doing this being posted somewhere on these forums by simpilot i believe, but i spent a few hours searching and had no luck finding it unfortunately. My schedules don't have every day ticked, i was just going to change the section where it hides the flights that are not flown. So they all display, therefore in my eyes this would still allow pilots to be able to select the days flown. Correct me if i am wrong Tylor
  3. Did anyone every get this days flown version working, im in the process of making all my schedules available everyday, but i'd like an option for pilots to be able to filter a particular days flights. Any help would be great Tylor
  4. Thats ok, i was merly commenting on how they look as for my roster, you can find the basics below, i have take out all my styling so you can add your touch <div id="content"> <?php $roster = PilotData::getAllPilots(); ?> <?php if(!$roster) { echo 'There are no pilots!'; return; } ?> <table> <table id="tabledlist" class="other"> <thead> <tr> <th width="160px">Pilot ID</th> <th width="220px">Name</th> <th width="120px">Rank</th> <th width="50px">Flights</th> <th width="100px">Hours</th> <th width="100px">HUB</th> <th width="128px">Vatsim ID</th> <th width="50px">Status</th> </tr> </thead> <tbody> <?php foreach($roster as $pilot) { if($pilot->retired == 1) { continue; } ?> <tr> <TD ALIGN="center"> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" align="absmiddle" /> <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 ALIGN="left"> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <TD ALIGN="center"><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <TD ALIGN="center"><?php echo $pilot->totalflights?></td> <TD ALIGN="center"><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <TD ALIGN="center"><?php echo $pilot->hub?></td> <td><div align="center"> <?php $fieldvalue = PilotData :: GetFieldValue ( $pilot -> pilotid , 'Vatsim ID' ); if( $fieldvalue != '' ) { echo '<a href="http://stats.vatsim.net/search_id.php?id=' . $fieldvalue . '" target="_blank">' . $fieldvalue . '</a></a>' ; } else { echo '<img src="http://yourwebsite.com/images/inactiveicon.png" width="20" height="18" border="0" alt="" /></a>' ; } ?> </div></td> <TD ALIGN="center"><?php if($pilot->retired == 0) { ?> <img src="http://yourwebsite.com/images/activeicon.png" alt="Active" /> <?php } else { ?> <img src="http://yourwebsite.com/images/inactiveicon.png" alt="Inactive" /> <?php } ?></td> </td> </tr> <?php } ?> </tbody> </table> </div> Above is everything you'll need, i'll let you make all the changes you feel necessary Regards Tylor
  5. If you like the structure of mine, ill be happy to post the code here, i got it from somewhere on these massive forums anyways PS. just looking at your pilot roster, those rank images look unreal, great job Tylor
  6. Thanks for your help, that takes care of one number lol, mine are 3 digits, the first being my ID of 001, currently all i get is the 1, any little trick to get it to display the 3 digits, i need all 3 as it is the username for the new user forums account. I'm closer than i was before haha, thanks Tylor
  7. G'day Guys, Ive spent the last few hours updating my registration emails to incorporate more information, making it easier for new pilots to orientate themselves with the VA. I am having trouble just displaying the 3 digits of the Pilot ID, so i want just 001 not QFA001 to display. Also is there a way to display their password in these emails, it would look more professional than using 'the password you registered with' i've tried the following and neither have worked <?php echo PilotData::getPilotCode($eventinfo[2][code], $id->pilotid);?> <?php echo PilotData::getPilotCode($id->pilotid);?> As for displaying the password im not sure where to start for that, as there is nothing within the pilotdata class file Any help would be greatly appreciated Tylor
  8. I never thought about that, ill have a look and see if i can get it to work Thanks
  9. G'day Simpilot, I have an idea for this module. I wanted to know if it was possible to add a flashing gif image to display on all the unread news items in my list, this will make pilots more aware of the new posts as the news list is rather discrete on my website. is it possible to be able to determine if a newsitem is read by a pilot ? Regards Tylor
  10. I still havent worked out how i can do get the inactive pilots group to work, anyone able to offer any suggestions. On a similar note, i would like to be able to automatically add pilots to a group for their hubs. So when they register, they are placed into a group with the rest of the pilots in that hub. Regards Tylor
  11. G'day Guys, I just tried this myself, ive got the bar working, the only issue i've got is that it doesnt seem to line up with where it should be. Nevermind, i tricked it by doubling the percentage, it now goes the whole way Tylor
  12. Thanks Jeffrey Works great now, thanks for the support Actually i have 1 more question, how come when i click on the bubble's that come up for the aircraft and waypoints, they stay open when i click another ? Is there any easy way to close them when i click another point ? Tylor
  13. G'day Jeffrey, Just took a look at the database, the route column is populated, but the route_details column isn't. Tylor
  14. G'day Jeffery, Just tried your suggestion, but for some reason it still shows a singular line from the departure to the destination. Tylor
  15. This is exactly what I've been searching for, any chance someone can re-upload this ? Cheers Tylor
  16. Thanks Nabeel that works great Lastly i would like to categorise active and inactive pilots, currently this is what i have the following: <?php $total = count(PilotData::findRetiredPilots()); ?> <input type="checkbox" name="groups[]" value="all" />Inactive Pilots (<?php echo $total?> pilots)<br /> <?php $total = count(PilotData::findActivePilots()); ?> <input type="checkbox" name="groups[]" value="all" />Active Pilots (<?php echo $total?> pilots)<br /> It only displays 1 pilot as retired when there are around 15 in total. Thanks for the help so far Tylor
  17. G'day Jeffery, Just took a look at the database and the route column was being populated correctly. I took a look at the source code for your acars map, and you have images set for the points, could that be the problem or is just the code displaying what is actually there ? I have this for my navaids: <script type="text/html" id="navpoint_bubble"> <span style="font-size: 10px; text-align:left; width: 100%" align="left"> <strong>Name: </strong><%=nav.title%> (<%=nav.name%>)<br /> <strong>Type: </strong> <?php /* Show the type of point */ ?> <% if(nav.type == 2) { %> NDB <% } %> <% if(nav.type == 3) { %> VOR <% } %> <% if(nav.type == 4) { %> DME <% } %> <% if(nav.type == 5) { %> FIX <% } %> <% if(nav.type == 6) { %> TRACK <% } %> <br /> <?php /* Only show frequency if it's not a 0*/ ?> <% if(nav.freq != 0) { %> <strong>Frequency: </strong><%=nav.freq%> <% } %> </span> <p> </p> </script>
  18. G'day Nabeel, I havent done this before, but i've created the checkbox fields, and took a look through the PilotData.class.php, Not sure if i've got it right or not. Here are My Checkboxes: <?php $total = PilotData::findRetiredPilots(); ?> <input type="checkbox" name="groups[]" value="all" />Inactive Pilots (<?php echo $total?> pilots)<br /> <?php $total = PilotData::getAllPilotsByHub(YMML); ?> <input type="checkbox" name="groups[]" value="all" />YMML Hub Pilots (<?php echo $total?> pilots)<br /> <?php $total = PilotData::getAllPilotsByHub(YSSY); ?> <input type="checkbox" name="groups[]" value="all" />YSSY Hub Pilots (<?php echo $total?> pilots)<br /> <?php $total = PilotData::getAllPilotsByHub(YPAD); ?> <input type="checkbox" name="groups[]" value="all" />YPAD Hub Pilots (<?php echo $total?> pilots)<br /> <?php $total = PilotData::getAllPilotsByHub(YPPH); ?> <input type="checkbox" name="groups[]" value="all" />YPPH Hub Pilots (<?php echo $total?> pilots)<br /> <?php $total = PilotData::getAllPilotsByHub(YBBN); ?> <input type="checkbox" name="groups[]" value="all" />YBBN Hub Pilots (<?php echo $total?> pilots)<br /> Here is the Categorise by Hub Section of the PilotData.class.php file in case i messed up: /** * Get all the pilots on a certain hub */ public static function getAllPilotsByHub($hub) { return self::findPilots(array('p.hub'=>$hub)); } Have i done the above correctly ? Thanks for the Reply Tylor
  19. G'day Nabeel, A Majority of my pilots are using kacars_free, is it the reason that the route won't show ? All the schedules have a route added to them, and the route displays when you bring the flightplan up in kacars. Also i have checked and can confirm that all the waypoints along the airway are within the database, and are tied to the correct airway. Tylor
  20. Anyone able to help me with this, i'd also like to add pilots to their respective hub group for emailing too. This would reduce workload and make it a lot easier to keep track of pilots who are in their proper groups, seeing as its difficult to keep track of the groups theyre in manually, and a pilot can easily get missed. If anyone can help me and give me some pointers to learn this more technical side it'd be greatly appreciated. Tylor
  21. G'day Guys, I've been fiddling with the navdata, going through all my routes, and updating the navdata to display the routes correctly, and working hard to make it all look a lot nicer. I've noticed that the waypoints along the airways are within the navdata, but for some reason they wont show, it will only show the navaids for the start and finish of the airway, is there anything in particular that needs to be changed for this to display correctly. Also if anyone can explain these fields within the navdata database that would be great. The airway type show H and L, im presuming High and Low airways, but I've also seen B and am unsure what that is. And also the type column, what is its role in the database ? One more thing, why doesn't the route display on the live map ? I just get straight lines from departure to destination. Cheers Tylor
  22. G'day Kyle, Once again another great addition to my VA Keep up the good work Tylor
  23. Thanks Kyle, Works like a charm. Keep up the great work Tylor
  24. Any word on this project, seems like it's been pretty quiet in this topic for a while now, is it still going ahead or has it been disbanded ?
  25. Thanks Tom, Much better now Tylor
×
×
  • Create New...