1
zubaa
Download extensions
  • 2004/5/15 0:32

  • zubaa

  • Just popping in

  • Posts: 41

  • Since: 2004/5/15


This is probably a dumb question but I'm a newbie to all this. In the download area of your site where you submit a download how do you change bytes to KB or megabytes?
Thanks for any help you can give

2
zubaa
Re: Download size
  • 2004/5/23 7:39

  • zubaa

  • Just popping in

  • Posts: 41

  • Since: 2004/5/15


I also noticed that xoops.org has different extensions in downloads also. Can anyone tell me how to do this also?

3
limecity
Re: Download size
  • 2004/5/23 7:53

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Different extensions in download?

Give some example of the different extentions..

4
zubaa
Re: Download size
  • 2004/5/27 7:07

  • zubaa

  • Just popping in

  • Posts: 41

  • Since: 2004/5/15


for eg. in my download area on my site when I submit a download and it comes up it has "xxx" bytes. I want to change "bytes" to KB or MB.

Thanks,
zubba

5
Herko
Re: Download size
  • 2004/5/27 7:12

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


When you submit a download, it uses the amount of bytes to calculate the size in bytes, kb or mb, whichever is appropriate. So it does this automatically.

Herko

6
Mithrandir
Re: Download size

Not quite, Herko.

When you submit a download, you are asked to specify the file size. Could be good with a selection of

file size: _____ []Bytes []KB []MB

Or something

7
Herko
Re: Download size
  • 2004/5/27 10:04

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Then you round the numbers yourself, while if you use the bytes of a file, the module rounds it for you (try and add a file size of 100.000 bytes, it's not 100kb).

Herko

Login

Who's Online

670 user(s) are online (184 user(s) are browsing Support Forums)


Members: 0


Guests: 670


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits