Administrators Nabeel Posted April 28, 2011 Administrators Report Posted April 28, 2011 Changed Files: m core/app.config.php m core/common/PilotData.class.php m core/common/PilotGroups.class.php m install/fixtures/install.sql m install/fixtures/update.sql m install/includes/Installer.class.php m install/update.php m unittest/Tests/UserTest.php added automatic group add to retired statuses, installer updates View complete changes Download from here
Administrators Nabeel Posted April 28, 2011 Author Administrators Report Posted April 28, 2011 Status types has been expanded a bit: 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' => false, # 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', ), ), // etc ));
Administrators Nabeel Posted April 28, 2011 Author Administrators Report Posted April 28, 2011 Just bumping this one up since it's the more recent
Recommended Posts