The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Attachment Size on Usergroup
Asked about this at VB.com, they said try here.
I'm looking for a hack that would allow me to configure custom upload sizes through the ACP. For example, I want to be able to upload files up to 10 meg, but I only want admins to be able to use this option. Any thoughts? |
#2
|
|||
|
|||
I can't be the only person who would want this hack....
|
#3
|
||||
|
||||
I'd like to have it, but I just don't have the time to create this hack. This would certainly become the *Hack of the Month*, easily...
|
#4
|
|||
|
|||
isn't there something like this allready in the acp?
|
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
Quote:
At the moment, we can say that a jpg can be a maximum size, but it is a global thing, not configurable per usergroup. It would be an ultra simple hack, if that was what he was asking for... |
#7
|
|||
|
|||
The maximum size allowable will be dictated by PHP, through the .ini settings for
upload_max_filesize post_max_size One could retrieve these values, take the minimum of the two, and call this the "max allowable size". Then, in the function process_upload (functions_file.php), the line: $maxattachsize = $attachtypes["$extension"]['size']; could be changed to use this "max allowable size" for any upload if the user is a member of one the privileged groups. |
#8
|
|||
|
|||
Either way, like Log sad. Would have tyo own a dedicated server to do this.
|
#9
|
||||
|
||||
Quote:
(Also, I am intrigued by your banner...what is Wed Design?) |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|