Search Results for 'Add Url'

Viewing 25 results - 1 through 25 (of 1,705 total)
  • Author
    Search Results

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

    #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/”


    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.

    #214728

    Tahasin
    Moderator

    I have checked the product link. Could you share the temporary login credentials in a private reply to check the issue from your end?

    Guest checkout is working correctly in our test environment.

    After completing the payment, guest users are redirected to a page where they will see the Go To Guest Download Page button. When they click that button, they are taken to the Guest Download Page
    From there, they can access and download their purchased files.

    In addition, guest users receive an order confirmation email. You can include the Guest Download Page URL in that email so customers can easily access their downloads later.

    #214638

    Fabrizio Rutigliano
    Participant

    Hi and thanks for so prompt reply!
    No, it shows simply opening the page, whose this is URL: https://www.fondazionecdlmilano.it/_prova-pdf/

    Now you’ll see 2 download buttons as I wanted to test another download and created 2nd package.
    If I preview the package itself then no errors occurs

    I have created page with Elementor, as said, and selected the ‘WPDM Packages’ widget from “WordPress” list as I have not installed Elementor add-on yet.
    I have been using WPDM to just download PDFs on another website since 4-5 years now and never had any issue, with Elementor page builder for this site also. Only difference might be I was using shortcode on that site…

    #214602

    Tahasin
    Moderator

    Hello,

    Thanks for opening the support ticket.

    Kindly share the wp-admin credentials in a private reply, along with the related URL, so that we can take a closer look at the issue.

    If you are referring to this carousel view, then yes, it is possible to achieve this using either the free version of Download Manager or the Extended Shortcodes add-on.

    Regards


    Sean Thornton
    Participant

    Hello WPDM Support,

    I am currently using WPDM Pro, v7.3.1, with the addon, TinyMCE Button, v2.9.4.

    My issue is when I am in a Post or Page, and I click the Download Manager button in the editor, a popup appears, with the Insert Package tab selected. I can select the template I need, but, the list of packages in the Select Package window, are not appearing.

    Thinking it might be a cache issue, I have cleared the WPDM Cache (under Privacy in the Settings menu), but, that didn’t work.

    Any ideas or solutions?

    Thank you,

    Sean

    Here is the System Report:
    ### WordPress Environment ###
    WordPress Version: 6.9.4
    Site URL: https://intranet.ddicb-nhs.uk
    HTTPS: Yes
    Multisite: No
    WPDM Version: 7.3.1

    ### Server Environment ###
    PHP Version: 8.4.22
    MySQL Version: 10.11.14
    Web Server: Apache

    ### PHP Configuration ###
    Memory Limit: 256M
    Max Execution Time: 300s
    Upload Max Filesize: 2048M
    Post Max Size: 2048M
    Max File Uploads: 20
    Max Input Vars: 1000

    ### Required PHP Extensions ###
    cURL: Installed
    Zip: Installed
    Mbstring: Installed
    JSON: Installed

    ### Recommended PHP Extensions ###
    GD Library: Installed
    ImageMagick: Installed
    OpenSSL: Installed
    Fileinfo: Installed

    ### Directory Permissions ###
    Uploads: Writable
    WPDM Files: Writable
    WPDM Cache: Writable

    #214523

    In reply to: Youtube vidéos


    Sitcom Software
    Participant

    ok, maybe i didn’t click the + button when i added the url…

    sorry and thank you

    #214522

    In reply to: Youtube vidéos


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

    In reply to: Youtube vidéos


    Tahasin
    Moderator

    For that, you don’t need to do anything extra. Just create a package and add the YouTube video URL.

    When users click the download button for that package(which has the youtube video URL), they will be automatically redirected to the specified YouTube video.

    #214516

    In reply to: Youtube vidéos


    Tahasin
    Moderator

    Hello,

    You can add a YouTube video URL using the Insert URL field and display it with the Cinema (YouTube) page template. PDF thumbnail will be displayed as preview.

    When users click the Download button, they will be redirected to the corresponding YouTube video.

    Regards

    #214511

    Greg Borchardt
    Participant

    Hi Nayeem, Thanks for replying. I uploaded a file, well-maintenance.pdf, to DM and added it to a category, Helpful Info. I need the download url to include the category, so that it looks like this: /download/helpful-info/well-maintenance. Currently the category is not included in the url: https://prnt.sc/FsfkQVGnqqxp Can the files be configured to include their categories?

    #214030

    HappyHelper
    Member
    This reply has been marked as private.
    #214000

    Nayeem Riddhi
    Moderator

    Can you allow the specific your website URL following this documentation, https://developers.cloudflare.com/r2/buckets/cors/#add-cors-policies-from-the-dashboard? Please kindly check.

    Thank you

    #213924

    Pascal Zajac
    Participant

    According to the documentation on Media Protection there are options for Advanced protection that ensure signed, single-use URLs etc.

    However, in the admin UI of my site, when I go to Downloads ► Settings ► Media Protection, the only panels I can see are Server Information, Protection Method and Private Storage Status. Nowhere mentions the Advanced mode referenced in the documentation. I’m also not sure why Private Storage Status is appearing when I am using the PHP Proxy protection method.

    Additionally, the docs talk about a Protect Media button appearing in the regular WordPress media library, but I do not see this button. I’m not sure if I’m looking in the right place, though, because the package I have created does not involve a file stored in the media library (I uploaded it to the WPDM Package directly and so it is stored in the download-manager-files folder).

    #213889

    In reply to: Invalid Link


    Tahasin
    Moderator

    Thanks for sharing the URL. If you receive any additional reports, please share those package URLs as well.

    #213868

    In reply to: Invalid Link


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

    Pascal Zajac
    Participant

    We run an organisation where we sell digital content (via Event Espresso, because we also organise and sell events) and need to be able to generate secure links to downloads for those who have purchased. We were previously relying on LearnDash but have come to the conclusion it is unfit for purpose.

    I have purchased Download Manager Pro, have installed it on our staging website and added our license details.

    The frontend display of downloads seems broken: https://jtanstaging.wpengine.com/download/2026-fake-exam/

    I have enabled the Terms lock but nothing is appearing. Is there something I need to enable in my theme in order to make this page work correctly?

    In the backend, numerous functions are not working: the Generate Download URL and Email Download Link options on the All Packages screen do not work, when editing an individual Package the Access Control section does not list any Roles by which to limit access, etc.

    I am happy to grant access to our Staging site to someone from your support team to investigate these issues directly.

    #213213

    In reply to: Check su Moduli


    Tahasin
    Moderator

    We sincerely apologize for the misunderstanding caused by our support staff.

    Kindly paste this line in the choices field, add your terms page URL in href=””
    Field type: radiobutton
    I accept the <a href="your terms page url here" target="_blank">Terms & Conditions</a> of this site.
    Here is the full screenshot

    Let me know, how it goes.


    Nayeem Riddhi
    Moderator

    Hello Willy Lin,

    Hope you are well. The One drive add on working properly in your testing site. Please kindly share the related URLs. if possible, please, give your temporary wp-admin login details in a private reply to check the issue.

    Thank you and regards

    #213049

    Nayeem Riddhi
    Moderator

    Hello Christopher Roth,

    Hope you are well. The refresh parameter is a cache-busting mechanism. It generates a unique value each time a download URL is created to prevent:

    – Browser caching – Ensures users get a fresh download link each time
    – CDN/proxy caching – Prevents intermediate servers from serving cached links
    – Link caching – Forces each URL to be treated as unique

    The value is generated using uniqid() . time() which creates a timestamp-based unique identifier like 69c2eab48d0841774381748.

    Solution to Remove the “refresh” Parameter

    Add this to your active theme’s functions.php:

    // Remove refresh parameter from download URLs

      add_filter('wpdm_download_link', function($html, $params) {
          $html = preg_replace('/&refresh=[^&"\']*/i', '', $html);
          $html = preg_replace('/\?refresh=[^&"\']*&/', '?', $html);                                                                                        
          $html = preg_replace('/\?refresh=[^&"\']*/i', '?', $html);
          $html = str_replace(['?&', '&?'], '?', $html);                                                                                                    
          return $html;
      }, 10, 2);

    Please kindly check and let me know if it works for you.

    Thank you and regards


    Kathy Amro
    Participant
    This reply has been marked as private.

    MARCELLO NARDESCHI
    Participant
    This reply has been marked as private.
    #212708

    Amgis Flowenol
    Participant
    This reply has been marked as private.
Viewing 25 results - 1 through 25 (of 1,705 total)