Hello,
Our setup is using the FTP add-on to link files in packages.
After updating both WPDM (4.7.7 to 4.9.0) and WordPress (4.9.9 to 5.0.3) we are experiencing some download problems.
Since doing those updated when clicking any file’s download button we get a txt file “download error” that specifies a URL that was not retrievable. It seems like the file ID get’s inserted into the URL? Something like this: http://ftp.example/5b28a0e884de9-filename-example.pdf
I believe that before this ID was not inserted into the URL.
I have reverted to a backup for now, any idea what might be causing this?
Code entered on the page :
[wpdm-archive category=”87″ cat_view=”extended” button_style=”default” link_template=”link-template-calltoaction3.php” order_by=”data” order=”desc” items_per_page=”10″]
URL of the page: https://www.acbrescia.it/materiale-archivio/
Before the update the button arrangement was horizontal (figure 1) with this code:
<div class=”wpdm-categories”>
<ul class=”row”>
<li class=”col-md-4 col-sm-6″>
> File Audio
<ul class=”dropdown-menu” role=”menu” aria-labelledby=”dLabel”>
<li class=”col-md-4 col-sm-6″>
> File Video
<ul class=”dropdown-menu” role=”menu” aria-labelledby=”dLabel”>
</div>
After the update the button layout has become vertical (figure 2) with this code:
<div class=”wpdm-categories”>
<ul class=”row”>
<li class=”col-md-4 col-sm-6″>
> File Audio
<ul class=”dropdown-menu” role=”menu” aria-labelledby=”dLabel”>
<li class=”col-md-4 col-sm-6″>
> File Video
<ul class=”dropdown-menu” role=”menu” aria-labelledby=”dLabel”>
</div>
You can replace the [download_link]
tag in link or page template with the following code to open download in a new tab,
<a class="btn btn-primary" target="_blank" href="[download_url]">[link_label]</a>
Where are you trying to change the download button behavior? Is it in all downloads table or in package shortcodes? The solution will work for shortcodes or package details page.
Do you mean opens the file in the browser? You can uncheck the “Open in Browser” option from Settings Basic File Download panel to download the file instead of opening it on the browser.
If you are referring to the opening of package details page, then just remove the [page_link]
or [page_url]
tag from your link template.
Please send me a link to understand the situation better in case I missed something.
Use template
to define link template in category shortcode. Maybe you are using link_template
. Removing [download_link]
tag from your link template should remove the download button. From your template code, I see that you have already done it. So, it must be the shortcode parameter issue.
However, send temporary wp-admin login info in private reply if you want me to check the issue there. You can use the WPDM TinyMCE button add-on to insert the shortcode easily.
Where do I remove the “usage limits” and “expire after” from the “Email Download Link” and how can add sending files to registered users/groups of user to this area?
“Is it possible to have the share option to display a list user to share the file with versus the current options? ” was never answered, and I’ll clarify just to be sure. In the backend under all packages, I click the green arrow to send a share/download link, or if i hit the share button on the front-end a modal pops up and ask me to input email. How can this area display a list of users/user groups be added versus having to manually add email addresses?
You can use the Tree View to make it look like FTP folders. Each folder represents a WPDM category. Here is the tree view demo https://demo.wpdownloadmanager.com/wpdmpro/tree-view/
If you want more extensive download archive with sear and category filtering then I suggest using Archive Page add-on ( https://www.wpdownloadmanager.com/download/wpdm-directory-add-on/ ) There are many variations of Archive View and you can use link template to control the view of each package there. Archive Demo: https://demo.wpdownloadmanager.com/wpdmpro/archive-page-default/
You have to create the categories and packages. But you can use bulk import ( CSV ) feature. This is faster than manually creating all packages. Create a CSV file where each row represents a package. Your categories, tags etc will be created automatically when importing the CSV. I have attached a sample CSV below.
I am migrating my site to another domain and need to move my Download Manager Pro license to the new domain. Is there a way I can link my license to another site?
For now, You can enable instant download. That will show a download button when the user submits the email. No way yet to hide the form when using the “Email Download Link” option.
In that case, use a template that has the [download_link_extended]
template tag. The built-in “Single Column, Image Top, Extended” page template includes this tag.
If you are using a custom template then just replace [download_link]
tag with [download_link_extended]
. This tag embeds the form in the page.
You can show only single captcha in a page when using the embedded lock ( shows the reCAPTCHA without clicking any button ). Use the popup lock if you want more than one captcha in a single page.
Embedded reCAPTCHA comes from [download_link_extended]
. You have to use a link template with [download_link]
template tag which shows the lock in a popup/iframe. The reCAPTCHA lock appears after clicking the download button in this case.
Hi,
We are using custom template there. You can build your own custom link template from Downloads Templates page. This tutorial explains how to create custom template https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
You can copy the template code from the tutorial and edit on top of it. Link and Page templates use template tags to show various package info. Template tags are listed in the template editor sidebar. You can check the tag list here too https://www.wpdownloadmanager.com/doc/templates/template-tags/
Use the following code in your template to show the package title with a link to the details page,
<a href="[page_url]">[title]</a>
Thanks.
Good day to you.
I’m curious how you achieved the links to download detail pages on the demo site; https://demo.wpdownloadmanager.com/wpdmpro/ – particularly on the home page for the “New” and “Popular” downloads. The items listed there show a “more” button, and along with the main item link they go straight to the download detail page.
Is there a particular link template to do this? Or is there shortcode to force the user to go to the download item details page, vs. a direct instant download?
Thank you in advance for any tips and advice you can provide!
Tim
Please replace the_permalink();
with echo get_the_permalink($file->ID);
at line 59 in /wpdm-custom-access-level/wpdm-my-downloads.php
file. Or send login info in private reply. I will make the change for you.
After creating a pacakge you can access it from package details like any regular WordPress posts. You can also use the shortcode to show the package anywhere you want. The view of shortcode is controlled by link template. There are lots of built-in templates. And you can build your own custom template too.
Please install the Advanced TinyMCE Button add-on ( https://www.wpdownloadmanager.com/download/advanced-tinymce-button/ ) to insert shortcodes. It saves you the hassle of copy/pasting or remembering shortcodes.
You can check our documentation here for further info about any feature https://www.wpdownloadmanager.com/docsfor/download-manager-pro/
Also, we are always here to answer any question you might have.
When I go to Dashboard > My Download > Click on package, it goes to “https://partner.octopi.com/user-dashboard/”. Need help so the link takes the visitors to the package page and not to the mentioned URL.
Thanks.
You have to add an extra class to control the size. For example, adding btn-lg
class will make the button larger. Or you can just add inline CSS there.
<a class="btn btn-success btn-lg" href="[download_url]">[link_label]</a>
I have tested this on my setup. It works perfectly.
For now, You can enable instant download. That will show a download button when the user submits the email. No way yet to hide the form when using the “Email Download Link” option.
1 ) Please send me a link to check. Most probably related to browser settings.
2 ) From the Download Manager settings page, disable Resumable Downloads. Let me know if that works.
Call to action link templates includes custom CSS that makes the button large. Your cloned template included those styles as you clone the CTA 3 template. I have removed the custom CSS from there, now download button size is working as it should.
Hello Support 🙂
we have a little problem in the frontend .. nothing is displayed …
I just updated to 4.9
this was the shortcode before and now it doesn´t work anymore 🙁
[wpdm-archive category=”58″ cat_view=”extended” button_style=”default” link_template=”57ab402772683″ order_by=”post_title” order=”asc” items_per_page=”10″]
where is the problem?
thanks in advance
Link to the site: https://www.krefft.de/downloads/
This reply has been marked as private.
Please send temporary wp-admin login info in private reply to check the issue. Do the single file download links work?
You can modify the download button style from Settings User Interface Tab. If you want to use just links instead of buttons then set ‘None’ as button style.
https://www.evernote.com/l/AUfp58b-bKRE4bZSLobkT68zCyLWNV3942gB/image.png