Hi,
recently the ?wpdml= for an direct link stopped working correctly.
When accessing for an example:
https://www.international-petroleum.com/download/?wpdmdl=2561
https://www.international-petroleum.com/download/?wpdmdl=2557
https://www.international-petroleum.com/download/?wpdmdl=2558
It gives the same files to download, while it should be different files.
But when adding some random text in the url like:
https://www.international-petroleum.com/wadawdawd/download/?wpdmdl=2558
It gives the correct document.
Hi, is it possible to add the name of the file when adding it from the URL here? https://i.imgur.com/UKVoxXh.png
So that custom file name is displayed in the attachments instead of URL like this: https://i.imgur.com/dPyDMYU.png
I think that would be useful if we are adding a file from google drive for example
Please let me know. Thank you
Is there a way to customize the e-mail sent when a customer requests a download via E-mail lock?
I’m sure there is a way, but I am not sure where or how to access the template.
I want to add a couple of sentences and possibly a URL for more explanation.
Thanks.
Good day! We’ve noticed that when using the Elementor WPDM add-on and adding a package list a nicely formatted table as added. This is exactly what we want. However, the file icon and the file title are not links, there is no way to download the file while using this package table. also, we’d prefer not to have the download buttons shown. We like the appearance of the table without the button, but it does us no good if we can download the files. The only link is the category text. Below is an example of the code that is generated. How can we have this same table but with the image and the package title be direct download links to the file itself (not to the package download page).
<table id="wpdmmydls-066a18a6ef5f9ea80e3d04d68d8780f4">
<thead>
<tr>
<th id="title"
>Title</th>
<th id="categories"
>Categories</th>
</tr>
</thead>
<tbody>
<tr>
<td
style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat: no-repeat;padding-left: 52px;line-height: normal;">
<strong>ShoreTel Analog Phone Quick Reference (pdf)</strong><br/>
</td>
<td
>
<a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
</td>
</tr>
<tr>
<td
style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat: no-repeat;padding-left: 52px;line-height: normal;">
<strong>ShoreTel 560 Phone Quick Reference (pdf)</strong><br/>
</td>
<td
>
<a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
</td>
</tr>
<tr>
<td
style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat: no-repeat;padding-left: 52px;line-height: normal;">
<strong>ShoreTel 230 Quick Phone Reference (pdf)</strong><br/>
</td>
<td
>
<a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
</td>
</tr>
<tr>
<td
style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat: no-repeat;padding-left: 52px;line-height: normal;">
<strong>ShoreTel Communicator for Windows (pdf)</strong><br/>
</td>
<td
>
<a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
</td>
</tr>
</tbody>
</table>
<ul class='pagination wpdm-pagination pagination-centered text-center'></ul>
I am using using [wpdm_search_result cols=1 template="sample-link-template"]
content for sample-link-template is as follows
<div class=”media”>
[icon]
<div class=”media-body”>
<h4 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0px;”>[page_link]</h4>
[download_link]
<i style=”margin: 2px 0 0 5px;opacity:0.5″ class=”icon icon-th-large”></i> [file_size] <i style=”margin: 2px 0 0 5px;opacity:0.5″ class=”icon icon-download-alt”></i> </div>
</div>
after searching, results are shown but both the title and download button are not working. Both are not clickable. I suppose these were generated by [page_link] and [download_link]
How do I fix this?
It seems like the cart page is not being applied in the pay link, despite having the Cart Page set in wpdmpp settings – also there is no error handling for this.
Steps:
1 – create pay link
2 – visit pay link
Link is:
my-url.com/?addtocart=dynamic&price=44&name=Update&desc=Get%20your%20product%20updated&recurring=0
Should be: my-url.com/cart/?addtocart=dynamic&price=44&name=Update&desc=Get%20your%20product%20updated&recurring=0
Handling could be:
if(isset($_SERVER['HTTP_REFERER'])) {
header("location: " . $_SERVER['HTTP_REFERER']);
} else {
// Handle error
}
Thanks