I had upgraded this winter from PHPVMS 2.9 to 5.5.
Today I had been notified about by a pilot with a low rank, that he could see also very new schedules meant for higher ranks.
He even did send me a screenshot. I had checked everything and it seemed that all I had created was correct.
After a check of the database, I saw at the fleet table, that there is a rank column and a minimum rank column. And the content is different in them.
Except for changing stuf in the database I do not know where to change that on the website.
Anybody a tip?
For the ranking limitation you have two tables to work with. First is the aircraft and second is the pilot table. In aircraft table u can use any of the table rank columns, so it doesn’t matter if they’re different but use the one that is more correct for your system. And finally, you’ll have to hide those schedules that are assigned to an aircraft with higher rank than the pilot rank. Use the following code inside “foreach” loop in “schedule_results.php” and you should be fine.