Search Results for 'download link'

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

    In reply to: Email Template


    Nayeem Riddhi
    Moderator

    Hello @misterspok,

    Hope you are well. For #1, Yes, it is possible, you can customize the email template from the Downloads > Templates > Email Templates > Email Lock Notification as I image attached here,

    Image 2021-07-20 at 11.03.27 PM

    And for #2, For now, the download link will be available for the Customer who will fill up the Email lock form with an email, however, there is also available an option for getting the information about who has downloaded the package, from Downloads > Subscriber > Email Lock section as I image attached,

    Image 2021-07-20 at 11.11.08 PM

    I hope these options may help you

    Thank you and regards


    ClearTouch
    Participant
    This reply has been marked as private.
    #157960

    misterspok
    Participant

    To whom it may concern.

    Two questions concerning the Email-Lock Option
    1. is it possible to customize the appearance of the email with the download link sent to the user? It should have the CI of our company…
    2. is it possible to define multiple recipients (in our case a second recipient) for this mail ? We need to send a copy of this email to an internal user.


    Jeff Martin
    Participant

    Hello,

    We started logging hundreds of the PHP Warning: Division by zero… imediately after updating the Download Manager Pro plugin to v6.0.4. I cleared the OpCache and the firewall cache after the upgrade but the proble persists. I also installed the WPDM – Extended Short-codes plugin in the hope that the error in the Shortcodes.php file would just go away. It did not.

    In the first error message, the error is triggered because the variable $items_per_page is zero. I see that this is a parameter in the function call and the default is 20. I added three lines of code just above line 239 to test $items_per_page and to set it to the default (20) if it was zero. This appears to have quieted both of the divide by zero errors.

    Please let me know what steps I should take to correct this issue without patching the plugin source.

    [Mon Jul 19 15:27:15.387366 2021] [php7:warn] [pid 2413338] [client x.x.x.x:0] PHP Warning: Division by zero in /var/
    www/site/wp-content/plugins/download-manager/src/Package/Shortcodes.php on line 239

    
            $query->post_status('publish');
            $query->process();
            $total = $query->count;
            $packages = $query->packages();
    
            // Temp workaround for PHP Divide by zero
            if ($items_per_page == 0) {
               $items_per_page = 20;
            }
    
    =►     $pages = ceil($total / $items_per_page);
            $page = isset($_GET['cp']) ? (int)$_GET['cp'] : 1;
            $start = ($page - 1) * $items_per_page;
    

    [Mon Jul 19 15:27:15.683864 2021] [php7:warn] [pid 2413338] [client x.x.x.x:0] PHP Warning: Division by zero in /var/
    www/site/wp-content/plugins/download-manager/src/wpdm-functions.php on line 1285

    
    function wpdm_paginate_links($total, $items_per_page, $current_page = 1, $var = 'cp', $params = array())
    {
    
    =► $pages = ceil($total / $items_per_page);
        $format = isset($params['format']) ? $params['format'] : "?{$var}=%#%";
        [ ... ]
    
    #157936

    Trista Perot
    Participant

    Hello,
    We are using the latest version of WP Download Manager and WordPress. We get the following HTTP 500 error on our site on pages with WPDM:

    Fatal error: Uncaught Error: Call to undefined method WPDM\Package\PackageLocks::AskEmail() in /www/wp-content/plugins/download-manager/src/Package/PackageController.php:1030 Stack trace: #0 /www/wp-content/plugins/download-manager/src/Package/PackageController.php(274): WPDM\Package\PackageController::activeLocks(5375, Array) #1 /www/wp-content/plugins/download-manager/src/Package/PackageController.php(1442): WPDM\Package\PackageController->prepare(5375, ‘link-template-d…’, ‘link’) #2 /www/wp-content/plugins/download-manager/src/Package/Shortcodes.php(62): WPDM\Package\PackageController->fetchTemplate(‘link-template-d…’, Array, ‘link’) #3 /wordpress/wp-includes/shortcodes.php(343): WPDM\Package\Shortcodes->singlePackage(Array, ”, ‘wpdm_package’) #4 [internal function]: do_shortcode_tag(Array) #5 /wordpress/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(wpdm_p…’, ‘do_shortcode_ta…’, ‘

    Here are links to the pages:
    https://www.hpdarch.com/firm-profile/speaking-engagements/
    https://www.hpdarch.com/download/presentation-topics-for-realtors/

    Please assist in troubleshooting this.

    #157908

    Nayeem Riddhi
    Moderator

    Hi @ikram_dirujii,

    Please use this Pastebin code,

    https://pastebin.com/WTZ1KAaT

    I have added the below lines download-manager\src\Package\views\all-packages-shortcode.php file in line number 288

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

    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

    and for making back up the file for the next update, please follow this doc, https://www.wpdownloadmanager.com/doc/template-files/

    thank you and regards

    #157783

    Rural Info
    Participant
    This reply has been marked as private.

    Hi

    I have the latest versions:

    Download Manager: 6.0.4
    WPDM – Extended Short-codes: 2.9.0

    It is since updating to these versions the download link has stopped working.

    Any other ideas?

    #157754

    twomuch
    Member
    This reply has been marked as private.

    Hi

    Following the update to 6.0.4 this morning my links that open a file download in a pop-up have stopped working.

    It seems to be causing a Jquery 500 error.

    Any ideas why or how to solve this?

    I will send you a link to check it in a private message


    Tanvir
    Spectator

    Hello,

    I see visiting that link you provided is automatically showing all downloads and you dont need to press home.
    However you can try different parameters from here like categories of shortcode to show:


    Tanvir
    Spectator

    Hello,

    You can make a private page or page to specific user roles in wordpress you can send the page link to direct audience.

    or You can check this addon to assign specific users:

    Advanced Access Control

    #157707

    In reply to: Page Template Issue


    Eric Johnson
    Participant
    This reply has been marked as private.

    Marketing NSW
    Participant

    View post on imgur.com

    i wanted to hide that user manual I don’t wan to let people see it. especially the public.
    Customers will be given a direct link to download the user manual. Audience who are not selected to see will not see this file in the download manager is there a way to hide it?

    This reply has been marked as private.

    twomuch
    Member
    This reply has been marked as private.
    #157671

    twomuch
    Member
    This reply has been marked as private.
    #157668

    In reply to: Problems after Update


    Humayon
    Spectator

    Hello,
    Sorry for the inconvenience.
    Please use link-template id instead of page template ID in the shortcode section by following this.
    You can obtain a link template ID by following this.
    More details about the shortcode can be found here.
    Thank you


    Humayon
    Spectator

    Hello @hdebeuf,
    Hi @proudbrands,
    Sorry for the inconvenience.
    If you are using the latest version of WPDM Directory Add-on then please follow this in order to use the latest updated shortcode.
    Example correct shortcode: [wpdm_archive button_style=”default” template=”link-template-default-ext” cols=”1″ items_per_page=”10″ order=”asc”]
    Hope your problem will be solved now.
    Thank you

    #157634

    Humayon
    Spectator

    Hello @naughtycocktailparties/,
    Hope you are well.
    If you are using the latest version of the WPDM Directory Add-on then please use the latest shortcode by following this.
    You are using an older shortcode that’s why it’s showing like that.
    The correct shortcode should be like the below now.
    [wpdm_archive button_style="default" template="link-template-default" cols=1 items_per_page="9" orderby="title" order="ASC]
    Hope you understand now.
    Thank you


    Dalton Grady
    Participant

    Yesterday, 07/15/21, my archive page for my download center completely stopped working on the website and just shows the code. This is the code that I’ve been using since I purchased this plugin. I’ve tried updating it to the codes listed on your website, but none seem to be working. What can I do to fix this to get my downloads live again?

    [wpdm-archive button_style=”inverse” link_template=”default” order_by=”post_title” order=”asc” items_per_page=”9″ cat_view=”compact” cols=1]


    ClearTouch
    Participant
    This reply has been marked as private.
    #157587

    Rasko Peric
    Member
    This reply has been marked as private.
    #157537

    S V
    Participant

    Hi good people 🙂

    After doing the latest update, I have encountered an error when viewing the page where the downloads are.

    I am using this as a download link
    [wpdm_package id='1895' template='link-template-default-old']

    Error:

    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402
    
    Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402

    If you need additional information, I am more than happy to help in order to resolve this.


    Nayeem Riddhi
    Moderator

    Hi @trikdis

    Hope you are well. if you are searching for link-template/page-template, please check this directory

    plugins\download-manager\src\Package\views

    I hope it will help you

    Thank you

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