Jump to content

Parkho

Moderators
  • Posts

    1375
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Parkho

  1. Is this corrected when you roll back to what it was? If yes then the new code causes the issue if not look at you DB table and see what data you have there.
  2. We would much appreciate it if you "roll up your sleeves" and get it done and perhaps share it with everyone here. :D
  3. That's right and thanks for pointing that out. In fact, I wouldn't suggest modifying any default functions since they are used in different sections. Instead, I would suggest creating a class with a specific function to fetch what's needed.
  4. The reason is that the function you're using to get 10 items is not actually fetching data since it's not set to do so. Open PIREPData.class.php in common folder and look for the following: public static function getAllReportsForPilot($pilotid) { return self::findPIREPS(array('p.pilotid' => $pilotid)); } And change it to: public static function getAllReportsForPilot($pilotid) { return self::findPIREPS(array('p.pilotid' => $pilotid), 10); } I haven't tested this so I wouldn't know if it's working. Cheers
  5. You need to make sure where it's getting data from.
  6. Are you using a module for your fleet page or using the default?
  7. You'll need to change the limit in the query results in your common file inside the function or implement pagination.
  8. You can't change the ACARS client refresh time but you can change the default live map refresh time to 1 minute in local.config.php. Config::Set('ACARS_LIVE_TIME', 720); Default number is 720 minutes which you can change to 1 minute if you haven't already done that.
  9. If you're using a module other than the default then you'll have to modify the result's page for that module.
  10. I have updated the SQL file provided although I'm pretty sure that file didn't have any issues but just in case. Please re download SQL file at Github.
  11. If you have previously installed V2's table you need to drop that table first before importing the new one.
  12. That's doable but not in default coding. If you want that you'll have to either pay someone to write the code for you or just wait till it'll come up for free or perhaps, roll up your sleeves and get to code it yourself.
  13. Rank ID is the same as Rank Level in pilot's table but with different names. Also, your pilots should have the same number for both rank id and rank level in pilot's table. These numbers are just the id of the rank in your ranks table. The reason is that in coding sometimes we use rank id and sometimes rank level depending on what we want to achieve. example is that in pilot profile we show rank id and its image but inside a function we fetch pilot's rank level to restrict access to something like bidding on a flight.
  14. Looks like the recaptcha has been bypassed by the script somehow.Security layers would be a good solution but only if you have the knowledge to apply it.
  15. The new 5.5 will give you some issues for sure but it won't be major and you'll have to get rid of them one by one. The blank email is for the time that you need to write something to them not using the templates.
  16. There's been an update. Please download "pilot_information.php" at Github and replace it with the existing one.
  17. I found it. The solution is Firefox and its add-on Phony. Just install Phony and open it and choose desktop view and you're done
  18. Okay, Disable that to see if it changes the situation.
  19. I have tried everything and have used 4 different browsers but they're all the same. It must be something in HOST settings.
×
×
  • Create New...