Search Results for 'download link'

Viewing 25 results - 26 through 50 (of 9,565 total)
  • Author
    Search Results
  • #214990

    Tahasin
    Moderator

    Hello,

    Thanks for reaching out.
    I have checked downloading the package and the download link appeared to be working fine. Here is the recording, screenshot

    Regards

    #214989

    timmytag
    Participant

    Hi, I’m having an issue with my website, kdln.it. I use the WPDM plugin to manage file downloads on the “downloads” page (https://kdln.it/en/downloads/). Some files (e.g., 3D, BIM, etc.) require users to enter their name and email address, as the “email lock” option is enabled. The user then receives an email containing the download link.
    The strange thing is that some users are receiving broken links. For instance, regarding two links for the same file received via email: the first one displays an “Invalid download link” error, while the second works perfectly. Could you explain why this is happening and tell me how to fix this error?

    https://kdln.it/en/download/kate-43-suspension_3d/?wpdmdl=158972&_wpdmkey=6a4cb86eaa8d4&subscriber=OAMxTPPQ3Av_Vn1z0Qa-lOUd14Nq7WRP4cOOneYDMn5bMZgi2dypI0o86xerqlb8FzcqjNkcY71ugEDzGsB52_w

    https://kdln.it/en/download/kate-43-suspension_3d/?wpdmdl=158972&_wpdmkey=6a4e59be5e1f6&subscriber=OCH7oLIBxxyDexKPfsgyex9o4W8X8w1u95X-00Sx56VDUTYVVgZcJVsxep6vAeCGcAMyELBxeQaPygi-Lz9-Tjw


    Roger Sturmy
    Participant

    The use of WPDM on our site is not in page or post but exclusively with WPDM lists in this menu: RESOURCES>FISTF Downloads.
    So, we use always links like this: https://fistf.com/download/wpdm-test/

    The appearance is effectively not OK (very big icons).

    One strange thing:


    Roger Sturmy
    Participant

    Hello,

    I tried [wpdm_changelog id="12345"] and also [changelog] but no one works (empty section with icon “changelog” and “[changelog]” displayed).
    Here is the source code of the template used.

    <!-- WPDM Template: Default Template -->
    <div class="row">
        <div class="col-md-5">
            <div class="wpdm-button-area mb-3 p-3 card">
                [download_link]
                <div class="alert alert-warning mt-2 [hide_empty:expire_date]">
                    Download is available until [expire_date]
                </div>
            </div>
            <ul class="list-group ml-0 mb-2">
                <li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:version]">
                    [txt=Version]
                    <span class="badge">[version]</span>
                </li>
                <li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:download_count]">
                    [txt=Download]
                    <span class="badge">[download_count]</span>
                </li>
                <li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:file_size]">
                    [txt=File Size]
                    <span class="badge">[file_size]</span>
                </li>
                <li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:file_count]">
                    [txt=File Count]
                    <span class="badge">[file_count]</span>
                </li>
                <li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:create_date]">
                    [txt=Create Date]
                    <span class="badge">[create_date]</span>
                </li>
                <li class="list-group-item  d-flex justify-content-between align-items-center [hide_empty:update_date]">
                    [txt=Last Updated]
                    <span class="badge">[update_date]</span>
                </li>
    
            </ul>
    
            <div class="card mb-3 p-3 hide_empty [hide_empty:featured_image]">[featured_image]</div>
    
        </div>
    
        <div class="col-md-7">
            <h1 class="mt-0">[title]</h1>
            [description]
           <div class="wel">
                [tags]
             </div>
        </div>
        <div class="col-md-12">
    		[changelog]
    		[wpdm_changelog id="21331"]
        </div>
     
    </div>
    

    Precision: I activated all free Addons.

    PS: in your documentation, you talk about [chanelog] instead of [changelog].

    Thank you for your help.

    #214951

    Brin
    Participant

    The straightforward packages to download a software or manual when download link sent to email or has a ready download option giving an error ‘Invalid Download Link’. cleared server and download pro manager cache as well. Nothing works. Settings are same as all other packages. What’s causing the issue?

    #214950

    In reply to: Show inside the posts


    portalkairos
    Member

    This code would work well if I could specify the “Page Templates,” because I can’t stop using the zip across the entire site.

    add_filter( 'wdm_before_fetch_template', 'hide_download_link_for_logged_in_users', 10, 3 );
    
    function hide_download_link_for_logged_in_users( $vars, $template, $package ) {
    
        if ( is_user_logged_in() ) {
            $vars['download_link'] = '';
        }
    
        return $vars;
    }
    
    #214949

    In reply to: Show inside the posts


    Tahasin
    Moderator

    Try applying this code in function.php file. If it does not meet your requirement, then customization is the only solution.

    add_filter('wpdm_get_files', 'hide_file_list_for_guests', 10, 2);
    
    function hide_file_list_for_guests($files, $package) {
        if (!is_user_logged_in()) {
            return [];
        }
    
        return $files;
    }
    
    add_filter( 'wdm_before_fetch_template', 'hide_download_link_for_logged_in_users', 10, 3 );
    
    function hide_download_link_for_logged_in_users( $vars, $template, $package ) {
    
        if ( is_user_logged_in() ) {
            $vars['download_link'] = '';
        }
    
        return $vars;
    }
    #214947

    In reply to: Show inside the posts


    portalkairos
    Member

    I had to remove the download link so that people couldn’t download the watermark-free PDF from multi-file packages.

    <div class="well">
    [download_link]
    </div>

    But this causes MY PROBLEM: the link for people to log in or sign up for protected packages doesn’t appear.

    #214943

    In reply to: Show inside the posts


    portalkairos
    Member

    I greatly appreciate your willingness to help.

    But it didn’t work. What prevents me from using:
    “When user is not allowed to download: Only Block download link”?

    The problem is that by placing the “download link” on the package page, people can download a PDF (zip) file without the watermark.

    And even so, I need the link for people to log in or sign up.

    Thanks.

    #214927

    In reply to: Show inside the posts


    portalkairos
    Member

    The problem is that when there are multiple files in the package, I have to remove the download link; otherwise, the PDF downloads in ZIP format without the PDF Stamper watermark.


    Dave Filchak
    Participant

    Plugin version: Download Manager 3.3.62 (free version)
    Also installed: WPDM – Elementor add-on
    Site: staging environment (can provide live URL if needed)

    Description:

    We have several separate downloads set up (different files, different titles, different pages), but no matter which download page a visitor lands on, the page always shows the details and download button for just one specific file — our most-downloaded one. Clicking “download” on any of the other pages ends up delivering that same one file instead of the file that actually belongs to that page.

    Here’s what we’ve already ruled out:

    It’s not a caching issue — we cleared all caching layers and the problem persists.
    It’s not a permalinks issue — we reset permalinks with no change.
    It’s not a data problem — each download item has its own correct file, title, and settings in the admin editor. The mix-up only happens on the public-facing page.
    It’s not tied to one specific page design — we tried switching the “Page Template” option for an affected download to a different built-in template, and the problem still happened.
    We also temporarily deactivated the WPDM – Elementor add-on to test. That didn’t fix it — instead, it broke the download button entirely (it stopped working rather than pointing to the right file). Reactivating the add-on brought back the original issue.
    Since it happens consistently across every download page and isn’t fixed by anything on our end, this looks like it’s happening in the plugin’s own code rather than something misconfigured on our site. If it helps narrow it down: it seems related to how the plugin figures out “which download is this page about” — possibly connected to a related/similar-downloads lookup feature, since the file that keeps showing up everywhere is our single most-downloaded item.

    Happy to provide staging access or screen recordings if that would help you reproduce it.

    #214920

    In reply to: Show inside the posts


    Tahasin
    Moderator
    This reply has been marked as private.
    #214917

    In reply to: Show inside the posts


    portalkairos
    Member

    I don’t think I’m explaining this clearly:

    –When user is not allowed to download:

    “Hide Everything”

    –Does not show the package inside the posts and blocks access to the package contents.

    “Only Block download link”

    –Shows the package inside the post and displays the package contents.

    ***What I need:

    Shows the package inside the posts but blocks access to the package contents.

    #214916

    In reply to: Show inside the posts


    Tahasin
    Moderator
    This reply has been marked as private.
    #214915

    In reply to: Show inside the posts


    portalkairos
    Member

    I asked ChatGPT to do it for me to get around this problem:

    /**
    * Makes [wpdm_package id='XXXXX'] appear as a public link,
    * even when WP Download Manager hides the package button. 
    *
    * Does not force a direct download. It only displays the link to the package page. 
    */
    add_action('init', function () {
    
        remove_shortcode('wpdm_package');
    
        add_shortcode('wpdm_package', function ($atts) {
    
            $atts = shortcode_atts([
                'id' ► 0,
            ], $atts, 'wpdm_package');
    
            $id = intval($atts['id']);
    
            if (!$id) {
                return '';
            }
    
            $url   = get_permalink($id);
            $title = get_the_title($id);
    
            if (!$url) {
                return '';
            }
    
            if (!$title) {
                $title = 'Acessar arquivo';
            }
    
    return '<p class="wpdm-link-forcado">
        <strong>📥 Baixe aqui:</strong>
        <a href="' . esc_url($url) . '" target="_blank" rel="noopener">
            ' . esc_html($title) . '
        </a>
    </p>';
        });
    }, 9999);

    But it doesn’t look good:
    “portalkairos.org/nossas-criancas-na-campanha-da-fraternidade-2026/”


    Tahasin
    Moderator

    First of all, the problem is not with WordPress Download Manager or file cart add-on. It’s the way your custom JavaScript binds the click event.

    I have updated the pdf_viewer.js file and the pdf is opening in a popup.

    Root cause(direct binding),

    $("a.modalToggle").click(function() {...});

    which only binds to elements that exist when the page loads. The WPDM All Packages output is rendered after that point, so those links never received the click handler.

    Now, I used a delegated event binding to ensures that all current and future .modalToggle links work
    $(document).on("click", "a.modalToggle", function (e) {.. }


    Laura Schulz
    Participant

    Hello WP Download Manager Team,

    I am currently using the File Cart “Side Panel” option with the “Email This Cart” function enabled. It works and looks great on desktop. However, on mobile, the email address field appears extremely compressed, almost like it is only a few pixels wide, which makes it difficult for users to enter their email address.

    Here is a link to a screenshot for context.

    Thank you for your help!

    #214857

    Fabrizio Rutigliano
    Participant

    Hi Tahasin, I’ve retested and have good and less good news.

    Good is that I now can add to cart from Safari and Chrome also, while couldn’t formerly.
    The purchase and checkout processes go thought relatively smoothly and once paid I got redirected to guest orders page with proper details for email addr and order#, so could download file for/from proper user.
    Before testing I have anyhow cleaned all cookies, cache, history for both browsers.

    The less good news is that I’ve tried another purchase from same Safari browser, without clearing its cache nor cookies, using a different email address, but once redirected to guest orders page fields were pre-filled in with former user’s details.
    And although I have replaced them with proper one from email received, I was amnyhow routed to former user. Also after clearing cache, cookies and so on.
    Also tried another purchase from Chrome, clearing it, and once completed checkout I was redirected to guest orders page with same email and order# of the 1st I’ve placed on Safari!
    Which is quite weird.
    It might be edge case, but i’d expect to land on orders page with details of latest user I’ve used, not always the first one also from other browsers.

    Moreover, I had left Chrome on guest orders page of first user I had tested there, but once I clicked to download PDF I got message ‘Invalid download link’…

    Finally, on email received I still have link for login, but once on the page I do not have a link to guest orders page. I know I can edit and amend email, but just FYI.

    So lights and shoadows over behavior of the feature, it works but seems not 100% as intended…

    I will anyhow try to enable PayPal sandbox to test a “real” payment method and at least see how it would behave.


    Kim Adamof
    Participant

    When using the Export Packages feature, is there any way to include the Master Download Link for each package in the csv file?

    #214795

    In reply to: Direct Download issue


    Nayeem Riddhi
    Moderator

    Please kindly navigate Downloads > All Packages section, please kindly click on Generate Download URL icon as I image attached,

    Untitled-design

    Then you can copy the Master Download Link or generate Direct download URL and use that URL like <a href="THE_URL">YOUR TEXTS</a> in your pages or posts editor. Please also enable option Open in browser from Downloads > Settings > File Download section. Please kindly check and let me know if it works for you. Please kindly check.

    Thank you


    Bart van den Dool
    Participant

    I Can’t find the download at your link, i came in the shop and need to pay $99,- again?

    #214776

    In reply to: Direct Download issue


    Kim Adamof
    Participant

    Thanks for replying Nayeem. If a user clicks a text-link (to a pdf in DM) on our website (https://prnt.sc/d80pofHpa8ec), I want Chrome (if that is the browser the user is using) to open the pdf.

    The text-link could either be the Package Permalink (https://prnt.sc/u9PlpQSh7FUo) or the Download url (https://prnt.sc/uRK9fdpzbzBQ)

    Does that make sense?

    Greg

    #214770

    Kim Adamof
    Participant

    All of the Packages created in my client’s DM are pdf’s.
    Each package contains a single pdf.

    Is it possible for a user using Chrome to click on a link so that Chrome opens the pdf?
    If so, can you please explain how to configure DM to do that? I’ve tried several options and can’t figure it out.

    Thanks in advance,
    Greg


    Nayeem Riddhi
    Moderator

    Hello Laura,

    Hope you are well. Thank you for your purchase of the Full Access Pack! We’re glad to hear you’re enjoying the plugin. Let me address each of your questions with verified solutions:

    1. Hiding Empty Social Media Icons

    The social icons (Facebook, Twitter, YouTube) in email templates will still display even when the URL fields are left empty in Downloads > Templates > Email Settings. This is because the templates contain the link HTML regardless of whether the URL is set.

    Solution – Override the Email Template:

    To make changes that survive plugin updates, use the template override system, following this documentation, https://www.wpdownloadmanager.com/doc/template-files/

    1. Create a folder named download-manager inside your active theme:
    – Path: /wp-content/themes/your-theme/download-manager/
    2. Create an email-templates folder inside it:
    – Path: /wp-content/themes/your-theme/download-manager/email-templates/
    3. Copy the email template you’re using from the plugin to your theme. For example, if using “Default” template:
    – From: /wp-content/plugins/download-manager/src/__/views/email-templates/default.html
    – To:/wp-content/themes/your-theme/download-manager/email-templates/default.html
    4. Edit the copied file and remove the social icon sections. For default.html, find and remove lines 202-214 (the social links section).
    5. Repeat for any other email templates you use (stripe.html, fabulous.html, etc.).

    Your custom template will now be used instead of the plugin’s default, and updates won’t overwrite your changes.

    2. Removing “Powered by Download Manager”

    Yes, with your Business/Full Access Pack license, you can remove this branding. The “Powered by Download Manager” link appears in all 14+ email template files.

    Solution – Override Each Template:

    Using the same override method above, edit each email template file in your theme and remove the line containing the “Powered by” link (usually near the end of each template file).

    For example, in default.html (line ~238), remove:
    <p style="margin: 16px 0 0 0;"><a href="https://www.wpdownloadmanager.com" style="...">Powered by Download Manager</a></p>

    Repeat this for all email templates you use.

    Note: For File-Cart emails, the email sent also uses this wrapper template, so removing the “Powered by” link from the template will apply to File-Cart emails as well.

    3. Removing “This link will expire after first use” from File-Cart Emails

    This message is hardcoded in the File-Cart plugin and cannot be removed via template override (it’s built in PHP, not HTML templates).

    Solution – Use a Translation Filter:

    Add this to your theme’s functions.php file (this survives plugin updates):

    add_filter('gettext', function($translation, $text, $domain) {
        if ($domain === 'wpdm-file-cart' && $text === 'This link will expire after first use.') {
            return ''; // Returns empty string, hiding the message
        }
        return $translation;
    }, 10, 3);

    Alternative – Edit Directly (Not Recommended):

    You can edit /wp-content/plugins/wpdm-file-cart/src/EmailService.php around line 158-160 and comment out those lines, but this change will be lost when the plugin is updated.

    Please kindly check and let me know, if it helps you

    Thank you and regards


    Laura Schulz
    Participant

    Hello WP Download Manager Team,

    I love your plugin, especially the File-Cart add-on. Our company recently purchased the Business version of the “Full Access Pack” for WP Download Manager.

    For the most part, everything is working great. However, we have a few questions that we have not been able to resolve through the available settings:

    1.) Under Downloads > Templates > Email Templates > Email Settings, the main email wrapper includes social media icons. Some of our clients do not use one or more of these platforms, but we have not found a way to remove individual icons. When we leave a URL field empty, the icon still appears in the email template, but without a link. Is there a way to hide or remove specific social icons?

    2.) Since we purchased the Full Access Pack, we wanted to ask whether full branding control is included. Specifically, is there a way to remove or disable the “Powered by Download Manager” text from the email templates?

    3.) Lastly, when a File-Cart email is sent, there is a message that says, “This link will expire after first use.” However, we have been able to download files multiple times, which is fine for our use case. However, is there a way to remove that message from the email so it’s not misleading?

    Thank you for your help. We appreciate the plugin and would be grateful for any guidance on these items.

Viewing 25 results - 26 through 50 (of 9,565 total)