Actually, the point is, this is not an issue with the plugin, if you want multiple files to download together, wpdm create a zip file using attached files, but, to create zip all files need to be on the same server, that is how PHP zip function works. But in the case of remote URL, PHP zip function can’t add it, so in that case, the only solution is, modifying the code, to copy the remote files on the same server, then attach with zip. Regardless of the complexity of code modification, the total process will be the waste of server resources and there is no meaning of keeping files on remote server.
#1. Admin Menu Downloads Subscribers menu show the list of emails and other user info you collected using email lock option. But, register signup visitors as wp user.
#2. add flaturl=0
to avoid permalink issue, like [wpdm_dashboard flatur=0]
#3. Got the issue with description, shall adjust it with the next update
#4. From next update, when you setup wpdm login and reg form, they will replace default reg and login form.
#5. replied there.
BTW, next update is coming within this month.
For stylish download button, please use this add-on:
Give me your URL and temporary wp-admin login info in a private reply to check.
Hello
I have to add the download via the URL field, but I have the following problem:
If the URL of the file corresponds to a file with extension, for example: “http :: //www.example.com/lorem.jpg” there are no problems
if the url of the file has no extension, eg “http :: / /www.example.com/lorem” I download a text file: file-not-found.txt
I have some files in Google Drive that I need to load it with a path like this: https://drive.google.com/open?id=0123456789qweasdzxc without extension
Using Safari I can see this error: Failed to load resource: Loading frame interrupted
Kind regards
If you want to get email and name, you simply need to enable email lock option from add/edit package window.
For instead of using direct category URL, if you want to use ready templates, you need to create a page and insert category shortcode ( https://www.wpdownloadmanager.com/doc/short-codes/wpdm_category-query-all-downloads-from-one-or-more-categories/ ) on the page content.
Every feature wpdm pro offers explained here https://www.wpdownloadmanager.com/docsfor/download-manager-pro/, as all the feature gives many possibilities, how exactly you want to use those will depend on your imagination and planning. But to do that, you at least need to go through all the docs and be familiar with all the features wpdm pro offers.
As far as I understand from your description, you need email lock or form lock and the category shortcode.
However, use following add-on to generate shortcode:
Still, don’t worry, we are here together with you to clear any of your confusion.
Button template already shows title on the button:
https://demo.wpdownloadmanager.com/wpdmpro/button-templates-add-on-free/
You can show a title linked to download as a button in following way:
<a href="[download_url]" class="btn btn-success btn-lg">[title]</a>
When a file is locked ( where you applied lock option like password, facebook, email or any other ) you need to use the same value for link label as the title.
I know it will take time to customize it, which is why I’m asking for the predefined CSS classes so that I can do it myself.
At first you provided some of the code which I really appreciated, but every time you asked for a screenshot or url to suggest the remaining code you then tried upselling me for either a custom upgrade or add-on.
I’m not sure why as a paid Pro user I can’t make a simple customization to the form layout without paying for an additional add-on?
All I’m asking for are the predefined CSS classes. You say it’s not easy to explain, but even with the free Genesis eNews Extended plugin I’m able easily customize the form inputs with a simple .enews-widget input
class which is openly available to use.
Why am I not allowed to do the same as a paid Download Manager Pro user?
You don’t need separate pages for project A and Project B. All your need to do is:
Please let me know if anything is not clear here.
Yes, had to add parameter flaturl=0
with short-code. ok now.
You can do it manually in this way:
<a href="//your-site-url/?wpdmdl=[ADD_FILE_ID]">[your custom button image or text]</a>
Or, use short-code:
[wpdm_package id="[ID]" template="link-template-button.php"]
And use the following add-on to add your custom button image:
Thanks Shaon.
The url is: http://atesolutions.co.uk.gridhosted.co.uk/module-testing/flex-10/
On the right hand side there are a number of download links.
The first one is attempting to use the shortcode.
The next four are the original buttons with no shortcode.
The bottom button labelled ‘Download’ is using your shortcode but added via a text widget. This proves the shortcode works normally when not used in a custom field. However as I need different buttons on each page I cannot add them using the text widget.
I have added the following code to my page template used for that page:
echo apply_filters('the_content', get_post_meta($post->ID,'pdf_download_button', true));
The name of the custom field is: Pdf Download Button
Thanks for taking the time to help.
Kind Regards,
David
Thank you very much Shaon, as I get familiar with this product while setting up my new site I see that it is every bit as valuable and well built as I expected.
It is forcing me to extend my coding skills too. I’ve read up on the Combinators for Selectors so I completely get the formatting now. Because you’ve laid everything out so well it is really actually quite easy.
The last question I have for this thread is this:
I cannot get the font color to change for the actual [Page_Link]. I this becasue it is inside a shortcode?
I thought the complete identifier for the css element was:
.col-md-6 .thumbnail .media .media-body .h4 {
color:blue;
}
But no combination gets the font color to respond.
My Link Template code:
<div class="col-md-6">
<div class="thumbnail">
<div class="media">
<a class="pull-left" href="[page_url]">[icon]</a>
<div class="media-body">
<h4 style="padding-top: 70px;border:0px;margin:0px;">[page_link]</h4>
[download_link] <i style="margin: 2px 0 0 5px;opacity:0.5" class="fa fa-th-large"></i></br>
[file_size] <i style="margin: 2px 0 0 5px;opacity:0.5" class="fa fa-download-alt"></i></br>
[download_count] downloads
</div>
</div>
</div>
</div>
.
I adjusted the CSS code and added here:
https://www.evernote.com/l/AV38cVoojEVIuba1tTkr8D4hg7bmQwPiPPoB/image.png
If you still didn’t get your desired looks, please give me your URL where I can see the shortcode you using :).
Hi @Shaon
I’ll address the options one by one:
1) version (from download-manager.php) – “define(‘WPDM_Version’,’4.6.3′);” – is that sufficient proof I’m on latest version? if not let me know where to go search/what to get
2) curl not active – please see these proofs of viability:
– “in the clear” curl : https://www.homeownersmarketingservices.com/curlhttp.php
– SSL based curl: https://www.homeownersmarketingservices.com/curlhttps3.php
Both GET this url “www.wpdownloadmanager.com/terms-and-conditions” so you can see for yourself by trying them
3) server firewall blocking wpdownloadmanager.com – N/A
– I don’t have a firewall on this server, we have a firewall at the egress of our network aggregating traffic
– I can reach wpdownloadmanager.com from any computer on that network, including the server itself – isn’t that a proof?
4) license key applied in a site – I guess you mean another site..?
well, I just purchased, downloaded and tried to activate it – so unless you sold it twice… it’s the only use its ever seen
ALSO – TO REMIND YOU WHY I AM HERE – I had version 2.9 working fine, until one day I worked on the download dashboard and it said “license invalid” (which is another sign for you the change that broke it was not on my side..) – so I bought the latest in hope it will solve it
SO – what’s my next move?
send you my license key?
It seems like, the URL is coming from archive page add-on, however, we added “noindex” for next update.
Hello @dru77ster, I found all of your data is there, however, I adjusted license issue changing url from http to https for the license server, however, to update the plugin, it will be safe to do it using ftp without deleting current version. Here, after I install latest version and setup migration add, you will be able to migrate all data easily, but, after migration completed, as WPDM Pro v4 using custom post type, so after import, all package ID will be different. We had no way to keep IDs same. So you will have to change package shortcodes from anywhere you used to set proper package ids.
Thank you for the link. I am aware of and have started working with the templates.
But there is nothing in the post about changing the format or adding css.
I just need one solid example of how the css gets defined in the tempalte.
Or a list of the css tags to change for a template.
Do I just drop in new css definitions into the the top of the tempalte and add my own tags?
/* MY CODE */
Body {
background-color: lightblue;
}
media {
color: white;
text-align: center;
}
media-body {
font-family: verdana;
font-size: 20px;
}
/* YOUR CODE */
<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> [download_count] downloads
</div>
</div>
License error may happen for following reason:
If answers are “No” for all of the points above, the license will work just fine. Still, only 10 or fewer users in total were facing the issue due to the reasons mentioned above, which is less than 1% of our new user of any single day. However, we are taking care of every issue anyone having there, but you know, it is sometimes hard to find the reason without checking it where it is exactly happening.
So, as you are facing license issue, here are the steps to follow:
@joeldault, the license should work fine now.
@carl5243, ok now, problem was, curl was not working well on your server, however, I applied an alternative approach to adjust this. However, I also added it on my side for next update.
I tested URLs http://www.openresources.org/rescuing-ambition and http://www.openresources.org/like-a-diamond, downloads seems working fine.
Also tested individual download page http://www.openresources.org/download/out-of-darkness-week-1-audio, however, I’ve adjusted login message from settings and the page template to make it working.
Additionally, if you select only specific user roles for a package, then, user must login before download and only users under selected roles will be able to download the item, but if you want to allow everyone to download an item, only select “All Visitors” for “Allow Access” field.
Please let me know if you need assistance anywhere else.
After a long night, I figured out if I attached the file to the package via url (same file, same location) and not via the uploader or the file browser, it works for me without an issue. I’ve been reading alot about my web host (GoDaddy) and it looks like they’re very strict about php scripts running for longer than 120 seconds despite giving the option of changing the max_execution_time. For anybody else on Godaddy, here’s a workaround for now but I hope to find a way to fix it soon.