Administrators Nabeel Posted January 5, 2010 Administrators Report Posted January 5, 2010 App.config.php, copy it into local.config.php I think its PILOT_AUTO_RETIRE, something like that Quote
davehardy Posted January 5, 2010 Author Report 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
davehardy Posted January 5, 2010 Author Report 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
Administrators Nabeel Posted January 5, 2010 Administrators Report Posted January 5, 2010 Are you copying the code from the default template? Quote
davehardy Posted January 5, 2010 Author Report Posted January 5, 2010 yeah, tried opening the tpl and got an error saying no module Quote
Administrators Nabeel Posted January 5, 2010 Administrators Report Posted January 5, 2010 http://bugs.phpvms.net/browser/trunk/core/templates/frontpage_main.tpl line 19 onwards Quote
davehardy Posted January 5, 2010 Author Report Posted January 5, 2010 nice fixed thanks again Nabeel this release is awesome Quote
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.