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

Look at picture:

   

Percent of total posts is incorrect.
MyBB 1.4.5 after upgrade from 1.4.4.
[Image: moderator-btn.png]
#2
the solution is simple (perhaps devs were sleepy? ;D)
open /admin/modules/user/users.php
find
Code:
$percent_posts = round($memprofile['postnum']*100/$posts, 2);
replace with
Code:
$percent_posts = round($user['postnum']*100/$posts, 2);
and voila Smile
#3
I can reproduce this. The fix works fine for me as well.
[Image: 01686afternoonshadows10.png]
#4
The fix above should be suitable.
#5
I agree with the fix - It should work fine
#6
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
#7
thanks for the fix


Forum Jump:


Users browsing this thread: 1 Guest(s)