Search Results for 'all downloads'

Viewing 25 results - 1,301 through 1,325 (of 4,412 total)
  • Author
    Search Results

  • Nayeem Riddhi
    Moderator

    Can you please elaborate more on your #1 problem, are you trying to have two different types of files in one package?

    and for #2, you may use categories parameter for this shortcode, https://www.wpdownloadmanager.com/doc/short-codes/wpdm_all_packages-list-all-downloads-in-tabular-format-in-a-page/

    thanks

    #152363

    Nayeem Riddhi
    Moderator

    Please simply click the Save Settings again for the license key option from Downloads > Settings > License, which will regenerate the access token. Finally, go to the plugins page and the update will work fine this time

    and for add-on for now,

    1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
    2 ) Install the latest version

    thanks, I hope you have understood

    #152353

    Chris Martin
    Participant

    My client asked the status of this and I just checked and it still doesn’t work. The log information can still be found above.

    Here’s what happens:
    1. I log in as admin
    2. click “add new” under downloads
    3. create a title
    4. add a test pdf file
    5. remove everyone from “Allow Access”
    6. add Anesthesiologist only
    7. click on publish

    Then when I log back in as a CRNA, I am able to see and download the file that should be for Anesthesiologist
    only. That should not happen. Please help!

    Thanks. Chris

    #152289

    Emma Harrison
    Participant

    Hello,
    We’ve been using WPDM for several years on our website, with no headaches.

    However, now on the front-end, when someone visits the download page it says “There has been a critical error on this website. Learn more about troubleshooting WordPress.” Below that text, it shows the header of the WPDM table, but no information.

    We’re using the [wpdm_all_packages] shortcode, and that’s it.

    I switched on PHP errors, and reloaded the page, and it shows the following….

    Fatal error: Uncaught Error: Class ‘liveforms’ not found in /DELETED_SERVER_ADDRESS/public_html/wp-content/plugins/download-after-submit/download-after-submit.php:77 Stack trace: #0 /DELETED_SERVER_ADDRESS/public_html/wp-includes/class-wp-hook.php(292): liveform_for_wpdmpro->download_lock(”, Array) #1 /DELETED_SERVER_ADDRESS/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(”, Array) #2 /DELETED_SERVER_ADDRESS/public_html/wp-content/plugins/download-manager/libs/class.Package.php(1000): apply_filters(‘wpdm_download_l…’, ”, Array) #3 /DELETED_SERVER_ADDRESS/public_html/wp-content/plugins/download-manager/libs/class.Package.php(1150): WPDM\Package::activeLocks(1331, Array) #4 /DELETED_SERVER_ADDRESS/public_html/wp-content/plugins/download-manager/tpls/wpdm-all-downloads.php(294): WPDM\Package::downloadLink(1331, 0, Array) #5 /DELETED_SERVER_ADDRESS/public_html/wp-content/plugins/download-manager/libs/class.ShortCodes.php(563): include(‘/DELETED_SERVER_ADDRESS…’) #6 /DELETED_SERVER_ADDRESS/public_html/wp-includes/shortc in /DELETED_SERVER_ADDRESS/public_html/wp-content/plugins/download-after-submit/download-after-submit.php on line 77

    Any suggestions of how we can fix this error?

    #152176

    Philippe Bonneau
    Participant

    The edit are on line 59, 87 and 199

    const { __, _x, _n, sprintf } = wp.i18n;
    
    function wpdmapPagination(current, last) {
        var delta = 2,
            left = current - delta,
            right = current + delta + 1,
            range = [],
            rangeWithDots = [],
            l;
    
        for (let i = 1; i <= last; i++) {
            if (i === 1 || i === last || i >= left && i < right) {
                range.push(i);
            }
        }
    
        for (let i of range) {
            if (l) {
                if (i - l === 2) {
                    rangeWithDots.push(l + 1);
                } else if (i - l !== 1) {
                    rangeWithDots.push('...');
                }
            }
            rangeWithDots.push(i);
            l = i;
        }
        var html = "<ul class='pagination wpdm-pagination pagination-centered text-center'>";
        console.log(current);
        if(current > 1)
            html += "<li><a href='#' data-page='"+(current-1)+"' class='async_page page-numbers'><i style=\"display: inline-block;width: 8px;height: 8px;border-right: 1px solid;border-top: 1px solid;transform: rotate(-135deg);margin-left: -2px;margin-top: 2px;\"></i></a></li>"
        for(i = 0; i < rangeWithDots.length; i++){
            var cclass = parseInt(rangeWithDots[i]) === current ? 'current-page' : '';
            if(rangeWithDots[i] !== '...')
                html += "<li><a href='#' data-page='"+rangeWithDots[i]+"' class='async_page page-numbers "+cclass+"'>"+rangeWithDots[i]+"</a></li>";
            else
                html += "<li><a class='page-numbers dot'>"+rangeWithDots[i]+"</a></li>";
        }
        if(current < last)
            html += "<li><a href='#' data-page='"+(current+1)+"' class='async_page page-numbers'><i style=\"display: inline-block;width: 8px;height: 8px;border-right: 1px solid;border-top: 1px solid;transform: rotate(45deg);margin-left: -2px;margin-top: -2px;\"></i></a></li>"
        html += "</ul>";
        return "<div class='text-center'>"+html+"</div>";
    }
    
    jQuery(function ($) {
    
        function htmlEncode(value) {
            return $('<div/>').text(value).html();
        }
    
        var wpdmac_category = '', wpdmac_tags = '';
    
        function getDownloads(cp, container) {
    
            WPDM.blockUI('#wpdm-archive-page');
            var scode_params = typeof wpdmap_params !== 'undefined' ? wpdmap_params : '';
            jQuery('#wpdm-downloads').prepend('<div class="wpdm-loading">'+wpdm_asset.spinner+' '+__('Chargement', 'wpdm-archive-pae')+'...</div>');
            jQuery.post(location.href, {
                action: 'get_downloads',
                cp: cp,
                search: jQuery('#src').val(),
                category: wpdmac_category,
                tags: wpdmac_tags,
                orderby: jQuery('#order_by').val(),
                order: jQuery('#order').val(),
                sc_params: scode_params
            }, function (response) {
                if(typeof container === 'undefined') container = '#wpdm-downloads';
                jQuery(container).html(response.html+wpdmapPagination(cp, response.last));
    
                WPDM.unblockUI('#wpdm-archive-page');
            });
        }
    
        function setParentCat(cat_id) {
            jQuery.ajax({
                type: "post",
                dataType: "json",
                url: wpdm_url.ajax,
                data: {action: "wpdm_change_cat_parent", cat_id: cat_id},
                success: function (response) {
                    console.log(response);
                    if (response.type === "success") {
                        if (jQuery('#src').val() !== '')
                            jQuery('#inp').html(__('R&eacute;sultat de recherche pour', 'wpdm-archive-pae')+' <b>' + htmlEncode(jQuery('#src').val()) + '</b> '+__('in category', 'wpdm-archive-pae')+' <b>' + response.parent + '</b>');
                        else
                            jQuery('#inp').html(response.parent);
                    }
                }
            });
        }
    
        function selectedCats() {
            var _items = [];
            $('#wpdmcat-tree input[type=checkbox]').each(function (index, item) {
               if($(this).is(":checked")) _items.push($(this).val());
            });
            return _items;
        }
        function selectedTags() {
            var _items = [];
            $('#wpdm-tags input[type=checkbox]').each(function (index, item) {
                if($(this).is(":checked")) _items.push($(this).val());
            });
            return _items;
        }
    
        var $body = $('body');
    
        /*$body.on('click', '.pagination a', function (e) {
            e.preventDefault();
            $('#wpdm-downloads').prepend('<div class="wpdm-loading">'+wpdm_asset.spinner+' '+__('Loading', 'wpdm-archive-pae')+'...</div>').load(this.href);
        });*/
    
        $('.wpdm-cat-link').click(function (e) {
            e.preventDefault();
            $('.wpdm-cat-link').removeClass('active');
            $(this).addClass('active');
            var cat_id = $(this).attr('rel');
            wpdmac_category = cat_id;
            setParentCat(cat_id);
            getDownloads(1);
    
        });
    
        $('#wpdm-cats-compact').on('change', function (e) {
            var cat_id = $(this).val();
            if (cat_id == -1) cat_id = 0;
            $('#initc').val(cat_id);
            var sfparams = $('#srcp').serialize()
            wpdmac_category = cat_id;
            setParentCat(cat_id);
            getDownloads(1);
        });
    
        $('#wpdmcat-tree input[type=checkbox], #wpdm-tags input[type=checkbox]').on('change', function (e) {
            wpdmac_category = selectedCats();
            wpdmac_tags = selectedTags();
            $('#initc').val(wpdmac_category);
            var sfparams = $('#srcp').serialize()
            getDownloads(1);
        });
    
        $body.on('click', '.async_page', function (e){
            e.preventDefault();
            e.stopPropagation();
            getDownloads($(this).data('page'));
            return false;
        });
    
        $body.on('click', '.wpdm-cat-link2', function (e) {
    
            e.preventDefault();
            $('.wpdm-cat-link').removeClass('active');
            var new_rel = $(this).attr('test_rel');
            if (new_rel !== 'undefined') {
                $('a[rel=' + new_rel + ']').addClass('active');
            }
    
            var cat_id = jQuery(this).attr('rel');
            wpdmac_category = cat_id;
            setParentCat(cat_id);
            getDownloads(1);
    
        });
    
        $body.on('click', '.w3eden a.btn-clps[data-toggle="collapse"]', function () {
            $(this).children('.fa').toggleClass('fa-chevron-down');
            $(this).children('.fa').toggleClass('fa-chevron-up');
            $(this).toggleClass('active');
        });
    
        $body.on('click', '#reset-filter', function (e) {
            e.preventDefault();
            $('#wpdmcat-tree input[type=checkbox], #wpdm-tags input[type=checkbox]').removeAttr('checked');
            $('#src').val('');
            $('#srcp').resetForm();
            wpdmac_category = '';
            wpdmac_tags = '';
            getDownloads(1);
        });
    
        $('#order_by, #order').on('change', function () {
            getDownloads(1);
        });
    
        $('#srcpss').submit(function (e) {
            e.preventDefault();
            getDownloads(1);
        });
    
        $('#srcp').submit(function (e) {
            e.preventDefault();
            $('.wpdm-cat-link').removeClass('active');
            $('#inp').html(__('R&eacute;sultat de recherche pour', 'wpdm-archive-pae')+' <b>' + htmlEncode($('#src').val()) + '</b>');
    
            getDownloads(1);
    
        });
    
        $('#wpdm-archive-page-home').click(function (e) {
            e.preventDefault();
            $('.wpdm-cat-link').removeClass('active');
            $('#inp').html(__('All Downloads', 'wpdm-archive-pae'));
            wpdmac_category = '';
            $('#src').val('');
            getDownloads(1);
        });
    
        $body.on("keyup", "#cat_src", function() {
            var value = $(this).val().toLowerCase();
            $("#wpdmcat-tree li").filter(function() {
                $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
            });
        });
        $body.on("keyup", "#tag_src", function() {
            var value = $(this).val().toLowerCase();
            $("#wpdm-tags .wpdm-tag").filter(function() {
                console.log($(this).text());
                $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
            });
        });
    
        if($('#wpdm-downloads').length > 0)
            getDownloads(1);
    
    });
    #152163

    Nayeem Riddhi
    Moderator

    Are you talking about wp-admin downloads > all packages? please let me know

    thanks


    Kyle Borg
    Participant

    I have tried to use the [wpmd_frontend] code, but I find limits in the function and it doesn’t work with my theme.

    I want my document managers to use the backend, but when I assign Document categories to a Role, those users are still seeing every package in the backend Downloads Section.

    How do I limit the backend Downloads manager All Packages to show only packages for the role authorized to see those categories?

    #152128

    Nayeem Riddhi
    Moderator

    Please simply click the Save Settings again for the license key option from Downloads > Settings > License, which will regenerate the access token. Finally, go to the plugins page and the update will work fine this time

    and for add-on for now,

    1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
    2 ) Install the latest version

    thanks, I hope you have understood

    #152088

    Christoph Kaiser
    Participant

    After updating to Version 3.1.26 today NONE of my downloads is working any longer!

    With the old version at least all the files that had been uploaded previously could be downloaded. – With the new Version 3.1.26 NONE of my apk-files can be downloaded!


    Nayeem Riddhi
    Moderator

    please use this Pastebin code,

    https://pastebin.com/K9NfsQRD

    I hope it will work now for

    downloads/tpls3/wpdm-all-downloads.php file

    thanks


    Ikram Dirujii
    Participant

    this is my current wp all downloads PHP file sir please paste in this.

    wpdm-all-downloads.php


    Nayeem Riddhi
    Moderator

    Hi,

    if you are using bootstarp 4 from downloads > settings > user interface

    please add the below linedownloads/tpls/wpdm-all-downloads.php file in line number 295

    $data['download_link'] = "<a target='_blank' class='btn btn-primary' href='".get_permalink($data['ID'])."'>"."Download"."</a>";

    commenting out this line

    // $data['download_link'] = \WPDM\Package::downloadLink($data['ID'], 0, array('template_type' ► 'link'));

    I hope it should open a new tab for the related packages

    thanks

    #151894

    In reply to: Memory Problem


    Markus Schulte
    Participant
    This reply has been marked as private.
    #151871

    Nayeem Riddhi
    Moderator

    Please simply click the Save Settings again for the license key option from Downloads > Settings > License, which will regenerate the access token. Finally, go to the plugins page and the update will work fine this time

    and for add-on for now,

    1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
    2 ) Install the latest version

    thanks, I hope you have understood

    #151861

    Nayeem Riddhi
    Moderator

    Hi,

    For Invalid File Type updating ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:

    • Upload is not working
    • Showing “Invalid File Type” error when trying to download

    Here is the reason and solution:
    <hr/>
    From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.
    Settings%20%E2%80%B9%20Download%20Manager%20%E2%80%B9%20WordPress%20Download%20Manager%20Pro%20%E2%80%94%20WordPress

    Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.

    or, Just Keep it Empty for WordPress default use as I image attached

    Image 2021-04-23 at 9.53.21 PM

    thus it may resolve the issue

    thanks

    #151757

    In reply to: Latest version?


    Nayeem Riddhi
    Moderator

    You can also try updating the PRO plugin this way, please simply click the Save Settings again for the license key option from Downloads > Settings > License, which will regenerate the access token. Finally, go to the plugins page and the update will work fine this time

    and for add-on for now,

    1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
    2 ) Install the latest version

    thanks, I hope you have understood


    odessu
    Participant
    This reply has been marked as private.

    Nayeem Riddhi
    Moderator

    Hi,

    For Invalid File Type updating ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:

    • Upload is not working
    • Showing “Invalid File Type” error when trying to download

    Here is the reason and solution:
    <hr/>
    From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.
    Settings%20%E2%80%B9%20Download%20Manager%20%E2%80%B9%20WordPress%20Download%20Manager%20Pro%20%E2%80%94%20WordPress

    Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.

    or, Just Keep it Empty for WordPress default use as I image attached

    Image 2021-04-23 at 9.53.21 PM

    thus it may resolve the issue

    thanks


    Nayeem Riddhi
    Moderator

    Hi,

    If you are trying package link over download text for this shortcode wpdm_all_packages, I have made a custom file that will render you download text for package link, please copy this Pastebin URL code,

    https://pastebin.com/crEif8Vb

    then try to paste download-manager > tpls/tpls3 > wpdm-all-downloads.php file, if you are using bootstrap4 then tpls, bootstrap3 then tpls3, for making backup the file, please follow this doc, https://www.wpdownloadmanager.com/doc/template-files/

    please let me know, if it works from your side

    thanks

    #151619

    Nayeem Riddhi
    Moderator

    Hi,

    After this update ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:

    • Upload is not working
    • Showing “Invalid File Type” error when trying to download

    Here is the reason and solution:
    <hr/>
    From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.
    Settings%20%E2%80%B9%20Download%20Manager%20%E2%80%B9%20WordPress%20Download%20Manager%20Pro%20%E2%80%94%20WordPress

    Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.

    or, Just Keep it Empty for WordPress default use as I image attached

    Image 2021-04-23 at 9.53.21 PM

    thus it may resolve the issue

    thanks

    #151609

    Nayeem Riddhi
    Moderator

    Hi,

    After this update ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:

    • Upload is not working
    • Showing “Invalid File Type” error when trying to download

    Here is the reason and solution:
    <hr/>
    From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.
    Settings%20%E2%80%B9%20Download%20Manager%20%E2%80%B9%20WordPress%20Download%20Manager%20Pro%20%E2%80%94%20WordPress

    Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.

    or, Just Keep it Empty for WordPress default use as I image attached

    Image 2021-04-23 at 9.53.21 PM

    thus it may resolve the issue

    thanks

    #151556

    Steve Laborie
    Participant

    Another issue we have. The first time somebody fills out a form to download, we receive all the info in the download notification. If I continues his session and downloads more, we only receive the IP address, the other info is not added, only on the first download. Is there a setting for that?

    #151554

    In reply to: Avada theme conflicts


    Nayeem Riddhi
    Moderator

    I have seen that which template you are using in the shortcode there you have used link-template-default,

    by default, you are using link-template-default.php for the link template. After customizing/adjusting download button tag, you can copy the file in the theme directory naming a folder called download-manager, then paste it in tpls>page-templates for page template or tpls>link-templates for link template. and you can follow this doc for making backup files, https://www.wpdownloadmanager.com/doc/template-files/

    also, you can use the pre-made link-templates or page-templates from here as i image attached,

    Image 2021-04-29 at 4.01.33 PM

    from Downloads > Templates section

    and for title size, you may use adjusted font size for the package title

    I hope those may help you

    Thanks again

    #151523

    In reply to: Disable zip bundle


    Bugra Ceylan
    Participant
    This reply has been marked as private.
    #151468

    Nayeem Riddhi
    Moderator

    Hi,

    After this update ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:

    • Upload is not working
    • Showing “Invalid File Type” error when trying to download

    Here is the reason and solution:
    <hr/>
    From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.
    Settings%20%E2%80%B9%20Download%20Manager%20%E2%80%B9%20WordPress%20Download%20Manager%20Pro%20%E2%80%94%20WordPress

    Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.

    or, Just Keep it Empty for WordPress default use as I image attached

    Image 2021-04-23 at 9.53.21 PM

    thus it may resolve the issue

    thanks

Viewing 25 results - 1,301 through 1,325 (of 4,412 total)