|
[F] Estimated Attachment Bandwidth Usage
|
|
07-22-2008, 03:15 PM
Post: #1
|
|||
|
|||
|
[F] Estimated Attachment Bandwidth Usage
I looked into the stats on the system health page in the Admin-CP. There I found the following info:
I think the following line in admin/modules/tools/system_health.php PHP Code: $table->construct_cell(get_friendly_size(round($attachs['spaceused']*$attachs['downloadsused'])), array('width' => '25%')); PHP Code: $table->construct_cell(get_friendly_size(round($attachs['spaceused']/$attachs['numattachs']*$attachs['downloadsused'])), array('width' => '25%')); Greets, Michael -------------
|
|||
|
07-23-2008, 07:40 AM
Post: #2
|
|||
|
|||
|
[F] Estimated Attachment Bandwidth Usage
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. Dennis Tsang :: MyBB Developer Follow me on Twitter: @dennistt |
|||
|
07-23-2008, 12:52 PM
Post: #3
|
|||
|
|||
|
RE: [F] Estimated Attachment Bandwidth Usage
Duplicated?
http://community.mybboard.net/thread-33919.html |
|||
|
07-24-2008, 02:39 AM
Post: #4
|
|||
|
|||
|
RE: [F] Estimated Attachment Bandwidth Usage
Not at home so can't check what's been committed, but I personally think my change was a little more accurate, as the above only gets the average attachment size, and multiplies it by the number of times all attachments have been downloaded (so will be warped if a big attachment is downloaded many times).
|
|||
|
07-24-2008, 08:20 AM
Post: #5
|
|||
|
|||
|
RE: [F] Estimated Attachment Bandwidth Usage
I also think, that your change is better (and it is as simple as this fix).
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)
Search
Member List
Calendar
Help

![[Image: donation_drive_sig.png]](http://mybboard.net/assets/images/donation_drive_sig.png)


![[Image: banner.png]](http://files.mybb-forum.de/images/banner.png)
