![]() |
Quote:
My hack does not rely on the VBulletin database so there are the following limitations per default: - 2MB max due to php.ini - 30 secs due to timeout set in php.ini The second limitation can be altered via your php file by adding the following line at the beginning of your php file: PHP Code:
The first limitation can not be altered via script. So you need access to the php.ini file to be able to alter this setting. Cheers, |
Excellent work. Thanks. :)
|
no i mean quotas
quota means a total of allowed diskspace by that user |
Quote:
This is not possible to trace that unless you create something special like: forum/Folder1 for user hugo forum/Folder 2 for user martin in both folders you place the http_upload.php but you have to modify each php file for a specific user. You have to run a command to get the directory size of the specific folder and then calculate what he wants to upload. If the size exceeds a specific size ( which you have to set for each php file individually ( or create one global settings file ) then you block the upload. But this hack does not have a folder management included, does not have usermanagement included, does not have sizing checks included and does not react on specific user accounts. It just reacts on usergroup permissions. Your request would be very specific and it would take some time to develop something like this. But i doubt that this request will become very popular or not ? What is your aim ? What do you want to achieve ? Cheers, |
still waiting for you to add on the file type restriction,Pseudomizer :)
|
Quote:
Cheers, |
Quote:
oops miss that out, sorry! :rolleyes: by the way since u added this new restriction, i can safely mod it into a image hosting module rite? by the way... where are these files uploaded to? |
Quote:
Cheers, |
Quote:
cool, do i need to chmod permission this directory? |
Quote:
yes. The Webserver needs write access to this directory. Some people just go with 777. Cheers, |
All times are GMT. The time now is 11:15 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:
|