Shoutbox

Attachment Suggestion - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: Attachment Suggestion (/showthread.php?tid=69757)

Attachment Suggestion by matty on 12-21-2006 at 02:49 AM

We should have [attachmentcount=postid] Which will display the total downloads on one attachment.

And as well a checkbox in the Edit Attachment section that will not reset the download counter.


RE: Attachment Suggestion by prashker on 12-21-2006 at 02:57 AM

Not really needed, but It would  be cool knowing :p


RE: Attachment Suggestion by zach on 12-21-2006 at 03:15 AM

You can already see how many times an attachment has been downloaded, so what would be the point of making another way? :s


RE: Attachment Suggestion by WDZ on 12-21-2006 at 03:42 AM

quote:
Originally posted by zach
You can already see how many times an attachment has been downloaded, so what would be the point of making another way? :s
Indeed... :\

quote:
Originally posted by Matty
And as well a checkbox in the Edit Attachment section that will not reset the download counter.
Hmm... so you could upload a completely different file but keep the same count? I dunno about that... :p
RE: Attachment Suggestion by matty on 12-21-2006 at 05:15 AM

quote:
Originally posted by WDZ
Indeed... :\
What if I wanted to show on a different post the number of times an attachment has been downloaded and have it show the exact value?

quote:
Originally posted by WDZ
Hmm... so you could upload a completely different file but keep the same count? I dunno about that... 
Well in this case for scripts if you just upload another version you can keep a running total of the number of downloads.
RE: Attachment Suggestion by WDZ on 12-21-2006 at 06:10 AM

quote:
Originally posted by Matty
What if I wanted to show on a different post the number of times an attachment has been downloaded and have it show the exact value?
Different post? Ehhh... no. :p The post parser would have to query the counter value every time an [attachmentcount=x] tag is encountered, because that info wouldn't already be cached.

quote:
Well in this case for scripts if you just upload another version you can keep a running total of the number of downloads.
Yeah, I see the advantage there, but for other types of attachments, it's kinda dodgy.

Anyway, it's technically infeasible in MyBB 1.2, which no longer has the "replace attachment" functionality (it now supports multiple attachments per post).