You have to edit /download-manager/tpls/wpdm-all-downloads.php for this shortcode. You can find details here about modifying the shortcode templates.
You can use inline CSS or with <style> tag, jquery inside the link or page template. Follow this tutorial for this to customize the link/page template.
My site has Membership Plans, classified in:
Membership Plan A (standard wordpress role “subscriber”)
Membership Plan B
Membership Plan C
I set Download Limit for Membership Plan A to 20 (packages). After the twentieth download, the Member of the plan A will have to pay for other packages.
In the meanwhile:
I add a package by setting:
Pricing: 5 USD
Require membership: Membership Plan A
By the log-out, it displays the package as buyable but if I log-in with the credentials of the member of the Memberplan A, I expect to see the file title with the button/link for the download (because I have not yet sold out my 20 credits) and not the file title with the purchase mode/button “Buy”. The purchase button should only be seen if I completed/finished the 20 credits.
Where am I wrong? Is there any item/setting to be set correctly?
Hello,
where can I modify the css of the shortcode
[wpdm_all_packages]
and how (which file) can let me modify the column names/order/presence of the table?
In addition: where (exact folder and file name) can I modify the css of a custom template page or link generated by cloning a standard template?
(Downloads > Templates > Link Templates or Page Templates)
Not clear. If you want to use a different template for download page or link page you can either build a custom template from wp-admin/edit.php?post_type=wpdmpro&page=templates or use existing one.
When the email lock is used an email is sent to the user with a link to the download. Unfortunately, this link expires MINUTES after. Please let me know how I can resolve this and ensure a permanent link is sent to the requesting user. If this can’t be done please tell me. I have been waiting too long for an answer on this. No one responds to chats and I have a client that wants this resolved asap. I either need an answer or I will be forced to use another plugin. This is my third request for support.
Thank You, I’ve tried Your solution. I’ve built new template. It works, but I’d like a different effect: One link to enforce open, and another link to enforce download. Not iframe with document view, but icon or title linked to open and “download” (button or text) to download…
I’ve checked-in the option “open document” (in “options” pannel), but it enforced all links to open documents. Wen unchecked – all links download document. And [doc_preview] inserts iframe.
Is there another solution?
Thank You for Your attention.
Yes, it is possible. You can use [doc_preview] template tag in your page/link template to show document preview. And use [download_link] template tag to show download button.
There is a built-in page template with doc preview. You can use that or just create your own custom template using template editor.
I am experiencing this as well. The download link expires within a few minutes. If a user returns to the email with the link at any point later the link is expired as well. How can I remedy this quickly?
1-So if user download 1 time he can see on chrome download history the direct download link and he can download unlimited time using my bandwith.Isn’t there any way to hide the dl link? Like you guys do here
2-How i can move the table with details below the description,here is what i need:
sort things like this, 1 image – 2 description – 3 table with details – 4 download link (or download link can be on the detailed table) resolved this by moving the [description] on template
If you can help me with those you will save my life 😉
I think (maybe) I have narrowed this down to the fact that if we use [file_list_extended], then the following Javascript is added after the list of files
<script type='text/javascript' language='JavaScript'> jQuery('.inddl').click(function(){ var tis = this; jQuery.post('http://mywebsite.com/',{wpdmfileid:'237',wpdmfile:jQuery(this).attr('file'),actioninddlpvr:1,filepass:jQuery(jQuery(this).attr('pass')).val()},function(res){ res = res.split('|'); var ret = res[1]; if(ret=='error') jQuery(jQuery(tis).attr('pass')).addClass('input-error'); if(ret=='ok') location.href=jQuery(tis).attr('rel')+'&_wpdmkey='+res[2];});}); </script>
This Javascript is not added when I use the [file_list]
1. WPDM Block Hotlink add-on will help you to block hotlink to download URL from the external site. You must have to click on download button placed in your site to download packages. The external site can only place the link with your page.
You can try putting the download link on another domain site and see if it can be downloaded. Because the plugin will block the download.
2. If you want to show you packages on any page or homepage, you can try shortcodes like All packages list, here’s the demo. Or You can use category shortcode on the page, here is the demo.
Hello,
1-Thanks mate
2-Moved from localhost to live server and works fine now.
To not open another thread i’ll ask here.
1-I have installed WPDM – Block Hotlink and when i download i see the direct dl link,the plugin doesn’t work.Any thoughts?
2-I’m using theme from themeforest called Sahifa,how i can show products on homepage?Is there any template or something we should create?
3 ) You can set single post page sidebar from Customizing ▸ Layouts ▸ Default Post Layout
4 ) In jumpstart, We applied a different header with a background only for the blog page. In next version, Will add an option to use a regular header like other pages.
Hi… the form lock plugin works with WP Forms. That is the email is sent out to the form-submitter with the download link. But I do not see the information in the WP Forms DB nor does it send a notification email to my email address with the new lead form details. Can you please help?
Hi, I have a problem with download management.
In this page http://designpress.ip-technology.it/adi-milano-presenta-il-libro-di-alessandro-guerriero/
I have included some downloads that can be downloaded only by logged-in users.
Using a custom template I managed to insert a login form, using the [download_link] tag.
The problem is that by doing so, if I log in using that form, I get redirected to the download page.
I would rather that after logging in, the user would remain on the current page so you can download the files directly from there.