
CPC900
Members-
Posts
621 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by CPC900
-
Out of curiosity....do the beta's have to be installed incrementally or can you just grab the last one?!
-
Yeah, I get the same problem. Pics are uploaded to server, but don't show up in pirep. I believe my FTP setings are correct?!
-
I used this after MANY trials and errors. It was the "($pilot->pilotid, 1, PIREP_ACCEPTED);" part that was catching me. I know it seems dumb now that I was having a real bottleneck there. Thanks for help! <td><?php $last_location = PIREPData::getLastReports($pilot->pilotid, 1, PIREP_ACCEPTED); echo $last_location->arricao; ?></td>
-
Forgive my lack of knowledge, but I don't get it!? What would be the correct variable replacement?
-
Thanks Nabeel!! I had some trouble grasping that one. I have never claimed to be that smart! ;D
-
Nabeel, one thing I haven't got to work is the images from FSFK. It logs the flight fine and all else seems to be set up correctly, but I have yet to see a pic!?
-
Ok, here is what I have. It only shows the Hub of the pilot. What am I missing?! I am a bit slow on this one. :-[ <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>Last Location</th> </tr> </thead> <tbody> <?php foreach($allpilots as $pilot) { ?> <tr> <td width="20%" 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 align=center><?php if(!$report) { echo $pilot->hub ; } ?> <?php echo $report->arricao ; ?> </td> <?php } ?> </tbody> </table>
-
http://forum.phpvms.net/index.php?topic=243.msg4915#msg4915 I am pretty sure you are referring to this thread, but I sill can't get it to display correctly. I want to add this function to my "pilots_list.tpl"?!
-
I saw the code for showing where the aircraft last landed at, but not the pilots last arricao?! I will look again......
-
I get this error when I click on the link to the flight/: Warning: Invalid argument supplied for foreach() in /home/woodsdom/public_html/EPA/lib/skins/epa/schedule_details.tpl on line 24 Linke 24 is this: foreach($scheddata as $month=>$count) or the full section for you: <?php $data = array(); $labels = array(); foreach($scheddata as $month=>$count) { $data[] = $count; $labels[] = $month; } $chart = new ChartGraph('gchart', 'ls', 600, 150); $chart->AddData($data, $labels); echo '<img align="center" src="'.$chart->GenerateGraph().'" />'; ?>
-
Sorry for beating a dead horse, but...... I was wrong about Faraz's code. It only ends up showing the Hub that the pilot belongs to. Is there a way to add the Last airport the pilot landed at?? Did this get added, or no?? Sorry to ask again.
-
Save your template file,"VA-Template.txt", into your "My Documents/FS Flight Keeper/Templates/" folder. Not into your "/Program Files/FS Flight Keeper/Templates/". Hope this helps.....it did for me. Joeri hit enter at the same time I did, looks like...only I type a lot slower!
-
Not sure you have the option in that version. I am running 2.0.854 and it is in the Admin Menu, Airline Operations, Exort Schedules.
-
I noticed in the SQL database, that under active pilots, it showed a value of "2010" under pilots who have flown a flight. Ones who haven't had a "0". Is that normal or should they all be "0"??
-
I have NO idea. I will have to keep looking, I guess. Will let you know if I can figure it out.
-
Ok, I am still having a problem with this. The map thing is fine but the distance it shows is way off. The co-ordinates for the airports are all set and I recalculated distances etc. Now on a flight from CYEG to CYVR, the picture on the map shows the A and D in the right place, but on the text underneath the map states: Distance/Time Remaining 61,657mi/19:207 This flight is like 284.32 total distance with a flight time of 1.25 hours. What is missing here?! I can't figure it out!?
-
Nabeel, is it at all possible to add a "transfer flights" option as well, to keep the amount of flights set to old stats. The same way the "transfer hours" works.....I might have asked this already, sorry.
-
Yes Ray, my condolences. Take care.
-
Just to make sure.....you put the VA-template.txt file in your "/documents/FS Flight Keeper/Templates/", not your "/Program Files/FS Flight Keeper/Templates/" folder. That is what I did, at least. Not sure if that helps or not, but it did for me.
-
The install docs from phpvms are good: http://docs.phpvms.net/using_fsfk#using_fs_flight_keeper
-
I agree. FSFK is the LAST program I load up in the long list of programs I use with FSX.
-
Ok Nabeel, just so I understand......the time it shows in the Pilot Center is correct; 1.32 hours. Which is 1 hour and 32 minutes. Now, the pie chart comes up with a value of .92! Now I can see where 1 hour(60 mins) + 32mins makes 1.32 hours.......but why does the pie chart show it like a 100 minute clock value of 0.92!? I have only used ONE aircraft so far, so should it not also show 1.32 in the pie chart?! Or is there some setting I need to change?! Also, I have no idea where that code would go, that you mentioned, sorry.