Not clear, If you want to change the template for download page you can do this from /wp-admin/edit.php?post_type=wpdmpro&page=templates where you can insert the custom link with Add to cart button.
There is no option to add custom order from the backend for now.
I to am having this issue. When I use the default template, everything works fine. On my page the file is listed with a spot to add the password. If the password is correct, it gives me the option of then downloading the file. If I try and use a “button template” I do not have a location for a password, or there is no pop-up that gives me that option. I am wondering if this is the reason for the “Download Link is expired…”. Is there a way to have a file be password protected while using the “Button template?”
Hello I accidently reverted back to the free one by overwriting some files. I had some link templates created and what can be done to get all of that back? I do not believe I have a backup from before I did it. Any help would be appreciated I do not have the time to redo every download link on our website!
Update: curiously If I use two shortcodes I have different result for logged or not logged (credit/memberplan).
[wpdm_all_packages items_per_page="20" jstable=1 cols="title|categories|download_link" colheads="Title|Theme|Download"]
1) not logged: BUY BUTTON for the package with the credit and MemberPlan A —correct way (the package is the first of the all packages list)
2) logged as MemberPlan A user: BUY BUTTON for the package with the credit (the package moves down in the order of the all packages list!)
[wpdm-archive cat_view="compact"]
1) not logged: ADD TO CART BUTTON for the package with the credit and MemberPlan A
2) logged as MemberPlan A user: DOWNLOAD BUTTON for the package with the credit —correct way
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.