file download counter

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
berserkk

file download counter

Post by berserkk »

Hi I have some files on my site, avail for download, I want to see the popularity.
I've done a search of these forums but not really getting much info.
I've uploaded files by both ftp and by the uploads module into directories that are under uploads\talks
talks is an uploads category.
I don't know how to set it to view a download counter for the file, I can't see how to connect the files to the uploads module either.
Can anyone shed any light?
thanks,
Ben
cyberman

Re: file download counter

Post by cyberman »

There's an advanced version for action.default.php here

http://forum.cmsmadesimple.org/index.ph ... l#msg51272

Yes, it's german - but I mean attachment :). Not sure if it's included in current version

By inserting in template

Code: Select all

{$downloads} : {$entry->downloads}
you will see number of downloads.
berserkk

Re: file download counter

Post by berserkk »

Hi thank-you for the reply,
I tested today for the first time.
I replaced the file - but i am not sure of the next steps.
(i tried translating the german post, it translated well but no real help)
1) which template do i insert "{$downloads} : {$entry->downloads}"
2) then how do i display downloads for a file?
currently my files are displayed via a "news" post, and can be downloaded from the summary

I tried inserting "{$downloads} : {$entry->downloads}" into the summary template for the news post.
I only got ":" - of course i didn't think this would work because it does not address the file at all.
Any help?
thanks,
Ben!
Michael AC

Re: file download counter

Post by Michael AC »

Hi,

maybe give the banner module a try?

After banner module installation in admin area -> content -> banner management you can see clicks on links (or linked files)... read banner help for more information.

Kind regards
Michael
berserkk

Re: file download counter

Post by berserkk »

still no love =(
there was another question in these forums
"Is there a mod available which makes it possible to put a file up for download with a counter?
Like: [filename] downloads: 12"

This is what i want, but there wasn't really an answer
surely someone has this functionality working?
thanks for your help,
ben
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: file download counter

Post by RonnyK »

Berserkk,

the topic in German where Cyberman pointed at, was a changed file for the Uploads module. Inserting the piece of code, was meant to be inserted in one of the templates of that module. By calling that module and shwoing the files that are there for download, the extra code added to the template of "Uploads", will show the extra information. This extra functionality is incorporated in the attached file of that topic.

Ronny
berserkk

Re: file download counter

Post by berserkk »

Hi ronny & others,
i looked deeper into it, i found i was able to track files & downloads after removing the uploads module and installing 1.3beta the functionality now makes a lot more sense - as i realise now the uploads module wasn't functioning at all.
sorry to take all your time,
thanks a lot for all your help!
ben
Locked

Return to “Modules/Add-Ons”