Thanks for your reply. The solution your reference is simply to use a cli output option of wget, which is always available to anyone downloading a file from anywhere.
I understand WPDM generates dynamic download links, however, really only the keys are dynamic–the base url is always the same. Can you tell me what piece of code contains the ‘index.html’ static name? At least then I could change it to ‘billybob.zip’, or whatever…
Thanks,
Scott
This reply has been marked as private.
I am not familiar with CSV bulk import. Here is a screen shot of what I am talking about. I can only attach one file. I have a folder that has 3 images in it. I want the user to be able to download the link and see all three images in the folder.
Hi,
Sorry for the delayed reply. It seems there is nothing to do from WPDM side as wget
uses the URL to name the file. WPDM download links are dynamic, it doesn’t contain the exact file name which wget
can use to name the file.
But there is an option to set the file name and the download URL contains the package name. So, I think your users can utilize it.
Thanks.
Hi,
Yes, you can control which columns to show for the [wpdm_all_packages] shortcode.
Here is the shortcode:
[wpdm-all-packages items_per_page="20" jstable=1 order_by="date" order="DESC" cols="title|post_content|package_size|download_link" colheads="Title|Description|Size|Download"]
For more information please check this link: https://www.wpdownloadmanager.com/doc/short-codes/wpdm_all_packages-list-all-downloads-in-tabular-format-in-a-page/
Thank you.
Hi,
It is possible to keep the package download button open in the same session once the package is unlocked. You can add the following code after line 193 in /download-manager/libs/class.PackageLocks.php
to apply it,
if( isset( $_SESSION[ '_wpdm_unlocked_'.$package['ID'] ] ) == 1 ) {
$download_url = \WPDM\Package::expirableDownloadLink( $package['ID'] );
$link_label = get_post_meta($package['ID'], '__wpdm_link_label', true);
$link_label = trim($link_label) != '' ? $link_label : __('Download', 'wpdmpro');
$data = "";
}
But it will require very lengthy modification to unlock single file links. For now, use this modification. We will consider what you proposed for the future release of WPDM.
Thanks.
When customers attempt downloading from IE 11 browser they click the download link and nothing happens. I will post a link privately.
Everything works in Firefox and Chrome. This needs a fast resolution.
Thanks Shahriar, I had the purchases page and the guest purchases page set up before but when WP Download Manager got updated, the short codes got changed and the old ones didn’t work anymore. I’ve sorted that out now with the new short codes.
I have re-enabled guest checkout and guest downloads. When I tested it with TestPay (after I had logged out of my site and using another browser), I received a purchase confirmation email that directed me to make a new account, but underneath that it said if you are in a hurry, no need to register – just go ahead and download. This is good because I don’t want my customers to have to register.
But today a customer forwarded his purchase confirmation to me and at that link there was no option to bypass registration. And he said he was having troubles with the captcha and could not register. Is there a way that I can avoid forcing my customers to register?
Regarding your advice with editing the purchase-confirmation template, I will try this, thanks.
You have to add recommended
parameter in your shortcode to show this section. Please check this doc link for more info https://www.wpdownloadmanager.com/doc/short-codes/wpdm_user_dashboard-user-dashboard-short-code/
DISCARD THIS MESSAGE I ALREADY FOUND OUT HOW TO FIX IT IN SETTINGS.
Hello there
We have changed our site’s login URL in WordPress and now all protected downloads show the old login page when an unregistered user attempts to download a protected file.
How do I make the plugin update the download link to show the new login URL in WordPress?
Thanks in advance.
I am using the Email lock option. When the site visitor gets the email with the download link, it appears as the package permalink, with the wpdmdl and _wpdmkey tacked on. Okay, that’s fine.
However, if the visitor copies that link, and then uses wget on the command line, the file saved is NOT the Link Label, or the permalink, but instead ‘index.html?wpdmdl=xxx&_wpdmkey=xxx….’
How can this be fixed? My site visitors are cli users, and do want to use wget and the like.
Ideally, I would like the saved filename to be the Link Label, as defined in the Package Settings.
Thanks,
Scott
@inks, Sorry about that. Please try now. It should work this time.
@kabitik, You can generate your license key from order details page. Please check this link https://www.wpdownloadmanager.com/doc/where-is-my-license-key/
This reply has been marked as private.
Thank you for your answer, but it is not working.
I want to put a link to the shortcode “[wpdm_frontend]” and I put the code below to the function.php of the theme.
The result you can show on the image attached.
So the wpdm_frontend is opening in a frame of the dashboard, but I can not run the correct link if I click to the second time to “Add new”.
Can you help me to connect the “add new” button to the first button?
Best regards
Fatmir
// Use this filter to add menu items with author dashboard or remove any menu item from author dashboard
add_filter(‘wpdm_user_dashboard_menu’,’my_custom_dashboard_menus’,10,1);
// $menu_items is an array containing current menu items
function my_custom_dashboard_menus($menu_items){
// Removing edit profile menu
unset($menu_items[‘edit-profile’]);
unset($menu_items[‘subscription-plan’]);
unset($menu_items[‘subscription-download-area’]);
unset($menu_items[‘subscription-download-area’]);
//Adding new menu item using callback function
//$menu_items[‘new-menu-id’] = array(‘name’► __(‘Menu Title’,’text-domain’), ‘callback’ ► ‘CallbackFunction’);
//Adding new menu item using short-code
$menu_items[‘new-menu-id’] = array(‘name’► __(‘Add NEW’,’text-domain’), ‘shortcode’ ► ‘[wpdm_frontend]‘);
return $menu_items;
}
You can use this add-on https://www.wpdownloadmanager.com/download/lazy-download-add-on/ to redirect the user to a predefined page when they click on download link and start download from the page.
This reply has been marked as private.
Please try the following method,
1 ) Clone the Single Column with Doc Preview template from Downloads Templates Page Templates.
2 ) Find [download_link_extended]
and replace it with <a target="_blank" href="[download_url]">[link_label]</a>
3 ) Set this new template in package settings.
Use a link template that shows the download button. You can try Call To Action 3. Actually, all link template has the download button not sure which one you are using. You can send me the shortcode page link to check.
Please use TinyMCE add-on ( http://wpdownloadmanager.com/download/advanced-tinymce-button/ ) to insert shortcode easily.
You could solve that one easy – did that just today – just use a template and change it a little bit: check out which template you’re using (or select one via shortcode). On the template page, create a copy of that template and edit it. I use “link-template-widget” which has the exact thing you describe: I click on the link and it redirects to the details page, but I want a direct download.
To change that, just change every [page_url] in the code to an [download_url] and save.
Then use the new shortcode for the copied template to use it. And tadaaa: you have a direct download again 🙂
Have fun
I use to have WPDM FREE version, so i use to add file – go to all file – copy short code – add it into my page – the download is displayed in a nice way and when users click it – the download start directly .
Moved to pro version, doing the same steps as before but when my users click the link their are being redireted to another page in order to start the download.
Need to stop that and make it easy like the free version, the download should start directly.
Thanks in advance for your help.
For a PDF package in which I have no Link Template and the Page Template is Single Column with Doc Preview, when the Download link is clicked, is there a way to have the rendered preview appear in a new window?
I use to have WPDM FREE version, so i use to add file – go to all file – copy short code – add it into my page – the download is displayed in a nice way and when users click it – the download start directly .
Moved to pro version, doing the same steps as before but when my users click the link their are being redireted to another page in order to start the download.
Need to stop that and make it easy like the free version, the download should start directly.
Thanks in advance for your help.
This reply has been marked as private.
Setting up guest order page is pretty simple. Create a page and place this shortcode there [wpdmpp_guest_orders]
To add this guest order page URL in your purchase confirmation email you have to edit the purchase-confirmation
template from Downloads Templates Email Template page. Replace the [#order_url#]
with the guest order page link and that’s it.
You can hide the download count using a custom page template. Just clone ( Downloads Templates Page Templates ) the current page template you are using now. And remove the [download_count]
tag from there and save the template.
Now you can set this as you page template from package settings. If you need more info in custom templates please check the following links,
Creating a new template
Building a WordPress Download Manager Link Template from Scratch