Search Results for 'download link'

Viewing 25 results - 8,001 through 8,025 (of 9,402 total)
  • Author
    Search Results
  • #22961

    Shahjada
    Keymaster

    you can use different link template without [icon] tag. To do that, clone the current link template you using from Downloads Templates Link Templates , remove [icon] tag and save a new template, now use the new link template if you want to hide the icon .

    #22959

    In reply to: Custom Template


    Shahjada
    Keymaster

    you can select custom link template for category page from download manager settings page. But if you want to create theme template, you need to create a page taxonomy-wpdmcategory.php, You can use regular loop and post function to read post info, to read custom data you can use the function here http://www.wpdownloadmanager.com/doc/function-reference/get_package_data/

    #22955

    aly22
    Member

    Same happened to me, until I went to the Dashboard and there was a big welcome post and migration link that restored my download files. I have to update the shortcode in my download directory page(s) but at least that works now.

    Try going to your WP admin dashboard and see if you see that Welcome with info page? It included a link to restore the old version, as well.

    I did lose a LOT of site stuff, however. My text widgets in various pages have completely been wiped out. Am trying to restore from backup. Not sure if related, but this was the only update today besides WordPress to 4.0.1

    #22933

    Supernacorp
    Member

    Will this work for emailed download links as well.

    We need this email link to be correct

    Please confirm if any changes are needed for email links to work.

    #22900

    a515
    Member
    This reply has been marked as private.
    #22899

    Supernacorp
    Member

    Can the php code or file needed to use Apache direct download links with emailed download URL’s when locked downloads is enabled and clicked downloads using a re-direct be made available. I am not able to give you access to our server.

    Can you please just post the file we need to use for the workaround.

    We have confirmed we can not change script timeouts on our instance of wordpress for php.

    I would like a solution but giving access to our server is not a solution. We the needed updates to the files Please.

    #22860

    Miguel
    Member

    Regards
    I cannot combine Link Template Embedded with Email Lock. When I type the email and click send I get transfered to a blank page with this error message:

    {“error”:”<div class=\”alert alert-success\”>Download link sent to your email!<\/div>”,”downloadurl”:””}

    It also gives the error when performing direct download

    The file does however get sent to the email.


    ziku
    Member

    For available shortcodes please refer to this link.


    mchamzah
    Member

    solved. and this is a bug in version 2.7 and 2.7.1

    I add this code in the file: wpdm-all-downloads.php the first line:

    <script language="JavaScript" type="text/javascript" src="<?php echo plugins_url('download-manager/js/jquery.dataTables.js'); ?>"></script> 
    <link rel="stylesheet" href="<?php echo plugins_url('download-manager/css/jquery.dataTables.css'); ?>" type="text/css" media="all" />
    <style type="text/css">
    #TB_window{
        -moz-box-shadow: 0 0 5px #000;
    -webkit-box-shadow: 0 0 5px#000;
    box-shadow: 0 0 5px #000;
    }
    #TB_overlay{
        opacity:0.5;
    }
    </style>

    and this code on the last line

    <script type="text/javascript" charset="utf-8">
                /* Default class modification */
                jQuery.extend( jQuery.fn.dataTableExt.oStdClasses, {
                    "sSortAsc": "header headerSortDown",
                    "sSortDesc": "header headerSortUp",
                    "sSortable": "header"
                } );
                
                jQuery('.wpdm-pck-dl').click(function(){
                    tb_show(jQuery(this).html(),this.href+'&modal=1&width=600&height=400');
                    return false;
                });
    
                /* API method to get paging information */
                jQuery.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings )
                {
                    return {
                        "iStart":         oSettings._iDisplayStart,
                        "iEnd":           oSettings.fnDisplayEnd(),
                        "iLength":        oSettings._iDisplayLength,
                        "iTotal":         oSettings.fnRecordsTotal(),
                        "iFilteredTotal": oSettings.fnRecordsDisplay(),
                        "iPage":          Math.ceil( oSettings._iDisplayStart / oSettings._iDisplayLength ),
                        "iTotalPages":    Math.ceil( oSettings.fnRecordsDisplay() / oSettings._iDisplayLength )
                    };
                }
    
                /* Bootstrap style pagination control */
                jQuery.extend( jQuery.fn.dataTableExt.oPagination, {
                    "bootstrap": {
                        "fnInit": function( oSettings, nPaging, fnDraw ) {
                            var oLang = oSettings.oLanguage.oPaginate;
                            var fnClickHandler = function ( e ) {
                                if ( oSettings.oApi._fnPageChange(oSettings, e.data.action) ) {
                                    fnDraw( oSettings );
                                }
                            };
    
                           jQuery(nPaging).addClass('pagination').append(
                                '<ul>'+
                                    '<li class="prev disabled"><a href="#">&larr; '+oLang.sPrevious+'</a></li>'+
                                    '<li class="next disabled"><a href="#">'+oLang.sNext+' &rarr; </a></li>'+
                                '</ul>'
                            );
                            var els =jQuery('a', nPaging);
                           jQuery(els[0]).bind( 'click.DT', { action: "previous" }, fnClickHandler );
                           jQuery(els[1]).bind( 'click.DT', { action: "next" }, fnClickHandler );
                        },
    
                        "fnUpdate": function ( oSettings, fnDraw ) {
                            var oPaging = oSettings.oInstance.fnPagingInfo();
                            var an = oSettings.aanFeatures.p;
                            var i, sClass, iStart, iEnd, iHalf=Math.floor(oPaging.iTotalPages/2);
    
                            if ( oPaging.iTotalPages < 5) {
                                iStart = 1;
                                iEnd = oPaging.iTotalPages;
                            }
                            else if ( oPaging.iPage <= iHalf ) {
                                iStart = 1;
                                iEnd = 5;
                            } else if ( oPaging.iPage >= (5-iHalf) ) {
                                iStart = oPaging.iTotalPages - 5 + 1;
                                iEnd = oPaging.iTotalPages;
                            } else {
                                iStart = oPaging.iPage - Math.ceil(5/2) + 1;
                                iEnd = iStart + 5 - 1;
                            }
    
                            for ( i=0, iLen=an.length ; i<iLen ; i++ ) {
                                // Remove the middle elements
                               jQuery('li:gt(0)', an[i]).filter(':not(:last)').remove();
    
                                // Add the new list items and their event handlers
                                for ( i=iStart ; i<=iEnd ; i++ ) {
                                    sClass = (i==oPaging.iPage+1) ? 'class="active"' : '';
                                   jQuery('<li '+sClass+'><a href="#">'+i+'</a></li>')
                                        .insertBefore('li:last', an[i])
                                        .bind('click', function () {
                                            oSettings._iDisplayStart = (parseInt($('a', this).text(),10)-1) * oPaging.iLength;
                                            fnDraw( oSettings );
                                        } );
                                }
    
                                // Add / remove disabled classes from the static elements
                                if ( oPaging.iPage === 0 ) {
                                   jQuery('li:first', an[i]).addClass('disabled');
                                } else {
                                   jQuery('li:first', an[i]).removeClass('disabled');
                                }
                                 
                                if ( oPaging.iPage === oPaging.iTotalPages-1 ) {
                                   jQuery('li:last', an[i]).addClass('disabled');
                                } else {
                                   jQuery('li:last', an[i]).removeClass('disabled');
                                }
                            }
    
                        }
                    }
                } );
    
                /* Table initialisation */
               jQuery(document).ready(function() {
                   jQuery('#wpdmmydls').dataTable(   );
                } );
            </script>
    
    #22830

    Shahjada
    Keymaster

    please update to v2.7.1, while inserting short-code ( user http://www.wpdownloadmanager.com/download/advanced-tinymce-button/ for generating short-code ) use link template “Only Link/Button”. Now if you want to replace the text label with an image use this add-on http://www.wpdownloadmanager.com/download/wpdm-image-button/ . More free add-ons http://www.wpdownloadmanager.com/downloads/free-add-ons/

    #22821

    In reply to: CLASS ERROR with


    zoomlanski
    Member

    Shaon – Word Docs don’t show a download link like PDF.
    Suggestions to fix?

    http://nmracanada.ca/who-we-are/member-documents/

    #22798

    Shahjada
    Keymaster

    need to edit code at wpdm-all-downloads.php, replace <?php echo DownloadLink($data, $style = 'simple-dl-link'); ?> with <a href="<?php the_permalink(); ?>">Download Now</a>

    #22796

    Shahjada
    Keymaster

    you need to use [thumb] tag instead of [icon] tag in link template, more details http://www.wpdownloadmanager.com/doc/templates/creating-a-new-template/ , anyhow i’ve created one for you and images are showing now.

    #22778

    yoonix
    Member

    So, editing the link-template-default.php now let’s me at least enter the password, but when I click the link to download I’m presented the following error instead of the file downloading. If I remove the password from the file, I can download it fine.

    Uncaught TypeError: undefined is not a function bootstrap.min.js?ver=4.0.1:11(anonymous function) bootstrap.min.js?ver=4.0.1:11(anonymous function) bootstrap.min.js?ver=4.0.1:11

    2014-11-21 02:11:20.006Uncaught SyntaxError: Unexpected token < (index):259
    2014-11-21 02:11:20.500
    Uncaught TypeError: undefined is not a function media-models.min.js?ver=4.0.1:1(anonymous function) media-models.min.js?ver=4.0.1:1(anonymous function) media-models.min.js?ver=4.0.1:1

    2014-11-21 02:11:20.634Uncaught TypeError: undefined is not a function thickbox.js?ver=3.1-20121105:23tb_init thickbox.js?ver=3.1-20121105:23(anonymous function) thickbox.js?ver=3.1-20121105:16b.extend.ready jquery.min.js?ver=4.0.1:29u jquery.min.js?ver=4.0.1:37

    2014-11-21 02:11:27.913Resource interpreted as Document but transferred with MIME type application/json: “http://www.domain.com/&#8221;.

    #22754

    tomfavell
    Member
    This reply has been marked as private.
    #22710

    Shahjada
    Keymaster

    here it is http://www.wpdownloadmanager.com/doc/add-new-package/package-settings/ , check Download Limit field. For sending link to email, simply apply email lock from lock options http://www.wpdownloadmanager.com/doc/add-new-package/lock-options/

    #22702

    Shahjada
    Keymaster

    ok now. it was a javascript conflict. so resolve it, I’ve edited download-manager/templates/link-template-default.php, replace [downlaod_link] tag with [download_link_extended]

    #22657

    Sandworm
    Member

    I’m just looking for how to set this up so I can set download limits to one per person and, preferably send them out an individual link or token (even better) in an E-mail.

    #22647

    tomfavell
    Member

    Thanks Shaon, but Im not familiar enough with the code to no what to edit, Id like to change the action of the “Download” button at the end of each row to work the same way as the link on the filename.
    Thank you

    #22612

    tomfavell
    Member

    Hi
    I’m using the shortcode [wpdm-all-packages], – (which looks very nice) Id like to change the action of the “Download” button at the end of each row to work the same way as the link on the filename. I gather from other posts I will have to edit wpdm-all-downloads.php. But I cant find this file in WordPress. Where is the file and what do I have to edit to make the link work.
    Many Thanks

    #22577

    bobwal
    Member

    Hi,
    Just wondering what is the best way to change and add my own form validation messages ie. “Download link sent to your email!” etc.

    Thanks

    #22575

    In reply to: Preview Images


    natedesigns
    Member
    This reply has been marked as private.

    Shahjada
    Keymaster

    use like this: [wpdm_tree download_link=1]


    flawless
    Member
    This reply has been marked as private.

    Huang
    Member

    Is it possible put the direct download link in tree view which allow people click and download instead go to the download detail page to down load.

    Thank you very much.

Viewing 25 results - 8,001 through 8,025 (of 9,402 total)