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.
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.
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
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.
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.
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.
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.
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.
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.