My story :
I have premium packages. To download them, you have to be in ‘premium’ group (group i added).
I would like to test if :
1/ user is logged and not premium -> no form lock, message “you need to be in premium group”
2/ user is logged and premium -> no form lock, download link
3/ user is not logged -> form lock enable
Download is working fine now, made 2 changes in /libs/class.FileList.php and /libs/class.Package.php, in both files, changed get_permlink($ID) with home_url('/')
Hi, and fist of all sorry for my bad english.
On my website (http://www.gruppolazialebevande.it/area-riservata/ WPDM ver.4.6.0) suddenly stopped working internal links on the dashboard.
“Download history”, “Edit profile”, “Logout”… They send to a 404 error page; I have not made any changes to the files and everything worked perfectly. Does anyone have experience about this?
Thanx!
i want to get rid of the link that take you to the package detail page. How can i remove it so that the package title is just a title and the user is only able to download the file?
If you update the package after sending email, the download link in email will be expired. Because after each update there is a new master key generated. Maybe that’s what happening in your case.
The option Download Limit underneath the Package settings isn’t working. I have set it to “1” so that after a single download the link will no longer work. For some reason, it’s not counting the downloads and therefore not locking the link.
Enable the Open File in Browser option from Downloads Settings Basic File Download Panel.
That will open file in same tab. If you want to open file in new tab use a custom link template. Clone the link template you are using now and replace [download_link] with following code,
I mean each time you add a package, for the attached file, I add an URL for the file to download (on an external server, i don’t use the “upload” function), this URL is set by me.
now all my packages have a URL http://ns32……… but i’m moving all my files to a server named http://ns42….. (still an external server, not the one where WordPress is set)
so all my downloads will not work, i can actually go inside each packages 1 by 1 to update the link to the new server, but doing than more than 3000 times is not what i want.
I tryied to modify those packages link directly into the database, but when i do that, when i edit a package, attached file URL is empty.
I found this thread on the ‘wpdm free’ forums where Shaon explicitly states, the goal of WPDM is to force the download rather than viewing the file in a new tab.
That was two years ago. Is that still true or is there a way to view, say a PDF, in a new browser tab when the link is clicked?
Reasoning: I want to use WPDM to sort, manage and categorize PDFs/ Flyers/ Posters etc without cluttering the default wordpress media library in wp-uploads. That doesn’t mean that, from time to time, some files are preferably being viewed in a new tab rather than being downloaded.
Sorry, not clear, download URLs are not static, they are dynamically generated and if you move content to another domain , link automatically use the new domain.