Jump to content

Nabeel

Administrators
  • Posts

    8149
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Interesting, I tested on a windows server for a while. I don't see it up yet, but I'll keep checking it to see if I can spot the error. If you do see it, if you can copy/paste the whole thing here that'd be great.ThanksNabeel
  2. Do you have a rank titled 'New Hire' with 0 hours?
  3. Did you turn error reporting off? That link is blank.
  4. Those should be in the core/classes folder.Download the complete copy and re-upload I guess. Let me know.
  5. I think you do need execute permissions since the scripts are executed. Might as well try 775.Also, try turning on error reporting in your server/php.ini file (display_errors=on), as well has error_reporting=E_ALL.Blank page usually indicates some sort of parse error.
  6. Do you have PHP 5?
  7. Actually, fields will be this now: public function GetFieldValue($pilotid, $fieldname) IE: $value = PilotData::GetFieldValue($pilotid, 'VATSIM ID');
  8. His patch yes, it makes it clearer on how to do it. I'll leave it in to do that way.
  9. You'd write it as a module, so yeah, it would be just dropping it into the modules directory
  10. Hi Lotus! I was thinking of doing a fleet manager, but cut it for now since I wanted to get this done. May come back... or you can write your own
  11. They've been commited, with FSACARS being partially working. Thanks!
  12. Yeah thanks, I'm changing how some of this works to (hopefully) make it easier.
  13. Yep that one. Add me on yahoo, nabby86@yahoo.com, I do need some people for help with testing I'll include docs, and it'll generate the proper settings .ini file for use.
  14. Thanks, I've added the first patch. For the second one, I've changed how that works a bit, I just merged the fields into the main array. It's not in SVN yet, I'll commit tonight maybe, I'm adding in FSACARS support.Thanks!
  15. They don't all look the same. It's a default template. You have to change the template. Check out some of these:http://www.flyeurobelgian.com/http://ceruleanairlines.com/A few more also in the works that look really nice.The way it looks is upto you, and the amount of effort you put in. Any software you run will have default templates, look at wordpress, phpbb, etc, just like with any of those you need to put in the time to customize it, and the way phpVMS works is the same as those, in terms of templating. If you wanna have a good VA, that's what you gotta do.Each page has its own templates, and there is a master header/footer which you customize. Customizing the page templates is also very easy, and you don't touch any PHP.
  16. What are the error?First the table headers should be out of the loop: <center><h2>Recent Arrivals</h2><?phpif(!$reports){echo 'No reports have been filed';return;}echo "<table border="0.2" width="60%"><tr><td align="center"><b>Fl. Number</b></td><td align="center"><b>Pilot Name</b></td><td align="center"><b>From</b></td><td align="center"><b>To</b></td><td align="center"><b>Aircraft</b></td><td align="center"><b>Status</b></td></tr>";foreach($reports as $report){echo "<tr><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->code $report->flightnum </td><td bgcolor=#EBEEEF width=10% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->firstname $report->lastname</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->depicao</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->arricao</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->aircraft</td><td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>Landed</td></tr>";}echo '</table>';?></center>
  17. Or, instead of creating schedules, you can manually edit the pilot's hours after they tell you. But schedules would be the best way.You can't really delete schedules (I think, I'll have to check) because the PIREPs are tied to them. I'm reorganizing a few of these things, so it may be possible again. The first time around I may have made things a little too strict in terms of that way.
  18. Well you can create a schedule then, direct the pilot to the flight number, place the booking and then PIREP it, and then disable that schedule aftewards. I guess that's the workaround I would suggest for now.
  19. Hey,That means that http://www.geonames.org/ doesn't have any info on em'. Wah :mrgreen: Regarding your other post - unfortunately, you have to have a schedule. Since PIREPs etc are based on having that.
  20. LOL no problem, it's what happens when I'm too close to my code... "oh you can do that...".But if you want to tackle it, I will help! No worries there. Nothing can get in the way of a man with a plan.
  21. Well you can create such a module - You list the flights, they select the flight, and then place a bid. That flight is placed on a "bid board", where another pilot can bid on it. The pilot who wins it, can have the PIREP prefiled with PIREP_INPROGRESS flag, or it can be added as a bid to the existing bidding functionality. Then when it's been flown, they can file it.But yes, a module to do such a thing is possible, quite easily
  22. Per route? Or just globally?If you open route_map.tpl there's some of the maps code in there.
  23. What was the problem?
  24. So nothing is imported?Are the airlines you use added (in this case UAL as the "code")? What about the aircraft (the aircraft name needs to match the name in the CSV).I don't think the size is too large, but try splitting it into 3/4 files. Or try maybe one file with about 10 plans in the CSV and see if that works first. Admittedly, I didn't try with anything more than about 15kb.Let me know about those, and then we can investigate further from there.
  25. This error's been fixed. Problem was legs numbered 0. Fix will be included in next update :mrgreen:
×
×
  • Create New...