MyBB Community Forums
[F] Percent of total posts [R] [C-StefanT] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.6 (https://community.mybb.com/forum-116.html)
+------ Thread: [F] Percent of total posts [R] [C-StefanT] (/thread-49111.html)



[F] Percent of total posts [R] [C-StefanT] - DamYan - 2009-04-30

Hello

Look at picture:

   

Percent of total posts is incorrect.
MyBB 1.4.5 after upgrade from 1.4.4.


RE: Percent of total posts - marines - 2009-04-30

the solution is simple (perhaps devs were sleepy? ;D)
open /admin/modules/user/users.php
find
$percent_posts = round($memprofile['postnum']*100/$posts, 2);
replace with
$percent_posts = round($user['postnum']*100/$posts, 2);
and voila Smile


RE: Percent of total posts [R] - sayakb - 2009-05-02

I can reproduce this. The fix works fine for me as well.


RE: Percent of total posts [R] - Imad Jomaa - 2009-05-02

The fix above should be suitable.


RE: Percent of total posts [R] - Ryan Gordon - 2009-05-07

I agree with the fix - It should work fine


[F] Percent of total posts [R] - Tomm M - 2009-05-08

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


RE: [F] Percent of total posts [R] - Technoman - 2009-05-13

thanks for the fix