Download Monitor 3.2.2 Maintenance Release
Download Monitor has received some more love and has been updated. Here’s the change log from the new version:
- Small bugfix in uploader.php – cat ID
- Changed stats graph calculation – thanks lggemini
- Changes to headers in download.php to avoid caching
- File Browser fixes – $root was clashing with something….
- exclude_cat works in all sections of download_page now
- Removed hardcoding of /uploads/
- Added action to download.php – should be able to use it to stop a download if you want – maybe limiting downloads per day or something? Whatever you want…
- Made it so if you post new file on ‘edit’ screen, the post date is updated.
- Fixed the ‘blank meta’ section which blanks out custom field values when nothing is set.
- Moved ‘allow_url_fopen’ check.
- Someone said downloads don’t work with spaces in the name. They do! Wasting my time sonny…
- All work and no play make jolley a dull boy
- Had to rename capabilities so they work. Apologies if you have to set this up again! Cheers to Mark Dingemanse.
- {category_ID} custom format tag added. Useful if you want to send someone to its category on the DL page I guess. Also added {category_other} so when no category is set “other” is shown – this is because the download page can show an ‘other’ section if you want it to.
- You can now manually edit the post date on the edit download screen.
If you have edited capabilities for download monitor user permissions, you’ll have to again sorry! This is because I named them too long. Also, you should check your forced downloads still work because there was a logic error meaning they may not have been forced after-all…
Enjoy.
Found this post useful? Why not buy me a coffee!










Brian says:
Thanks for the category id tag! That is perfect for our homepage listing. Oh, and editing the post date is great as well. Since I don’t receive meeting minutes for posting in the right order (approvals take time), I can edit the post date so the documents sort correctly by date. PERFECT! Keep the great updates coming! I have already recommended this plugin to others I know.
Comment made on October 3, 2009 at 4:38 pm
Mike Jolley says:
@Brian: Thanks, Glad its *more* useful now
Comment made on October 3, 2009 at 4:57 pm
mark says:
Hmm, the file browser stopped working for me on the two sites I run DM on. On one it fails silently, on the other it complains about an open basedir restriction (
File(/) is not within the allowed path(s) ... in /plugins/download-monitor/js/jqueryFileTree/connectors/jqueryFileTree.php on line 59). The file browser root seems to be correct.Comment made on October 5, 2009 at 1:49 pm
mark says:
Ah good, solved in 3.2.3. Muchos gracias!
Comment made on October 7, 2009 at 5:12 pm
Manvendra says:
Hi
I am using Download Monitor 3.2.3. When i add a file to be downloaded by members only, it does not work even for admin or any users. It gives message ‘Download path is invalid!’.
If i remove the options for members only then everything works fine.
Is there any solution?
Thanks
Manav
Comment made on October 25, 2009 at 8:36 am
Mike Jolley says:
@Manvendra: why ask twice? http://blue-anvil.com/archives/wordpress-download-monitor-3-documentation/
Comment made on October 25, 2009 at 8:59 am
Manvendra says:
I think I have found a work around here.
If default address for your blog is say ‘/public-html/apps/blog/’. While you create link for download using ‘add existing’ and give a link of file as http://www.yourdomain.com/files/filename.msi and say you have selected only for members to download. When user clicks on download button, url path gets translated to http://www.yourdomain.com/apps/blog/files/filename.msi which is wrong url address.
Workaround:
Create a folder in apps/blog with name ‘files’. Put the original files here. While providing a link in Download monitor, give link as http://www.yourdomain.com/files/filename.msi instead of giving as http://www.yourdomain.com/apps/blog/files/filename.msi. It should work fine now.
Thanks
Manvendra
Comment made on October 25, 2009 at 10:52 am
Manvendra says:
sorry Mike. I did not see your comment.
Why does it works fine when you have not selected options for members only for same url?
My url is local to server.
Thanks
Manvendra
Comment made on October 25, 2009 at 10:58 am
Mike Jolley says:
@Manvendra: If you manually enter the url to the file (and don’t use the file browser) does it work correctly? If not I think it may be expecting the url to be within the wordpress installation somewhere.
Comment made on October 26, 2009 at 9:34 am
Trevor Mauch says:
Hey Mike,
Hmmm… I’m having the same problem. We have a bunch of downloads that we had on our server before we started using DL Monitor about a year ago… then, we made them all member only downloads last month… and now all of them are going to “download path invalid” like Manvendra had.
So… what is the final solution to this??? I’ve tried several things… and can’t find the solution…
Here’s the site: http://www.thereibrain.com
Thanks!
– Trevor
Comment made on November 3, 2009 at 12:21 am
Mike Jolley says:
@Trevor Mauch: Maybe you can help me debug since you have the problem? I just need to you to add this below line 413 of download.php in the plugin folder:
echo 'File URL: '.$thefile.' - Wordpress URL: '.get_bloginfo('url'); exit;Just add that, then try a download with the problem. Tell me what it outputs – you can then remove that line of code.
Comment made on November 3, 2009 at 8:35 pm
Trevor Mauch says:
Hey Mike, thanks for the response!
Okay, I added that string to the file… this is what we get now:
File URL: http://www.thereibrain.com/resources/forms/Move%20In%20Move%20Out%20Form.doc – Wordpress URL: http://www.thereibrain.com
It’s just a blank white page that says that.
It shows that even for the user when they are logged in.
Here’s the URL of that download:
http://www.thereibrain.com/rental-property-move-inmove-out-checklist/84/
You of course have to join to be a free member first… then when you go to download it… that stuff above shows.
If you wouldn’t mind… is there a way you can email me when you respond to this thread? I forgot all about it until today.
Thanks!
– Trevor
Comment made on November 10, 2009 at 12:36 am
Mike Jolley says:
@Trevor Mauch: Subscribe to the feed http://blue-anvil.com/archives/download-monitor-3-2-2-maintenance-release/feed/.
Anyway, you should repeat that for a member only download and see if the file url it reports is wrong. If you don’t want to disclose its url email me instead.
Comment made on November 10, 2009 at 2:28 pm
Christian says:
Right
This subject is old but seem already not soved.
Same problem free link is good but for members no.
My side if I put
$new = preg_replace(‘/\.\./’,”,$thefile); echo ”.get_bloginfo(‘url’).”.$new.”;
I have now the good link for members
Any solution or update ?
Comment made on March 11, 2010 at 10:32 pm