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.
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).