Please send FTP info and package URL in private reply. I will add the code will let you know the details.
Please try adding a new package now. I have added flaturl=0 parameter to fix the 404 issue.
Hey everyone – just a heads up, I have a work around for this bug. In your template (for example: /wp-content/themes/yourtheme/download-manager/page-templates/product.php)
Edit your code by adding “download” as described here.
<a class="btn" href="[download_url]" download>DOWNLOAD FILE <i class="fa fa-download" ></i></a>
Hello,
thank you very much. Just another question. Is it correct that the buttons „Browse, URL, Lock-Options and Icons“ does not work at Frontpage-Uploader.
If I click on “Add download package“ at Frontpage-Uplader the file will be uploaded, but the field contents in the individual input fields will remain. Is this normal?
Thank you for your answer in advance
Chris
1 ) The limit should work now
2 ) Enabled the warning for restricted users
3 ) If you want to show ads in category archive then you have to edit the archive.php template file. This is your theme template file.
4 ) Favorite packages are listed in user dashboard page. Add fav=1 parameter in dashboard shortcode to list favorite packages,
[wpdm_user_dashboard fav=1 flaturl=0 captcha=0]
The flaturl=1 option doesn’t work with our site, which is why we used the other option. We just get 404 errors when its set to 1.
We have the shortcode in a page template and the initial screen displays fine but both the add new and edit screen both go to 404’s.
Tried clearing cache and permalinks and also checked the correct page was assigned in the WPDM settings… Any ideas?
Thanks
1 ) Save only the image URL in the custom field. Then use this URL in your custom template to show the image via the img tag.
2 ) Sory, Not sure what you meant. If you want you can activate the download archive ( from the option in your screenshot 1 ).
Yes, you can show only the category. Add following code in your theme’s functions.php to add a custom template tag for categories with no link,
function wpdm_comma_separated_tax_terms($post_id){
$args = array('orderby' ► 'name', 'order' ► 'ASC', 'fields' ► 'all');
$terms = wp_get_post_terms( $post_id, 'wpdmcategory', $args );
$terms_array = array();
foreach ($terms as $term):
$terms_array[] = $term->name;
endforeach;
return implode(', ', $terms_array);
}
function wpdm_custom_tags($vars){
$vars['categories_nolink'] = wpdm_comma_separated_tax_terms($vars['ID']);
return $vars;
}
add_filter( 'wdm_before_fetch_template', 'wpdm_custom_tags', 10, 1 );
3 ) If you use the custom categories tag then there will be no link to category archive.
4 ) Great
5 ) Multiple downloads of the same file in single session is counted as one. The limit will apply only when the user tries to download another file.
6 ) Select ‘Subscriber’ in package settings to allow Abonnent
https://www.evernote.com/l/AUdCkW2j-_dGv7sYlVYXE_zobM6kUFQnXVcB/image.png
7 ) You can modify the message from /wpdm-daily-download/wpdm-daily-download.php file. There is no filter yet to modfiy it from outside.
– Category archive page URLs look like https://www.site.com/downloads/package-category/ Here downloads is category URL base. I meant before you can change this URL base if you want from Dashboard Settings Basic URL Structure Panel.
-You can set login required or permission denied message ( when the user can’t access the package ) from settings. But your link/page template should have [download_link] tag for that.
https://www.evernote.com/l/AUdDu_AO60dA8K3RJab03IANkt0XK3o5e0UB/image.png
– You need Download Limit add-on to apply download limit based on user role
– Just update the package where you see the empty author. That should hide the author when it is empty.
This reply has been marked as private.
– Added new custom field Author and edited your custom link template dxf to show that author when available
– added the background in custom template
– changed the button color
– access is not working because from your download manager category settings you are allowing all visitors to access the download
https://www.evernote.com/l/AUfFZKpfwA9L07cyF62_63MrWblmgS7fLpMB/image.png
– https://www.dxf-downloads.de/category/downloads/3d-drucker-stl/ is the archive for your post category 3D Drucker .stl It is not download category archive. Download category archive url will look like this https://www.dxf-downloads.de/downloads/download-category
you can change the url slug downloads from WPDM Basic settings.
Hi,
Some of your files only for premium users that means the “premium user” custom option is empty in other packages. So, you can utilize that in your custom link/page template.
When a field is empty you can hide that by adding a class in the template code. example: adding this [hide_empty:version] in the wraping element/div of version will hide the element if version is empty.
Please send me the URL to suggest required CSS adjustments. Send temporary wp-admin login info in private reply if you want me to check the custom template code and make the premium field visible only when there is a value.
Thanks.
This reply has been marked as private.
This is the page template:
<style type="text/css">.more_previews_a{display: block;float: left;margin-right: 6px;}</style>
<div class="row">
<div class="col-md-12">
[description]
<br />
[file_list]
</div>
</div>
<div style="clear:both;" class="preview-trouble-options">Preview enabled by Google Docs. Trouble? <a href="[page_url]">Reload</a> the page or <a href="[download_url]">download</a> the file.</div>
<div class="row">
<div class="col-md-12">
[doc_preview]
</div>
</div>
Example page of our content:
http://nroc.org/what-we-offer/edready/
Scroll down to the “Case Studies” section (after videos).
Each of the thumbnails on this page link to whitepapers tracked by WPDM. They are just regular images with captions, linked to the packages, not using the WPDM link template.
An example of one existing package in working order, without any need for an email lock, this uses the WPDM Page template above:
http://nroc.org/resource/case-study-waipahu-high-school-early-college-stem-program/
What I want is to create a “download” button on a page, which then requires the user to provide email address before downloading. The PDF preview shown in the above example is not required, I just used it because it’s our standard template.
I’m fine with a direct download or email link……but the problem is that I can’t get the email input form to display anywhere in this process and I’m not sure what part of the sequence I’ve got wrong.
Thank you
Using a custom thumbnail image for the custom icon does not work. I tried adding a custom thumbnail image and the icon displayed is the unknown.svg icon, not the thumbnail image that was added. Does the custom icon URL work with jpg files?
In the line 484 line I added description tag
else
echo "<li class='file ext_$ext'><a href='" . wpdm_download_url(get_the_ID()) . "' rel='" . wpdm_download_url(get_the_ID()) . "'>" . get_the_title() . "</a>[description]</li>";
}
}
echo "</ul>";
die();
}
but clearly it is not supported; where should I add the description parameter?
This reply has been marked as private.
Please add flaturl=0 parameter in your dashboard shortcode. That will fix the 404 issue.
[wpdm_user_dashboard flaturl=0]
This reply has been marked as private.
Hi,
In that case please use flaturl value 1 with the shortcode [wpdm_frontend flaturl=1] of the frontend. Now you will get URL like /front-end/add-new/ for adding the package. Please add this to the onedrive app as redirect URL. Hope this will solve the issue.
Thanks
This reply has been marked as private.
Hi there,
I’m using your front-end add-on and also the OneDrive add-on, but it doesn’t seem to work.
The config is all correct as it opens the window to our OneDrive account and allows you to select a file, but then it redirects back to the parent page after rather than the ‘?adb_page=add-new’.
I’m wondering if it’s to do with the redirect URL’s options in OneDrive as they don’t allow you to include query args in the URL so it’s redirecting back to the stripped URL.
If that is the case, does that mean the OneDrive add-on doesn’t work with the front-end editing?
Thanks
Will
Hi,
1. You can deactivate and delete the existing plugin from Dashboard Plugins then download the latest one from purchase area and upload it through the plugins Add new. The old data will not be removed in this update.
2. You can use the email lock to capture the email while user downloads any package file. But it is not possible to disable it after the first download for certain time. You may look into membership features to make 6-month membership with a single email, and you can put packages under that membership level.
3. Login url not provided.
Thanks
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.