-
AuthorSearch Results
-
Mar 24, 2022 at 9:51 pm #170340
In reply to: Problem assigning default profile for new records
CIALGARParticipantI have noticed that you checked the “email verification on registration” box and now the users who register if have the default role “test”. Apparently this is the only tricky solution.
However, the shotcode “test” role is not linked to the plan you created with the “wppromembershippro” plugin, I can tell because I can’t access the packages I assigned for the “test” role.
On the other hand, the main question is, is it not possible to link the registry that comes by default with the “download manager” plugin with the “free” plan registry that is created in “wppromembership”?
Mar 24, 2022 at 6:42 pm #170336In reply to: Author’s Page
Terry ZahnParticipantWebsite is under construction and behind password protection
On the Download Pckaage Details Page is the Author name that is linked to the Author page for that individual. I want all that author’s downloads displayed on that page with the same template as the main categories.
-
This reply was modified 3 years, 11 months ago by
Terry Zahn.
Mar 24, 2022 at 5:44 pm #170328In reply to: REST API Issues
TanvirSpectatorHello,
Please check the Package Properties from here,As per other Attributes, you shall find files object, here you can bind id with file name. Thus you will be able to attach/upload file thereby. I hope you have understood.
If you have kept just the file name you should keep the files in
wp-content/uploads/download-manager-filesdir too. And for local files, you will not be able to attach files from the local PC drive directly, or you may please attach a live server file URL there. It will also help you upload files properly.The JSON response will look like the following example:
{ "id": 6488, "title": "The Alchemist", "slug": "the-alchemist", "description": "The Alchemist follows the journey of an Andalusian shepherd boy named Santiago.", "excerpt": "The Alchemist is a novel by Brazilian author Paulo Coelho.", "author": 1, "status": "publish", "parent": 0, "tags": [ "novel", "paulo-coelho" ], "categories": [ 16 ], "thumbnail": "https://example.com/wp-content/uploads/2019/01/the-alchemist.jpg", "additional_previews": [ "https://example.com/wp-content/uploads/2019/03/the-alchemist-cover.jpg", "https://example.com/wp-content/uploads/2019/03/the-alchemist-map.jpg" ], "version": "3.0.0", "link_label": "Download", "quota": 0, "download_limit_per_user": "100", "view_count": 80, "download_count": 14, "package_size": "811.84 KB", "access": [ "guest", "subscriber", "administrator" ], "user_access": [ "admin" ], "individual_file_download": "1", "cache_zip": "-1", "template": "link-template-calltoaction1", "page_template": "page-template-1col-flat", "files": { "1": "The Alchemist.pdf" }, "fileinfo": { "1": { "title": "The Alchemist", "password": "", "license_price": { "statdard": "", "extended": "", "unlimited": "" }, "price": "" } }, "package_dir": "", "publish_date": "2019-04-01 12:00 am", "expire_date": "2019-08-31 12:00 am", "terms_lock": "1", "terms_title": "Agree to terms", "terms_conditions": "You can't redistribute without prior authorization.", "terms_check_label": "Checkbox Label", "password_lock": "1", "password": "[123][456]", "password_usage_limit": "2", "linkedin_lock": "1", "linkedin_message": "LinkedIn Share Lock message", "linkedin_url": "https://www.wpdownloadmanager.com/", "tweet_lock": "1", "tweet_message": "Custom tweet message", "twitterfollow_lock": "1", "twitter_handle": "Shahriar", "facebooklike_lock": "1", "facebook_like": "", "email_lock": "1", "email_lock_title": "Subscribe To Download", "email_lock_msg": "", "email_lock_idl": "0", "icon": "https://example.com/wp-content/plugins/download-manager/assets/file-type-icons/arrow.png", "base_price": "12.00", "sales_price": "10.00", "sales_price_expire": "2019-08-31 12:00 am", "pay_as_you_want": "0", "license": { "statdard": { "active": "1" }, "extended": { "price": "22", "active": "1" }, "unlimited": { "price": "32", "active": "1" } }, "discount": { "subscriber": "10", "contributor": "20", "author": "30", "editor": "40", "administrator": "50" }, "enable_license": "1", "enable_license_key": "1", "free_downloads": [ "/Applications/XAMPP/wpdm/wp-content/uploads/2019/04/The-Alchemist-free-sample.pdf" ], "meta_input":{ "meta_key" : "Hello" } }here file attach should be like this,
"files": { "1": "The Alchemist.pdf" }And for this default format, the file should be residing in
wp-content/uploads/download-manager-files, thus the package should create with fa file. Please let me know if you have other queriesThanks
Mar 24, 2022 at 3:01 pm #170321In reply to: Download gives a error 404
johanfrcParticipantTried to disable all other plugins and also tried a new theme. Still same issue. Still a Error 404 for all my WPDM enabled files.
Could it be that there is no wpdm-package folder on the server? I never had that on the old site and there it worked fine. File structure on the new server is exactly as it was on the old. Nothing has changed. So it just makes it more strange what is going on.
And with more than 1000 downloads that may need to be changed to a simple download link, you can see why I want to get this to work again. Simply because it’s a daunting task to change every single post with a new link.
Mar 24, 2022 at 12:33 pm #170306In reply to: Editing the preview text of the email template
Ilze IevinaParticipantThis reply has been marked as private.Mar 22, 2022 at 4:52 pm #170222In reply to: Creating CSV Files and Uploading Files
Andrew BeniamsParticipantHello again
I think you are referring to something different!
I’m not referring to an individual template / image in this instance.What we require is to link each individual ‘Package’ to its corresponding ‘download file’ (which is an image). You will see the file data names in the CSV.
When you are logged in to the account – please see:
https://nfpsoccer.co.uk/download/practice-skills/
This is what it should look like and do.What seems to be happening when the uploaded ‘download image file’ is linked is:
https://nfpsoccer.co.uk/download/senior3v2attackingcombinationplay_test_copy-png/Which, as you can see, reconfigures the ‘title’.
To reiterate, all we are expecting is:
1. Bulk Upload all the ‘download image files’
2. Upload the ‘Package’ CSV fileThis then should link everything together – and the individual ‘Package’ should be available to Download by the ‘subscriber’.
I hope this helps explain?
Regards
Andrew BMar 22, 2022 at 4:21 pm #170216In reply to: Creating CSV Files and Uploading Files
Nayeem RiddhiModeratorHello Andrew,
Can you please check the section from
Downloads > Templates > Page Template, you can use thefeatured_imagetemplate tag and wrap it by title-link/download-link template tag, please check and let me knowThank you and regards
Mar 22, 2022 at 3:47 pm #170212In reply to: Creating CSV Files and Uploading Files
Andrew BeniamsParticipantNO! I don’t understand?
My understanding is that when the CSV is uploaded the ‘download image’ file name should ‘find’ the link to the actual image.
Are you saying that this is not possible and that every file needs to be ‘manually ‘ linked by going to the ‘Package’ (which has been uploaded via the CSV File) then uploading the ‘download image’ file individually?!
We have over 600 files!Regards
Andrew B
Mar 22, 2022 at 7:35 am #170189
Nayeem RiddhiModeratorHello natalie,
Hope you are well. I have checked that, the link template you have used is not proper link-template ID,
57e4155cda924, please check fromDownloads > Templates > Link Templatesyour available link template. I hope it will resolve then.Thank you and regards
Mar 22, 2022 at 6:51 am #170186In reply to: Creating CSV Files and Uploading Files
Nayeem RiddhiModeratorHello Andrew,
Are you trying to link the download package from the description image src for the same package? please let me know.
Thank you and regards
Mar 21, 2022 at 11:37 am #170116In reply to: Creating CSV Files and Uploading Files
Andrew BeniamsParticipantOK – this is possibly getting confusing – sorry!
What we need to do in the first instance is ‘link’ the image files to the ‘Packages’.
As we know the CVS is OK to the point of adding ‘Packages’ however, the images to download are not linked (therefore, are ‘missing’).
The aim is to upload the CVS and that the related image fils would ‘automatically’ be linked and, therefore, the Packages would be ready to Download the file.Hope that clarifies things for you?!
regards
Andrew B
Mar 19, 2022 at 3:52 pm #170038In reply to: Lock Options
silkwebMemberThis reply has been marked as private.Mar 17, 2022 at 4:40 pm #169960In reply to: All file downloads are corrupt and won’t open
Nayeem RiddhiModeratorHello Callum,
Hope you are well. I have checked your example package link. After downloading the PDF file, it is normally opened from my side. I think it may have an issue with your Adobe Acrobat. please check.
Thank you and regards
Mar 17, 2022 at 2:57 pm #169954In reply to: All file downloads are corrupt and won’t open
CallumMemberThis reply has been marked as private.Mar 17, 2022 at 10:10 am #169945In reply to: Column Width in Tables not working
HumayonSpectatorHi there,
Please add the below CSS based on your previous reply.
th#post_content, th#acf_ProductInfo_Resolution { width: 60px !important; max-width: 60px !important; min-width: 60px !important; } th#acf_ProductInfo_Artist, th#acf_ProductInfo_Title { width: 300px !important; max-width: 300px !important; min-width: 300px !important; } th#acf_ProductInfo_Version { width: 400px !important; max-width: 400px !important; min-width: 400px !important; } th#acf_ProductInfo_BPM, th#acf_ProductInfo_Year, th#acf_ProductInfo_Credits { width: 50px !important; max-width: 50px !important; min-width: 50px !important; } th#acf_ProductInfo_genre { width: 130px !important; max-width: 130px !important; min-width: 130px !important; } th#download_link { width: 100px !important; max-width: 100px !important; min-width: 100px !important; }Thanks.
Mar 17, 2022 at 9:58 am #169944In reply to: Creating CSV Files and Uploading Files
Andrew BeniamsParticipantHi Nayeem – thanks for your reply.
I have made some progress – the CVS file seems to be working, with the exception of the following:NB. https://imgbb.com/ doesn’t allow me to upload the CSV File?!




1. Most important: the ‘Download File’ whilst the file is identified on the CSV the problem is to ‘link’ the actual image file. I upload the image file as a ‘bulk import’ (files are in a Folder ‘Downloads Test _ CSV 16_3_22’ in the ‘Digital Assets Manager – download-manager-files’ – but this then alters the Title / Description to change to the file name (with no spaces)?
It also removes the Categories and other settings. It does add an ID.Please see screenshots:-
a) Screenshot: Downloads Manager – All Packages – the first 4 are incorrect as they are using the image file name!
see: Screenshot: Downloads Manager – Title / Description not correct / https://nfpsoccer.co.uk/download/u12-ya_test_1a_copy-png/b) Screenshot: Downloads Manager – Download OK
https://nfpsoccer.co.uk/download/practice-skills-x/
This show the Package which is fine except that the image file is not linked – so we get “Sorry! File not found!”
There is no ID? Categories are OK.2. I would like the CSV to ‘remove’ the (Discussion) ‘Allow Comments’ option.
3. Can the CSV include a ‘Media’ image with the ‘Description’ – see screenshot: Downloads Manager – ‘Media’ Image
https://nfpsoccer.co.uk/download/session-1-skill-practice-game/Mar 17, 2022 at 4:02 am #169934In reply to: Column Width in Tables not working
Albert TrevinoParticipantThe page is called “Test Table 2”
I need every column with custom width.
post_content 60px
acf_ProductInfo_Artist 300px
acf_ProductInfo_Title 300px
acf_ProductInfo_Version 400px
acf_ProductInfo_BPM 50px
acf_ProductInfo_genre 130px
acf_ProductInfo_Year 50px
acf_ProductInfo_Resolution 60px
acf_ProductInfo_Credits 50px
download_link 100px (as wide as the download button)Thank you.
Mar 16, 2022 at 2:48 pm #169923In reply to: How to prevent downloading the file
TanvirSpectatorHello,
Hope you are well.
To enable to preview feature of pdf, you have to use the below addon with wpdm.And then you can remove the download button by editing link template or page template so only preview will be available.
Thanks
Mar 16, 2022 at 11:54 am #169911In reply to: Uploaded file is overwritten
Erik TuressonParticipantIn the file download-manager\src\Admin\Menu\Packages.php
Change this code:
if(file_exists(UPLOAD_DIR.$name) && get_option(‘__wpdm_overwrrite_file’,0)==1){
@unlink(UPLOAD_DIR.$name);
}
if(file_exists(UPLOAD_DIR.$name) && !isset($_REQUEST[“chunks”]))
$filename = time().’wpdm_’.$name;
else
$filename = $name;/$filename = esc_html($filename);
if(get_option(‘__wpdm_sanitize_filename’, 0) == 1)
$filename = sanitize_file_name($filename);
else {
$filename = str_replace([“/”, “\\”], “_”, $filename);
}To this:
if(get_option(‘__wpdm_sanitize_filename’, 0) == 1){
$filename = sanitize_file_name($name);
}else {
$filename = str_replace([“/”, “\\”], “_”, $name);
}if(file_exists(UPLOAD_DIR.$filename) && get_option(‘__wpdm_overwrrite_file’,0)==1){
@unlink(UPLOAD_DIR.$filename);
}
if(file_exists(UPLOAD_DIR.$filename) && !isset($_REQUEST[“chunks”])){
$filename = time().’wpdm_’.$filename;
}Mar 15, 2022 at 5:53 pm #169859In reply to: Center Download Button Link using Avada Theme
Nayeem RiddhiModeratorHello Adams,
You can use custom
link-templatewithin these pages for download packages and remove thedownload count and file sizesection. Thus, It may help you. please check and let me know.Thank you and regards
Mar 15, 2022 at 11:52 am #169834In reply to: Template Question
Michael K.ParticipantHello Nayeem,
thank you. So it is good.
From my first Post is one thing open.
“– On my Linkpage the Downloads were smaller and smaller. Where can I change it.”
See the first Post please…
Mar 15, 2022 at 7:43 am #169824In reply to: Center Download Button Link using Avada Theme
Nayeem RiddhiModeratorHello Adams,
please try with the below code in your theme
Customizer > Additional CSS.post-22933 .wpdm-download-link.btn { width: 115px; margin: 0 auto; display: flex; justify-content: center; } .post-22937 .wpdm-download-link.btn { width: 115px; margin: 0 auto; display: flex; justify-content: center; } .post-22935 .wpdm-download-link.btn { width: 115px; margin: 0 auto; display: flex; justify-content: center; }I hope it will be worked properly then. please let me know
Thank you and regards
Mar 15, 2022 at 3:30 am #169816In reply to: Unlink the Document Title
TanvirSpectatorHello,
For this you have to edit the link template you are using.
Please follow the below doc:
https://www.wpdownloadmanager.com/doc/templates/link-template/If still the problem persists, please also share related page url and admin access in a private reply.
Thanks
Mar 14, 2022 at 7:32 pm #169813Topic: Unlink the Document Title
in forum Download Manager Pro
Gregory DietrichParticipantI’m using the plugin to simply display downloads, https://pghw.org/document-downloads/.
How can I unlink the document title and force everyone to use the download button? https://s.grcwk.co/bLuKrXWD
Mar 14, 2022 at 1:16 pm #169794In reply to: Download ‘target’ now ‘_self’ wanted ‘_blanc’
HumayonSpectatorHello @bijdageraad,
Greetings and welcome.
You can change it easily from the page template option in the pro version of WPDM.
For the free version, you have to modify the relevant template.
In this case, you can follow the below documentation,
By default, you are using
link-template-default.phpfor the link template andpage-template-default.phpfor the page template.Now copy the files you want to modify from
/src/{ComponentDir}/viewsdir to/{active-theme}/download-manager/dir.And you have to replace
[download_link]with<a href="[download_url]" class="btn btn-primary" target=_blank>[link_label]</a>in related php file.Thanks.
-
This reply was modified 3 years, 11 months ago by
-
AuthorSearch Results
Search Results for 'download link'
-
Search Results
-
Topic: Unlink the Document Title
I’m using the plugin to simply display downloads, https://pghw.org/document-downloads/.
How can I unlink the document title and force everyone to use the download button? https://s.grcwk.co/bLuKrXWD