We are setting up WP Download Manager and have the site up and running with a number of sample download packages.
We are setting up the site so all packages are only accessible by subscribers and above (so no logged in users can see or download the packages). We have done this via Downloads > Settings > Basic and set the access settings to “When user is not allowed to download – hide everything”.
We were originally using the Prime theme and this seemed to work but have now purchased and installed the Jumpstart theme. When we activate this theme all of the packages are viewable for non-logged in users (they still can’t download the package).
How can I use the Prime theme and ensure no packages can be seen or downloaded unless the user is logged in?
I need to have a page with all downloads on but then allow the user the ability to select which files to download.
Then have ask for the email address only once to be able to down load the chosen files.
I have enable the Single File Download option on the download page but for some reason it doesnt seem to make any difference and just has 1 download button for all the files
i have search this forum about this problem but i can’t find a solution.
so i wanna sort my downloads per update_date :
this is my shortcode [wpdm_all_packages items_per_page="20" categories="free-radioshows-podcasts,free-trance-downloads" jstable=1 order_by="update_date" order="ASC/DESC" cols="page_link,file_count,download_count|categories|update_date" colheads="Title|Categories|Update Date"]
older files showing on top … and newer ones at the end …
Download Manager Pro Version 4.9.6
Warning wpdm-functions.php on line 2387
Hi,
Today I have an error on all my downloads.
Warning: Invalid argument supplied for foreach() in \…\wp-content/plugins/download-manager/wpdm-functions.php on line 2387
I am using the shortcode [categories] in a custom link template. It shows the categories (as hyperlinks) that each download belongs to on my page. This is as it should be. When you click on any of the category links, you are taken to a new page which shows all the downloads belonging to that category. This is also how it should be. The link that are generated by the shortcode [categories] is formatted in this way: “https://my.domain.org/download-category/mycategory/”
The problem is that the category page that is generated is not formatted correctly. It just displays the the downloads as a list of hyperlinks with the document title as the text. I need to format these generated pages. I do not see a template that is assigned to these pages so that I can clone and / or format it.
What is the template or .php file that I can change to format the categories pages the way I need?
[ ] Open in Browser Try to Open in Browser instead of download when someone clicks on download link
Check that and when a user clicks on them, it should open in the browser rather than trying to download (on files that CAN be opening in a browser.. PowerPoints and Word Docs will most likely just goto the download dialog or download depending on browser settings).
As to making it open in a new tab…. I know when creating a text link, you can check a box that says “open in a new tab” or some such, but I believe that’s a WordPress dialog, and you have to manually copy the direct download link into it. At least that’s the only way I’ve found to open in a new tab.
The support people might know a different (better?) way to do it. It’s also possible that you could edit the templates to do what you want.
There you will see a file: download-manager-4.9.2.zip under your purchases
You need to download that, and then remove the WPDM Free version.. This will not remove any of your current settings or downloads.
You then need to install the 4.9.2 version ( Pro is v4.x while Free is v2.x). You then need to put in your license key into the appropriate place in the settings, and save settings. You should get a notice about your license key being validated.
The wpdm-archive.zip file is a different type of display for downloads (the one with the categories to the left, that expand and collapse while having seach and downloads to the right… You can see it on the Demo site ( –> HERE <– )
Once you have the WPDM Pro installed, you should have no problem finding the appropriate settings. 🙂
As un-intuitive as it was… I decided to run through the plugins (again)…
This time I checked downloads after each plugin… I found the one that was creating the download issue.
With all plugins enabled, with the exception of WPDM Block Hotlink (from the special pack), the site works perfectly fine and responds as expected. Turning on the Block Hotlink plugin causes the infinite loop to download pages, never serving the actual file (even in direct links)…
Not sure if this an actual plugin issue (since the 5.2.1 update) OR if it’s a case of problem at the server level… But for now the system is operating as intended. Still have the cUrl 28 and REST API issues, which only show up IF Download Manager Pro is enabled.. But it and other ” Recommended improvements ” disappear if WPDM (Pro) is disabled…
Looking forward to updates to the Pro edition of the plugin…
Now all zip files will be stored in cache dir which you can clear periodically from Downloads Settings Privacy tab. If you don’t want to store zip file it is better to disable the package download button and use only single file download links. Because creating a zip file takes a fair amount of server resource and as you are not storing those created zip the process has to be done again the next time someone else downloads the file.
So, either deactivate whole package download link or keep those zipped files to get optimized performance.
I’ve set my categories so that they’re only available to certain users. This works well with the Directory Add On page, but I not on the Category pages. All downloads are available to view, even if the user doesn’t have access?
I am using a taxonomy-wpdmcategory.php template page to display categories.
A user can edit only their own profile info. And you can control the access to the downloads using the “Allow Access” option in package settings.
WordPress shows the admin bar to all registered users. Download Manager has nothing to do with that. But I can suggest some code to hide the admin bar. Add the following code in theme’s functions.php file to hide admin bar for all roles except administrators,
add_action('after_setup_theme', 'wpdm_remove_admin_bar');
function wpdm_remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
show_admin_bar(false);
}
}
Ok.. so once I got the path right ( You don’t need the /tpls/ just /{theme}/download-manager/metaboxes/ <filename> .. .Then it worked.. Which at least protects my workaround for now.. But it really does need to be more properly fixed, as the 6 BR tags stretch out the border around that panel.. so it looks weird.
Additionally, tonight, a new problem has shown up.. and not sure if it’s a problem due to the Loop back error, or what…
Previously, we setup all our downloads on different pages to go directly to the files (using text links, and the direct download link). There are a couple of files setup in the menu’s and I’d say 90% of the rest of the files on various pages are linked like that. This system worked just fine when we set up the plugin originally. (Purchased Date: Apr 19, 2019).
However now, none of the links are working… Both the text links, and those using WPDM Link Templates, all direct the user to the package’s information page, and the download button on that page just keeps re-loading that page. This makes the system completely unusable.
Any idea on what’s going on here, and how to fix it? This is a critical high-priority error.
Hello…
After installing and setting up I realized there isn’t any download information showing in the dashboard. No total downloads, no today’s downloads, no package name, download time or IP. We have the free version but I didn’t see where this info is for paid versions only. Any help would be greatly appreciated.
Which link template are you using now? Please check the package settings and find the selected link template. Then clone this link template from Downloads Templates page. In this new cloned link template, you have to replace [download_link] with [download_link_extended] to use an embedded form instead of popup.
You can also override the link template selected in package settings by defining the template in your package shortcode. Check the example below,
I have a large file structure on my wordpress server which I would like to provide access to my front end users to download files from. This structure has many folders, sub folders, sub sub folders, files
I am trying to use the “Attach Dir” function and it is not working as I expected. When I try to browse to my root folder in the Attach Dir menu, I can see my root folder however it does not populate. If I select it, it does not create a package. My path is: /home4/kylekenn/public_html/wp-content/uploads/filebase/Grower Portal
I have tried manually typing in a path instead: /home4/kylekenn/public_html/wp-content/uploads/filebase/Grower Portal/AUTUMNS ACRES which works and creates the package however if I add to this folder on the server or delete any files they do not update on the front end.
On the front end I have tried using short codes:
[wpdm_my_downloads login=1]
[wpdm_package id='21841'] (The id of the package that was created)
However all the same results, if I update files or delete files they do not reflect the changes.
I have also tried this on other directories such as “/home/kylekenn/public_html/wp-content/uploads/2019/01”
and again the files do not updated on the front end when I delete or add on the server’s file browser.
Permissions on the folders and files are set to 777
Using the short code [wpdm_my_downloads login=1] I can limit each logged in user to only see the categories and files which they have permissions to. However, I like the layout of the [wpdm_Tree] much better. Is it possible to use the [wpdm_Tree] view and limit the users to only see the categories and files they have permissions to?
I have already installed the Custom Access Level plugin and set “When user is not allowed to download:” to “Hide everything”
I am using the wordpress download manger and I am using this code to display the download lists in an order so that it orders by update_date, but somehow its not working, Can you please help me fix the issue. Here is the short-code I am using
[wpdm_all_packages items_per_page="20" categories="brochures" order_by="update_date" ]
This is my webpage where its listing all the downloads https://tritool.com/news-resources/resources/brochures/ The update date are showing wrong on this page if you click the available download file for details you will see the accurate update dates for every download.
System: WordPress 5.2, WP Engine
Plugins: Free Download Manager, Up-to-date WPDM – Form lock plugin
Gravity Forms – Download manager setup in 2017 and has worked correctly since that point.
Note: Downloads work without email lock
Issue:
user enters email and checks opt in and hits enter
System provides download button but URL has /#locked at the end
I’ve turned off all plugins in test site and issue remains.