This reply has been marked as private.
Ok.. So.. Update….
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…
Thanks.
All of our downloads are individual PDFs. Can you tell me the best practice for opening them in a new tab? Is there a function/snippet?
TIA
KO
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.
Hi,
Tags are already available with wpdm and there are shortcodes with wpdm pro to filter tags, docs:
[wpdm_tag] – Query all downloads from specified tag(s)
[wpdm_packages] – WP_Query in a shortcode for download manager packages
However, we shall add tag filter/parameter with [wpdm_all_packages] shortcode with the next update of the plugin.
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.
Thanks.
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,
[wpdm_package id=5387 template="link-template-calltoaction1"]
You can set the new cloned template ID as value of template
in package shortcode [wpdm_package id=5387 template="5a0a849876116"]
Here is a detailed tutorial about creating custom templates https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
Hello,
I have a file structure like below on WPDM:
User 1
– Topic 1
— File 1
— File 2
– Topic 2
–Sub topic 1
—File 3
User 2
– Topic 1
— File 1
– Topic 2
–Sub topic 1
—File 3
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.
Get the file from here. I have added the code in line 380 and tested it on my setup.
https://www.dropbox.com/s/10vqc4qmj745394/wpdm-all-downloads.php?dl=0
The search option is available in the data table version of all packages table. Not everything in this template is editable because some parts are controlled by the data table js library.
It is possible to hide the number of packages per page dropdown using custom css. It is also possible to add search placeholder. Create a copy of the wpdm-all-downloads.php template file and place it in /active-theme/download-manager/
directory. Then send temporary wp-admin login info in private reply. I will make the code updates to add these features.
Hello Kyle,
Please send temporary wp-admin login info in private reply. I will update the code for you. To make these changes permanent copy the wpdm-all-downloads.php
file and place it in /active-theme/download-manager/wpdm-all-downloads.php
directory. I will edit this new template file.
Thanks.
Advanced Custom Fields ( https://www.wpdownloadmanager.com/download/advanced-custom-fields/ ) add-on allows you to add additional fields in email lock. And Form Lock ( https://www.wpdownloadmanager.com/download/wpdm-form-lock/ ) add-on allows locking downloads behind custom forms made by different Form Plugins. You can check if those options are viable for you.
As I wrote before, I’m using Bulk import page, but I cannot set the correct mapping for some fields using the previously attached csv.
For example:
– Category (I created category in Downloads > Category and in Posts> Category as well, but no one are linked)
– File Name (Inside the page I see the name of the .pdf instead the filename)
– Access permission (always set as Full access)
The packages you see in backend were manually modified after the import. In screenshot the packages imported with csv (no manually modify).
Could you please help me?
You can modify the labels using register_post_type_args
filter. Add the following code to your theme’s functions.php file and adjust the labels as you want.
add_filter('register_post_type_args', 'wpdm_modify_posttype_labels', 10, 2);
function wpdm_modify_posttype_labels($args, $post_type){
if ($post_type == 'wpdmpro'){
$labels = array(
'name' ► __( "Downloads" , "download-manager" ),
'singular_name' ► __( "Download" , "download-manager" ),
'add_new' ► __( "Add New" , "download-manager" ),
'add_new_item' ► __( "Add New Download" , "download-manager" ),
'edit_item' ► __( "Edit Package" , "download-manager" ),
'new_item' ► __( "New Download" , "download-manager" ),
'all_items' ► __( "All Downloads" , "download-manager" ),
'view_item' ► __( "View Download" , "download-manager" ),
'search_items' ► __( "Search Downloads" , "download-manager" ),
'not_found' ► __( "No Download Found" , "download-manager" ),
'not_found_in_trash' ► __( "No Downloads found in Trash" , "download-manager" ),
'parent_item_colon' ► '',
'menu_name' ► __( "Downloads" , "download-manager" )
);
$args['labels'] = $labels;
}
return $args;
}
Please send temporary wp-admin login info in private reply Or add the following code after line 235 in /download-manager/tpls/wpdm-all-downloads.php
file,
if( ! wpdm_user_has_access(get_the_ID())) continue;
I can not reproduce a simple grid to sell my downloads as shown here:
https://demo.wpdownloadmanager.com/wpdmpro/list-packages/
since there is no documentation to follow,
Therefore i tried to use the ‘WPDM Directory Add-on ‘ and produce the ‘1 Column, Extended’ as shown here https://demo.wpdownloadmanager.com/wpdmpro/ready-to-use-templates/
The issue appears to be with CSS and the use ‘col-md-X’ of several plugins, however i don’t want to spend all day finding and editing code that should already be correct.
After almost $200 spent here i’m finding that your documentation is quite poor.
1 ) Please check this link https://www.wpdownloadmanager.com/doc/using-premium-package/setting-up-paypal-smart-button-for-premium-packages-digital-ecommerce-plugin/
2 ) Swift doesn’t support the additional previews yet. Will add this in next version. But can use the WPDM Page Template add-on which will allow you to use any Page Template from Downloads Templates page.
One of your plugins is creating the JS error which is blocking the download operation. We can bypass it using a custom link template. Please install the Pro version of Download Manager and then you can create custom link template from Downloads Templates page. Or just let me know after installing Pro. I will create the template for you.
This reply has been marked as private.
Hi,
The add-ons page just lists the Download Manager add-ons https://www.wpdownloadmanager.com/downloads/add-ons/ It doesn’t have any other purpose.
Your server is blocking the connection to https://www.wpdownloadmanager.com/ server. That’s why it can’t load the add-ons list. But you can check the list from here too https://www.wpdownloadmanager.com/downloads/add-ons/ or just ask your server support to allow the connection although that’s not necessary.
Thanks.
Hi,
Thanks for choosing the Download Manager Pro!
1 ) Download Manager uses the active theme’s single.php
template to show the details page. The single.php
controls the layout but using WPDM Page template you can control the view of package-related content. In each package settings, you will find an option to set the page template. All WPDM Page Templates are listed in Downloads Templates page and you can create your own template.
If you want to control the layout too, then create a template file named single-wpdmpro.php
and place it in your theme directory. This is the WP Core level template that will be used to show WPDM packages. You can copy the single.php
and remove the parts ( comment reply, sidebar, etc ) you don’t need.
2 ) I have to check your page to suggest custom CSS. Maybe the styling is coming from your theme.
Best regards.
Hello everybody,
I’m looking for some infos about csv bulk import mapping.
I’m using WPDM Pro, with Advanced CSV Import. I download and fill each field of sample .csv, I upload it to >CSV importer, and I get the screen about mapping fields.
I cannot understand how I have to map some fields (not the custom ones, but standards).
As example, I cannot import downloads’ category. What is the correct field? post_category does not work, and I don’t have such an option as WPDM:_category or similar.
Same error on some other fields, as file_titles and so on…
I send you attached the screenshot with the field I can’t map correctly (red underlined), and all the available fields in the select menu…
Could you please help me in mapping them correctly?
Thank you in advance
Alessio