coryb12 Posted January 6, 2010 Report Posted January 6, 2010 Hi. I noticed in the 2.0 release that even though "USE TRANSFER HOURS IN RANK CALCULATION" is true, it is not using my transfer hours in the rank calculation. Thanks! Quote
CPC900 Posted January 6, 2010 Report Posted January 6, 2010 You need to add this line to your "local.config.php" file: Config::Set('TRANSFER_HOURS_IN_RANKS', true); Quote
Administrators Nabeel Posted January 7, 2010 Administrators Report Posted January 7, 2010 Did you do a recalculate in the ranks section of the admin panel? Quote
coryb12 Posted January 8, 2010 Author Report Posted January 8, 2010 Man, can't beleive I didn't think of that! It does show the proper rank, but on my profile page, it shows only the hours I've logged with my va, not transfer hours. Quote
CPC900 Posted January 8, 2010 Report Posted January 8, 2010 Actually, it should show all hours; at least, mine does. ??? Quote
coryb12 Posted January 9, 2010 Author Report Posted January 9, 2010 Yes, something is wrong with it because it uses the transfer hours in the rank, but not in total hours Quote
Administrators Nabeel Posted January 9, 2010 Administrators Report Posted January 9, 2010 Yes, something is wrong with it because it uses the transfer hours in the rank, but not in total hours Can you give some examples/number? Do you mean the VA total hours? It will only count pirep hours, not transfer Quote
coryb12 Posted January 11, 2010 Author Report Posted January 11, 2010 Hours logged with the VA - 4.43 hours Transfer hours - 232 hours Shows the correct rank of Senior Captain, says I have only 4.43 hours on my Profile page, but says I have 236.43 hours under the hours column in the roster. Quote
Administrators Nabeel Posted January 11, 2010 Administrators Report Posted January 11, 2010 So it should say the 4.43? That's an error on my template:; http://bugs.phpvms.net/browser/trunk/core/templates/pilots_list.tpl#L48 Line 48: It's: <td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> Make it: <td><?php echo $pilot->totalhours; ?></td> Quote
coryb12 Posted January 14, 2010 Author Report Posted January 14, 2010 Sorry, I didn't say what I wanted. I want it to say the total hours, including transfer hours, on the profile page, just like on the roster. Quote
CPC900 Posted January 14, 2010 Report Posted January 14, 2010 Nabeel, is it at all possible to add a "transfer flights" option as well, to keep the amount of flights set to old stats. The same way the "transfer hours" works.....I might have asked this already, sorry. Quote
Administrators Nabeel Posted January 14, 2010 Administrators Report Posted January 14, 2010 Perhaps in the next version, yes Quote
shiljo Posted January 16, 2010 Report Posted January 16, 2010 My ranks works normally until today, i recently joined vaCentral, does is got something to do with it...It all worked fine, just changed to true under local config, but now i found local config again setted to false, does vacentral do simething to that ? Quote
shiljo Posted January 16, 2010 Report Posted January 16, 2010 After reseting ranks via admin panel, all ok 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.