Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. You can create a tpl file and get it in your module function using "Template::get('/xxxx.tpl')". Inside your template you can write any texts using "<p></p>" tag.
  2. MainController::run() command needs 2 variables and a number to return the results. Yours had only one variable. Pfinance is the first which is the module file now the second one is the functions inside the module like index...etc, so index would be a function inside the module file "PFinance" in this case number doesn't really matter, so you could put any numbers.
  3. Try this: <?php MainController::Run('Pfinance','index', 2) ;?>
  4. Try kACARS free. That's the best ever.
  5. Parkho

    Error

    Actually, I get this all the time regardless of a click or double click.
  6. It's not that complicated as long as you know what you want. If you want the results for each flight individually, you can use the pirep gross and revenue variable and basically show them in a table for a particular pilot. If you want to show the costs for each flight then you'll have to go deeper and pull some more data out using expenses and finance tables. If you need to calculate the fuel cost you can multiply the fuel burned by the fuel cost and get that data. it really depends on what you want to do.
  7. Well. If you want me to create a module for you then it'll cost you but if you wanna start the module yourself then I'll help you out finishing it.
  8. Parkho

    Error

    Hi, Any body knows what this error is? I get it when I hit accept button in pireps. Thanks
  9. Some how those schedules haven't been updated on pirep submission. Change "bidid" column in schedules table for those routes from "1" to "0".
  10. The same website as FSPAX on the left navigation panel click on "MORE DOWNLOADS" and change the search method from "All" to "pay load" and write in the next box "737" it'll come up.
  11. Yep. Works like a charm, thanks
  12. Yes, but if you want you can use the demo version for free but you'll be restricted to fly from one airport only. BTW, you'll need to actually fly with the aircraft in FSPAX before you can actually pull that data out.
  13. I would suggest FSPAX and Wikipedia. Sorry for m the mistype. After all, English is my second language.
  14. Okay. I implemented the code and echoed $title but nothing showed up. BTW, I had to change " $xml->pirep->log " to " $pirep->log " since I used it in PIREP details in admin view reports. Please tell me where I'm wrong. Thanks
  15. Thanks a lot. I'll give it a shot to see what will happen.
  16. That's correct but is there a way to pull that aircraft from the recorded flight like the below log line?
  17. I want to get the aircraft used in kACARS client and insert it into PIREPS table aircraft column or basically update the aircraft column of PIREPS table.
  18. Thanks. What i meant was for kACARS client and its aircraft variable.
  19. Can you be more specific please. Thanks
  20. Hello there, I'm trying to insert the aircraft used in flight into PIREPS table. I was wondering what would be the xml variable for aircraft in kACARS. Thanks
  21. One good and accurate source is FSPassengers X where you can find all the data but only after you have flown with the a/c. Also, Wikipedia is another source where you can find those data. good luck.
  22. Sorry. I forgot to add the sql file. Please refer to github and download the sql then import it into your database. Thanks
  23. If you have knowledge of php and want to create a module with above description, you need to start developing and we will tag along and help you out finishing it if you get stock. If you want someone to do this for you then you'll need to ask this in "Paid Services" section and you'll receives bids on it and perhaps you decide witch one you wanna go with. Good Luck
  24. I would suggest you export your table as CVS then edit it and truncate your table and upload the new one. Make back up first. Good luck.
×
×
  • Create New...