Files/Download Manager For Discourse

I think that your best bet for that is to host the files somewhere with access control, ACLs and stuff. Google Docs/Drive is a good example of that.

3 إعجابات

Hmm. Or possibly OwnCloud. At least an idea to explore!

3 إعجابات

any new idea for media/file manager ??

My «Restrict Files» plugin solves the problem of access control to forum digital content (downloads).
The forum owner can grant the download permissions only to a particular forum groups / or to users with specified trust level and withdraw download permissions from other groups / users.
An example of restricted file: http://discourse.pro/file/113
You can not download it neither anonymously nor by just registering on the forum.
You must be a member of permitted user group to download the file.
You can test it yourself:
A test account without download permissions: login: test_bob, password: 123456
A test account with download permissions: login: test_john, password: 654321
A file is always permitted to be downloaded by its uploader.

أنا أحب هذا المثال المقدم هنا.

أتساءل عن شيء يتعلق بالصور المرفوعة.

غالبًا ما أرفع صورة ثم أتراجع عن قراري… أحذف الصورة، وربما أرفع صورة أخرى بدلاً منها.

أفترض أن الملفات المرفوعة غير المستخدمة، مثل هذه، لا تزال مخزنة في مثيلتي في مكان ما.

هل توجد ميزة إزالة تلقائية تحذف ملفًا غير معروض فعليًا في أي مكان أو غير مرتبط بأي مواضيع؟ أفترض أن الإجابة لا.

سيكون من المفيد رؤية قائمة بالملفات المستخدمة في مثيلتنا، مثل المثال الذي قدمه @tobiaseigen، ولكن أيضًا معرفة أين يُستخدم أو يُعرض الأصل… أو أنه غير مستخدم أو غير معروض.

ربما هذا حالة استخدام نادرة جدًا لدرجة أن تطوير ميزة كهذه لن يستحق العناء. 2 ميجابايت لا تُحدث فرقًا كبيرًا في التخزين… لكن إذا حدث ذلك كثيرًا، في منتدى كبير، مع مرور الوقت… ربما يصبح ذلك مصدر قلق أكبر ¯\_(ツ)_/¯

تحديث: تم تنفيذ هذه الميزة.

4 إعجابات

نعم، يتم “تأهيل” الملفات غير الموجودة في أي مشاركة غير محذوفة بعد (7?) أيام، ثم تُحذف بعد (14?) أيام إضافية.

5 إعجابات