davehardy Posted January 5, 2010 Report Share Posted January 5, 2010 Where do i find this?? Cheers Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 5, 2010 Administrators Report Share Posted January 5, 2010 App.config.php, copy it into local.config.php I think its PILOT_AUTO_RETIRE, something like that Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 5, 2010 Author Report Share Posted January 5, 2010 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); Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 5, 2010 Author Report Share Posted January 5, 2010 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 } ?> Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 5, 2010 Administrators Report Share Posted January 5, 2010 Are you copying the code from the default template? Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 5, 2010 Author Report Share Posted January 5, 2010 yeah, tried opening the tpl and got an error saying no module Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 5, 2010 Administrators Report Share Posted January 5, 2010 http://bugs.phpvms.net/browser/trunk/core/templates/frontpage_main.tpl line 19 onwards Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 5, 2010 Author Report Share Posted January 5, 2010 aah will try that Quote Link to comment Share on other sites More sharing options...
davehardy Posted January 5, 2010 Author Report Share Posted January 5, 2010 nice fixed thanks again Nabeel this release is awesome 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.