Jump to content

Nabeel

Administrators
  • Posts

    8141
  • Joined

  • Last visited

  • Days Won

    38

Everything posted by Nabeel

  1. His patch yes, it makes it clearer on how to do it. I'll leave it in to do that way.
  2. You'd write it as a module, so yeah, it would be just dropping it into the modules directory
  3. 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
  4. They've been commited, with FSACARS being partially working. Thanks!
  5. Yeah thanks, I'm changing how some of this works to (hopefully) make it easier.
  6. 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.
  7. 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!
  8. 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.
  9. 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>
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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
  15. Per route? Or just globally?If you open route_map.tpl there's some of the maps code in there.
  16. 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.
  17. This error's been fixed. Problem was legs numbered 0. Fix will be included in next update :mrgreen:
  18. Can you first download the latest copy and upload your common/class/modules folder in the core folder (except for that registration module).
  19. just to note his template was modified and the submit button was wrong.there seems to be some other problem with IE though.I'm going to look into it.I've fixed a few other bugs for the upcoming update though.
  20. Create a rank called "New Hire" with 0 hours.
  21. Haha no man, sorry, been really busy.Working on a few other things, but I will hopefully update some more code this weekend.
  22. Well you'll loose it once that person submits a PIREP. And it could, if you don't use the exact rank name. It's linked in that way.
  23. I'm looking into those. Just been a little busy, fasting isn't helping much either lol.It's not deleted, it's kept so then if that user tries to register again it's rejected. I'm making some changes though, when they're refused it's deleted.
  24. The rank is controlled by hours, so you could change their hours and force it. But otherwise no, because when a PIREP is filed, the rank is recalculated according to the hours.BTW I left a message in the other thread, about the registration not working. You need a rank called "New Hire" with 0 hours. I'm going to fix that for the next update, but for now that's the work around.
×
×
  • Create New...