This reply has been marked as private.
Hi,
in this Thread: https://www.wpdownloadmanager.com/support/topic/open-pdfs-in-new-browser-tab/ I have already asked, because it doesn’t work for me. All my pdf should open in a new tab. This also worked until I added password protection to some pdfs. How do I make sure that the password is requested first and then the pdf opens in the new tab? It doesn’t matter if it’s wpdm_all_packages or link-template-default.php. Do you know what I mean?
You can modify the link to open in a new tab when there is a package-lock. Do you want to open the file in the browser? If not after unlocking package you can just download the file and your page will still be there with other downloads.
This reply has been marked as private.
When using the main download button:
To open file in new tab replace [download_link] with [link_label] in your custom page/link template.
However, this only works for me until I use a password protection. Then a new window will open but there will be no popup for entering the password.
I use for single file downloads link-template-default.php and for [wpdm_all_packages….] wpdm-all-downloads.php. What do I have to change to make it work?
Sorry, my mistake. It’s because I changed a link template and wpdm-all-download so that the Divi theme opens the file in a new tab and not in the same one. Now I just have to figure out how it’s basically possible except for password-protected files.
Thanks for the reply. The demo link looks great.
I am using a third party membership program that controls access to different things depending on their WordPress user role, so I am just assigning different wordpress user role levels to my packages. For example, “Basic” role (free membership required), “Premium” (paid premium membership required), etc.
Is it possible to do what you have described in the custom template tag if I am not using your the WP Download Membership Addon? I would like to do what you have described, but just have it be based on the name of the WordPress role that is assigned to that product. Please let me know.
Sorry for the delayed reply.
Dynamic Excerpt is working fine. I have created a custom page template “Dynamic Excerpt” and applied it here https://cioindex.com/reference/sample-it-governance-implementation/ Try changing the number in [excerpt_200]
tag. Please read this post to understand template customization.
Bulk Import issue could be related to CSV formatting. Please send me the CSV file to check. You can upload it somewhere and share the link in reply.
I am not getting any stats for downloads, either in the “Stats” section or when I look at the packages list in all packages. I have tried disabling/enabling the Download Manager plugin (as I saw this suggested in another forum post), but still nothing.
My site, and the download links, can be seen here: https://www.pclexperte.de/digitale-downloads/
Any help would be great.
Hi,
I checked the Database table wp_options
table for _fm_link_templates
and _fm_page_templates
records but found no custom template code there. I am not exactly sure which plugin modified these entries. In most cases, this kind of change is made by a plugin that does backup/restore or bulk DB changes ( search& replace etc ). Really sorry about the inconvenience but I couldn’t find any reason that points the issue being originated from WPDM.
Now best option is creating template files for your custom link/page templates as the issue may occur again if you use the template editor. You have to put the files in /active-theme/download-manager/page-templates/
and /active-theme/download-manager/link-templates/
directory ( I have already created those directories in your child theme ). The file name will be used as the template id in this approach. And you have to set a template name at the top of the file. Please check any existing template file from /download-manager/tpls/link-templates/
directory.
Here is a custom link template https://www.dropbox.com/s/upop791l1slse20/alameensoft.php?dl=1 Download the file and place it in /active-theme/download-manager/link-templates/
dir. This template is the same one used here http://prntscr.com/pq3h3e but without the download button.
Let me know if you have a further query or I can help you in any other way.
Thanks.
Hi,
if I add a file with password protection, the download doesn’t work anymore. Only the page opens in a new tab and the URL is extended with #locked. However, this only happens with the DIVI theme. As soon as I change the theme, the password popup works as expected.
Ok, if I use “Link Template Embedded” as the link template for this file, then the password is also asked for. This in turn only works if I enter the short code individually, but not if I use [wpdm_all_packages].
Unfortunately I can’t set up an account for you, because everything runs locally at the moment.
Do you want to remove the “Download” button from the “Popular Downloads” list? Just edit the link template you are using there. Clone the Default Link template and remove the [download_link]
tag from there. Then use the new custom template in your shortcode.
Please send temporary wp-admin login info in private reply if you need help with that.
Hi,
Download Manager doesn’t provide the user avatar option. It grabs the Gravatar image linked to the user’s email address. That’s the standard procedure for setting WordPress user avatar.
Thanks.
Hello,
I have added a pdf file for download, but when testing the link I get the following error, “File not found or deleted from the server”. I can see the file from the backend fine. I have also uploaded several times to make sure no issue with the file.
Any advice would be much appreciated.
Thanks
This reply has been marked as private.
This reply has been marked as private.
Download button is showing on every template link after upgrade to version 5.0
how can I disable it? because all my downloads are links.. there’s no direct files..
sample page:
Download Center
Ops, not works 🙁 sigh
I only see page 1 : https://www.danielebasso.it/art/
[wpdm_all_packages items_per_page="50" popup_link categories="magazines,online,newspapers,video" jstable=0 order_by="create_date" order="DESC" cols="title|categories|publish_date|download_link" colheads="Pubblicazione|Categoria| Data| "]
page changes do not work on https://www.danielebasso.it/art/press/
[wpdm_all_packages items_per_page="20" popup_link categories="magazines,online,newspapers,video" jstable=0 order_by="create_date" order="DESC" cols="title|categories|publish_date|download_link" colheads="Pubblicazione|Categoria| Data| "]
also there is no item counting such as for https://www.danielebasso.it/art/press/newspapers/
sorry, thanks for the help
roberto
This reply has been marked as private.
I checked your license key. It is already linked to the domain. If still getting the invalid key error then it is related to old version. Install the latest version will fix this.
Please follow these steps to update the plugin,
1 ) Deactivate and delete the old version. You won’t lose any data.
2 ) Download latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
3 ) Install the latest version and activate the license key.
Or just send temporary wp-admin login info in private reply. I will update the plugin for you.
Hi,
thanks, we have included the change and it displays downloads from child categories.
However, if we try to include downloads only matching multiple tags using:
[wpdm_category id="erp-scale-pse" tags="web" cols="1" order_by="create_date" toolbar=1 desc=1 item_per_page=10 template="link-template-calltoaction3.php" operator="AND"]
We get an empty list.
How do we get only downloads listed which have both of the tags web AND dropbox assigned?
Please send me the package link or download link where you got the “Download link expired” message. I tried several downloads but couldn’t re-create the issue.
Hi,
Thanks for your kind words. It truly means a lot to us.
Yes, it is possible to create a folder like structure using File Hosting and Sharing add-on https://www.wpdownloadmanager.com/download/file-hosting-sharing-add-on/ You will find the demo link in the page.
The folders in this add-on represent category and files represents packages. Each user has a main category and all other folders/categories are created as its child. Users can share packages with others using multiple sharing options.
If you want something different please let me know. It is also possible to replicate the actual directory structure of the server files. Try attaching a directory to the package and use the page template “Single Column, Image Top, Extended”.
And finally, if you want some kind of custom solution, our customization team ( https://www.wpdownloadmanager.com/download/custom-upgrade-service/ ) can develop it for you.
Best regards.
Hello –
I really like this plugin and your support has been super helpful!
Please see my link here: https://www.mercltg.com/resources/#toggle-id-8
Is there a way to force a direct download on certain file types (in this instance, the files that end in .IES).
Right now, with the help of support…I have PDFs launching in a new browser window (which is exactly what we want).
But when it comes to .IES files – we were hoping to have these direct download rather than appearing in a new browser.
Thank you in advance!
This reply has been marked as private.