miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Attach Files:number of upload boxes

Author Bluesplayer
Registered
#1 | Posted: 6 Apr 2014 11:21 
I have messed with the fileupload_options file as I would like to allow 16 images per post but only show 4 upload boxes with the 'expand' link to show the rest if need be. I have these settings ...

$uploadForums[$forum]=16
$maxUploadBoxes=20
$jsUploadFields=4

I get the full 16 upload boxes though on the above and not the 4 plus an expand link.

Have I missed something?

Author Jaime
Registered
#2 | Posted: 6 Apr 2014 17:43 
Hi Bluesplayer,

I'm thinking there might be a mistake ... at least I get to the same result as you, or we both have simply done something wrong;-). Let's wait what Paul Says ...

Have a nice afternoon - Jaime

Author Paul
Lead Developer
#3 | Posted: 9 Apr 2014 16:15 
I think there's a confusion in understanding of how this option works.

The number specified under $jsUploadFields means the "limit" after which the script will not display upload boxes, but only the "Expand" link. It doesn't mean it will display the "limited" amount as upload boxes, and the rest will be hidden under this link.

This option is mostly useful if various forums have different number of upload boxes. For example, forum A may have 4 upload boxes, and the forum B just 2. Then if you set $jsUploadFields=3 then the forum A will have an "Expand" link shown, and the forum B will show 2 upload boxes straight.

Author Jaime
Registered
#4 | Posted: 9 Apr 2014 21:07 
Thanks Paul for the detailed and understandable info now.

Specific miniBB Support Forums / Specific / Attach Files:number of upload boxes Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB