Hello,
Thank you but that was not what I asked for.
As you know when you click on the purple circle with a down arrow on it, a modal pops up and let you to create a download link or page with limited number of downloads and expiry time. I would like users at front-end to be able to click on a similar button for creating the same download link or page.
Hello Andy Darley,
Hope you are well. How you are using the ACF code snippet in your php file,
<?php echo wpdm_acf([ID],'ACFGROUP/ACFFIELD'); ?>
Can you please elaborate more on it? if possible, please share the related URL or can share the related screenshots too, also please, give your temporary wp-admin login details in a private reply for checking the issue.
And for the direct download link for a package, you can use this code snippet,
<?php echo \WPDM\Package\PackageController::downloadLink($ID); ?>
As you are a developer, you should know, here you have to use the proper $ID
for the related packages, please check and let me know
Thank you and regards
Hello,
There is no code.
I use WPDM – Gutenberg Blocks – All download table
Please check this link
Thanks
Hello Majid,
Hope you are well. For generating a Download link with pop-ups a modal, you can use the lock-options feature, for more details you can check this doc,
please check and let me know
Thank you and regards
Hi
i am using teh following shortcode
[wpdm_all_packages login=0 thumb=1 items_per_page="20" categories="slug1,slug2,..." jstable=1 order_by="field_name" order="ASC/DESC" cols="title,file_count,download_count|categories|update_date|download_link" colheads="Title|Categories|Update Date|Download::155px"]
which is meant to list all the available downloads
Howeve its not treturning any results. install is a defaultinstall of WP DownloadManager Pro v 6.15 and I have teh extended shortcodes plugin activaed as well
My files are saved in the download-manager-files dir. Any document saved with a dash or an underscore gets uploaded correctly with the document linked. But any file that contains a space uploads but does not link to the document which is saved in the download-manager-files folder, exactly like the other one- when you click on the download link it says file not found.
In the sample file you referenced, none of the document names have spaces… I was able to upload ones with _ or -‘s. My problem is when there are spaces in the file name.
Is there a resolution for that? Can you try uploading a package in which the file contains spaces and confirm that you can replicate this error, so that you can help me here?
Thank you so much!
Hello,
Please check the updated file here https://drive.google.com/file/d/1NN62Jb-SSVZfK9pJsfHr7lzd_eeogVAw/view?usp=sharing
I have uploaded that and It is working fine.
Just check that I updated Some integers 1 and 0 were only on the first download package, but those values are required for other packages as well.
Also as you don’t have the files uploaded in the download manager file, the downloads are not getting from the download link.
Please keep the files in the download-manager-files
directory like this
Thanks
Hello,
Thank you for your respond.
Yes, I understand that the speed depends on Google Drive’s server. But why should Download Manager wait for Google Drive when the user loads the library? It should be linked with Google Drive only when the user clicks on the “DOWNLOAD” button.
Thank you
Here are some screenshot :
-Membership amdin suscribers :
-My test customer suscriptions :
-My admin user suscriptions :
-My test user profile :
-My Admin user profile :
Admin have acces to downloadable links from profile, not users.
I’m using this to create wpdm package via PHP
WPDM()->package::create([
‘post_title’ ► ‘Download’,
‘post_name’ ► ”,
‘post_content’ ► ”,
‘post_excerpt’ ► ”,
‘post_status’ ► ‘publish’,
‘post_type’ ► ‘wpdmpro’,
‘post_author’ ► 1,
‘ping_status’ ► get_option(‘default_ping_status’),
‘post_parent’ ► 0,
‘menu_order’ ► 0,
‘to_ping’ ► ”,
‘pinged’ ► ”,
‘post_password’ ► ”,
‘guid’ ► ”,
‘post_content_filtered’ ► ”,
‘files’ ► array(),
‘fileinfo’ ► array(),
‘package_dir’ ► ”,
‘link_label’ ► __(“Download”, “download-manager”),
‘download_count’ ► 0,
‘view_count’ ► 0,
‘version’ ► ”,
‘stock’ ► 0,
‘package_size’ ► $size,
‘package_size_b’ ► 0,
‘access’ ► ”,
‘individual_file_download’ ► -1,
‘cache_zip’ ► -1,
‘template’ ► ‘page-template-doc-preview.php’,
‘page_template’ ► ‘page-template-doc-preview.php’,
‘password_lock’ ► ‘0’,
’email_lock’ ► ‘0’,
‘icon’ ► ”,
]);
I want to know how can I add link to download, File access to ‘All Visitors’ and set Custom Page URL via post_name. I’m stuck in these 3 things only.
Morning
For your ref:
I have and followed the CSV ‘sample’ (and read the associated documentation) that’s where we started!!
The problem seems to be with the synchronisation of the actual download image files and the CSV once uploaded to Download Manager?!
We are nearly there PLEASE can we get this resolved. See below for the CVS example
title description link_label password quota show_quota show_counter access template category icon preview files file_titles file_passwords file_prices package_dir individual_file_download cache_zip download_count page_template uid create_date update_date password_lock terms_lock linkedin_lock tweet_lock gplusone_lock facebooklike_lock email_lock custom_form_field email_lock_idl base_price sales_price tags acf_MoreInfo_source acf_MoreInfo_excerpt
Premium template Description 1 Download 0 0 0 guest link-template-default.php 123124 http://localhost/icons/box_download.png http://localhost/app-icon.png abc.txt,another-file.doc,other-file.pdf ABC File,Another File,Other File 123,asc1,34de2 12.35,11.5,22.00 1 1 31 page-template-default.php 1 20160122 20160122 1 0 0 0 0 0 0 name=1 1 25.99 9.99 Download Manager,Custom Tag,Tag Import custom field source custom field excerpt
Web developer iconset Description 2 Download 0 0 0 administrator,editor link-template-default.php 123124 http://localhost/app-icon.png /server/dir/path 1 1 15 page-template-default.php 1 20160122 20160122 0 0 0 0 0 0 0 name=1 1 19.99 9.99 Download Manager,Custom Tag,New Tag custom field excerpt
tech 68 new final Level 2 Download 0 0 0 administrator,subscriber link-template-default.php Senior Coaching,Level 2,Game Related,goal keeping,Technical Skills level2 tech68newfinal.png level 2 tech 68 new final 0 1 0 page-template-default.php 0 0 0 0 0 0 0 0 name=1 1 Junior,5 to 8,Fun Practices custom field excerpt
control techniques 2019 Level 2 Download 0 0 0 administrator,subscriber link-template-default.php Senior Coaching,Level 2,Game Related,goal keeping,Technical Skills level2controltechniques2019.png level 2 control tech niques 2019 page-template-default.php Junior,5 to 8,Fun Practices
defending principles 6v6 Level 2 Download 0 0 0 administrator,subscriber link-template-default.php Senior Coaching,Level 2,Game Related,goal keeping,Technical Skills level2defendingprinciples6v6.png level 2 defending principles 6v6 page-template-default.php Junior,5 to 8,Fun Practices
Multi-Pack principles Level 2 Download 0 0 0 administrator,subscriber link-template-default.php Senior Coaching,Level 2,Game Related,goal keeping,Technical Skills level2 tech68newfinal.png,level2controltechniques2019.png,level2defendingprinciples6v6.png level 2 tech 68 new final,level 2 control tech niques 2019,level 2 defending principles 6v6 page-template-default.php Junior,5 to 8,Fun Practices
Yes I have and followed that ‘sample’ (and read the associated documentation) that’s where we started!!
The problem seems to be with the synchronisation of the actual download image files and the CSV once uploaded to Download Manager?!
We are nearly there PLEASE can we get this resolved. See below for the CVS example
title description link_label password quota show_quota show_counter access template category icon preview files file_titles file_passwords file_prices package_dir individual_file_download cache_zip download_count page_template uid create_date update_date password_lock terms_lock linkedin_lock tweet_lock gplusone_lock facebooklike_lock email_lock custom_form_field email_lock_idl base_price sales_price tags acf_MoreInfo_source acf_MoreInfo_excerpt
Premium template Description 1 Download 0 0 0 guest link-template-default.php 123124 http://localhost/icons/box_download.png http://localhost/app-icon.png abc.txt,another-file.doc,other-file.pdf ABC File,Another File,Other File 123,asc1,34de2 12.35,11.5,22.00 1 1 31 page-template-default.php 1 20160122 20160122 1 0 0 0 0 0 0 name=1 1 25.99 9.99 Download Manager,Custom Tag,Tag Import custom field source custom field excerpt
Web developer iconset Description 2 Download 0 0 0 administrator,editor link-template-default.php 123124 http://localhost/app-icon.png /server/dir/path 1 1 15 page-template-default.php 1 20160122 20160122 0 0 0 0 0 0 0 name=1 1 19.99 9.99 Download Manager,Custom Tag,New Tag custom field excerpt
tech 68 new final Level 2 Download 0 0 0 administrator,subscriber link-template-default.php Senior Coaching,Level 2,Game Related,goal keeping,Technical Skills level2 tech68newfinal.png level 2 tech 68 new final 0 1 0 page-template-default.php 0 0 0 0 0 0 0 0 name=1 1 Junior,5 to 8,Fun Practices custom field excerpt
control techniques 2019 Level 2 Download 0 0 0 administrator,subscriber link-template-default.php Senior Coaching,Level 2,Game Related,goal keeping,Technical Skills level2controltechniques2019.png level 2 control tech niques 2019 page-template-default.php Junior,5 to 8,Fun Practices
defending principles 6v6 Level 2 Download 0 0 0 administrator,subscriber link-template-default.php Senior Coaching,Level 2,Game Related,goal keeping,Technical Skills level2defendingprinciples6v6.png level 2 defending principles 6v6 page-template-default.php Junior,5 to 8,Fun Practices
Multi-Pack principles Level 2 Download 0 0 0 administrator,subscriber link-template-default.php Senior Coaching,Level 2,Game Related,goal keeping,Technical Skills level2 tech68newfinal.png,level2controltechniques2019.png,level2defendingprinciples6v6.png level 2 tech 68 new final,level 2 control tech niques 2019,level 2 defending principles 6v6 page-template-default.php Junior,5 to 8,Fun Practices
Hello Gail,
Hope you are well. Can you please share the non-stamped normal PDF file? The link you have shared is stamped downloading a PDF file. please let me know.
Thank you and regards
Hello again
I have managed to add the CVS (T_nfp_package_u16_youth_coach_test_3_22.csv) and also uploaded via FTP the image files (Ti.U16 syllabus.png,Ti.U16youthacademycover.png,TU16 Youth Academy 1a.png,TU16 Youth Academy 1b.png) to the subfolder ‘download-manager-files’ / ‘Test 24_3_22’.
Please refer to the example packages:
https://nfpsoccer.co.uk/download/ttu16-youth-academy-1a-png/
https://nfpsoccer.co.uk/download/tti-u16-syllabus-png/
The problem seems to be linking the download files to the packages. If I go to ‘Import / Export’ the ‘Test 24_3_22’ folder and upload – whilst the individual files are ‘linked’ the ‘Title’ is the file rather than the ‘file_name’?!
Where there are a ‘group’ (more that 1 file) they message “Sorry! File not found!”
Is ther something I need to do differently after uploading the files by FTP?!
Hope you can help?!
Thanks
Andrew B
Hello Jorge,
Hope you are well. For categories hierarchy, giving access to a certain category for a particular role you have to set from the edit category option, then you have to make empty for the Allow Access
option or have to give a particular role on it like as I image attached or as usual for the select member option too,
because
Package Access = Package Access + All Category Access = All Visitors + Author = All Visitors
and Package Access = Package Access empty + Category Access(Author) = Author
or Package Access = Package Access(Author) + Category Access(Author) = Author
More details can be found in the below link,
Hope you have understood. And The feature is actually for packages, selected roles will be applied to assigned packages, and the information I have given above. Thanks for your understanding and appreciation.
Thank you and regards
Hello Sumit,
We have also an add-on called Download Manager REST API that will help you create packages,
Can you please check this too, if it fulfills your requirements? and how you are trying to attach a link, in the frontend or backend section, please elaborate on this.
Thank you and regards
Hello Paul,
In our testing environment the below setting is working perfectly and it is creating a package instantly.
However, I would suggest you to check other options too in this settings page if those are properly set also update wpdm and all related addons of wpdm you are using to the latest version. Current version of wpdm is 6.1.4
. Make sure you are using that. If you can’t update the plugin and addons from your website, just update from here.
If the issue still persists and you are worried about sharing the credentials of your live website, could you please create a staging site with identical settings and share the credentials for that. This way we can debug things in the exact same environment as your live site.
Here is a video to help you create a staging site – Link to the Video.
Looking forward to resolving your issue asap.
Hello,
Hope you are well.
Could you please share related website link to check the issue properly.
However, If you are using remote url then download or open in browser will not depends on wpdm pro, If you want to force download, you need to upload it with wpdm pro or use server file browser to attach file.
Thanks