Loading...
 
Skip to main content

Features / Usability


User Files Quotas, Setting Differently for Admin and Other Users

Hello,

As the Admin of my site, I will need to upload some big audio files (say, 8-12 megs), but I really don't want to allot registered users a huge amount of space. So can administrators allot themselves a very large "user files quota" but not extend the same amount to others? If so, how can I do that? Also, isn't there someplace in admin where you can set the maximum size for any one file that you are uploading? Thanks in advance.

> Hello,
>
> As the Admin of my site, I will need to upload some big audio files (say, 8-12 megs), but I really don't want to allot registered users a huge amount of space. So can administrators allot themselves a very large "user files quota" but not extend the same amount to others? If so, how can I do that? Also, isn't there someplace in admin where you can set the maximum size for any one file that you are uploading? Thanks in advance.

Okay, I went over the full pdf documentation file available here on the tiki site, and found that there is some good stuff on uploading big files. The thing is, you can either store the file gallery uploads in the database, or you can store it in a directory of your choosing. As the documentation author explains, there are advantages and disadvantages to both choices. If you go with the database, you have to make a few coding changes (see pages 272 and following on file gallery matters) to make that possible. If you go with the directory option, file size shouldn't be a problem if your server has lots of room anyway (ArteryPlanet's biz program allots me 2 gigs), but you have to learn how to configure the directory properly. Again, the documentation explains this better than I can, so please have a look if you're interested.

> RecipeBigUploads also
>
> Damian
> http://tikihost.netQuestion
>

Okay, thanks--that helps. I'll just add this paragraph from some PhP MyAdmin documentation I've just been looking over at CPanel; maybe someone will find it useful:

"1.16 I cannot upload big dump files (memory, http or timeout problems).
The first things to check (or ask your host provider to check) are the values of upload_max_filesize, memory_limit and post_max_size in the php.ini configuration file. All of these three settings limit the maximum size of data that can be submitted and handled by PHP. One user also said that post_max_size and memory_limit need to be larger than upload_max_filesize. If you get a timeout problem, look at the $cfg'UploadDir' feature."