How do you not understand what I am telling you?
I did share the link to where I am working on a responsive table for these buttons to appear.
I even created a picture so you can follow what I am saying for both of the things I pointed out.
Even on the point about one of my products was set to free download. It was so I can compare what a normal size button would look like. The “download_link_extended” code creates a button that is much larger. I want to resize it and that is why I gave you a link to the page that has those.
The other issue I discovered is that even using the button doesn’t work.
Let’s say I am customer. I see the button to use my 5 credits to download the video. I press it. It ends up creating a stack of “download” buttons. I gave picture of that.
I suggest logging into the site and seeing what I am talking about.
Hi,
This the end of the HTML code, with formating for a better visibility:
<div class=”w3eden”>
<div id=”wpdm-popup-link” class=”modal fade”>
<div class=”modal-dialog” style=”width: 750px”>
<div class=”modal-content”>
<div class=”modal-header”>
<h4 class=”modal-title”></h4>
</div>
<div class=”modal-body” id=’wpdm-modal-body’>
<p class=”wpdm-placeholder”> [ Placeholder content for popup link ] WordPress Download Manager – Best Download Management Plugin</p>
</div>
<div class=”modal-footer”> <button type=”button” class=”btn btn-danger” data-dismiss=”modal”>Close</button></div>
</div>
</div>
</div>
</div>
<style type=”text/css”>#wpdm-modal-body img{max-width:100%!important}.wpdm-placeholder{display:none}</style>
<script type=”ff6a3d57edd688ada9188976-text/javascript” id=’contact-form-7-js-extra’>/* <![CDATA[ */ var wpcf7 = {“api”:{“root”:”https:\/\/www.zebulon.fr\/wp-json\/”,”namespace”:”contact-form-7\/v1″},”cached”:”1″}; /* > */</script> <script type=”ff6a3d57edd688ada9188976-text/javascript” id=’pt-cv-content-views-script-js-extra’>/* <![CDATA[ */ var PT_CV_PUBLIC = {“_prefix”:”pt-cv-“,”page_to_show”:”5″,”_nonce”:”e23957c20b”,”is_admin”:””,”is_mobile”:””,”ajaxurl”:”https:\/\/www.zebulon.fr\/wp-admin\/admin-ajax.php”,”lang”:””,”loading_image_src”:”data:image\/gif;base64,R0lGODlhDwAPALMPAMrKygwMDJOTkz09PZWVla+vr3p6euTk5M7OzuXl5TMzMwAAAJmZmWZmZszMzP\/\/\/yH\/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAPACwAAAAADwAPAAAEQvDJaZaZOIcV8iQK8VRX4iTYoAwZ4iCYoAjZ4RxejhVNoT+mRGP4cyF4Pp0N98sBGIBMEMOotl6YZ3S61Bmbkm4mAgAh+QQFCgAPACwAAAAADQANAAAENPDJSRSZeA418itN8QiK8BiLITVsFiyBBIoYqnoewAD4xPw9iY4XLGYSjkQR4UAUD45DLwIAIfkEBQoADwAsAAAAAA8ACQAABC\/wyVlamTi3nSdgwFNdhEJgTJoNyoB9ISYoQmdjiZPcj7EYCAeCF1gEDo4Dz2eIAAAh+QQFCgAPACwCAAAADQANAAAEM\/DJBxiYeLKdX3IJZT1FU0iIg2RNKx3OkZVnZ98ToRD4MyiDnkAh6BkNC0MvsAj0kMpHBAAh+QQFCgAPACwGAAAACQAPAAAEMDC59KpFDll73HkAA2wVY5KgiK5b0RRoI6MuzG6EQqCDMlSGheEhUAgqgUUAFRySIgAh+QQFCgAPACwCAAIADQANAAAEM\/DJKZNLND\/kkKaHc3xk+QAMYDKsiaqmZCxGVjSFFCxB1vwy2oOgIDxuucxAMTAJFAJNBAAh+QQFCgAPACwAAAYADwAJAAAEMNAs86q1yaWwwv2Ig0jUZx3OYa4XoRAfwADXoAwfo1+CIjyFRuEho60aSNYlOPxEAAAh+QQFCgAPACwAAAIADQANAAAENPA9s4y8+IUVcqaWJ4qEQozSoAzoIyhCK2NFU2SJk0hNnyEOhKR2AzAAj4Pj4GE4W0bkJQIAOw==”};
var PT_CV_PAGINATION = {“first”:”\u00ab”,”prev”:”\u2039″,”next”:”\u203a”,”last”:”\u00bb”,”goto_first”:”Aller \u00e0 la premi\u00e8re page”,”goto_prev”:”Aller \u00e0 la page pr\u00e9c\u00e9dente”,”goto_next”:”Aller \u00e0 la page suivante”,”goto_last”:”Aller \u00e0 la derni\u00e8re page”,”current_page”:”La page actuelle est”,”goto_page”:”Aller \u00e0 la page”}; /* > */
</script> <script type=”ff6a3d57edd688ada9188976-text/javascript” id=’rate-my-post-js-extra’>/* <![CDATA[ */ var rmp_frontend = {“admin_ajax”:”https:\/\/www.zebulon.fr\/wp-admin\/admin-ajax.php”,”postID”:”125611″,”noVotes”:”Aucune note jusqu’\u00e0 pr\u00e9sent ! Soyez le premier \u00e0 noter ce logiciel.”,”cookie”:”Vous avez d\u00e9j\u00e0 donn\u00e9 une note. Ce vote ne sera pas compt\u00e9 !”,”afterVote”:”Merci d’avoir \u00e9valu\u00e9 ce logiciel !”,”notShowRating”:”1″,”social”:”2″,”feedback”:”1″,”cookieDisable”:”1″,”emptyFeedback”:”Merci de saisir votre commentaire ci-dessus !”,”hoverTexts”:”1″,”preventAccidental”:”2″,”grecaptcha”:”1″,”siteKey”:”6Ldi6pwUAAAAADFLrY38P9kWLCwBIBpGNJVNX0kT”,”votingPriv”:”1″,”loggedIn”:””,”positiveThreshold”:”2″,”ajaxLoad”:”2″,”nonce”:”326a7ef9ab”}; /* > */</script> <script type=”ff6a3d57edd688ada9188976-text/javascript” id=’main-scripts-js-extra’>/* <![CDATA[ */ var ajax_var_more = {“url”:”https:\/\/www.zebulon.fr\/wp-admin\/admin-ajax.php”,”nonce”:”a8151b8754″,”errorPass”:”<p class=\”message message-error\”>Password does not match the confirm password<\/p>”,”login”:”Email Address”,”password”:”Password”,”headerstyle”:”default”}; /* > */</script> <script type=”ff6a3d57edd688ada9188976-text/javascript” id=’penci_ajax_like_post-js-extra’>/* <![CDATA[ */ var ajax_var = {“url”:”https:\/\/www.zebulon.fr\/wp-admin\/admin-ajax.php”,”nonce”:”a8151b8754″,”errorPass”:”<p class=\”message message-error\”>Password does not match the confirm password<\/p>”,”login”:”Email Address”,”password”:”Password”,”headerstyle”:”default”}; /* > */</script> <script type=”ff6a3d57edd688ada9188976-text/javascript” id=’penci_ajax_more_posts-js-extra’>/* <![CDATA[ */ var ajax_var_more = {“url”:”https:\/\/www.zebulon.fr\/wp-admin\/admin-ajax.php”,”nonce”:”a8151b8754″,”errorPass”:”<p class=\”message message-error\”>Password does not match the confirm password<\/p>”,”login”:”Email Address”,”password”:”Password”,”headerstyle”:”default”}; /* > */</script> <script type=”ff6a3d57edd688ada9188976-text/javascript”>window.lazyLoadOptions={elements_selector:”img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]”,data_src:”lazy-src”,data_srcset:”lazy-srcset”,data_sizes:”lazy-sizes”,class_loading:”lazyloading”,class_loaded:”lazyloaded”,threshold:300,callback_loaded:function(element){if(element.tagName===”IFRAME”&&element.dataset.rocketLazyload==”fitvidscompatible”){if(element.classList.contains(“lazyloaded”)){if(typeof window.jQuery!=”undefined”){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}};window.addEventListener(‘LazyLoad::Initialized’,function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!==’function’){return}
if(typeof mutation.addedNodes[i].getElementsByClassName!==’function’){return}
images=mutation.addedNodes[i].getElementsByTagName(‘img’);is_image=mutation.addedNodes[i].tagName==”IMG”;iframes=mutation.addedNodes[i].getElementsByTagName(‘iframe’);is_iframe=mutation.addedNodes[i].tagName==”IFRAME”;rocket_lazy=mutation.addedNodes[i].getElementsByClassName(‘rocket-lazyload’);image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1}
if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName(“body”)[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
</script><script data-no-minify=”1″ async src=”https://www.zebulon.fr/wp-content/plugins/wp-rocket/assets/js/lazyload/16.1/lazyload.min.js” type=”ff6a3d57edd688ada9188976-text/javascript”></script> <script src=”//js.smartredirect.de/js/?h=fYYGRBlo” type=”ff6a3d57edd688ada9188976-text/javascript” async></script> <script type=”ff6a3d57edd688ada9188976-text/javascript”>const wprRemoveCPCSS = () ► { if( document.querySelector(“link[data-rocket-async=’style’][rel=’preload’]”) ){ setTimeout(wprRemoveCPCSS, 200); }else{ $elem = document.getElementById( “rocket-critical-css” );if ( $elem ) {$elem.remove();} } }; if ( window.addEventListener ) { window.addEventListener( “load”, wprRemoveCPCSS ); } else if ( window.attachEvent ) { window.attachEvent( “onload”, wprRemoveCPCSS ); }</script><script src=”https://www.zebulon.fr/wp-content/cache/min/1/484fda759c8b22d1892156fd2a9ba4f9.js” data-minify=”1″ defer type=”ff6a3d57edd688ada9188976-text/javascript”></script>
<noscript>
<link rel=”stylesheet” href=”https://fonts.googleapis.com/css?family=Oswald%3A400%7CMontserrat%3A300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C700%2C700italic%2C800%2C800italic%7CRoboto%3A300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%26amp%3Bsubset%3Dlatin%2Ccyrillic%2Ccyrillic-ext%2Cgreek%2Cgreek-ext%2Clatin-ext%7CRubik&display=swap” />
<link rel=”stylesheet” href=”https://www.zebulon.fr/wp-content/cache/min/1/227cbe85ac0ff0e546c1896ae47f84d0.css” data-minify=”1″ />
<link rel=’stylesheet’ id=’wpdm-font-awesome-css’ href=’https://use.fontawesome.com/releases/v5.12.1/css/all.css’ type=’text/css’ media=’all’ />
</noscript>
<script src=”/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js” data-cf-settings=”ff6a3d57edd688ada9188976-|49″ defer=””></script>
</body>
</html>
Regards,
Yann
Hello,
For exemple, in this URL : https://www.zebulon.fr/, you can see the HTML code in source:
<div class=”modal-body” id=’wpdm-modal-body’>
<p class=”wpdm-placeholder”>
[ Placeholder content for popup link ]
WordPress Download Manager – Best Download Management Plugin
</p>
</div>
Regards
Hello,
Greetings and Welcome to the support forum.
To change the Download button to the [page_link] please follow the below template override procedure.
Apart from that, the code should be like this reference screenshot: https://jmp.sh/Rc6aWGh
I hope that helps and answers your query.
Regards
I just discovered an issue with functionality.
I clicked on button to test and it created multiple download links afterwards.
See attachment.
https://drive.google.com/file/d/1xsCTxIjlXhq7g_udKXWOVS9RNHxyNU_8/view?usp=sharing
It seems that it is not easy to fix this error.
Can I change the original request?
Can you help me change the link of the “Download” button, it will go to the download page instead of downloading the file directly. (This helps me no longer need the link on the title of that download file)
Hello,
Hope you are well.
Yes you can select users created by wordpress with the advanced access control addon.
However, you can allow access to specific user roles with wpdm itself.
To test it yourself for packages from our demo site, please visit the below link with username/password demo.
https://demo.wpdownloadmanager.com/addons/wp-admin/edit.php?post_type=wpdmpro
You can also select category for specific users. To test that, please visit the below link you will see the user access option there.
https://demo.wpdownloadmanager.com/addons/wp-admin/edit-tags.php?taxonomy=wpdmcategory&post_type=wpdmpro
Thanks
Hi
I can see code in link-template-default.php – it seems okay, but it does not work.
<!– WPDM Link Template: Default Template –>
<div class=”link-template-default card mb-2″>
<div class=”card-body”>
<div class=”media”>
<div class=”mr-3 img-48″>[icon]</div>
<div class=”media-body”>
<h3 class=”package-title”>[page_link]</h3>
<div class=”text-muted text-small”><i class=”fas fa-copy”></i> [file_count] [txt=file(s)] <i class=”fas fa-hdd ml-3″></i> [file_size]</div>
</div>
<div class=”ml-3″>
[download_link]
</div>
</div>
</div>
</div>
Hello @Daibt,
You have to edit link template using proper template tags.
If you are using the free version of WPDM and using the default template, you can edit the link-template-default.php
file. you can edit it from download-manager\src\Package\views\link-templates
dir. For making backup your file you may follow this doc,
And for related template tags, please check this doc,
please let me know, if you need further assistance.
Thank you and regards
Here it is
[wpdm_all_packages login=1 thumb=1 items_per_page="20" jstable=1 order_by="update_date" order="DESC" cols="title,file_count,download_count|categories|update_date|download_link" colheads="Title|Categories|Update Date|Download::155px"]
tks for your reply
Hello,
Is there a way to change the message that appear once a form is submitted (with Form Lock add-on and Gravity Form). Right now we can change the Download Label and have the form confirmation as a message but the message ‘Your download link is ready now:’ seems to be coming from the Form Lock add-on plugin.
Hello Albert,
I have replaced download_link_extended
instead of download_link
in the cols parameter for the shortcode here,
https://www.rarecrates.com/audio/
please check now, because of global settings credit balance
is showing there. However, it also can be adjusted through CSS for specific this page only. please check and let me know
Thank you and regards
Hi When I’m trying to check the list of memberships (screenshot – https://prnt.sc/26ohxfl) it is showing internal server error. I’ve checked with hosting team they asked to check with developer.
Error Link – https://www.smartzworld.com/downloads/wp-admin/edit.php/?paged=2&post_type=wppm_plan&page=wppm_subscribers
There are two places on the site right now where there are responsive table. If you see preview of site, look at menu and click on Audio and the other is the Video menu links. You will see the responsive tables. On the far right side next to each product is the “Download” button.
How can I convert each of those buttons to the button where a credit is paid like the example you gave? It doesn’t need to say their credit balance over each button like it shows from your link of the product you changed the page template.
Hello Albert,
No, I have changed only the page template for the package, for pages/posts shortcode, there need to be changed link-templates. Or if I don’t getting you, please elaborate on direct download links on responsive tables and the package pages.
Thank you and regards
Hello Jorge,
Hope you are well. Are you trying to bind the packages to the categories, For Category access and package roles please follow the below steps as I describe below,
Before giving access to a certain category for a particular role you have to set from the edit category option, then you have to make empty for Allow Access option or have to give a particular role on it like as I image attached or as usual for select member option too,
because
Package Access = Package Access + All Category Access = All Visitors + Author = All Visitors
and Package Access = Package Access empty + Category Access(Author) = Author
or Package Access = Package Access(Author) + Category Access(Author) = Author
More details can be found in the below link,
Hope you have understood now.
Please let me know
Thank you and regards
That would work. Would it replace the direct download links on my responsive tables and the package pages?
I don’t know what you are talking about.
I am in the package settings and I don’t see any “download link extended” page template.
Are you referring to the “Link Templates”?
And if so, why would that be helpful for a responsive table?
Hello Albert,
Can you please check the Download Link Extended
page template from the package settings for the credit-locked packages? please check and let me know if it helps you
Thank you and regards
Hello Sean,
If you already purchased only WPDM Pro, it will valid for one domain only. please check the Pricing Plans
too from here
However, you can also check Linked Sites
from your purchase dashboard panel and clicking the License Key
option. you can remove your old one and add a new domain too from here, placing the license key
in the new one. I hope you have understood
Thank you and regards