كيفية إظهار عدد التنزيلات للمرفق؟

My discourse community heavily uses attachments and they really want to see download numbers, similar to how links show number of clicks.

I found this older discourse discussion that implies the existence of a download counter, but I can’t find any information about how to turn it on or if it got removed.

5 إعجابات

I was also searching for this answer, then re-read the linked topic and others that referenced something like an attachment counter.

They are talking about topic links counter, which I suppose was used back then to directly link to attachments, but I think this isn’t done this way anymore.

On the linked topic above they’re testing clicks on an attachment which is actually a link to CloudFront, while AFAIK currently new attachments are proxied through a [instance]/uploads/short-url/[hash].[ext] route.

That said, I really think this is hugely useful and I’d also like to know if this is something planned to be supported on Discourse - using this upload route to increment an attachment counter and show this counter beside the attachment link, just like external links.

أدرك أن هذا موضوع قديم جدًا، ولكن هل هناك إجابة للإصدار 2.9.0.beta.10 لهذا السؤال؟

مثل المنشئ الأصلي، تود مؤسستنا أن تكون قادرة على حساب عدد المرات التي يتم فيها تنزيل المرفقات. في النهاية، سيكون تقرير “أفضل 50 تنزيلًا مع عدد مرات التنزيل” هدفًا.

أنا أبحث في مستكشف البيانات، لكنني لا أفهم العلاقات بعد.

إعجابَين (2)