Allow Admins to Disable Uploads

AI-generated summary

Allow Admins to Disable Uploads

The discussion revolves around the idea of giving admins the option to disable uploads on their forums. nahtnam initially suggests this feature, citing the deprecation of S3 and limited disk space on certain hosting services.

codinghorror argues that most sites don’t need a ton of storage space, and that embedding remote content is more common than uploading. They also mention that remote mirroring is available to prevent broken links.

However, nahtnam and others, including donsgood and MagnumDopus, share their concerns about storage space and costs. They believe that disabling uploads completely should be an option for admins, especially for large or resource-intensive forums.

codinghorror suggests a workaround by setting the maximum allowed image size to tiny dimensions, but the discussion suggests that a more straightforward solution is needed.

Hey!

Why not allow admins to disable the upload button since s3 is now deprecated, and will soon be removed? This will force users to use something like imgur to host their images. I think it would be a good feature since sites hosted on something like OVH or Digital Ocean (w/ small disk sizes) would be able to be used instead of having to upgrade only for more disk space.

Thanks.

It is rare that sites need a ton of storage unless they are hard core photography sites, or based on file sharing. Lots of services like YouTube, SoundCloud, Flickr, etc let people host audio, video, and big pictures for nothing.

My point is that embedding remote content is way more common than uploading.

Beyond that, we do believe in automagically mirroring remotely linked images so topics do not break later when someone removes a remote image on some remote server. That is why remote mirroring is on by default.

1개의 좋아요

Well the forum im setting up is going to be on a video game. People will be uploading lots of images/gifs of funny moments and what not. Im not sure if 30gb is going to be enough.

The current solution I have is to just limit the max file size to 1mb which means that most gifs and high res pics have to go to imgur.

Yeah, limiting file size is a better choice than outlawing it completely. The admin dashboard shows disk space used and available as of 1.2 in the bottom left.

Awesome. Hopefully my disk doesnt fill up fast.

Thanks.

Whilst I see the value in limited the size of uploads, I do think it should be the admin’s choice to disable uploads completely.

I’m about to start hosting a football club forum, with 10k daily page views. As it stands, we will only have $10pm to fund the hosting on DO. So any measure that I can introduce to reduce OpEx is highly desirable. Disabling uploads to reduce storage costs is definitely one of them.

+1 for this request. I am fine with avatar uploads, but as my forum will be largely game focused, and tons of users may attempt to upload images, I would just like to disable local file storage outside of avatars all together. This is kind of the norm with most forums these days, to rely on 3rd party hosting solutions and simply embed them.

You can already do this, just set the max allowed image size to tiny dimensions like 128 x 128.