Quote:
Originally Posted by Sadie Frost
Is this interacting with total posts on the profile for anyone else? If I comment out this hack's code in member.php, it works fine, otherwise I get like post counts of 5 for members with thousands.
|
Not quite sure of what the problem could be but try replacing:
PHP Code:
$userinfo['posts'] = intval ( $userinfo['posts'] ) ;
$_activeperc = round ( ( ( $_activeposts / $userinfo['posts'] ) * 100 ), 2 ) . "%" ;
with:
PHP Code:
$userinfo['rposts'] = intval ( $userinfo['posts'] ) ;
$_activeperc = round ( ( ( $_activeposts / $userinfo['rposts'] ) * 100 ), 2 ) . "%" ;
Regards,
g-force2k2