Search Results for 'download link'

Viewing 25 results - 1 through 25 (of 9,559 total)
  • Author
    Search Results
  • #215112

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

    In reply to: Invalid Download Link


    Brin
    Participant

    It’s been a week since we’ve been troubleshooting a site-wide “Invalid download link” error, every package fails identically for guests, including a brand new test package with zero settings applied. Here’s what we’ve ruled out so far, each tested directly with before/after verification:

    CleanTalk: confirmed not blocking, their own test request was approved and logged
    FlyingPress cache: purged fully, added wpdmdl to Cache Exclusions, Delay JS Exclusions, and Include CSS Selectors, no change
    Permalinks: flushed rewrite rules, no change
    Package settings: tested with lock options off, Download Limit cleared, Cache Zip File disabled, no change
    Memcached: confirmed unrelated, ruled out separately
    WPDM’s own cache: cleared via Privacy > Clear All Cache, no change

    Found this old thread on your own forum from 2019 describing the exact same error message, “— Invalid download link —”, appearing after a plugin update, that time tied to password-protected downloads (our packages are not password protected and free downloads). Wondering if this is a recurring bug in the codebase rather than a site-specific config issue.

    Could your team check if that older issue has resurfaced in 7.5.2? Your team has temp admin access. Please release the patch to fix this error.

    Thanks

    #215064

    In reply to: Invalid Download Link


    Brin
    Participant
    This reply has been marked as private.

    Kim Adamof
    Participant

    On this page, https://wellcare.barkingbird.us/well-owners-network-newsletters/, the top download link, Summer 2026, does not work. Refer to screenshot: https://www.awesomescreenshot.com/image/61785507?key=14f1cf91d0c3dffc2f564ab15086f11d. Clicking it results in a 404 error.

    All of the rest of the download links on that page work fine

    Note, the package in that particular link contains a pdf that was uploaded directly into WPDM. All of the rest of the packages were created via the Filebase Import Add-On.

    I posted this question a couple days ago, but it has since disappeared.

    #215005

    In reply to: Invalid Download Link


    Tahasin
    Moderator

    We have double checked the issue. Something is blocking the download link for guest users.
    It would be very helpful if you could create a staging site for testing. We’ll need to deactivate all plugins except Download Manager to check the issue.
    You can also give it a try.

    Thanks for your understanding.

    #215001

    Nayeem Riddhi
    Moderator

    Hello Kim Adamof,

    Hope you are well. Please kindly check all the shortcodes and demos here, https://www.wpdownloadmanager.com/download/wpdm-directory-add-on/, then choose one shortcode. After choosing, please check if the shortcode has a template parameter. You have to make the template; it is a link template. Please browse Downloads > Templates > Link Templates, create a link template with the template tags here https://www.wpdownloadmanager.com/doc/template-tags/ according to your requirements. And use that template ID on the shortcode. Please kindly check if it helps you.

    Thank you

    #214991

    Tahasin
    Moderator

    Kindly try adjusting the private download link usage and expiration limit.

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

Viewing 25 results - 1 through 25 (of 9,559 total)