WordPress Download Monitor Plugin v1.6
This plugin has now been replaced by an updated version which you can find here.
The Download Monitor plugin has been updated with some tasty new features, and since I’m releasing this as a new version rather than a new build, also I decided to make it its own post.
Download Monitor is a plugin for uploading and managing downloads, tracking download hits, and displaying links. The download link on this page, and even the downloads in the website footer, are all powered by it.
Admin Screenshot:
Read more for more information, installation instructions, and of course, the download link in all its glory!
WordPress Download Monitor Plugin v1.6 Build 20070812
By Mike Jolley ( http://www.blue-anvil.com )
Index
- What is it?
- Features
- Files in the zip
- Plugin History
- Get it now!
- Installation Instructions
- Tags
- Licence
- Support my sweat, blood and tears
What is it?
The whole idea to this plugin is to keep your website downloads organised, and provide means to monitor the amount of downloads a file has, along with an easy method of linking to those files using its own tags.
On installation, this plugin only uses 1 database table to store download information, uploaded downloads are stored in their own directory. Don’t want to upload? You can add links to existing downloads, and track them, also.
By adding a simple tag to a wordpress page you can show the link, with or without hits displayed.
Basic Documentation is shown in your wordpress control panel too, under Manage > Downloads.
I’d like to thank Mike Cherim at http://green-beast.com/ for part of this script and the idea.
Features
New Features
- Re-upload files, handy for updating versions!
- Change hits, just in case you change servers or import old downloads that already have stats
- URL hider using mod_rewrite
- Sorting and pagination of downloads in admin
- New ‘image’ display mode (show a link like the download link image on this page!)
Older Features include:
- Admin page for uploading/linking to downloads, and specifying information (title and version).
- Records download hits.
- Does not count downloads by wordpress admin users.
- Template tags for showing popular, recent, and random downloads in your web site’s sidebar.
- Post tags for outputting download links e.g [Download id not defined]
- Drop-down menu in non-rich text wordpress editor for adding links.
Files In the zip
The following files are provided with the download:
wp-downloadMonitor/user_uploads— Directory for uploads. Must have 777 permissions (via CHMOD)wp-downloadMonitor/index.php— Prevents snoops looking at the files…wp-downloadMonitor/wp-downloadMonitor.php— Main plugin filewp-downloadMonitor/download.php— Links to your downloads, recording the hit.wp-downloadMonitor/css/wp-downloadMonitor.css— Admin interface styling.wp-downloadMonitor/img— Admin images.wp-downloadMonitor/upload_class— Upload class by Olaf Lederer.
Plugin History
- 8th December 2007 – V1.6WP B20070812 -
- Bug fixes galore
- 10th March 2007 – V1.5WP B20070310 -
- New version released!
- Insert box now shows on new posting- thanks Sheri!
- No issues known.
- 8th March 2007 – V1.5WP B20070308 -
- Beta test.
- No issues known.
- 12th Jan 2007 – V1.0WP B20070112 -
- First release
- No issues known.
So, what are you waiting for? Download it now!
| Index |
Get it now!
Downloaded a total of 69163 times
| Index |
Installation Instructions
Installation is fast and easy. The following steps will guide get you started:
- Unpack the *.zip file and extract the
/wp-downloadMonitor/folder and the files. - Using an FTP program, upload the
/wp-downloadMonitor/folder to your WordPress plugins
directory (Example:/wp-content/plugins). - In the directory,
/wp-downloadMonitor/, using FTP or your server admin panel,
change the permission of the user_uploads directory to 777, or you will not be able to upload files. - Open your WordPress Admin panel and go to the Plugins page (link on the
top menu). Locate the “WordPress Download Monitor” plugin and
click on the “Activate” link. - Once activated, go to the Manage > Downloads.
- That’s it, you’re done. You can now add downloads.
| Index |
Tags
To show download links, use the following tags:
- Link/hits –
[Download id not defined]Output example:<a href="download.php?id=1" title="Version 1 downloaded 10 times">Download title (10)</a> - Link w/o hits –
[Download id not defined]Output example:<a href="download.php?id=1" title="Version 1 downloaded 10 times">Download title</a> - URL only –
[Download id not defined]Output example:download.php?id=1 - Hits only –
[Download id not defined]Output example:10 - Link with image –
[Download id not defined]Output example:
*note you can style this using the classes “dlimg” and “dlstat”!
There are a few other template tags to use in your wordpress templates. Replace ‘$no’ with the amount of downloads to show.
- Most downloaded –
<?php wp_dlm_show_downloads(1,$no); ?> - Most recent –
<?php wp_dlm_show_downloads(2,$no); ?> - Random –
<?php wp_dlm_show_downloads(3,$no); ?>
Licence
WordPress Download Monitor Plugin v1.6WP © Copyright 2007-current. All rights reserved.
Mike Jolley
You are free to use this application but may not redistribute it without written permission.
Use of this application will be at your own risk. No guarantees or warranties are made directly or implied.
The creators cannot and will not be liable or held accountable for damages, direct or consequential.
| Index |
Support my sweat, blood and tears
I know, that sounds gross, but we really did put ALOT of effort in to this plugin. If you like this plugin, or it has benefited you, please make a donation via paypal! Any amounts are welcome, your support is much appreciated.
| Index |
Found this post useful? Why not buy me a coffee!












Trevor Meier says:
Will this plugin work with the upcoming WordPress 2.3?
Just building my site now, and the answer will help me decide between this plugin and GamerZ’s Download Manager plugin (which has more features I desire, but must be updated for v2.3)
Comment made on August 28, 2007 at 5:12 pm
Trevor Meier says:
Also, I noticed a bug… this dropdown menu for this plugin breaks any custom quicktags added by other plugins in the simple editor (tested with AddQuickTags and a couple other plugs that add custom quicktags)
Comment made on August 28, 2007 at 5:14 pm
Dave Forde says:
Mike – Is there a way to display the download image WITHOUT a border? When I used that option a border was automatically added.
Comment made on September 1, 2007 at 3:38 pm
Dave Forde says:
Also, is it possible to have downloads in the sidebar?
Comment made on September 1, 2007 at 3:40 pm
Vaibhav says:
I have just installed the plugin, but when i try to upload the file just a pink strip comes above with no message in it.
I have done the permission of folder as 777
can any one tell me whts the problem
Comment made on September 1, 2007 at 10:01 pm
Mosey says:
Hi
Thank you for a fantastic plugin! I’m now finding that I need to use the tags outside of the loop (so a php template tag) and was wondering what is the best way forward? I’m thinking of using a custom field to define the id of the download (e.g. 28) and then using the Custom_Get_fields plugin to include it the necessary before and after php tags.
Any suggestions would be appreciated
Thanks!
Comment made on September 3, 2007 at 9:59 am
Ibrahim says:
Hi, when I upload a file I get “Only files with the following extensions are allowed: .zip .pdf”. How can I change this to support all files, since only I am managing my site?
Comment made on September 4, 2007 at 12:39 am
toxiclung says:
i really like your plugin, but i need a page that lists all available downloads (maybe paginated). is there anyway i can do this?
i was thinking along the lines of [download#all]
also, for future suggestion, i would love a ‘description’ column when adding new downloads.
thanks!
Comment made on September 4, 2007 at 4:14 am
Lazy says:
Hi,
how can i use these tags in the comments?
i tried:
add_filter(‘comment_text’, ‘wp_dlm_ins’);
but it doesn`t work :/
Comment made on September 4, 2007 at 10:28 am
Seich says:
wow thanks for the great plug-in i have been looking for this along time ago!
Comment made on September 10, 2007 at 9:00 pm
Matthew Loh says:
This looks like a useful plugin. I don’t have any downloads available from my blog just yet, but when I do, I’m sure this plugin will come in real handy.
Comment made on September 11, 2007 at 2:57 pm
saglik says:
Thank you very much for it.I will try it…
Comment made on September 13, 2007 at 12:26 am
Perun says:
i Have the same question like Ibrahim (#106).
Comment made on September 13, 2007 at 11:16 am
Perun says:
Ok, i found it: wp-downloadMonitor.php (line 430)
$my_upload->extensions = array(".zip", ".pdf");to:
$my_upload->extensions = array(".zip", ".pdf", ".mp3", ".avi");Comment made on September 13, 2007 at 11:34 am
G. Sun says:
Hi Mike. This plug-in is just what I need!
Problem is…I’m really new to wordpress and can’t seem to get the tags working. I’ve tried editing a page and post, inserting “[download#1]” but it’s not converted to a link and just displays the text. Weird thing is that when I type in the full URL (eg. wp-content/plugins/wp-downloadMonitor/download.php?id=1) I am able to get the file. Also I am able to use the other template tags like most downloaded (eg. ). Another problem is that I am totally confused about the .htaccess file and permalink stuff (sorry I’m totally new to all this, heh). Any light you could shed on this would be great, thanks!
Comment made on September 26, 2007 at 8:26 pm
G. Sun says:
Hi Mike. This plug-in is just what I need!
Problem is…I’m really new to wordpress and can’t seem to get the tags working. I’ve tried editing a page and post, inserting “[download#1]” but it’s not converted to a link and just displays the text. Weird thing is that when I type in the full URL (eg. wp-content/plugins/wp-downloadMonitor/download.php?id=1) I am able to get the file. Also I am able to use the other template tags like most downloaded (eg. ). Another problem is that I am totally confused about the .htaccess file and permalink stuff (sorry I’m totally new to all this, heh). Any light you could shed on this would be great, thanks!
Comment made on September 26, 2007 at 8:26 pm
Mike Jolley says:
Well what version of wordpress you running, and where have you put [download#1].
It will only show in pages/posts using the_content() template tag, if not it will not parse.
The htaccess file just converts that long url you have to a shorter one you specify in the options.
Comment made on September 26, 2007 at 8:30 pm
G. Sun says:
I think I’m using 2.2.2?:
(http://i7.photobucket.com/albums/y283/sunfire06/wp-ss2.jpg)
As for the tag, I inserted in the page content part when writing a page:
(http://i7.photobucket.com/albums/y283/sunfire06/wp-ss.jpg)
About the_content() template tag, what is that? That’s probably what I forgot to use, I think because I never heard of that. I have the following page templates:
(http://i7.photobucket.com/albums/y283/sunfire06/wp-ss3.jpg)
Thanks for the quick reply!
Comment made on September 26, 2007 at 8:48 pm
Mike Jolley says:
Whats the link to the page? It will only show there if its working.
Comment made on September 26, 2007 at 8:52 pm
G. Sun says:
It’s on my localhost, it’s not the internet:
(http://i7.photobucket.com/albums/y283/sunfire06/wp-ss4.jpg)
Is that why it’s not showing up?
Comment made on September 26, 2007 at 9:00 pm
Mike Jolley says:
Im stumped then. Not really sure why that would happen. Sorry im little help…perhaps when I knock out the new version it will fix the issue.
Comment made on September 26, 2007 at 9:02 pm
G. Sun says:
oh ok thanks anyway!…it’s probably some setting that I didn’t set, always something like that with me, heh.
Comment made on September 26, 2007 at 9:05 pm
Mike Jolley says:
Actually, thinking about it. Do you even have a download with id #1, because if you don’t it wont show,
Comment made on September 26, 2007 at 9:08 pm
G. Sun says:
I think so:
https://jshare.johnshopkins.edu/gsun5/public_html/wp-ss5.JPG?uniq=lllmip
this is a SS of phpmyadmin:
https://jshare.johnshopkins.edu/gsun5/public_html/wp-ss6.JPG?uniq=lllmiv
Comment made on September 26, 2007 at 9:26 pm
G. Sun says:
I think so:
https://jshare.johnshopkins.edu/gsun5/public_html/wp-ss5.JPG?uniq=lllmip
this is a SS of phpmyadmin:
https://jshare.johnshopkins.edu/gsun5/public_html/wp-ss6.JPG?uniq=lllmiv
Comment made on September 26, 2007 at 9:26 pm