Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2457

[3.3.x] Support Forum • Re: Large file upload location

$
0
0
phpBB uses pluplaod and it splits the file into chunks however you may hit other limits like max_execution time. This may even be a problem with serving the files. You can try adding this to top of posting.php

Code:

set_time_limit(120);
That's two minutes, increase as necessary. Check the server error logs to see what is failing if it doesn't work.

--------------------

As far as the permissions go within phpBB the only way to limit this, under Posting tab >> Manage attachment extension groups you can set the group ISO belongs too so it's only available in that forum. You can even place it in it's own group. Also note you can set the max file size for other groups much lower. You can use the forum permissions so only admins or whatever group can upload to that forum.

The one downside to this approach is no one can upload .iso in any other forum. It's not perfect but it's as close as you are going to get with stock phpBB.

-------------------

As far as using FTP the .htaccess file phpBB uses prevents public access and file.php controls access. Off the top of my head you can use .htaccess password to protect the directory but that's almost as bad as plain link since it can be shared. The one upside is you would be able to change the password.

Statistics: Posted by thecoalman — Sun May 11, 2025 1:54 am



Viewing all articles
Browse latest Browse all 2457

Trending Articles