We’re creating new WordPress sites entirely in SSL and if I log into the WP admin interface on such SSL sites, Download Manager inserts HTML that isn’t “SSL-safe”, causing mixed content warnings. Here’s what happens:
* Download Manager Pro plugin installed and active on SSL site.
* The main admin interface page has this HTML inserted by Download Manager that causes a mixed content warning (yes, it does say “wpdmvarsion”!):
<pre id=”line1″><<span class=”start-tag”>iframe</span> <span class=”attribute-name”>src</span>=”http://cdn.wpdownloadmanager.com/notice.php?wpdmvarsion=4.3.0”
<span id=”line1048″></span> <span class=”attribute-name”>style</span>=”height: 300px;width:100%;border:0px“></<span class=”end-tag”>iframe</span
And, yes, there is a valid secure cert on https://cdn.wpdownloadmanager.com/
so it could have been prefixed with // instead of http://.
* If you load in the iframe URL, this has further issues in its HTML:
<<span class=”start-tag”>link</span> <span class=”attribute-name”>href</span>=’http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900‘ <span class=”attribute-name”>rel</span>=’stylesheet‘ <span class=”attribute-name”>type</span>=’text/css‘>
This http:// link prevents any attempt to workaround the mixed content warning issue (e.g. with mod_substitute, WordPress for HTTPS etc.).
It should of course start with ‘//fonts.googleapis.com/…
It would be nice if these two simple (and near-identical) fixes were added to the next Download Manager release.
Download Manager Pro doesn’t show any indication in the WP admin interface that there’s a new version available, which is extremely poor, particularly if the new version has security fixes. In fact, the lack of auto-updates of Download Manager Pro is utterly appalling and a major security risk, so I’m going to have to “homebrew” my own way of doing auto-updates.
Firstly, I’m going to need to know what the latest version of Download Manager Pro is – my best guess is to scrape this page:
http://www.wpdownloadmanager.com/category/blog/new-release/
and look for the earliest line with “WordPress Download Manager Pro vX.Y.Z released” and extract the version from that. This seems extremely crude – is there a better way to get the latest version programmatically?
Once a new version is detected, it looks like I’ll have to screen scrape with curl to get to the latest zip file in my account:
* Login to Download Manager site
* Go to http://www.wpdownloadmanager.com/purchases/
* Get the top (“Completed”) Order id line and follow the link
* Grab the Download link for the download-manager-X.Y.Z.zip file (may also need to get License key here)
* Logout from Download manager site
* Copy the zip file onto the server I want to update
* Run a sequence of WP-CLI commands as necessary:
– Deactivate old plugin (if present and activated)
– Delete old plugin (if present)
– Install new plugin
– Activate new plugin
– Add license key if needed (not sure how you do this step!)
* Do some post-upgrade tests (home page HTML OK, returns code 200 etc.)
* Rollback using an old zip file/license key if there’s a problem
It does seem to be a total pain in the backside to have to handcode this (and if the Download Manager site gets reworked, things will fail) – there *really* ought to be better way than this – an auto-updater plugin (which I see was around in 2011, but gone now) or something. I can auto-update all the other free and paid plugins I have installed in our WP sites…except for Download Manager Pro – arrgh!
Hello .. i try to download file to try a pdf stamper add-on but when i press download i get this massage :
Warning: fopen(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/****/public_html/wp/wp-content/plugins/wpdm-pdf-stamper/libs/fpdf1.7/fpdf.php on line 1232 Warning: fopen(http://www.******.com/wp/wp-content/uploads/2015/08/******_stamp.png): failed to open stream: no suitable wrapper could be found in /home/***/public_html/wp/wp-content/plugins/wpdm-pdf-stamper/libs/fpdf1.7/fpdf.php on line 1232 FPDF error: Can’t open image file: http://www.*******.com/wp/wp-content/uploads/2015/08/**********_stamp.png
My Apache error log is being flooded with a bunch of errors from the WPDM Pro addon. It appears the addon is creating links for file type icons that don’t (and shouldn’t) exist. It appears that the error occurs when a URL is attached as a package. I’ve attached part of my Apache error log to help track down this issue.
Any help on this would be appreciated. Thanks!
Hi, we are using All Packages shortcode. It is showing a “Download” link as it should.
But we would like to change it to a “View” or “Open file” link instead, that opens the file in a new window or tab. So people either can just look at the PDF and then close it, or if they wish to they can download it themself (save pdf file).
I saw in another thread your suggestion to “Open PDF in new tab”: In case of public download you can edit link and page template, use [link_label] instead of [download_link]
Can we use the same solution with All Packages?
What will happen with the download counter? Will it count files that are opened in a new window, just as if they were downloaded?
In detail:
if you look at this page http://www.bastec.se/products/operatorspanel/ It is showing a “Download” link (“Ladda ner” in swedish) as it should. I would like to change “Ladda ner”/Download to View/Open file. But when they click on a file NAME they should still get linked to the file SINGLE page with more info. And on a SINGLE page like http://www.bastec.se/download/bas2-op-t440-operatorspanel-datablad/ there could still be a normal Download link, or will that change to if we change it on the first page?
/Lea
Hello there,
I am using the Archive Addon and I have problems with z-index at the right side of category buttons, as you can see at the screenshot.
The url is Vasi-Thematwn
I couldnt solve it by my own…. 🙁
OK so one of the clients I am working has a specific need for a page layout functionality and I am wondering if and how this is possible….
1) Automatic large thumbnail creation of PDF file
2) Archive Page to display latest documents uploaded only, every time an upload is made 5 PDF documents are uploaded: Salinity, Water Quality, Weather, Habitat, Biology, Report see what they are doing currently: http://saveourlake.org/coastal-hydromap.php
Basically they are manually creating jpg thumbnails and posting the pics and links manually …
I’d like to figure out how to automate this using wp-download manger
Then one additionally layout lists the archive of said items in a table: http://saveourlake.org/coastal-hydromap-archives.php
Initially i was thinking of setting this up as a category (Hydrocostal water maps) with children (Salinity, Water Quality, Weather, Habitat, Biology, Report) That way i could detect the most current of each and create a table
Anyhow if you think there is a better way to do this let me know and if anyone has seen how to do the auto large jpg thumbnail creation of PDF documents for wp download manager do please let me know!
I tried adding [rating_stars] to the link templates but the stars are not showing.
The url is http://dev.expresspcb.com/community-library/
Why download count for Allow Inidividual File Download not work if download file is link add from Insert URL?
It not count when i try to click download?