Quote:
Originally posted by webhost
ok then so to get the numbers to match up, I need to change the numbers below.
PHP Code:
$personal= 3*$userinfo[posts]+2$personal0[personalviews];
edit this code,you can figure your own,like:
$personal= $userinfo[posts]+$personal0[personalviews];
or:
$personal= 1/2*$userinfo[posts]+$personal0[personalviews];
|
the reason you are getting numbers that don't match is because of the "$personal= 2*$userinfo[posts]+$personal0[personalviews]; "
what it is doing is multiplying the number of posts a person has made .. and then adding it to the number of views their threads have had. So I think if you wanted to get the same number of views for your user totals and the board total.. you would change "$personal= 2*$userinfo[posts]+$personal0[personalviews]; " to "$personal= $personal0[personalviews]"
But, I am not a vB guru or anything.. just going by what I see in the code and applying some common sense,