WordPress Download Monitor Plugin v1.6

March 10, 2007 | Published in: Wordpress & plugins | Tags: , , , , , 218

This plugin has now been replaced by an updated version which you can find here.


Wordpress Download Monitor PluginThe 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:

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?

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 file
  • wp-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 2007V1.6WP B20070812 -
    1. Bug fixes galore
  • 10th March 2007 – V1.5WP B20070310 -
    1. New version released!
    2. Insert box now shows on new posting- thanks Sheri!
    3. No issues known.
  • 8th March 2007 – V1.5WP B20070308 -
    1. Beta test.
    2. No issues known.
  • 12th Jan 2007 – V1.0WP B20070112 -
    1. First release
    2. No issues known.

So, what are you waiting for? Download it now!

| Index |

Get it now!

Download the Download Monitor Plugin - version 1.6 - Dec 2007

Downloaded a total of 69067 times

| Index |


Installation Instructions

Installation is fast and easy. The following steps will guide get you started:

  1. Unpack the *.zip file and extract the /wp-downloadMonitor/ folder and the files.
  2. Using an FTP program, upload the /wp-downloadMonitor/ folder to your WordPress plugins
    directory (Example: /wp-content/plugins).
  3. 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.
  4. 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.
  5. Once activated, go to the Manage > Downloads.
  6. That’s it, you’re done. You can now add downloads.

| Index |

Tags

To show download links, use the following tags:

  1. Link/hits[Download id not defined] Output example: <a href="download.php?id=1" title="Version 1 downloaded 10 times">Download title (10)</a>
  2. 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>
  3. URL only[Download id not defined] Output example: download.php?id=1
  4. Hits only[Download id not defined] Output example: 10
  5. Link with image[Download id not defined] Output example: Download Download Monitor Version 3.x *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.

  1. Most downloaded<?php wp_dlm_show_downloads(1,$no); ?>
  2. Most recent<?php wp_dlm_show_downloads(2,$no); ?>
  3. 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!

Related Entries

218 Responses to “WordPress Download Monitor Plugin v1.6”

RSS feed for comments on this post.

  1. Eric Hamby says:

    everything seems to be going ok but when i click a link to download a file the page just sits there loading forever..anyone else had this problem?

    Comment made on January 31, 2008 at 3:26 pm

  2. shane says:

    Does this work with links you post aside from your own domain?

    Comment made on February 1, 2008 at 3:45 pm

  3. neutronics says:

    hi.. i want to ask… why counter is not working for me?

    Comment made on February 9, 2008 at 4:35 pm

  4. donalyza says:

    I’m having the same problem like Kyam #178 comment. Once I use the url hider it gives me 404. I’m 100% sure that I updated my permalinks as soon as I save the changes. I’m currently using WordPress 2.2.3. Please help, Hoping to hear from you soon. Thanks.

    Comment made on February 10, 2008 at 9:22 am

  5. Vadim says:

    Hi Mike,
    Your pluging is working great and I liked it very much!
    There is one problem though:
    The counter doesn’t work on “Opera” browser, but it works on Firefox and IE.
    What could be the problem?
    I checked your link by Opera and it works, but on my site it doesn’t.
    Please help
    Vad

    Comment made on February 12, 2008 at 11:31 pm

  6. SiMuL says:

    I love the plugin!! Works perfectly except ONE thing. The download count never goes up. Is there anything specific I need to do to get the counter to iterate? I set the hits to 483 on one of my files and have downloaded it several times and it’s still on 483. (I’ve even tried with the count set to 0 with no luck). Thanks in advance for any help!!

    Comment made on February 15, 2008 at 7:49 pm

  7. SiMuL says:

    Disregard my last comment, I’m sorry, I should have read before I posted.. DOH! (to anyone else that doesn’t read like me, if you’re logged in as admin and attempt to download, the counter will not increment–log out and try it and it should work fine). Thanks again Mike for a great plugin!!

    Comment made on February 15, 2008 at 8:39 pm

  8. RobertGryn says:

    I just installed the download monitor on my site for download DJ sets, but it does not seem to increment with downloads. I set the starting numbers randomly but my friends and I have downloaded several mixes and nothing. What could be the problem?

    Comment made on February 18, 2008 at 2:52 am

  9. Mike Jolley says:

    Robert if you or your friends are admin users it won’t count your hits. Please read other comments before asking…

    Comment made on February 18, 2008 at 9:36 am

  10. RobertGryn says:

    Hey Mike, I apologize for my previous post. I was really tired having had spent the whole day designing the site.. just wanted to say thanks for an awesome plugin – one of the better uses for me is that it stops people from stealing links ;)

    The only thing I guess I can point out is that it seems to limit the display of Downloads to 25 in Manage->Downloads. I guess this was done on purpose. I also can’t organize that list by Date Posted On (It just says No downloads added yet.) so it can be tricky editing added downloads sometimes.

    Either way thanks.

    Comment made on February 20, 2008 at 10:57 pm

  11. witty says:

    Hello,

    i am testing this plugin now and although i am excited by its features ( and thank you so very much for it), i noticed a little problem. I am currently on wp 2.3.2.

    When i use a custom url, everything works fine but instead of the url being

    mysite.com/downloads/filename it is mysite.com/downloadsfilename

    Can i do something to correct this? If i judge from the url examples it shouldn’t be like that.

    Unless the fact that i am testing this on a subdomain has something to do with it.

    Thanks again

    Comment made on February 22, 2008 at 5:22 am

  12. Danny Foo says:

    Mike, I don’t want to say this but something is not working. I’ve been using your plugin from v1.5 and it was working alright. Now that I’m on WP 2.3.3 and installed your latest files, I’m faced with problems.

    - I’ve left the Custom download URL as the default and not use it.
    - I’ve updated my Permalink Structure.
    - I’ve deleted and create a new .htaccess again and repeated above.

    But when I click the download in my post (http://tinyurl.com/2osxnq), I get the 404 Error. Is there something missing somewhere?

    As far as I read, similar comments (#174 & #184) have been left about this.

    p.s: Your plugin is listed as version v1.5 B20070310 in Plugins too.

    Anyway, really hope to fix this soon else I’ll have to remove all my download links.

    Comment made on February 23, 2008 at 5:36 pm

  13. Danny Foo says:

    Okie, I managed to get it working – finally.

    What I did was made sure the field in Custom download URL was blank. However, if I wanted to hide the URL by using inputting download…I’m back with the 404 again.

    p.s: Found out the version thing (in earlier comments) is something you just missed updating.

    Comment made on February 23, 2008 at 6:00 pm

  14. Michael says:

    awesome! It works well! Thanks!

    Comment made on February 24, 2008 at 12:29 am

  15. Matrich says:

    Mike, thanks so much for this great plugin. It has really saved me much for one of my clients’ work. Thanks for your time and effort.

    Comment made on February 25, 2008 at 6:31 am

  16. Fernando Lopes says:

    How do I increase the maximum size of sending of files?
    Thank you… Your plugin is very good. Hugs of Brazil.

    Comment made on February 28, 2008 at 8:52 pm

  17. Mark says:

    Hi, I’m just wondering whether there is a possibility to use this plugin to display in the admin stats, the login details of a user who downloaded a file.

    I’m planning on using a separate plugin to allow file downloads for registered users only, and need a way to display the login name in the download statistics.

    I have seen another older plugin which provided this feature, but I don’t think it is compatible with later versions of WP (http://guff.szub.net/2005/04/28/download-manager/)

    If anyone could provide assistance with achieving this I would greatly appreciate it! Thanks!

    Comment made on March 5, 2008 at 2:03 am

  18. Jahangir says:

    I’m having a problem. I’m not able to view more than 30 files in the admin area “Manage->Downloads”.

    How can i manage my remaining files because there is NO next page link or any other option to view all my “download files”

    I downloaded the latest ” WordPress Download Monitor Plugin v1.6″ but in the Plugin Management area it shows “v1.5 B20070310″

    any clue?

    thanks

    Comment made on March 8, 2008 at 1:49 pm

  19. jaaf says:

    just downloaded but no Sorting and pagination of downloads in admin area.

    from where i can download WordPress Download Monitor Plugin v1.6 Build 20070812 coz the one on the above have not this feature

    Comment made on March 8, 2008 at 4:29 pm

  20. Mike Jolley says:

    Sorry guys, I thought I had fixed the pagination issue. Ill get round to it and make a post when it’s fixed, so watch the RSS feed.

    Comment made on March 9, 2008 at 1:48 am

  21. Mark says:

    Hi Mike,

    Any chance of looking at the display of the username of logged in viewers who downloaded a file, in your next release? As per my post above :)

    If that could be added, it would be a huge bonus. Or even if someone could give me an idea of how to do this (for someone with very little php knowledge!)

    Comment made on March 10, 2008 at 12:23 am

  22. Marc says:

    Are you going to make a new version for WP 2.5? Or is it already prepared for the new version?

    Comment made on March 10, 2008 at 4:15 pm

  23. Mike Jolley says:

    @Mark – Logging is a good idea, Ill consider it

    @Marc – I have not yet had a chance to try the beta, when I do I will upgrade the script accordingly.

    Comment made on March 11, 2008 at 11:58 am

  24. andy says:

    Is there a way to allow other file extensions too?

    Comment made on March 20, 2008 at 11:36 pm

  25. jonathan says:

    if you open wp-downloadMonitor.php the list of acceptable extensions is near the top. you can just add more to it.

    Comment made on March 28, 2008 at 5:42 pm

The comments are closed.

About this site

Blue Anvil is the online web design journal & portfolio of , a web designer from Norfolk, England. Read More »
MiniCard Theme for WordPress
  • Featured work - More

    • Beefjack
    • Integrity
    • theotaku.com
  • Latest Tweet - More

    • RT @jameskoster: Free MacBook Pro vector; http://www.potatoestomatoes.co.uk/technical/free-macbook-pro-vector/ #vector #resource
  • Out of the blue - More

    • Closing the Forums

      Just posting to let current users know that I’m closing the forum on Blue-Anvil. This is mainly due to spam-registrations getting out of hand and being a general nuisance. I will be posting good topics as FAQ items within posts if applicable.

      Please note that you can still post and get help for my plugins/themes by posting on the wordpress.org website.

    • Show off your MiniCard!

      Are you a user of the WordPress MiniCard theme? Its been downloaded over 14,000 times so far!

      If you have used it as-is, made your own child-theme or done something creative with it, please show off your MiniCard’s in the comments, I’d love to see how the theme is being used!

    • Spam Stopper updated for WordPress 3.0

      My Spam Stopper plugin has been updated for WordPress 3.0 (version 3.1.3) – you can grab it here. Sorry this update took longer than my other plugins but this one gets less lovin’ – if you want to change that feel free to donate, spread the word, or rate it on the WordPress.org plugin page.

    • SexyBookmarks & Tr.im

      Just a notice to users of the brilliant http://www.sexybookmarks.net/ plugin by shareaholic – If you use tr.im (as I have on a few client sites) be aware tr.im has ceased operation so you may see errors on your blog or in your source code; it screwed up the background and headings on one of my blogs.

      To fix, go to sexybookmarks options, switch services in the “Which URL Shortener?” box, and tick the box to reset all short urls. Once done, your blog should return to normal.