Pepper: Download Counter
I happily installed Mint this weekend, and couldn’t resist tinkering with it’s Pepper plugin structure. The result is Download Counter, and addition which tracks file downloads linked from your site. I must say that, for the most part, I am impressed with the planning that has gone into Mint. Shaun did a great job.
Update 4/19/2007: Updated for Mint 2.0.
There were only a few places that I wished I had an extra hook, but in general, the Plugin interface is top-notch. Creating the install and preferences procedures was especially simple.
The plugin works by specifying a comma separated list of file extensions you wish to track on your site e.g. zip,pdf,mp3,mpg,jpg Mint will then automagically reforward the files through a download script to register their delivery, so you don’t need to touch any code whatsoever. It’s that easy. Downloads begin tracking immediately.
Limitations
There are a few limitations to this method, just like any other:;/p>
- Files must be linked to from an
atag. Thehrefmust point directly to the file. - Files must be linked to from a page where Mint is activated.
- If other sites link directly to your files, they will not be recorded. But that’s just lame anyway.
Installation
Installation is simple. Just follow these steps:
- Just download the files, unzip, and copy the
orderedlistdirectory into your/mint/pepperfolder. To clarify, the final file destinations should be in/mint/pepper/orderedlist/downloads/. - Login to your Mint installation and in the Preferences click “Install” under Pepper.
- Click the Download Counter Pepper “Install” button. Click “Okay.”
- Now click on the Download Counter preferences under Pepper in the preferences pane.
- In the box, type a comma separated list of file extensions to track, eg. zip,pdf,mp3
- Click “Done.”
Help and Support
If you encounter problems, have questions, or come up with any suggestions, please contact me and I’ll do what I can to help.
If you feel so inclined, donations of any amount are always appreciated, and help keep me motivated to develop more feature-rich plugins and software. Thanks for your support, and enjoy.
Post and Author Info.
Published September 07, 2005 by:
Commenting is currently off for this post.
So far there are 23 comments.
Looks great! Can’t wait to try it! So glad to see Peppers are already coming out! :)
September 7th, 2005
Nice one Steve!
September 8th, 2005
You use the standard path mint. Can you change it to the user specific one? Thanks!
September 8th, 2005
Just what I was looking for! Thanks a ton!
September 8th, 2005
Yep, the path needs to be fixed, as it stands this doesn’t work for me b/c my mint folder is not in the root of my site. Shaun fixed this in 1.0.3 for the default pepper.
September 8th, 2005
Joerg and Scott: I believe I have the path issue fixed. Download the files again and upload over the current ones. Let me know if that works for you.
September 8th, 2005
Darn should have refreshed the page before I went in and fixed it myself ;)
Not crazy about the long URL in the window status bar. May add something to change it so it doesn’t have the pepper info…
thanks again!
September 8th, 2005
It works very well thank you. today I had some problem with the new version only, blank screen! :-(
September 8th, 2005
I have downloaded and installed your Pepper. Looks good, works good – Thank you!!
September 9th, 2005
Dude. You’re amazing. You win the first non-inman pepper award! :
) Thanks for this. I love that people are already playing with pepper and find it easy enough to actually do. Maybe I’d do my own if I wasn’t such a noob. :)September 9th, 2005
Great idea. :)
September 10th, 2005
It doesn’t seem to respect the setting for number of items to show :(
September 12th, 2005
Is there a way to filter the statistics so I can see how many people downloaded within the last 24 hours?
September 13th, 2005
I’m having an issue with the Download Counter…
http://haveamint.com/forum/viewtopic.php?id=253
Any thoughts?
September 15th, 2005
I’d use that, but I don’t have any zips on my site for people to download.
September 16th, 2005
Windows support would be nice. Hopefully it will come soon :)
September 19th, 2005
It doesn’t adhere to the number of entries allowed for a list, like the other windows in Mint :(
October 19th, 2005