Interesting. So my total downloads will be the number of rows in ahm_download_stats? I think I read somewhere that WPDM tracks unique user downloads not re-downloads from the same user? Is this true? Is there a way to track ALL downloads, including re-downloads?
Is there a reason the total rows in ahm_download_stats is less than the statistics calculated on my dashboard?
For example, my statistics show total downloads as 1523, but ahm_download_stats has 1546 rows?
-Tom
I have Download Manager Pro all setup and running off of AWS S3 thanks to some good support here. Now I have another questions.
I need to track each month how many users download a file for the first time. We have to pay royalties on some of our content, but only when the user first downloads it not if they download it again. We have WP Users turned on and people won’t be able to download without having a user account. So, is there a way for Download Manager to report first downloads? I don’t need a list, I just need to know how many first downloads for each file.
-Can only use pro membership specific payment gateway integrations, and not all gateway addons that I’ve purchased
-Paypal won’t work when membership length is specified as indefinite, returns an error.
-If I type in my login info, and click to pay with Stripe, but then cancel, I still create a user account. I have “Anyone can register” unticked in my WP general settings tab. My main purpose with this was to control account creation by directly from a payment with this addon. There are other parts of my website that rely on this feature.
-Very few customization options.
My intention with this package was to have users pay a one-time amount, and then get permanent access to my site and all downloads.
Hi,
For the login popup, Please use following HTML for “Login Required Message” in Downloads Settings Basic message section.
<button id="myModalTrigger" type="button" class="btn btn-danger btn-sm" data-toggle="modal" data-target="#myModal">
Login
</button>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
[wpdm_login_form redirect="[this_url]"]
</div>
</div>
<style>
#myModal{ background: rgba(0,0,0,0.5) !important; }
.w3eden .modal.fade.in{ display: block !important; } .modal-backdrop.fade.in{ display:none !important; z-index: -99999 !important;}</style>
<script>
jQuery(function($){
$('#myModalTrigger').on('click', function(){
$('#myModal').toggleClass('in');
$('.modal-backdrop').remove();
});
});
</script>
Thanks
Hi,
We will add the feature in future of WPDM. For now, you can add the following code to your theme’s functions.php file to add the category filter in all downloads admin page.
add_action('restrict_manage_posts', 'wpdm_filter_packages_by_taxonomy');
function wpdm_filter_packages_by_taxonomy() {
global $typenow;
$taxonomy = 'wpdmcategory';
if ($typenow == 'wpdmpro') {
$selected = isset($_GET[$taxonomy]) ? $_GET[$taxonomy] : '';
$info_taxonomy = get_taxonomy($taxonomy);
wp_dropdown_categories(array(
'show_option_all' ► __("Show All {$info_taxonomy->label}"),
'taxonomy' ► $taxonomy,
'name' ► $taxonomy,
'orderby' ► 'name',
'selected' ► $selected,
'show_count' ► true,
'hide_empty' ► true,
));
};
}
add_filter('parse_query', 'wpdm_convert_id_to_term_in_query');
function wpdm_convert_id_to_term_in_query($query) {
global $pagenow;
$post_type = 'wpdmpro';
$taxonomy = 'wpdmcategory';
$q_vars = &$query->query_vars;
if ( $pagenow == 'edit.php' && isset($q_vars['post_type']) && $q_vars['post_type'] == $post_type && isset($q_vars[$taxonomy]) && is_numeric($q_vars[$taxonomy]) && $q_vars[$taxonomy] != 0 ) {
$term = get_term_by('id', $q_vars[$taxonomy], $taxonomy);
$q_vars[$taxonomy] = $term->slug;
}
}
Thanks.
Hi,
Once a form is submitted Form Lock doesn’t show the form again when the user is in the same session. But in a new session form will appear again. It is applicable to a single package/download.
But usually, people use different forms for different downloads. So, unlocking one package doesn’t unlock other packages.
Thanks.
Hi,
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.
Thanks
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)
Hi,
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.
Thanks
Hi,
Your server is blocking the WPDM ajax request. Are you hosting on Siteground? In that case, please add the following code to your .htaccess to allow the ajax request. That should fix the password generator issue.
<IfModule mod_security.c>
SecFilterRemove 001868
</IfModule>
About the Downloads add-ons page, that page actually doesn’t have relation with WPDM features. It just lists available WPDM add-ons you can purchase. However, we fixed that error but the new version hasn’t been released yet. We are running some final tests before the release.
Best regards.
The pro version supports the columns width. Please check the documentation here.
If you want to specify width for a colum, add the width after column head with :: seperator. Ex: colheads=”Title|Categories|Update Date::200px|Download::100px” will make Update Date column width 200px and Download column width 100px
Thanks
This reply has been marked as private.
Hello,
Having a very strange problem with one of our sites. The thumbnail value as inputted into custom templates, as an example: [thumb_500x250] no longer works, and shows a broken image. However, if I change this value to [featured_image] it works. In fact, I had to change all my templates to the featured value. Currently using WP Downloads version 4.7.2. Any ideas how to resolve? Thanks in advance.
Download Manager Pro 4.7.3 , WPDM – Form Lock 1.6.0, Contact Form 7 5.0.1 , WordPress 4.9.4.
on https://www.avfx.com/boston-venue-guide/ I have a download package. The package downloads a PDF. Link Template = “Call to Action 3” and Page Template = “Default Template”. The form is Contact Form 7. The form displays in a pop-up and the **pop-up cannot be closed**. The only way off the page once the pop-up is displayed is to close the browser window. This is not usable this way.
Can you please fix your demo so that when you click on this button

it doesn’t “open” but instead it “downloads”, and then tell us all how you fixed it? Is there a mime-type line of php we need to add?
Hi,
Frontend uploader will load all options including package settings and Browser files.

You will find additional settings from Downloads Settings Frontend.
Thanks
Can I change the template (for example PageTemplate) for all Downloads with “one”click? So I must open every download and change it 🙁
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.
The single-wpdmpro.php file should be in /themes/active-theme/single-wpdmpro.php location because it a core WP supported template. The /themes/active-theme/download-manager/ dir is for other templates like all downloads, login, reg form etc.
This reply has been marked as private.
This reply has been marked as private.
Dear Shahriar, I tried this. Now all documents are getting an pop-up where I am asked if I would like to open it with word/excel or if I would like to save it/download it. but now all our downloads can no longer be opened with the office applications. we receive an error that the documents have problems and we can only see hieroglyphics in office.
now i unchecked the “open in browser”, but the documents are still opened with a pop-up and there are still all the errors.
can you please help us?
Good Morning,
first thank you.
– “you can change the url slug downloads from WPDM Basic settings.” Sorry I don´t understand it. Can you please change it.
– “Acess” ok they hide the download Button. Can I make there a Note that the User are not allowed to download. Only hide Button is not so good I think. See Screenshot.
Normal User”Abonnent” are only allowed to download one file per day from the free files. Are Settings for this OK?
Thank you
– 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.
This reply has been marked as private.