Hello Alesandro,
Hope you are well. For this shortcode [wpdm_my_downloads login=1]
with Advanced Access Control add-on, when you assign a particular package to a user. That user will access that package which has been already shared with him/her. And for role-based restriction, you may check the Allow Access
option from package settings. please let me know if you have more query
Thank you and regards
This reply has been marked as private.
Hi Alessandro,
If you are already using the Download Manager Pro version you shall get it from Downloads > Asset Manager
as I image attached

please check
Thank you and regards
This reply has been marked as private.
Hello,
A little while ago I purchased the Advance Access Control add on. Recently there was an update. When I go into WordPress to try and update the paid addon I go to Downloads > Settings > Updates > Purchased Add-Ons > Advance Access Control (Click Update) – It says the addon updated properly. For whatever reason, there is also a Save Settings button.
I go in to check one of my packages, and I do not see ‘Select Members’ field which is provided by Advance Access Control add-on. I go back to Downloads > Settings > Updates > Purchased Add-Ons > Advance Access Control and the Purchased Add On is no longer installed on my website…. why? I click Install then I get a green ‘Success!’ message. I exit the page and come back to the addon, and it ‘Success’ is no longer there, it says Install… How do I get this paid add on to install and remain on my website? It was working before I click update the first time. I’m now stuck in an endless Loop clicking Install > Update > Save Settings > Install > Update > Save Settings > Install > Update > Save Settings … and nothing work.s
The Add-On UI is not intuitive whatsoever with the Update/Install/Save Settings button… None of them work clearly.
After installing the Constant Contact add-on nothing changes in the settings? is there some other plugin dependency ?
Also where do I find the newsletter add-on , it’s not in the list of available downloads on my Pro “Full access pack” ?
Hi There,
I use Oxygen Builder and have been building a site that has protected downloads that are accessible depending on the user’s role.
I want the site to be as dynamic as possible without having to create new pages and place shortcodes manually whenever a new category is created.
To do this, I need to create a category template. I thought maybe I could place a shortcode in the template like this:
<?php echo do_shortcode( ‘[wpdm_category id="get_id_dynamically"]‘ ); ?>
Is there a way to get the id dynamically while using a shortcode? I need it to get the current category page id.
This reply has been marked as private.
This reply has been marked as private.
When vieweing the ‘ALL ITEMS’ page in the front end. In that table we get 3 actions, edit, view and delete.
When clicking on view, it opens the download page. How can we change that so it downloads the file directly?
Hi Trisquelmedia SL,
For total downloads of the sum of all packages, you can use this the below code,
<?php _e( "Total Downloads" , "download-manager" ); ?>
<?php echo $wpdb->get_var("select sum(meta_value) from {$wpdb->prefix}postmeta where meta_key='__wpdm_download_count'"); ?>
And for a certain user, please use this code snippet in your theme functions.php
add_shortcode('UserTotal', 'TotalUserDownload');
function TotalUserDownload() {
global $wpdb, $current_user;
$var = "Total Downloads: ";
$var .= number_format($wpdb->get_var("select count(*) from {$wpdb->prefix}ahm_download_stats where uid = '{$current_user->ID}'"),0,'.',',');
return $var;
}
Use the shortcode [UserTotal]
I hope it will work fine for you now
Thank you and regards
Thxs Nayeem!
Anywhere to modify that code to show the total downloads (summatory all packages individual created downloads)
Hi @eammendola,
WE have tried to login your website in order to debug the issue but it’s showing like this instead.
However, have you tried with items_per_page
?
[wpdm_category] – Query All Downloads From One or More Categories
Let us know about it.
Regards
Hey, you where right! I deleted the Divi Theme Builder Layout for “all downloads” and used the standard page and the PDF Viewer does appear!
I will now check the Default Values Plugin!
Sure:
I have created a shortcode [DownloadCounter] it returns download count of a package (in this case package ID “6730”)
function shortcode_download() {
$download_count = get_package_data(6730,'download_count');
return $download_count;
}
add_shortcode('DownloadCounter', 'shortcode_download');
I dont want to put manually package ID (6730), instead I would like it to (2 different things) :
1) Modify the function to automatically get package ID from the package shown on the current page.
2) Create another function to return the total downloads of the sum of all packages.
Regards
Hello @tcafe,
Hope you are well.
Yes, with the lazy download addon, it is possible to start the download automatically after the waiting time is over.
There is a settings panel in the lazy download settings section like this. If you set the Start Downloads
option Automatically
then it will start downloading automatically after certain period of time.
Hope this answers your query.
Regards
Never mind, I resolved the issue myself.
As I wrote, I am using https://www.wpdownloadmanager.com/download/wp-filebase-data-importer/
Inspecting this script, it uses the filepath stored in WP Filebase settings. There it was stored as “./alldownloads”. It worked for WP Filebase but when transfered to Download Manager, Download Manager could not understand this (valid) path annotation.
Check screen
I changed it in WP Filebase, reimported the files and now they paths are simple and they work as Download Manager understands them (eg /home/fmgreece/public_html/alldownloads/fm2020/graphics/kits/Greek-Football-League-by-Mysterio.rar).
Thanks anyway
Hello,
The update will be ready within next week I hope.
However, You can use the [file_list_extended]
template tag in the related template file which will create a downloadable image gallery and then use the package shortcode on your desired page.
Templates can be found under Downloads>Templates
.
You will find template tag details in the below link.
Template Tags
Thanks.
The File Browser Root setting is correctly set to “/home/fmgreece/public_html/alldownloads/”
I can’t see how this is relevant to the issue though.
I shared a screenshot in the above post, please check it. This is how the files appear after importing them from the WP Filebase import plugin.
The path gets a “/./” in it, which in command line means “the same directory”, but then when you try to download the file as a user, the system fails with “File not found”
Hello Brian,
I have already found the issue while testing. Actually it is getting the updated free version of wpdm from wordpress free plugin directory. But as it is the pro version, it is showing not found. I think that is not a serious issue.
You can update WPDM from Downloads > Settings > Updates
If you can’t update it directry from WordPress dashboard, You can update manually from here.
Thanks
We have the following problem.
Our mp3 downloads,
that we host on Amazon s3, played automatically in Firefox.
Until recently, people were asked if they should be downloaded.
Everything is ok in Chrome – the mp3 is being downloaded.
What do we have to do so that the mp3 in firefox can also be downloaded again or that you are asked whether you want to download?
The Mp3 must not be played.
As mime type on S3 we use application / octet-stream or application / force-download (as an unknown mime type to force the download)
I just downloaded from the site and installed it again. It still has the same bug.
The problem with the file cart addon is that, it allows everyone to download items that only subscribed users should.
Even when not logged into the site, when you go to a package page and click on the file cart button, when you go to file cart page and click on DOWNLOAD, it actually downloads the file for the user, even when that user is not logged in. That is really not secure.
Thats the issue with the addon.
This reply has been marked as private.
Hello,
Greetings for the day!
You can use [wpdm_category] shorcode with paging="1"
which will hide pagination.
Shortcode details can be found in the below link.
[wpdm_category] – Query All Downloads From One or More Categories
I hope that helps and answers your query.
Regards