Search Results for 'download link'

Viewing 25 results - 5,151 through 5,175 (of 11,368 total)
  • Author
    Search Results
  • #114883

    Sean Kelly
    Member

    Hi,

    Is it possible to change the Download button to an OPen button so the Opens the selected document rather than the broser downloading it?

    We currently use the following shortcode: [wpdm_all_packages items_per_page=”20″ categories=”office_doc” jstable=1 order_by=”field_name” order=”ASC/DESC” cols=”title|package_size|update_date|download_link” colheads=”Title|File Size|Document Date|Download”]

    Thanks

    Sean

    • This topic was modified 6 years, 11 months ago by Sean Kelly.
    #114871

    Colin Hart
    Member

    I have Download Manager Pro and I bought a bundle at the time which included the Stripe payment gateway which I use, my WordPress plugins panel is telling me there is an update to 1.4.0 for that, I click on the update link which takes me to the Download Manager plugins panel, I click the update button there, it blinks, then says success, when I reload the screen it goes back to saying update. If I click on the link to the plugin it takes me to the sales page for it, I have an up to date subscription, where can I either get the .zip file to manually update it or get the update panel to work, I think the update panel failure may be to do with the fact I am using the SSH SFTP Updater Support plugin in my WordPress installation.


    timmytag
    Participant

    Hi, I want to change the href write in download-history.php and profile.php files
    <a href="<?php echo get_permalink($stat->pid); ?>"><?php echo $stat->post_title; ?></a>.

    I need that at the click the download starts directly instead of redirect to the file page.
    Can you help me please?

    #114842

    BGM
    Participant

    I was looking at https://demo.wpdownloadmanager.com/wpdmpro/slider/ which appears to show the Package Name, Description and a link to the package on “More Details”. When I use the shortcode it seems mine isn’t working. https://www.screencast.com/t/El0ckDeocz I’m using Astra theme. I did note that I don’t currently have any featured images and wondered if that’s why it was broken. Is there a way to set a default featured image if I don’t select one?

    What I’d really like is something that looks more like https://demo.wpdownloadmanager.com/wpdmpro/list-packages/ as a carousel or slider. That is a slider that uses the link template so I can fully style the slide.


    Shahriar
    Moderator

    Hi,

    Masterkey is meant to override the permission settings. If you want to share the download only restricted roles then use just a simple download link without the masterkey.

    Thanks.

    #114834

    In reply to: change template


    Shahriar
    Moderator

    Hi,
    If you want to make any change to the template then clone it and edit the cloned copy. Here is a detailed tutorial on that https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
    Thanks.


    Jan Kasten
    Participant

    Hello,

    We use the short code below to create a table of downloadable files on a page that are private. One has to be signed into our website to view the page and the downloads. When the table lists the Title, it also shows the word “Private:” next to each download title. We would like to remove that text in both the TITLE and the PAGE LINK listed in the table. Please advise where we can manage and change this output of text. Thanks!

    Example
    Title of actual Download “Co-Extruder – English”
    Title shown in the table “Private: Co-Extruder – English”

    Shortcode
    [wpdm_all_packages items_per_page="30" categories="English" jstable=0 order_by="field_name" order="ASC/DESC" cols="title,download_count|categories|update_date|page_link" colheads="Title|Language|Update Date|File link::355px"]

    Hello,

    since Version 5 the Master Download Link can be accessed by all users (non-logged in users too). The File should be accessible only for admins and customers (like it is set in the Allow access setting). I have downgraded to the 4.9.8 Version and there it is working wright.

    Thank you
    Sergiu Chiriac


    Sebastian Stockart
    Participant

    Hello everyone,

    I would like to perform some action e.g. send an email to a specific recipient after a file has been uploaded in the backend into a specific download category.

    It seems like wpdm_before_upload_file() is not sufficient as I would like to link/attach the file to the email.

    What am I missing?


    Philippe Bonneau
    Participant
    This reply has been marked as private.
    #114772

    Hello,

    I have a site with WP in a subdirectory. Most things work fine but I noticed the [download_url] template variable for link templates is returning the incorrect login url for packages that require login.

    I think this is being set on line 248 of class.Package.php:

    $post_vars['download_url'] = home_url('/wp-login.php?redirect_to=' . urlencode($_SERVER['REQUEST_URI']));

    home_url() returns the frontend. Replacing it with site_url() should fix it. There’s also wp_login_url().

    home_url() is also used with wp-login.php on line 1103 of class.Package.php and line 105 of wpdm-function.php.

    #114757

    Mehdi Sabbagh
    Participant

    Hi,
    I have developed a theme for link and for page view. How can I set it as the default theme? I disabled all other themes, but I can’t set this as default. When adding a new product for download, if we don’t choose the template, I want it to show with my new template.
    How can that be done?

    #114750

    Eugenie Bulten
    Participant
    This reply has been marked as private.
    #114716

    Shahriar
    Moderator

    I have to check your CSV to find what went wrong. Also, could you please send the CSV download link in a new ticket? We will continue the discussion there. As you are not the author of this ticket you won’t be able to see any private reply from me.

    #114687
    This reply has been marked as private.
    #114670

    It seems to be working again now…

    Can we hide the download part on certain Form Locked packages so there is just an email to the user with a external link (YouTube)?

    Thanks

    #114671

    It seems to be working again now…

    Can we hide the download part on certain Form Locked packages so there is just an email to the user with a external link (YouTube)?

    Thanks

    #114646

    Paulo Frade
    Participant
    This reply has been marked as private.
    #114580

    Samantha Nystrom
    Participant

    We have only one file per package. Here is a link -> https://ninjatraderecosystem.com/user-app-share-download/pricevoice/

    I was able to modify it from code previously sent like this:

    $filepath = str_replace(‘\\’,’/’, $filepath );
    $filename = wpdm_basename($filepath);

    //modified to get the file name instead of random number
    $tmparr = explode(‘.’, $filename );
    $filename = get_the_title( $package[‘ID’] ) . “.” . end($tmparr);
    wpdm_download_file($filepath, $filename, $speed, 1, $package);

    Is there a better way to do this? Also, you had previously said a filter with the ability to use the download file name would be added to the front end, is that still a possibility?

    #114578

    Shahriar
    Moderator

    Do you have only one file per package? Please send me a sample download page link. Depending on the number of files the code location will vary.

    #114573

    Shahriar
    Moderator

    To fix the first 2 warnings go to Downloads > Settings > Default Values. Then set “Page Template” and “Link Template” options.

    And to fix the other 3, please download this file https://www.dropbox.com/s/nkzpvrq5osgyu3m/wpdm-login-form.php?dl=1 and place it in /active-theme/download-manager/wpdm-login-form.php path. I have added patch here to fix those warnings and this template will override the default one.

    #114562

    Samantha Nystrom
    Participant

    This code no longer works in the latest update. The code block is now:
    //$plock = get_wpdm_meta($file[‘id’],’password_lock’,true);
    //$fileinfo = get_wpdm_meta($package[‘id’],’fileinfo’);

    $filepath = str_replace(‘\\’,’/’, $filepath );
    $filename = wpdm_basename($filepath);
    $filename = preg_replace(“/([0-9]+)[wpdm]+_/”, “”, $filename);

    wpdm_download_file($filepath, $filename, $speed, 1, $package);
    //@unlink($filepath);

    What do I modify to use the file name instead of the string of numbers as before?

    #114462

    Shahriar
    Moderator

    It is not possible to use the embedded form in all packages table.

    Use a custom link template with [download_link_dynamic] template tag to render the download button based on lock status. Here is the code to implement this tag.

    function wpdm_download_link_dynamic($vars){
        if ( wpdm_is_locked( $vars['ID'] ) )
            $vars['download_link_dynamic'] = $vars['download_link_extended'];
        else
            $vars['download_link_dynamic'] = "<a class='btn btn-success' href='".$vars['download_url']."' target='_blank'>".$vars['link_label']."</a>";
    
        return $vars;
    }
    add_filter( 'wdm_before_fetch_template', 'wpdm_download_link_dynamic', 10, 1 );

    Shahriar
    Moderator

    Hi,

    It is not possible to send the guest a download link with the email as the link requires the form submission. But the feature is noted for implementation.

    For now, you can add a message on the guest order download page to let the user know they can copy the order ID from the email you sent.

    Use a custom template for /wpdm-premium-packages/templates/partials/guest-order-search-form.php to add the message. This template can be overridden by copying it to /active-theme/download-manager/partials/guest-order-search-form.php

    Thanks.

    #114456

    In reply to: Bulk import via FTP


    Shahriar
    Moderator

    Hi,

    Are you referring to the Directory Import option in Downloads > Bulk Import page? In this method, one package is created for each file. Download Manager doesn’t move the files, it just links each file’s location to the package.

    Thanks.

Viewing 25 results - 5,151 through 5,175 (of 11,368 total)