The New WordPress Download Monitor Plugin

A few months back I announced that the Download Monitor plugin was no longer being maintained. Why? Several reasons really:

  1. Dealing with daily support emails caused a massive headache
  2. Some of the code was embarrassing, and the plugin badly needed a rewrite..
  3. ..but due to legacy this would have been messy and difficult
  4. The donation model didn’t really work, and .org would’t allow ads inside the plugin to fund development

However, despite all of this, given the popularity of the plugin I decided to secretly start building a new version without the restraints of legacy code dictating the way forward…

Introducing the new beta

v4 is a complete rewrite – in fact I am still debating the idea of calling this a ‘1.0’ (which may also prevent legacy users updating without testing!). Gone are the custom tables and UI, custom post types are being utilised as well as other more modern practices, and the plugin is way more efficient.

Features & Improvements

Obviously the biggest improvement is using custom post types – we now have a faster, more lean, native WP interface for managing downloads which will be instantly recognisable to any user of WordPress.

Custom post types, woo!

Custom post types, woo!

v4 has a new template system for fancy download links

v4 has a new template system for fancy download links

The template system replaces the old ‘formats’ system making it more flexible. Rather than define the HTML for the download links in-plugin, you simple create a template file in your theme, for example, content-download-box.php. This is then called via the shortcode to give links such as the one shown to the right.

Quick-add

Quick-add

If you are adding downloads as you go, the new quick-add modal (pictured left) lets you drag and drop a file, add some details, and then insert the shortcode quickly and easily.

Download permalinks used to be done with some nasty htaccess rules. No longer – now we simply use a URL endpoint and WP handles the rest.

Logging is still built in, as well as CSV exports of logs, and I’ve added the ability to log broken links and whether or not downloading was successful or not.

What’s left to do?

Aside from testing and documenting the new core plugin, I want to build a few extensions for advanced features and things I’ve purposely left out of the rewrite:

  • A bulk directory importer function
  • The old page addon for browsing your download catalog, in its own plugin
  • A legacy importer – something to migrate old downloads to the new system

These ideas will take time, but I’m aiming to get those done, and the plugin launched within a couple of months – hopefully before WordCamp UK.

A note on sustainability

Is this plugin sustainable through donations alone? Probably not. Very few users choose to donate (those who do are awesome by the way), and any developer who’s tried this in the past must have realised that WP dot org is rife with freeloaders whom have this misguided sense of entitlement when it comes to plugins and support, using the ‘reviews’ system as leverage to get what they want.

With the new version, support will be strictly for bugs and usage rather than for customisation help.

Additionally, most likely there will be some paid extensions alongside the core plugin – the freemium model can work well if done correctly. I’m also toying with the idea of some themes to work exclusively with the Download Montitor plugin for download catalogs.

What are your thoughts on this? Would you be interested in seeing these types of addons? Leave you comments below..

Get the beta and get involved

As of today, the new version is on Github in its own branch where you can try it out, and contribute code and fixes. It’s released! http://mikejolley.com/projects/download-monitor/

Happy coding, and I hope you all love the new version.

Found this post useful? Why not buy me a coffee :)

  • http://twitter.com/pippinsplugins Pippinsplugins

    Awesome news, Mike!

    Do you plan to provide any sort of migration tool to go from the old version to the new?

    • mikejolley

      Yeah – but outside of this plugin. I want to keep this thing lean and mean.

      A migration plugin should be able to convert old downloads to the new format easily, the tricky part is the old shortcodes. Shortcodes use an auto-incremented ID – once converted, IDs will no longer match.

      I have 2 ideas to solve this. Either 1/ provide some SQL to update all posts. 2/ Make the legacy plugin store the ‘old’ ID in meta somewhere and have the old shortcodes fallback to this.

      You ever dealt with legacy like that?

      • Philip Franckel, Esq.

        Can I enter the number of downloads to start off with the number of downloads currently on the old one?

        • mikejolley

          Yeah, you can change the count when posting a download.

  • http://clickwp.com/ David Wang

    Yay! As a longtime user of your plugin, v4 (or v1) is great news to me. I totally understand your decisions concerning support – I wish you success with the new support model and the plugin :)

  • http://www.traveling9to5.com/ Josh @ Traveling 9 to 5

    Great news. I loved the old plugin and it’s great to see that it’ll be updated.

  • Martin Punz

    Where can I download download-monitor-4? In the zip file, not all files inside

  • Kevin O’Neill

    Big fan of this plugin. Thanks for brining it back to life! Can files be stored outside of the web root directory? Or better yet, what would be the best way to secure the files?

    • mikejolley

      They can – and files will be served via PHP

      • Kevin O’Neill

        Awesome! I took a look at settings, but did not see where to set a file path for uploads…what did I miss?

        • mikejolley

          There is a filter.

          • Kevin O’Neill

            LOL…I believe I found it. Sorry for not posting back, and thanks for responding :)

  • gistech.ir

    Nice to hear that. I’m a big fan of your plugin. I was going to transfer to another plugin but now i wait for a new stable version.
    Keep going kelly

  • Richard

    Its great that you have decided to re-write this. I currently use this plugin, and due to the development stopping, I currently looking at other solutions, I have the issue where I have activated it on one of the sub sites and it tries to update i think and completely kills the site. I’m going to download the beta and have a play around.

    I think the legacy importer is a great idea!

    An extension that allows integration with the Groups plugin would be useful I think.

    I would definitely donate this time, apologies for not!

  • rgregory

    I really love your old plugin and I use it on almost every site I build and recommend it to others when I can.

    I’d be willing to pay for a migration plugin, hopefully just once :) But I think your work is top notch and if you have to go with freemium so we can continue to receive updates to this great plugin, go for it! I’ll be the first to purchase something to keep the train rolling. :)

  • http://www.alistercameron.com blogologist

    Mike.

    One stupid thing that’s a tad annoying… both the name and the icon of your plugin in the sidebar are the same as Easy Digital Downloads.

    Now, I think your plugin does different things, but EDD has a massive footprint in “the market”, so I’m wondering if there’s any way we could get you a different icon (perhaps even if the colour was different?!).

    Cheers,

    A

    • mikejolley

      Looks like they use a green arrow? I doubt I’ll change it though, DLM was out first :p

  • http://www.alistercameron.com blogologist

    Mike. Also, your legacy plugin has a note saying it’s no longer being maintained. I’d change that to say it’s being redeveloped, otherwise folks are going to walk away from it, not realizing there’s a new one coming.

    • mikejolley

      I don’t want people adopting the current version at all to be honest – the other alternative would just be a take down, but this at least keeps it live for security patches etc.

  • adminjo

    I have updated BUT can’t seem to get it to work like the old one where we could search by what ever categories and sub categories we created – right now it just shows 1 link on the page – I need it to be able to show search by Brand and Search by Product and Search by Industry – I have set up a page for the results with the shorcode [downloads] – am I missing the other shortcodes that also give more details somewhere – help !!

    • mikejolley

      Page addon? I don’t think that will be in core this time round.

  • Amber

    Mike Jolley… you sir just made my day!

  • MileHigh

    Great to hear. Look forward to the new version.

  • http://www.mangodigital.com mangoman

    Let me know if I can help with the translation of the POT file (Spanish).

    • mikejolley

      Locales can be contributed via Github if you make one :) https://github.com/mikejolley/download-monitor

      • http://www.mangodigital.com mangoman

        Thanks, Mike. I can’t find the .POT file to translate, so if you lead me to that file I can plan to translate the work.

  • https://smyl.es/ Myles McNamara

    Have both a coffee and a beer, on me :)

  • vdowsett

    !!! So excited. And would happily pay for this plugin, best download plugin I’ve ever tried, so I’m sure this is going to be great. I regularly purchase good plugins so I would suggest looking at setting up a selling site and selling licenses for designers to use.

  • vdowsett

    BTW, look at how SlideTabs set up their plugin license and payment. I love that plugin and purchase a new license for each client! I also use CodeCanyon a lot for plugins, well worth every penny.

  • mikejolley

    Maybe as an addon eventually.

  • Li_An

    Some interesting news. I’m happy with the 3 version but I can understand you want to monetize your work. I will certainly test the 4 version and I hope I won’t need any of the paying plugins :-) And I will translate in french if necessary as I done for previous version.

  • Colin

    Where can I find the documentation you had on mikejolley.com for v3.3? Glad you’re working on this again, thanks!

    • mikejolley

      It’s gone but is on blue-anvil if you google it.

  • Ola

    In the old version you had the timeout option, will this be implemented in the new one also? I dont want every single click logged. Sometimes people click more than once or download the same file in the span of a minute if it doesnt work out the first time.

    • Ola

      Also…. Ability to clear logs….. When it gets congested, it gets messy so i like to clear it out from time to time.

      Wonderful plugin!

  • http://goodereader.com/blog/ Good E-Reader

    can you put in a feature for SEO Titles and Descriptions, so they get indexed?

    • mikejolley

      Downloads don’t have ‘single’ pages so this is not needed.

  • http://ueab.ac.ke/ UEAB Web Patrol

    That’s great mike! I’m one ardent user of your plugin, and was disappointed for a while when I saw the “this plugin is no longer supported…” note. But now I believe things are back on track. Thanks for reconsidering the plugin. thanks again.

  • http://www.skyflash.it Cristian

    Hi Mike! I’m sorry but i can’t find the plugin on github. When i click your link i obtain a 404 page :(

  • SLEEPER

    Anyone have any example templates to look at? I’d like to see how to put on together. thanks.

  • mikejolley

    Ask (in more detail!) on wordpress.org forums. Update: O you meant the link. The plugin is released now, so no need for beta!

  • mikejolley

    Asking the hosting provider.

  • mikejolley

    Should have no issues with caching. If anything you’d need to exclude the download endpoint from page caching.

  • Sussie

    would like to have the shortcode button enabled on custom posttypes

    • mikejolley

      I added this in the last update ;)

  • http://trentontalbot.com/ Trenton Talbot

    Mike, thank you for the great work! But there’s one crucial feature missing: a password protection for individual downloads, to let users download files just by entering the password, without global WP registration. Can you please add it, maybe as a paid addon?…

    • mikejolley

      I’ll consider it when I start building more extensions certainly.

  • Ravi

    Hi, I was testing a lot of plugins for offering free downloads. And, finally found this thanks to Pippin ! Great work, here. Thanks.

  • J

    Thank you. Love this plugin but I think it’s causing me to get the white screen of death. Anyone else getting this too?

  • J

    Is there any way that anyone can hack in to obtain the downloaded files even if the restriction is put in place (check marked the members only box) and I have ssl cert on the page?

  • mikejolley

    Uploaded files are actually put in their own directory. wp-uploads/downloads I think it was.

  • Sarge

    Happy to pay for a good product that has support! ;)

  • Anti Kiik

    can i still download old version somewhere?