![]() |
how about keeping it as KB, like 2000KB, that might work, i'll try and mod it myself and post it if it works
|
:classic:
|
i've just tried to install it normally on my vb 3.0.1 board and it doesn't work cause in postbit_attachment there is no reference of $attachment[filesize] bytes. If i leave this field blank or add it in afterwards the attachments in my board come up as 0.00KB
|
i got this to work but can't upload attachments bigger than 1MB at the moment. I should have this figurered out later today
|
any word?
|
i got it to work for seconds, e.g.
size: 1.65 MB, download time: 216.63 sec, 2 views now trying minutes. If needed i'll try hours also. |
Quote:
|
I've changed when it regisiters the format from Kb to MB to 800000. And i've taken out the code for minutes cause there's something wrong with it. I've also added @ 64 Kbps at the end. If you don't want it for the timing of a 64Kb connection just change 64000 to whatever you want.
$attachment[time] = round(($attachment[filesize] * 8)/64000,2); if ($attachment[filesize] > 800000) { $attachment[filesize] = round(($attachment[filesize]/1024)/1024,2); $attachment[filesize] = "$attachment[filesize] MB"; } else { $attachment[filesize] = round($attachment[filesize]/1024,2); $attachment[filesize] = "$attachment[filesize] kB"; } { $attachment[downtime] = "size: $attachment[filesize], download time: $attachment[time] secconds @ 64 Kbps"; } |
Quote:
|
yes and also change the template is in the first post
|
All times are GMT. The time now is 07:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|