PDA

View Full Version : Tmanager3 tradescript statsfix.


Dichotomy
02-19-2005, 04:25 AM
Hello,
we recently discovered that in stats displaying in admin panel, return to trades was calculated improperly. here is statsfix

http://www.geoclips.com/statsfix.zip

download, unpack, upload to your tmanager3 directory.

please do not use those files on versions prior 0.6

please make backups of original files as well before you do any changes!

effect is that in traffic stats return to trades now should show real amount your site kicks out.

:)

Mathew
02-19-2005, 04:34 AM
let's bring formulas to public so that there will be no misunderstandings.

till this fix, return percentage in the top row + return percentage was calculated:

total_sent / total_raw_in * 100

wrong part is that you can only select sent for non special traders (special traders - noref, notrade etc) but total raw in was selected for all traders including special. This is wrong because you don't have to return hits for noref/notrade ins.

now it is calculated

total_sent / total_raw_in (with excluded special trades) * 100

so, now only hits that are owed to trades are taken into account when calculating percentage in admin panel.

And btw, trading formulas were not affected, just the admin panel. So this is not an urgent upgrade.