I want help on how to add download counter on file downloads on my site
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- iionly@iionly
iionly - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
You must log in to post replies.It seems the counter plugins available haven't been updated for many years and therefore very likely won't work without some changes. Maybe it helps nonetheless for you to take a look at the code of https://elgg.org/plugins/421112 and https://elgg.org/plugins/872625. The "Westors Download Counter" plugin appears to offer what you are looking for but it's for Elgg 1.7 and older. The "Views Counter" plugin is not exactly for counting the downloads. But it's supposed to work up to Elgg 1.12 (maybe even Elgg 2.x with some minor changes). So, the "Views Counter" plugin might be of some use in learning how to get the "Westors Download Counter" updated.
You can use code from the community plugins