Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Percent of total posts [R] [C-StefanT]

Look at picture:


Percent of total posts is incorrect.
MyBB 1.4.5 after upgrade from 1.4.4.
[Image: moderator-btn.png]
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.
[Image: 01686afternoonshadows10.png]
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

Forum Jump:

Users browsing this thread: 1 Guest(s)