Simple Download Monitor

Description

I developed the Simple Download Monitor plugin because I needed a nice way to manage my digital downloads and monitor the number of downloads of my files and documents.

This plugin is very useful for managing and tracking your digital file download counts.

You can password protect your downloadable files and documents too (visitors will require a password before downloading the file when you use this option).

There is an option to show an ajax file tree browser so your visitors can browse all your files and download the ones they want.

You can configure downloadable files from your WordPress admin dashboard via an elegant user interface. Then allow your visitors to download the files and this plugin will monitor which files get downloaded how many times.

The plugin will log the IP addresses of the users who download your digital files and documents. It will also log the date and time of each download.

It has a very user-friendly interface for uploading, managing, monitoring and tracking file downloads.

Simple Download Monitor Features

  • Add, edit and remove downloads from an easy to use interface.
  • Drag and drop file and document uploads.
  • Assign categories and tags to your downloadable files and documents.
  • Rich text editor for editing your download item description.
  • Use shortcodes to display a download now button on a WordPress post or page.
  • Show trackable download now buttons for your files anywhere on your site.
  • Shortcode to create a direct download link for a file. Useful for hotlinking.
  • Download counter for each file.
  • Ability to set a download count offset for each file.
  • Track IP addresses of the users who downloaded your files.
  • Track date and time of each file downloads.
  • Track the usernames of the users downloading the files.
  • Option to setup secure downloads for your files (the URL of the downloadable file will be hidden).
  • Option to upload a thumbnail image for each of your downloadable files.
  • Option to use a nice looking template to show your download now buttons.
  • Ability to search and sort your downloadable files in the admin dashboard.
  • Track the number of downloads for each of your files.
  • Track the visitors country.
  • View the daily download counts of your items in a chart.
  • WordPress Shortcode for embedding a download link for a file.
  • Tinymce button in the WordPress post/page editor so you can easily add the shortcode.
  • You can customize the “Download Now” button text of an item to anything you want.
  • Ability to add the download now buttons to your sidebar widget.
  • Create password protected download now buttons. Users will only be able to download the file if they enter the correct password. View the tutorial
  • Shortcode to show the download counter of a file. Use it to show off your file download count.
  • Shortcode to show all the downloads from a particular category.
  • Shortcode to embed a file tree browser for your downloadable files. The file browser is ajax based and it shows the files structured by categories.
  • Ability to open the downloads in new browser window or tab. When your users click on a download button, it will open in a new window or tab.
  • Ability to show your downloads in a grid display. View the tutorial
  • Export all the file download logs to a CSV file.
  • Ability to reset the log entries.
  • Shortcode to show a number of latest downloads to your visitors.
  • Ability to disable the download monitoring (logging) for certain items (or all items).
  • You can also choose to only monitor downloads from unique IP address only.
  • Option to specify file size info so it can be shown to your visitors.
  • Option to specify version number info for the download item so it can be shown to your visitors.
  • Option to restrict downloads to logged-in users only.

View more details on the download monitor plugin page.

Language Translations

The following language translations are already available for the download monitor plugin:

  • English
  • German
  • Spanish
  • French
  • Italian
  • Russian
  • Dutch
  • Portuguese (Brasil)

Simple Download Monitor Plugin Usage

Once you have installed the plugin, go to “Downloads -> Settings” interface to configure some options

A) Configure Download Monitor basic settings

  • Admin Options: Remove Tinymce Button – Removes the SDM Downloads button from the WP content editor (default: unchecked).
  • Color Options: Download Button Color – Select a default color of the download button (default: green).

B) Add a new download

To configure a new download follow these steps:

  1. Go to “Downloads->Add New” interface in your WP admin
  2. Enter a title for your download
  3. Add a description for the download
  4. Select the file from your computer and upload it (or use an URL of the file)
  5. Select an image for the download (it will be displayed as a thumbnail on the front end)
  6. Publish it

You can view all of your existing downloads from the “Downloads->Downloads” interface.

C) Create a download button

Create a new post/page and click the “SDM Downlaods” TinyMCE button to insert a shortcode (This button will only show up if you haven’t unchecked it in the settings). You can choose to display your download with a nice looking box or just a plain download link/button.

Example Shortcode Usage:

[sdm_download id="271" fancy="1"]  (embed a download button inside a box with other information e.g. Thumbnail, Title and Description)

[sdm_download id="271" fancy="0"]  (embed a plain download button/link for a file)

[sdm_download id="271" fancy="0" color="blue"]  (embed a plain download button/link for a file with a blue color)

D) Download logs

You can check the download stats from the “Downloads->Logs” interface. It shows the number of downloads for each files, IP address of the user who downloaded it, date and time of the download.

Detailed Usage Documentation

View more usage instructions on the Download Monitor Plugin page.

Github Repository

https://github.com/Arsenal21/simple-download-monitor

If you need some extra action hooks or filters for this plugin then let us know.

Installation

  1. Go to the Add New plugins screen in your WordPress admin area
  2. Click the upload tab
  3. Browse for the plugin file (simple-download-monitor.zip)
  4. Click Install Now and then activate the plugin

FAQ

Installation Instructions
  1. Go to the Add New plugins screen in your WordPress admin area
  2. Click the upload tab
  3. Browse for the plugin file (simple-download-monitor.zip)
  4. Click Install Now and then activate the plugin
Can this plugin be used to offer free downloads to the users?

Yes.

What file formats can I upload?

You can pretty much upload all common file types.

Can I use external file URLs?

Yes, you can use both local paths and external URLs.

Can I password protect a downloadable file?

Yes.

Can I show the file download counts to my visitors?

Yes.

Can I show all downloads from a category?

Yes.

Can I show an ajax file tree browser using this plugin?

Yes.

Can I show a number of latest downloads to my usrs?

Yes.

Can I track downloads from unique IP address only?

Yes

Reviews

beware of the robots

Plugin works OK and is simple to use. But you have to add a robots.txt manually to prevent robots from scanning the sdm_downloads folder because that will result in many (many!) false positives (easy recognisable: all downloads from one IP with only a few seconds inbetween).

Powerful and Awesome!

I have been using it for our church website where we offer free pdf downloads on some pages.

The categories, shortcodes, thumbnails, styling, download count, etc make this an awesome and free plugin. I had a put in a simple css tweak to center the thumbnails, other than that perfect.

Thanks to the developers for making this available and keeping it up to date.

[ link redacted, please do not post links in reviews ]

It looked perfect. But instead….

I can not use a password for the downloads. For me it is useless.
If I use a password the download button will not work and reporting the error: Internal server error.
A pity because otherwise it was 5 stars.

Great

Very good plugin.
You can instert link to file or upload file.
And support is answering.

Simple and it works

Super simple, easy to use, and it works.
If you just want to give some stuff away and see how many people take it, this is perfect.

Five stars if I could hide downloads from the sdm_downloads/ page (yes, I posted in support).

THANK YOU for the good work!

Read all 47 reviews

Contributors & Developers

“Simple Download Monitor” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

3.4.5

  • Updated the slug of the new stats menu in this plugin so it doesn’t conflict with jetpack’s stat menu.

3.4.4

  • Added “Stats” menu in the plugin that shows download count using a chart.
  • Removed the “modal” class definition from the admin CSS file.

3.4.3

  • The [sdm_search_form] can take the fancy template as a shortcode argument to display the search result using that template.

3.4.2

  • Added a new option “Only Allow Logged-in Users to Download”.
  • Added [sdm_search_form] shortcode to display a search form for searching SDM downloads only.

3.4.1

  • The password protected download button will use the “button_text” specified in the shortcode (if any).
  • The download now log will track WP eMember plugin username if the user is logged in as a member.

3.4.0

  • Added a new hook to allow plugin extensions to hook into download request handling.
  • Added empty index file to the plugin folder.
  • Fixed potential XSS vulnerability. Thanks to Neven Biruski (Defensecode) for pointing it out.
  • Minor typo fix.

3.3.7

  • Added an improvement for the password protected download. If a user goes directly to the download link without entering a password, it will point the users to go to a page where they can enter a password for the download item.

3.3.6

  • Fix fancy template shortcode attributes: some shortcode attributes were ignored in the previous release.

3.3.5

  • Download button color can now be specified in the shortcode for fancy 1 and the standard download button.
  • Added clearfix to .sdm_download_link container for better rendering in mobile devices.
  • The button text color CSS has been sharpened a little to make it look nicer.
  • Fixed an undefined variable notice.
  • Updated TinyMCE button icon to a better one.
  • Minimum WordPress version requirement changed to WP4.1

3.3.4

  • Replace deprecated get_currentuserinfo() with wp_get_current_user()
  • Improve remote IP and location detection
  • Added a new shortcode to show a simple list of the download categories
  • Fix: avoid undefined variable notices in sdm_pop_cats_ajax_call()

3.3.3

  • New feature – local download items can now be dispatched via PHP. This way, the actual URL of the downloaded file is not exposed (offers secure download).
  • Minimum required WP version raised to WordPress v3.3
  • WordPress 4.6 compatibility.

3.3.2

  • Added an option to specify the file size info when editing the item. Size info can be shown in the fancy display template using a shortcode parameter (show_size).
  • Added an option to specify the version number info when editing the item. Version info can be shown in the fancy display template using a shortcode parameter (show_version).
  • Added French language translation. Translation file submitted by Laurent Jaunaux.
  • The stats metabox in the download edit page will now appear before the shortcodes metabox.
  • Added more usage instructions in the download file upload section.

3.3.1

  • Added a new feature to hide the download counts that is shown in some of the fancy templates. This new option can be found in the settings menu of the plugin.
  • Added delete confirm dialogue in the individual download logs delete option.
  • Simplified the settings menu page style.
  • Fixed multiple vulnerabilities (thanks to NCSC-NL).

3.3.0

  • Better implementation of the export log data to CSV file.
  • Added a new filter in the download logs menu so the items per page value can be customized.
  • Fixed a bug in the logs menu sorting. Sorting for some columns weren’t working correctly.
  • Added sanitization for the order and orderby columns in the logs list table.
  • Added sanitization for the log entry delete functionality.

3.2.9

  • Renamed the label of categories and tags of this plugin to “Download Categories” and “Download Tags”.
  • Better implementation of password protected download items. The ajax method of checking password has been completely replaced with a more robust implementation.
  • Fixed a bug with the remove thumbnail ajax query.
  • Thanks to @James Golovich for pointing out the issues.

3.2.8

  • WordPress 4.4 compatibility.

3.2.7

  • Added a new feature to specify the new window parameter when using the shortcode inserter (from TinyMCE).
  • Minor CSS style fix for the “Logs” interface.
  • The log entries will be sorted by “date” field (by default).

3.2.6

  • The language slug has been changed to “simple-download-monitor” so it can be imported to the WordPress language pack.

3.2.5

  • Modified the ‘sdm_download_shortcode_output’ filter to pass the arguments array also (allows greater customization option via this filter).
  • Added a new option to show X number of latest downloads from a specified category.

3.2.4

  • Added a new feature to show pagination in the display all downloads from a category shortcode.
  • Added validation checks while processing a download request to make sure the download item ID is valid and the item has a download link.

3.2.3

  • Addressed some warning/notice messages that shows when debug is enabled.

3.2.2

  • Added a new shortcode to create a direct download link for the file. Useful if you want to create a custom download link.
  • WordPress 4.2 compatibility.

3.2.1

  • Fixed an issue with the ajax category browser shortcode.
  • Improved the ajax category downloads shortcode to show an up/down arrow icon next to the category name.

3.2.0

  • Added a textbox to manually type in an image thumbnail URL when editing a download item.
  • Minor javascript improvements for the select and remove image option.
  • Improved the image thumbnail preview in the admin side.
  • Added placeholder text in the URL input fields.

3.1.9

  • Fixed a compatibility issue with WooCommerce’s latest release.

3.1.8

  • Enabled shortcode filtering in standard text widget.
  • Fixed an intermittent issue with the rewrite rules flushing.

3.1.7

  • Added Portuguese language translation. Translation file submitted by Visto Marketing.
  • New feature to disable the download monitoring (logging) for certain items (or all items).
  • New option to only monitor downloads from unique IP address only.

3.1.6

  • Improved the queries in the “Logs” interface to be more efficient.
  • Added a new feature to reset/empty the download log entries. You can find it in the “Logs” menu of the plugin.

3.1.5

  • Added Spanish language translation. Translation file submitted by Manuel.
  • Added Russian language translation. Translation file submitted by Балашов Алекс.
  • Added Dutch language translation. Translation file submitted by Paul Tuinman.
  • Added a new feature to show X number of latest downloads.

3.1.4

  • New feature to track the usernames of the WP Users downloading the files. You can view the username info in the “Logs” menu.
  • Enabled the “View” link in the all downloads list table.
  • Some refactoring work to move the admin menu handling code to a separate file.

3.1.3

  • Added an option to use “orderby” and “order” parameters in the display downloads from a category shortcode to allow sorting the download items display list.
  • The download item description field has been converted to a rich text editor. So you can customize the download description with rich text.

3.1.2

  • Removed the link from the download item name in the template 2 display.

3.1.1

  • Fixed a bug with the file download password entry field.

3.1

  • Added a new fancy template to display the downloads.
  • You can now show a grid display of your downloads.
  • Added some error validation in the download shortcode entry.
  • Refactored some code and added a couple of new filters.
  • Added CSS classes around the download count shortcode output.
  • Modified the styles of the simple downloads post type output.
  • The fancy 1 template now shows the download count of each item.
  • Updated the POT file for language translation.

3.0

  • Added an option to specify a download count offset for each download. This will allow you to set a starting download count for each item.
  • Added a new parameter in the shortcode to allow customization of the button text. You can now customize the “Download Now” button text to anything you want from the shortcode.
  • Added a new parameter in the shortcode to allow opening the download in a new window or tab.

2.9

  • Added visitor Country to database table; allowing tracking of each download visitors Country.
  • Visitor Country is also seen in the “Logs” page; can be sorted; and exported.

2.8

  • Added the ability to use shortcodes in the description area of the downloads. For example: you can use the download counter shortcode in the description field to show the current counter to your visitors.
  • Bug-fix for the “show downloads from a category” shortcode. It will now correctly show all items in a download category.
  • Added a better dashicons icon for the downloads menu in the admin dashborad.

2.7

  • Added a new feature to show an ajax file tree browser.
  • Added some missing translation strings in the plugin.
  • Added German language translation. Translation file submitted by Meinhard
  • Changed the password input field to a type of “password”
  • Fixed a minor but that would preven the “view” links from displaying in WordPress posts

2.6

  • Added a new shortcode to show all downloads from a download category.
  • Added a filter to handle the URL of SDM downloads post type.

2.5

  • Added a new feature to password protect a downloadable file.
  • Added a new shortcode to show the download count to your visitors.

2.4

  • Fixed an issue with file download using external file URL.

2.3

  • WordPress 3.8 compatibility

2.2

  • Fixed the plugin language translation issue. Now it can be translated to any language.

2.1

  • Minor bug fixes with the stylesheet file URL.

2.0

  • Complete new architecture for the download monitor plugin
  • You can download the old version with old architecture here:
    https://wordpress.org/plugins/simple-download-monitor/developers/