Jump to content

Recommended Posts

Posted

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);

Posted

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

}

?>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...