-
Search Results
-
Topic: Homebrewing auto-updates
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 problemIt 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!
Topic: error with PDF stamper
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-ThematwnI 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.phpBasically 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 mangerThen 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?Hi there- I’m hoping to extend some functionality here in the basic file list and provide a direct link to “View” the file (in the case of PDFs, so the browser PDFViewer can simply open the doc) in addition to the download button. Where in the $files object/array is the pure URL to the file? I’ve found the full file list in the object but for some reason cannot seem to find the index that is used to hit a specific file.
Any help would be appreciated!
Topic: "All Packages" Search Error
Hi,
I have just launched a new website and I purchased WPDM Pro and the All Add Ons Pack. Everything that I have used so far has been amazing and has made a huge difference to my site. The collection of interconnected plugins that you have developed is fantastic. Great work.
I have a few questions.
1. I am getting an error message when I type anything into the search box in the “All Packages” section saying that the URI is too Large even if it is only a word like “agm”. I have over 300 files so this this is an important bit of functionality for me to get working.
2. I am using Accordion to display the files. I want users to download the file from within the Accordion rather than be sent to the download file page. I was able to edit the templates to achieve this however as Accordion does not use a template so can you let me know where I can edit the lay out of the Accordion. I also want to replace the upload date with the version number of the file.
3. You pointed another user in the forum to a plugin “Taxonomy Order” to order the download categories. This works really well with your plugin. I am just wondering if another plugin from the same provider “Post Types Order” would enable me to order the display download packages?
5. Is there any way to export a file listing with short code, url, etc out to csv?
6. I purchased the pro package which is not meant to have any advertising for WPDM however the following code is inserted into every page of my site:-
<h4 class=”modal-title”>WordPress Download Manager</h4>
</div>
<div class=”modal-body” id=’wpdm-modal-body’>
<p>WordPress Download Manager – Best Download Management Plugin</p>
</div>I never installed the free version. I have uninstalled and re-installed the plugin and it still shows up. (this I am not so happy about!) Can you advise re removal.
Keep up the good work.
Cheers,
Micheal