Hi,
After updating, we encountered a bug with the feature of adding external links as download buttons.
Example of how it worked previously. Link is added and then the title is changed to something more easily readable:
Now, after the updates, when adding a link to an external website, the link will disappear once changing its title and subsequently updating the page. When changing the title of existing links, the link will also disappear.
Differentiation between external and internal links:
When using links to download.schenker-tech.de (our Download Manager URL), the links will remain, even after changing the title. Only links to “other” websites are affected by this undesirable behavior.
Please help us figure out the root cause why this feature suddenly stopped working. Thank you for your assistance!
Hello!
I have the same issues like this topic: #79408
Your answer was:
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.
I tried the code but it’s not working. Could you have a look if there is an issue with the code or with compatibilites with newer versions of the plugin? Thank you.
And since the topic is several years ago, are there other/better possibilities?
My goal is to type in the password once and then choose which files or the whole zip file you want to download – without using the password every time.
Thanks in advance!
Best Regards
After update today my templates are not working anymore. Need help. I tried verythin, but it shows allways the default template. Please help to solve this issue. Page Link: https://www.hzwei.info/Relaunch/shop-downloads/
Here three examles, the first two have the same result, like you can see on the page, the last one ist different but not wht i need and want.
I wand to show thubs and use the hover_card_3 version.
[wpdm_packages link_template="wolf_ueberarbeitetes_default_template" order_by="date" order="desc" paging="1" items_per_page="10" title="" desc="" cols=1 colsphone=1 colspad=1]
[wpdm_packages link_template="link-template-panel" order_by="download_count" order="desc" paging="0" items_per_page="10" cols=2 colsphone=1 colspad=1 title="Most Downloaded Packages" desc=""]
[wpdm-all-packages items_per_page="10" toolbar="1" order_by="create_date" order="desc"; jstable=1]
The Shortcode documentation is not very good on your page, you shoud show a list of all possible shortcodes or at least better examples and user should be able to copy them to use.
I tried some of your codes but tehy not warking either.
Here is the HTML and CSS Info:
<div class=”card hover_card__3″>
[thumb_200x300]
<div class=”card-body text-center”>
[icon]
<span class=”text-info text-small”>[category]</span>
<h3>[title]</h3>
[sales_price]
<p>
Erstellt am: [update_date]
</p>
————————————————
.w3eden .hover_card__3{
max-with: 300px;
margin-bottom: 30px;
border:0;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.hover_card__3 a{
display: block;
}
.w3eden .hover_card__3 h3{
font-size: 16px;
font-weight: 600;
line-height: 1.4;
}
.w3eden .hover_card__3 .card-footer{
font-size: 12px;
border: 0;
color: #888;
}
.w3eden .hover_card__3 span i{
margin-right: 4px;
}
.w3eden .hover_card__3 .card-body{
padding: 0 20px;
z-index: 999;
position: relative;
}
.w3eden .hover_card__3 .card-body .intro{
display: block;
margin-top: -64px;
background: #fff;
padding: 0 80px;
padding-top: 0px;
border-radius: 50%;
height: 160px;
box-shadow: 0px -2px 1px rgba(0,0,0,0.1);
text-decoration: none;
transition: all ease-in-out 300ms;
padding-top: 48px;
margin-left: -80px;
margin-right: -80px;
}
.w3eden .hover_card__3 .card-body .intro *{
text-decoration: none;
}
.w3eden .hover_card__3 .card-body .intro p{
font-size: 13px;
margin-bottom:0;
color: rgba(0,0,0,0.7);
}
.w3eden .hover_card__3 a img{
transition: all ease-in-out 300ms;
}
.w3eden .hover_card__3:hover a img {
transform: scale(1.2);
transition: all ease-in-out 300ms;
}
.w3eden .hover_card__3:hover .intro{
transition: all ease-in-out 300ms;
margin-top: -70px;
height: 166px;
padding-top: 48px;
}
.w3eden .dl-btn{
display: inline-block;
font-size: 24px;
position: absolute;
left: calc(50% – 36px);
top: 0;
width: 72px;
height: 72px;
padding: 10px !important;
border: 4px solid #ffffff;
margin-top: -100px;
line-height: 64px;
background: var(–color-primary) linear-gradient(45deg, rgba(12,6,121,0.5) 0%, rgba(0,212,255,0.3) 100%);
border-radius: 500px;
padding: 4px;
color: #ffffff;
}
.w3eden .dl-btn img{
max-width: 100%;
}
Hi,
I´m using https://deployer.org/ to deploy my site to different stages (local/staging/production). I also use https://roots.io/bedrock/ file structure.
Local dev – Everything works great. It works with bedrock file structure, file browser root is “<something>/web/app/uploads/”.
Staging/Production – Attached files not working. File browser root default is “<something>/deploy/releases/2/web/app/uploads” where “uploads” is actually a symlink to “<something>/deploy/shared/web/app/uploads/”. This works for uploads in standard media library. I can upload files in media library first and then go to downloads/package and then “select from media library”. Then the files will be attached, “__wpdm_files” in db will have correct urls, and user can download the attached files. BUT, if I choose the “drop zone” or green “select files” button, the attached files will add up in the attached files meta box, BUT as soon as I press “update”, all attached files (but not the latest uploaded) will disappear from the meta box and will not be saved to db (“__wpdm_files” is almost empty, only one id).
Any ideas what could be wrong here?
Thanks,
/Per