|
[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 ------------- German MyBB-Site MyBBoard.de Get the german languagepack here |
|||
|
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. MyBB is on Facebook and Twitter |
|||
|
07-23-2008, 12:52 PM
Post: #3
|
|||
|
|||
|
RE: [F] Estimated Attachment Bandwidth Usage
Duplicated?
http://community.mybboard.net/thread-33919.html MyBBCoder | German Mod-Community ![]()
|
|||
|
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).
MyBBCoder | German Mod-Community ![]()
|
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help



![[Image: 12184hg0.png]](http://img263.imageshack.us/img263/2661/12184hg0.png)
![[Image: 15735gc4.png]](http://img255.imageshack.us/img255/2901/15735gc4.png)
