Pilot auto-retire option?

Where do i find this??

Cheers

App.config.php, copy it into local.config.php

I think its PILOT_AUTO_RETIRE, something like that

Thought this would be an option we could set in the admin, how do i check its working once ive set it?

After how long to mark a pilot inactive, in days

Config::Set(‘PILOT_AUTO_RETIRE’, true);

Config::Set(‘PILOT_INACTIVE_TIME’, 90);

Got this error when i tried adding active pilots to the front site.

Whos Online

Warning: Invalid argument supplied for foreach() in /home/easternv/public_html/eva/lib/skins/eva/frontpage_recentpilots.tpl on line 3

…

Your code

<?php

foreach($pilots as $pilot)

{

?>

<p><a href=“<?php echo url(‘/profile/view/’.$pilot->pilotid);?>”><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ’ ’ .$pilot->firstname . ’ ’ . $pilot->lastname?></a></p>

<?php

}

?>

Are you copying the code from the default template?

yeah, tried opening the tpl and got an error saying no module

http://bugs.phpvms.net/browser/trunk/core/templates/frontpage_main.tpl

line 19 onwards

aah will try that

nice fixed thanks again Nabeel this release is awesome