Title: [Plugin: WordPress Download Monitor] not compatible with SSL / HTTPS
Last modified: August 20, 2016

---

# [Plugin: WordPress Download Monitor] not compatible with SSL / HTTPS

 *  [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-download-monitor-not-compatible-with-ssl-https/)
 * **functions.inc.php**
 * **Line 162**
 * Changed from this:
    `<td class="value"><img src="'.$wp_dlm_root.'img/bar.png"
   alt="" height="16" width="0%" />0</td>`
 * To this:
    `<td class="value"><img src="'.plugins_url('/download-monitor/img/bar.
   png').'" alt="" height="16" width="0%" />0</td>`
 * **Line 189**
 * Changed from this:
    `echo '<a href="'.$url.'" class="thickbox" title="'.__('Add
   Download','wp-download_monitor').'"><img src="'.$wp_dlm_root.'/img/media-button-
   download.gif" alt="'.__('Add Download','wp-download_monitor').'"></a>';`
 * To this:
    `echo '<a href="'.$url.'" class="thickbox" title="'.__('Add Download','
   wp-download_monitor').'"><img src="'.plugins_url('/download-monitor/img/media-
   button-download.gif').'" alt="'.__('Add Download','wp-download_monitor').'"></
   a>';`
 * **admin/dashboard.php**
 * **Line 169**
 * From this:
    `<td class="value"><img src="'.$wp_dlm_root.'img/bar.png" alt="" 
   height="16" width="'.$width.'%" />'.$hits.'</td>`
 * To this:
    `<td class="value"><img src="'.plugins_url('/download-monitor/img/bar.
   png').'" alt="" height="16" width="'.$width.'%" />'.$hits.'</td>`
 * **Line 242**
 * From this:
    `<td class="value '.$first.' '.$last.'"><img src="'.$wp_dlm_root.'
   img/bar.png" alt="" height="16" width="'.$width.'%" />'.$hits.'</td>`
 * To this:
    `<td class="value '.$first.' '.$last.'"><img src="'.plugins_url('/download-
   monitor/img/bar.png').'" alt="" height="16" width="'.$width.'%" />'.$hits.'</
   td>`
 * [http://wordpress.org/extend/plugins/download-monitor/](http://wordpress.org/extend/plugins/download-monitor/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-download-monitor-not-compatible-with-ssl-https/#post-2397984)
 * Okay, I realized there are A LOT of places to change… and this is a quicker fix
   anyways (ignore the previous post I guess)…
 * **wp-download-monitor.php**
 * **Line 35**
 * From this:
    `$wp_dlm_root = WP_PLUGIN_URL."/download-monitor/";`
 * To this:
    `$wp_dlm_root = plugins_url('/download-monitor/');`
 * That fixed ’em all. 🙂
 * P.S. Just for consistency’s sake…
    **admin/admin.php**
 * **Line1446**
 * From this:
    `if (!$thumb) $thumb = $wp_dlm_root.'/page-addon/thumbnail.gif';`
 * To this:
    `if (!$thumb) $thumb = $wp_dlm_root.'page-addon/thumbnail.gif';` (took
   out the extra /)
 * _**Please implement this or some other fix into the next version.**_
 *  [Jer Clarke](https://wordpress.org/support/users/jeremyclarke/)
 * (@jeremyclarke)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-download-monitor-not-compatible-with-ssl-https/#post-2398219)
 * +1 this is mandatory! For now I will have to hack the plugin with this same fix,
   but PLEASE, fix this ASAP. it is a simple fix and follows current best practices
   for fetching URLS. (plugins_url(), content_url(), site_url() are all new and 
   awesome and SSL-friendly).
 * Thanks!
 *  [Mike](https://wordpress.org/support/users/jolley_small/)
 * (@jolley_small)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-download-monitor-not-compatible-with-ssl-https/#post-2398376)
 * Thanks, added. DLM needs a good update but sadly I lack the time at the moment
   due to other commitments.
 * [https://github.com/mikejolley/download-monitor/](https://github.com/mikejolley/download-monitor/)
 *  Thread Starter [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-download-monitor-not-compatible-with-ssl-https/#post-2398384)
 * Thanks, Mike!
 *  [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-download-monitor-not-compatible-with-ssl-https/#post-2398399)
 * If anyone else notices issues like this in plugins, you can use [WordPress HTTPS](http://wordpress.org/extend/plugins/wordpress-https/)
   to fix the elements that are not SSL aware without editing the offending plugin.
 *  [Jer Clarke](https://wordpress.org/support/users/jeremyclarke/)
 * (@jeremyclarke)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wordpress-download-monitor-not-compatible-with-ssl-https/#post-2398405)
 * Good point Mvied, though output buffering the entire admin/site is a tradeoff
   that many people should think twice about (but which most users will never understand),
   and if the fixes for plugins are easy then plugin devs should make the small 
   changes rather than encourage users to install an intense plugin like WPHTTPS.
 * No offense meant to your plugin of course, it’s invaluable for people who don’t
   care about performance (or dont’ have problems that output buffering exacerbates),
   but I hope other plugin devs don’t use it as an excuse 😉

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: WordPress Download Monitor] not compatible with SSL / HTTPS’
is closed to new replies.

 * ![](https://ps.w.org/download-monitor/assets/icon-256x256.png?rev=3198936)
 * [Download Monitor](https://wordpress.org/plugins/download-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/download-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/download-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/download-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-monitor/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 6 replies
 * 4 participants
 * Last reply from: [Jer Clarke](https://wordpress.org/support/users/jeremyclarke/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wordpress-download-monitor-not-compatible-with-ssl-https/#post-2398405)
 * Status: not resolved