freshJet Posted October 14, 2011 Report Share Posted October 14, 2011 What actually happens if you delete a pilot? Does it mess anything up? I haven't removed any with hours yet in case it does something... Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 14, 2011 Moderators Report Share Posted October 14, 2011 When you delete a pilot it removes all their flights / hours pireps etc Quote Link to comment Share on other sites More sharing options...
freshJet Posted October 14, 2011 Author Report Share Posted October 14, 2011 When you delete a pilot it removes all their flights / hours pireps etc So does it affect the statistics etc? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 14, 2011 Moderators Report Share Posted October 14, 2011 Yes i think it does, it will effect the amount of pireps, I have been pondering this for a while now, to delete or just to lock out, i decided to make use of the groups and after the pre defined inactivity the pilots account gets locked out so they cant login or file a pirep. That was all the flights are preserved and should the pilot wish to come back they can pick up from where they left off. Quote Link to comment Share on other sites More sharing options...
freshJet Posted October 14, 2011 Author Report Share Posted October 14, 2011 Yes how do I edit the groups? In the Admin Panel? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 14, 2011 Moderators Report Share Posted October 14, 2011 You need to be using the beta for the groups. Have a look here that should help. http://forum.phpvms.net/topic/5053-rev-v21934-143-gbee20b6-added-automatic-group-add-to-retired-statuses-installer-updates/ Quote Link to comment Share on other sites More sharing options...
freshJet Posted October 14, 2011 Author Report Share Posted October 14, 2011 You need to be using the beta for the groups. Have a look here that should help. http://forum.phpvms.net/topic/5053-rev-v21934-143-gbee20b6-added-automatic-group-add-to-retired-statuses-installer-updates/ I am... Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted October 14, 2011 Administrators Report Share Posted October 14, 2011 If you edit the pilot, there's the option for their group. There are still issues with it Quote Link to comment Share on other sites More sharing options...
Strider Posted October 14, 2011 Report Share Posted October 14, 2011 In reality, you never use a beta as a full working site, just as a test to find the bugs and report them to the coders. Quote Link to comment Share on other sites More sharing options...
freshJet Posted October 14, 2011 Author Report Share Posted October 14, 2011 Something is wrong. I want inactive pilots to be able to access the site, but they still get the annoying message... From local.config.php: Config::Set('PILOT_STATUS_TYPES', array( /* DO NOT CHANGE THIS ACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */ 0 => array( 'name' => 'Active', # The title to show in the dropdown 'message' => '', # Message to show if they can't login (below is false) 'default' => true, # Should this be their default status? 'canlogin' => true, # Are they allowed to log in 'active' => true, # Are they an active pilot? 'autoretire' => true, # Use this status for the auto-retire functionality 'group_add' => array( # ID or name of the group this user is added to with this status 'Active Pilots', ), 'group_remove' => array( # ID or name of the groups this user is removed from with this status 'Inactive Pilots', ), ), /* DO NOT CHANGE THIS INACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */ 1 => array( 'name' => 'Inactive', 'message' => '', 'default' => false, 'canlogin' => true, 'active' => false, 'autoretire' => false, 'group_add' => array( 'Inactive Pilots', ), 'group_remove' => array( 'Active Pilots', ), ), 2 => array( 'name' => 'Banned', 'message' => 'Your account is banned, please contact an admin!', 'default' => false, 'canlogin' => false, 'active' => false, 'autoretire' => false, 'group_add' => array( 'Banned', ), 'group_remove' => array( 'Active Pilots', ), ), 3 => array( 'name' => 'On Leave', 'message' => 'You have been marked as on leave', 'default' => false, 'canlogin' => true, 'active' => true, 'autoretire' => true, 'group_add' => array( 'On Leave', ), 'group_remove' => array( 'Active Pilots', ), ), 4 => array( 'name' => 'Resigned', 'message' => 'You have requested to Resign, To continue your career please contact us', 'default' => false, 'canlogin' => false, 'active' => false, 'autoretire' => false, 'group_add' => array( 'Resigned', ), 'group_remove' => array( 'Active Pilots', ), ), )); Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 14, 2011 Moderators Report Share Posted October 14, 2011 Looking at that code they should not be getting any message as that is blank. Quote Link to comment Share on other sites More sharing options...
freshJet Posted October 14, 2011 Author Report Share Posted October 14, 2011 Exactly... Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 14, 2011 Moderators Report Share Posted October 14, 2011 What message are they getting? Quote Link to comment Share on other sites More sharing options...
freshJet Posted October 14, 2011 Author Report Share Posted October 14, 2011 The default contact HR crap... Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 14, 2011 Moderators Report Share Posted October 14, 2011 Have you edit the code for pilots auth? Simpilot posted a code update for inactive pilots, just check that file as thats where its coming from. Quote Link to comment Share on other sites More sharing options...
freshJet Posted October 14, 2011 Author Report Share Posted October 14, 2011 Have you edit the code for pilots auth? Simpilot posted a code update for inactive pilots, just check that file as thats where its coming from. Link? Quote Link to comment Share on other sites More sharing options...
Strider Posted October 14, 2011 Report Share Posted October 14, 2011 Also make sure the cache is clean. It maybe that the settings were cached, and phpvms is using the cached version. Quote Link to comment Share on other sites More sharing options...
freshJet Posted October 15, 2011 Author Report Share Posted October 15, 2011 Also make sure the cache is clean. It maybe that the settings were cached, and phpvms is using the cached version. And how would one do that? Quote Link to comment Share on other sites More sharing options...
James142 Posted October 15, 2011 Report Share Posted October 15, 2011 And how would one do that? I believe that pressing Ctrl + F5 on the intended page will abandon all cached content and just retrieve all content from the servers again. Im not 100% certain that it will clear the cache though Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted October 16, 2011 Moderators Report Share Posted October 16, 2011 Your cache folder is in the core, or just go to the admin section and clear the cache from there. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.