-
AuthorSearch Results
-
Feb 8, 2024 at 5:11 pm #192978
In reply to: Google Drive Explorer and issues in email lock email
This reply has been marked as private.Feb 8, 2024 at 10:45 am #192968In reply to: Google Drive Explorer and issues in email lock email
Nayeem RiddhiModeratorHello Studio Caprioglio,
Sorry for the inconvenience and the delay. We have checked your issue elaborately. The download URL content returning from the cache, so you are getting the
Invalid download link. Please disable the cache plugin, if that doesn’t work, please contact your server support. We hope your problem should be resolved. please check and let me knowThank you and regards
Feb 7, 2024 at 4:04 pm #192935In reply to: If then Statements in templates and added field
Nayeem RiddhiModeratorHello Scott,
If you want to customize templates with PHP or JS you can also do it from this directory
wp-content/plugins/download-manager/src/Package/views/link-templates or page-templates. And for Keeping a backup of the file for the next update, you can follow this doc, https://www.wpdownloadmanager.com/doc/template-files.And for downloads custom fields you can check this add-on, https://www.wpdownloadmanager.com/download/advanced-custom-fields/
please check and let me know
Thank you and regards
Feb 5, 2024 at 11:05 am #192866Topic: Form Lock
in forum Download Manager Pro
Brooke CorcoranParticipantForm Lock is suddenly not working. I can click download, my form appears in the modal window, I submit the form and go to the thank you page, but the file doesn’t download and there’s no link. It was working fine before.
Feb 5, 2024 at 5:49 am #192857In reply to: Single File download doesn’t works
ShahriarModeratorThis reply has been marked as private.Feb 4, 2024 at 4:21 am #192831
Nayeem RiddhiModeratorHello Justin Black,
Hope you are well. Thanks for writing to us. If you are facing an issue with public visitors seeing the package download page without the download link for restricted packages and if you are trying to protect all contents for the package you can check this option from
When user is not allowed to download > Hide Everythingoption as I image attached,If you are facing still issues with protecting content please share the related URL. if possible, please, give your temporary wp-admin login details in a private reply to check the issue. please check and let me know
Thank you and regards
Feb 3, 2024 at 11:51 pm #192828
Justin BlackParticipantI purchased the Special Pack with Advanced Access Control as my Number 1 priority is to be able to control access to download resources. On my main Download page I have login=1 so when public users visit the resource page they are shown a form to login – however if they have the url of a download package page they can access the download page for the package??? This should not happen! I see that that all details of the package are clearly visible the only thing that has been removed is the download link for each attached file. This is very poor. If a user is not logged in with the correct role they should not be able to access the package page and should be prompted with the login form.
How can this be resolved?
Thanks
JustinFeb 1, 2024 at 4:56 pm #192801In reply to: Single File download doesn’t works
jpujolcatParticipantThis reply has been marked as private.Jan 31, 2024 at 11:14 am #192763In reply to: Sub-Categorie
Lina ChristmannParticipantThis reply has been marked as private.Jan 30, 2024 at 10:20 am #192726In reply to: Downlaod Stuck
CIKGU GRAFIKParticipantThis reply has been marked as private.Jan 30, 2024 at 8:33 am #192719In reply to: send notification email issue
Marketing NSWParticipantThis reply has been marked as private.Jan 28, 2024 at 6:24 am #192686In reply to: Permalink directly to file URL?
ShahriarModeratorHi,
If the “Open in Browser” option is enabled the?wpdmdl=PACKAGE_IDlink will open the file on the browser ( when possible, for some file types not possible ).To open the file in a new tab you need a custom link/page template with the following code,
<a href="[download_ur]" target="_blank" rel="noopener">Download Now!</a>Thanks.
Jan 27, 2024 at 10:52 pm #192685In reply to: Permalink directly to file URL?
Michael McHughParticipantOne more question on this. I noticed that the direct download link
https://site.io/download/my-file/?wpdmdl=PACKAGE_IDmethod will directly download the file.Is there a different format for this URL that would not force a download, but open it in a browser tab instead? e.g. a View Link format?
Related, I see there is an ‘Open in Browser‘ option in the admin, but this doesn’t open in a new tab, it overtakes the current tab, which is not desirable. It’d be nice if this setting had an option to open the link in a new tab. Is there a way to do that?
Jan 27, 2024 at 10:38 pm #192684In reply to: Permalink directly to file URL?
Michael McHughParticipantNever mind. I think you meant “All Files”.
The URL format you provided will work. That link is a lot shorter than the Master Download link, which is very long.
That link would be convenient to have copy-able from the “All Files” page along with the shortcode.
Both of these—the shortcode and the shorter download link would be good to have on each Item’s page as well.
Thanks.
Jan 27, 2024 at 10:30 pm #192683In reply to: Permalink directly to file URL?
Michael McHughParticipantYou can copy the master download link of a package from the ‘Al Files’ admin page.
What/where is the “‘Al Files’ admin page” ? Can you provide a path and/or screenshot of what you’re referring to?
The direct download link
https://site.io/download/my-file/?wpdmdl=PACKAGE_IDmethod works, but not directly provided anywhere.It’d be nice if the direct download link was shown/copyable on the Item’s admin page.
Jan 27, 2024 at 6:19 pm #192682In reply to: Permalink directly to file URL?
ShahriarModeratorHi,
I think you can utilize the master download link for your use case. You can copy the master download link of a package from the ‘Al Files’ admin page. Just click the mini download icon under the package name.
You can also use this URL format to share the direct download linkhttps://site.io/download/my-file/?wpdmdl=PACKAGE_IDBut this will work only when the package has no locks or restrictions.
Note: Deleted duplicate replies in this ticket. Your old reply was marked as spam for an unknown reason. I have unspammed it.
Thanks.Jan 25, 2024 at 10:00 am #192650In reply to: Permalink directly to file URL?
Michael McHughParticipantThat’s good to know, but no, I’m talking about the actual permalink of the Download Manager item page.
I’d like to redirect it to the download media file itself, rather than the Download Manager item page.
I want to create ‘copy link’ links in the descriptions so our staff can copy the file URL to send to customers, like in this screenshot:
https://www.dropbox.com/s/v47y2i6y28ub0ts/Screenshot%202024-01-25%20at%201.34.57%E2%80%AFAM.png?dl=0
I created short redirects to the permalinks, but then realized the permalink goes to an item page, like this:
https://www.dropbox.com/s/gowpoifsioyrgw7/Screenshot%202024-01-25%20at%201.38.15%E2%80%AFAM.png?dl=0
So, I’m looking for a way to make all the permalinks, e.g. ‘https://digitalfusion.net/download/df-print-fulfillment-services/’ link to the media file directly and not the page as it does now.
SEO plugins like Rank Math and All-in-One SEO have features to do this for the actual Media Library item pages, but it doesn’t work on these Download pages.
Does that all make sense?
Is there a template for those pages that can be edited to do this via a child theme, perhaps?
Btw, that “Open in browser” setting should have an option to open the file in a new tab/window.
Thanks,
MichaelJan 24, 2024 at 9:08 am #192622In reply to: Download is hanging up when password reqiuered
Ulrich EulParticipantThis reply has been marked as private.Jan 23, 2024 at 2:00 pm #192608
Nayeem RiddhiModeratorYes, possible. You are also able to add the image to the download button as the code here from your page/link template,
<a href="[download_url]" class="btn btn-info"><img src="Image_URL" /></a>please check and let me know
Thank you again and regards
Jan 23, 2024 at 1:10 pm #192605
KATLEEN VANDERBEKENParticipantHello
the documentation says this is not working anymore?
https://www.wpdownloadmanager.com/doc/templates/prettify-your-download-link/
Where can I customize or add my own buttons?
Thanks you
KatleenJan 23, 2024 at 5:55 am #192593In reply to: Download is hanging up when password reqiuered
Sidratul SohratSpectatorPlease send me the file link you want me to test. Because you can see in the screencast Download Manager is Working fine even in MS-Edge.
Best regards
Jan 22, 2024 at 6:30 pm #192591In reply to: Files can’t be downloaded
ShahriarModeratorThis reply has been marked as private.Jan 22, 2024 at 9:23 am #192569In reply to: Google Drive Explorer and issues in email lock email
Hi,
where should I insert thewpdmlquery parameter?If I insert the tag
[#download_url#]in my email template, when I receive the email and I click in the button, the url brings me to the pakage item and it doesn’t start the PDF file download.Thank you and regards
Jan 22, 2024 at 9:05 am #192568In reply to: Only display items that are not categorised.
Marketing NSWParticipantThanks. im trying to create a new topic for another question, it doesnt allow me
The below code is pasted on function.php
It allows us to automatically send a notification via email when a visitor downloads a file from WPDM on Website.I have pasted the below code on function.php, however, I found out that it is only able to display a single character for the field “Company” when it is sent notification email (the field is an extra field created using Advanced Custom Fields.) refer screenshot below.
i have check all the script it was fine. is there anything wrong with the core code? or bugs?
https://pasteboard.co/XBPNft0Nhr3p.png
/** * This code notifies via email when visitor downloaded a file from wpdm. last updated 14Nov2023 */ add_action("wpdm_before_email_download_link", "your_function", 10, 2); function your_function($post, $package){ $package_data = get_post( $package['ID'] ); $headers = 'From: NSW Download Center <example@nxxxxxxx.com>' . "\r\n"; $headers .= 'Content-type: text/html' . "\r\n"; //If it's in the trash, you won't be able to download it. if( $package['post_status'] == 'trash' ){ status_header( 403 ); die; } // Set the time zone to Asia/Singapore date_default_timezone_set('Asia/Singapore'); $current_date_time = date('Y-m-d h:i:s A'); $company = $post['custom_form_field']['Company-Name'];// Use Advanced custom field to send out company name. $file_type_array = WPDM()->package::fileTypes($package['ID'], false);// Send out file type of the packages downloaded. $file_types = implode(', ', $file_type_array);// Send out file type of the packages downloaded. $message = '<html><body>'; $message .= '<strong>Attention Sales Team</strong>: A visitor has downloaded files from the NSW website. <br>This could indicate potential interest in our marketing materials or whitepaper. <br> Please review the information for possible follow-up with potential clients. '; $message .= '<strong>Leads/Downloader information:</strong> '; $message .= '<table style="border: 1px solid #ccc; background-color: #f5f5f5; border-collapse: collapse;">'; $message .= '<tr><td style="font-weight: bold; border: 1px solid #ccc;">Name:</td><td style="border: 1px solid #ccc;">' . $post['name'] . '</td></tr>'; $message .= '<tr><td style="font-weight: bold; border: 1px solid #ccc;">Company:</td><td style="border: 1px solid #ccc;">' . $company['EmailLock/Company'] . '</td></tr>'; $message .= '<tr><td style="font-weight: bold; border: 1px solid #ccc;">Email:</td><td style="border: 1px solid #ccc;">' . $post['email'] . '</td></tr>'; $message .= '<tr><td style="font-weight: bold; border: 1px solid #ccc;">Downloaded File:</td><td style="border: 1px solid #ccc;">' . $package_data->post_title . '</td></tr>'; $message .= '<tr><td style="font-weight: bold; border: 1px solid #ccc;">File Type:</td><td style="border: 1px solid #ccc;">' . $file_types . '</td></tr>'; $message .= '<tr><td style="font-weight: bold; border: 1px solid #ccc;">IP Address:</td><td style="border: 1px solid #ccc;">' . $_SERVER['REMOTE_ADDR'] . '</td></tr>'; $message .= '<tr><td style="font-weight: bold; border: 1px solid #ccc;">File downloaded Date/Time:</td><td style="border: 1px solid #ccc;">' . $current_date_time . ' (GMT+8 Malaysia Time)</td></tr>'; $message .= '</table>'; $message .= '<br>This email is auto generated by web script when any files on NSW website download center is requested. <br><br>'; $message .= '<br></body></html>'; $recipients = array( 'Email@email.com', 'xxxxxxx@gmail.com' ); $to = implode(', ', $recipients); wp_mail($to, "Potential Leads - Visitor downloaded a file from the NSW website.", $message, $headers); }not sure if i have created mutiple post to this forum?
it seems doesnt allow me to post new topic here on the support centerJan 20, 2024 at 5:55 am #192543In reply to: Modify Popup for email and password verification
ShahriarModeratorHi,
You can edit the popup form following the method Tanvir stated above.FYI Password and email locks are submitted separately as these locks are not linked. But using the Form Lock addon you can lock a package behind a customized form.
Another option is using the Advanced Custom Fields addon to capture additional data with email lock but this one doesn’t provide the password feature.
Thanks.
-
AuthorSearch Results
Search Results for 'download link'
-
Search Results
-
Topic: Form Lock
Form Lock is suddenly not working. I can click download, my form appears in the modal window, I submit the form and go to the thank you page, but the file doesn’t download and there’s no link. It was working fine before.
I purchased the Special Pack with Advanced Access Control as my Number 1 priority is to be able to control access to download resources. On my main Download page I have login=1 so when public users visit the resource page they are shown a form to login – however if they have the url of a download package page they can access the download page for the package??? This should not happen! I see that that all details of the package are clearly visible the only thing that has been removed is the download link for each attached file. This is very poor. If a user is not logged in with the correct role they should not be able to access the package page and should be prompted with the login form.
How can this be resolved?
Thanks
JustinHello
the documentation says this is not working anymore?
https://www.wpdownloadmanager.com/doc/templates/prettify-your-download-link/
Where can I customize or add my own buttons?
Thanks you
Katleen
