Download button links are not working.
Actually there is a /download/# at the end of the link of every document
I have installed version 5.1.20 and wordpress 5.5
Hi there,
since updating to the latest version of Download Manager and WPDM – Archive Page we have an issue with appearance of the toggle arrows now wrapping to the next line.
The URL of the site is: https://downloads.mcberns.com/
To gain access to the page you can just fill in the form and call it a test message.
Here is a link to a screen shot: https://tinyurl.com/y5xjxn8p
Thank you for any assistance you are able to provide.
On 10th August 2020, I downloaded download-manager-5.1.2.zip which I still have a copy of. This was wrongly packaged in two serious ways:
1. It did *not* extract to a download-manager dir like previous versions have. In fact, “wp plugin install download-manager-5.1.2.zip” installed it to a “download-manager-5.1.2” dir which is non-standard to say the least!
2. The download-manager.php comment (and the define() of WPDM_Version) that documents the version number both stated it’s version 5.1.20! Because it’s in the file twice, I’m not convinced this is a simple typo of an additional “0”.
Today, 18th August 2020, I re-downloaded download-manager-5.1.2.zip and was surprised to see that it was a different file (both size and contents!). It did fix the download-manager extraction dir issue, but again, there are 2 obvious issues with this:
1. If you make a packaging mistake, you *must* increment the version number when you re-package the .zip. Never, ever release two .zip files with the same version filename but different contents! So this should actually have been download-manager-5.1.21.zip containing version 5.1.21 that extracts to a download-manager dir.
2. Although the filename remained download-manager-5.1.2.zip, the version you unpack from it is *still* 5.1.20. So not only didn’t the version get incremented like I said it should have been above, it still doesn’t match the version number of the zip file.
It doesn’t help that nowhere in your account can you see what the latest version number is. Yes, you can click on the download link to view the .zip filename, but that’s very poor discoverability, IMHO. The latest version number should be displayed somewhere in your account. In fact, I had to scour the public Website to find any mention of the latest version number and found it here:
And, yes, it wrongly states the latest version is 5.1.2 and also claims it was “updated Aug 9, 2020”, yet I’ve proved it was updated somewhere between 10th-18th Aug as well.
Can I suggest that you automate the packaging of your .zip files:
Step 1: Update download-manager.php with the latest version in 2 places (comment and the define()) – this should be scripted ideally using a template that gets subbed.
Step 2: Create the .zip file with the same script for step 1 that uses the same version number inserted into download-manager.php for the .zip filename.
Step 3: Auto-update that special pack page to replace the version number/size/updste date/filename.
Basic stuff really that keeps everything in sync and also will make sure you always extract to a download-manager dir too (it’s *very* clear to me that the .zip file is created manually, which is obviously very prone to human error as we’ve seen).