-
AuthorSearch Results
-
Jun 2, 2019 at 11:53 am #97556
Topic: Warning wpdm-functions.php on line 2387
in forum Download Manager Pro
Nicolas CoolmanMemberDownload Manager Pro Version 4.9.6
Warning wpdm-functions.php on line 2387Hi,
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 2387Samples:
https://nicolascoolman.eu/download/telechargez-aida64-extreme-edition/Best regards
May 30, 2019 at 10:06 pm #97486In reply to: Function to open all downloads in new tab?
Andy BrummondMemberHi Vela,
I am NOT WPDM Support
There is a setting for this:
Downloads –> Settings –> Basic –> [ File Download ]
Find the Check box that reads:
[ ] Open in Browser
Try to Open in Browser instead of download when someone clicks on download linkCheck 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.
May 30, 2019 at 9:45 pm #97484In reply to: Access Restricted files displayed
Andy BrummondMemberHi Chris,
Not support for WPDM.. But you need to goto:
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. 🙂
Hope that helps.
May 29, 2019 at 11:53 pm #97452In reply to: Theme help
alex paetznickParticipantThis reply has been marked as private.May 29, 2019 at 9:24 pm #97451In reply to: WPDM Pro Frontend & Spacious Theme CSS(?) Issue
Andy BrummondMemberOk.. 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.
May 28, 2019 at 4:23 pm #97375Topic: Function to open all downloads in new tab?
in forum Download Manager Pro
Vela AgencyMemberAll 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
KOMay 26, 2019 at 12:17 pm #97344In reply to: Problems when update archive page
ShahriarModeratorNow 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.
May 25, 2019 at 9:31 pm #97334In reply to: Display tags in table view?
ShahjadaKeymasterHi,
Tags are already available with wpdm and there are shortcodes with wpdm pro to filter tags, docs:
https://www.wpdownloadmanager.com/doc/short-codes/wpdm_tag-query-all-downloads-from-specified-tags/
https://www.wpdownloadmanager.com/doc/short-codes/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.May 21, 2019 at 10:03 am #97153In reply to: Limit use access
ShahriarModeratorA 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.phpfile 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); } }May 21, 2019 at 7:12 am #97129In reply to: WPDM Pro Frontend & Spacious Theme CSS(?) Issue
Andy BrummondMemberOk.. 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.
May 16, 2019 at 8:08 pm #97038In reply to: Popup not working in IE
ShahriarModeratorWhich 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
templatein 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/
May 15, 2019 at 1:33 pm #96967
ITGoldParticipantHello,
I have a file structure like below on WPDM:
User 1
– Topic 1
— File 1
— File 2
– Topic 2
–Sub topic 1
—File 3User 2
– Topic 1
— File 1
– Topic 2
–Sub topic 1
—File 3Using 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”
May 14, 2019 at 9:44 pm #96949Topic: Order by update_date not working
in forum Download Manager Pro
Laurie EarlMemberI 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.May 14, 2019 at 10:04 am #96921In reply to: wpdm_all_packages – open in new tab/window
ShahriarModeratorGet 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
May 14, 2019 at 9:58 am #96920In reply to: How to customize search form in Tabular table?
ShahriarModeratorThe 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.May 8, 2019 at 5:47 pm #96774In reply to: wpdm_all_packages – open in new tab/window
ShahriarModeratorHello 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.phpfile and place it in/active-theme/download-manager/wpdm-all-downloads.phpdirectory. I will edit this new template file.Thanks.
May 8, 2019 at 9:57 am #96751In reply to: Can Package Lock Options be Anded?
ShahriarModeratorAdvanced 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.
May 2, 2019 at 10:20 am #96565In reply to: Bulk import csv mapping info
AlessioParticipantAs 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?May 2, 2019 at 7:12 am #96550In reply to: Change "package" to another term
ShahriarModeratorYou can modify the labels using
register_post_type_argsfilter. 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; }May 1, 2019 at 12:10 pm #96513In reply to: Files not hidden for non logged in user
ShahriarModeratorPlease send temporary wp-admin login info in private reply Or add the following code after line 235 in
/download-manager/tpls/wpdm-all-downloads.phpfile,if( ! wpdm_user_has_access(get_the_ID())) continue;May 1, 2019 at 11:10 am #96510Topic: List CSS will not show grid
in forum Download Manager Pro
Antoine GittensParticipantI 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.
Apr 28, 2019 at 7:29 pm #96397In reply to: Download Button not work
ShahriarModerator1 ) 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.
Apr 26, 2019 at 7:40 pm #96363In reply to: Download Button in Woocommerce Page not working
ShahriarModeratorOne 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.
Apr 26, 2019 at 1:27 pm #96349In reply to: Bulk import csv mapping info
AlessioParticipantThis reply has been marked as private.Apr 25, 2019 at 7:58 am #96313In reply to: cURL error 7: couldn't connect to host
ShahriarModeratorHi,
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.
-
AuthorSearch Results
Search Results for 'all downloads'
-
Search Results
-
Download Manager Pro Version 4.9.6
Warning wpdm-functions.php on line 2387Hi,
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 2387Samples:
https://nicolascoolman.eu/download/telechargez-aida64-extreme-edition/Best regards
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
KOI 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.Topic: List CSS will not show grid