MyBB Community Forums

Full Version: [F] Percent of total posts [R] [C-StefanT]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Look at picture:


Percent of total posts is incorrect.
MyBB 1.4.5 after upgrade from 1.4.4.
the solution is simple (perhaps devs were sleepy? ;D)
open /admin/modules/user/users.php
$percent_posts = round($memprofile['postnum']*100/$posts, 2);
replace with
$percent_posts = round($user['postnum']*100/$posts, 2);
and voila Smile
I can reproduce this. The fix works fine for me as well.
The fix above should be suitable.
I agree with the fix - It should work fine
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
thanks for the fix