Search Results for 'download link'

Viewing 25 results - 651 through 675 (of 9,309 total)
  • Author
    Search Results
  • #192801

    jpujolcat
    Participant
    This reply has been marked as private.
    #192763

    In reply to: Sub-Categorie


    Lina Christmann
    Participant
    This reply has been marked as private.
    #192726

    In reply to: Downlaod Stuck


    CIKGU GRAFIK
    Participant
    This reply has been marked as private.
    #192719

    wenjay tew
    Participant
    This reply has been marked as private.
    #192686

    Shahriar
    Moderator

    Hi,
    If the “Open in Browser” option is enabled the ?wpdmdl=PACKAGE_ID link 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.

    #192685

    Michael McHugh
    Participant

    One more question on this. I noticed that the direct download link https://site.io/download/my-file/?wpdmdl=PACKAGE_ID method 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?

    #192684

    Michael McHugh
    Participant

    Never 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.

    #192683

    Michael McHugh
    Participant

    You 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_ID method works, but not directly provided anywhere.

    It’d be nice if the direct download link was shown/copyable on the Item’s admin page.

    #192682

    Shahriar
    Moderator

    Hi,
    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 link https://site.io/download/my-file/?wpdmdl=PACKAGE_ID But 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.

    #192650

    Michael McHugh
    Participant

    That’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/&#8217; 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,
    Michael

    #192622

    Ulrich Eul
    Participant
    This reply has been marked as private.

    Nayeem Riddhi
    Moderator

    Yes, 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


    KATLEEN VANDERBEKEN
    Participant

    Hello
    the documentation says this is not working anymore?

    Prettify your Download Link


    Where can I customize or add my own buttons?
    Thanks you
    Katleen

    #192593

    Sidratul Sohrat
    Spectator

    Please 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

    #192591

    Shahriar
    Moderator
    This reply has been marked as private.
    #192569

    Hi,
    where should I insert the wpdml query 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.

    Link example package

    Thank you and regards

    #192568

    wenjay tew
    Participant

    Thanks. 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 center

    #192567

    wenjay tew
    Participant

    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 center

    #192543

    Shahriar
    Moderator

    Hi,
    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.

    #192527

    Hi,
    thank you for your reply but I tried your code and the result has been the same.

    This is the link that replace the tag [#download_url#] and its result.

    What is the problem?

    Good evening,
    I have issues with your plugin. I’m a pro user and I’ve installed the Download Manager Pro, Google Drive Explorer and Advanced Custom Fields.
    On my website the user can fill a custom form, and when them click on “Send”, they will receive an email with the link for the download.
    When I installed Google Drive Explorer I followed your instructions to create the API KEY. Every file I upload on my Drive account is visible for people that have the link. The issue is on template email lock email.
    I used package_url but it opens the same page I used to fill the form, it’s a loop. I use download_link, download_url they didn’t work. How can I modify the template to obtain a result similar to this: “Download file“, where in the href attribute there’s the correct link to make the download?
    Thank you

    #192511

    Shahriar
    Moderator

    Please email it to support@wpdownloadmanager.com and mention this ticket link in your email.

    #192503

    Shahriar
    Moderator

    Hi,

    Fixed the order status issue. Now you can download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases

    If you face a license-related issue please check the linked site from your order details page. You have to unlock the license from the old site when moving the license to a new domain.

    Also, your pro-forum access has been activated.

    Thanks.

    #192468

    Jay Brand
    Participant

    Good afternoon –
    I followed the steps, I believe correctly, for a package to download an .exe file. Yet, when I click on the Download button (tried both), it does not download. While I am not necessarily paranoid, I am pretty sure I hear it laughing at me. This could, I suppose, be my imagination.

    When I go into the package and copy the file download link, https://tristarmonitoring.com?wpdmdl=26551&ind=2318, and place it into a new window, bingo, downloads perfectly.

    Package Picture

    The page is: https://tristarmonitoring.com/download/remote-support-file-download/

    Thoughts?

    Thank you!

    Jay Brand

    #192439

    Marco Da Rin Zanco
    Participant

    Hi Nayeem,

    thank you!
    It works, but I’ve a problem with the “keeping backup” part.
    I followed this:

    1. Changing Template Files in /plugins/download-manager/src/{ComponentDir}/views/ ( Download Manager Plugin ) dir:
    Create a dir named download-manager inside your active theme dir
    2, Now copy the files you want to modify from /src/{ComponentDir}/views dir to /{active-theme}/download-manager/ dir.
    3. Customize template file(s) in {active-theme}/download-manager dir as per your need
    4. Keep dir structure, means, a file from /src/Packages/views/link-templates dir should go to /{active-theme}/download-manager/link-templates dir.

    If I do this, the change won’t work. If, however, I keep the modified file inside the plugin folder, yes. But, with the next update, the change will be lost.
    Can you explain point 4 better to me? What do you mean? Or what should I do?

    Best regards

Viewing 25 results - 651 through 675 (of 9,309 total)