Hi,
I’m trying to replace the wordpress native author page with this shortcode:
<?php echo do_shortcode('[wpdm_user_profile template="link-template-id" items_per_page=12]'); ?>
I followed all steps mentioned here in your docs, but it seems like the shortcode always points to the current user’s public profile (not the author of the current package). Is there any parameter I can pass to the shortcode to catch the current package’s author?
Thanks.
No need to zip the .eps file before uploading. Just tested a .eps file downloaded by WPDM. Works fine. Could you please send me the original file and the download link?
Hi,
Yes, there is a template tag [pdf_thumb]
that shows the PDF thumb ( first page of pdf ). In your link downloads are shown using WPDM link template. Now, to show PDF thumb you have to create a custom link template with this tag [pdf_thumb]
.
You can create custom link template from Dashboard Downloads Templates page.
Related documentation: https://www.wpdownloadmanager.com/doc/templates/creating-a-new-template/
Please read more about custom templates here https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
Thanks.
After a user enters a password (correct or incorrect) the link displays “Processing” and freezes, as per the second screen shot. None of our downloads work any more.
(Ignore the first screen shot)
We want to show all downloads from one category on one page with preview images.
Our downloads are only images (HI-RES) and we want to show our customers the complete category in a table format.
Preview Image, Download Size, Download Button
Thats it.
How do we do this?
I have linked to the category in our main menu, but it does not look nice. I also dont understand how to edit this category view.
Any help would be appreciated.
THX
PS: I have attached a screenshot from our current category view.
Looks like new uploads and newly created packages aren’t allowing file upload at all when looking for the file in FTP.
On this page: https://cls.welsrc.net/download-cls/general-documents/
Now, when adding a NEW file to a download package, both URLS
now appear as FILE-NOT-FOUND.txt (37 bytes)
File added: Purchasing Center Fee Schedule
Backend Link Icon URL –
https://cls.welsrc.net?wpdmdl=3106&ind=1530107725720
Frontend Download button URL –
https://cls.welsrc.net/download-cls/general-documents/?wpdmdl=3106&ind=1530107725720
I cleared cache both WPDM and Server – no difference.
I reset server file permissions – no difference.
Existing file uploads work just fine. Example of…
Exisiting File: Thoughts of Faith Newsletter
Frontend:
https://cls.welsrc.net/download-cls/general-documents/?wpdmdl=3106&ind=1523374274611
Backend:
https://cls.welsrc.net?wpdmdl=3106&ind=1523374274611
Looking at the file via FTP, the file doesn’t exist. I tried uploading a file as admin and it did not upload to the dir /wp-content/uploads/download-manager-files/
The file size is 131 KB and the WPDM Upload Setting limit is 1024KB chunk size.
I tried uploading on one of the other sub sites (technology) and had the same outcome.
Next, I created a new download package and that also had the same outcome.
It is possible to add any custom link in details page using custom template tag. Where do you want the user to go back from details page?
Having problems with DM and Amazon S3.
It seems the add-on has a bug. After linking to S3 when we try to download it throws an fatal error saying Fatal error: Uncaught Error: Class ‘WPDM\libs\DownloadStats’ not found in …/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php:392
This reply has been marked as private.
Hi Christine,
Your key is linked to conproco.com If you are having the license issue there, please install the latest version of Download Manager. You can download it here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
Deactivate and delete the old version before installing the new one. You won’t lose any data.
If you are trying to move the license to another site then I have to unlock it from conproco.com Let me know in that case.
Thanks.
The URL is generated by the [download_url]
template tag. But it doesn’t generate the index.html in the download link. wget is setting this name as there is no static file name is URL.
You can modify the tag output if you want using this filter hook, https://www.wpdownloadmanager.com/doc/filter-reference/wdm_before_fetch_template/
1 ) Added a new function wpdm_decrypt_legacy
in your theme’s functions.php file.
2 ) Added some custom code in /download-manager/wpdm-start-download.php
file.
if( $indfile == '' ){
if (isset($_GET['ind'])) {
$indfile = isset($files[esc_attr($_GET['ind'])]) ? $files[esc_attr($_GET['ind'])] : wpdm_decrypt_legacy(esc_attr($_GET['ind']));
} else if ($fileCount == 1) {
$indfile = array_shift($files);
}
}
https://www.evernote.com/l/AUeFGTYbxM5BgZ9SxlmqrvJ9iq3VYd9Ir20B/image.png
Now old file download links are working too.
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.