Search Results for 'Add Url'

Viewing 25 results - 1,451 through 1,475 (of 1,656 total)
  • Author
    Search Results
  • #24849

    Shahjada
    Keymaster

    actually wpdm use php function to calculate php file size and file size from remote url can’t be calculated without adding extra load in your server, so in case if remote url you need to add file size manually in package settings.

    #24707

    Weimer
    Member

    Thank you Shaon,
    My URL is under password because development. You have an mail address I send you the user and PW.

    I changed the pdf.png and it works.

    But now I have a very big distance between one to the other download item. If I can change this big distance its all ok. I have about 15mm space between the downloads. What I need is 6mm. The font-size I need because I cannot work with <h1-5) because another plugin change all what have an <h1> to <h5> only <h6> is free but to big.

    My Template:

    <div class=”media”>

    [icon]

    <div class=”media-body”>
    <p class=”media-heading” style=”font-color: #000 padding-top: 1px;border:1px;margin: 1px;”><font size=”3″>[title] [download_link]</font></p>
    <h6><i style=”margin: 2px 0 0 5px;opacity:0.5″ class=”icon icon-th-large”></i><i style=”margin: 2px 0 0 5px; opacity:0.5″ class=”icon icon-download-alt”></i></h6>
    </div>
    </div>

    Thank you
    Roland

    #24703

    xaviguardia
    Member

    The current version of S3 add-on is not working.

    I modified myself, and now works: the needed changes are:

    function awsfiletree(){
    jQuery(‘#awstree’).fileTree({
    root: ‘awsbuckets’,
    script: ‘admin.php?task=wpdm_aws_get_buckets’,
    expandSpeed: 1000,
    collapseSpeed: 1000,
    multiFolder: false
    }, function(file, id) {
    var sfilename = file.split(‘/’);
    var filename = sfilename[sfilename.length-1];
    if(confirm(‘Add this file?’)){
    console.log(“paso s3”);
    var ID = id;
    var html = jQuery(‘#wpdm-file-entry’).html();
    var ext = file.split(‘.’);
    ext = ext[ext.length-1];
    var icon = “<?php echo WPDM_BASE_URL; ?>file-type-icons/48×48/”+ext+”.png”;
    html = html.replace(/##filepath##/g, file);
    html = html.replace(/##fileindex##/g, ID);
    html = html.replace(/##preview##/g, icon);
    jQuery(‘#currentfiles’).prepend(html);
    }
    //jQuery(‘#serverfiles’).append(‘<li><label><input checked=checked type=”checkbox” value=”‘+file+'” name=”imports[]” class=”role”>   ‘+filename+'</label></li>’);
    });
    }

    #24666

    In reply to: Theme 2 rows


    Melaleuca
    Member

    Current theme code

    <div class=”thumbnail span4″ style=”margin: 0 5px 7px 0;”>

    [thumb_300x200]

    <div class=”caption”>
    <h4 class=”media-heading” style=”padding: 0px;margin:0px”>[page_link]</h4>
    <p>
    [file_size] | [download_count] downloads
    </p>
    <div class=”btn-group”>
    [download_link btn btn-success]
    </div>
    </div>
    </div>

    #24640

    Shahjada
    Keymaster

    ok now. The issue was, image url was using http:// where your site was using https://, however I’ve added the fixed in wpdm for the next update (v4.2)

    #24144

    I suddenly can’t add new downloads. The icon is in my editor and it opens fine but when I click on the file tree it won’t open up the folder with the files to select. It will open to show any subfolders, but not files.

    I’ve tried disabling all plugins and it doesn’t fix it.

    Using Download Manager Pro Version 4.1.8
    Wordpress Version 4.1
    URL of site: http://thecinnamonhollow.com

    Thank you,
    Crystal Martin

    #24073

    nielsbosch
    Member

    I am having some issues with WPDM pro, they are the following:
    here is the URL to the site: http://www.appapk.co
    Make sure to tell me if you need more info or admin access

    – The download button doesn’t appear
    – i am unable to download a file if i put in the URL instead it downloads a file called “link-expired.txt” containing the following:

    Download link is expired. Please get new download link ( __wpdmkey_ Array
    (
        [_edit_last] ► Array
            (
                [0] ► 1
            )
    
        [_edit_lock] ► Array
            (
                [0] ► 1419700924:1
            )
    
        [__wpdm_files] ► Array
            (
                [0] ► a:1:{i:0;s:0:"";}
            )
    
        [__wpdm_link_label] ► Array
            (
                [0] ► http://storage.evozi.com/apk/dl/14/11/19/com.facebook.groups.apk?h=vs_y3WyGBQa4poTF4-hN6w&t=1419704224
            )
    
        [__wpdm_password] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_quota] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_download_count] ► Array
            (
                [0] ► 244
            )
    
        [__wpdm_access] ► Array
            (
                [0] ► a:1:{i:0;s:5:"guest";}
            )
    
        [__wpdm_package_size] ► Array
            (
                [0] ► 14.54 MB
            )
    
        [__wpdm_view_count] ► Array
            (
                [0] ► 10
            )
    
        [__wpdm_package_dir] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_publish_date] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_expire_date] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_fileinfo] ► Array
            (
                [0] ► a:3:{s:30:"/var/www/wordpress/readme.html";a:2:{s:5:"title";s:11:"readme.html";s:8:"password";s:0:"";}i:0;a:1:{s:5:"title";s:0:"";}i:1;a:1:{s:8:"password";s:0:"";}}
            )
    
        [__wpdm_version] ► Array
            (
                [0] ► 5.41.0
            )
    
        [__wpdm_download_limit_per_user] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_template] ► Array
            (
                [0] ► link-template-default-ext.php
            )
    
        [__wpdm_page_template] ► Array
            (
                [0] ► page-template-default.php
            )
    
        [__wpdm_password_usage_limit] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_linkedin_message] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_linkedin_url] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_tweet_message] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_google_plus_1] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_facebook_like] ► Array
            (
                [0] ► 
            )
    
        [__wpdm_email_lock_idl] ► Array
            (
                [0] ► 0
            )
    
        [__wpdm_icon] ► Array
            (
                [0] ► download-manager/file-type-icons/avi.png
            )
    
        [_thumbnail_id] ► Array
            (
                [0] ► 17
            )
    
        [__wpdm_individual_file_download] ► Array
            (
                [0] ► 1
            )
    
        [__wpdm_password_lock] ► Array
            (
                [0] ► 1
            )
    
        [__wpdm_masterkey] ► Array
            (
                [0] ► 549eeabc3756c
            )
    
    )
     ).

    – I am unable to add tags to downloads
    – Is it possible to remove the /download/ of the URL

    #23877

    In reply to: [link_label] Change


    Shahjada
    Keymaster

    [download_link] generate complete link html. so you need to use [download_url] there, but it only will work for public packages where no lock option applied. However you can change label edit each files or you can use image button add-on http://www.wpdownloadmanager.com/download/wpdm-image-button/

    #23697

    envonia
    Member

    Hi once again its me. I have activated it and I get a couple of questions:

    – where do I see a short code for the implementation of the email form (where people have to put its email address to get access to the download).
    – it is not possible to download the attached pdf file, the url just adds a “#pkg_7931” behind the url…
    – if people type in their emails to download something it would be great if the system could store these mails. Is this possible?

    Thanks a lot!
    Hubertus

    #23317

    Shahjada
    Keymaster

    We reply all support tickets within 24 hours except very few exceptions. If you give login info in a private reply here, it is totally secure. Reactivate login info so that I can update that code part or add return false; after $pdfurl = '';

    “So I’m assuming that your plan is to ignore any calls for help until 30 days have passed?” <-- may you please explain it little more.

    #23144

    Shahjada
    Keymaster

    prefix like 1417458139wpdm_ is added with file name when another file with same name is already exists, anyhow you can select overwrite option form download manager settings page, however none of those option should create any such issue, please give me temporary wp-admin login info and affected url to check it in details.

    #22982

    Shahjada
    Keymaster

    Thanks for help, anyhow I’ll add url redirect option even for uploaded file with next update.

    #22979

    Supernacorp
    Member

    yes it works. It would have been good to know this 10 posts ago. Why not just document this method to workaround shared hosting php timeout causing corrupt files on downloads. You must have many customers with this exact situation.

    For anyone else reading this. I will document it here.

    Upload file to media library
    if the file is too large to upload with wordpress 2Mb default upload limit then do the following.

    ftp to some folder under wp-content

    add plugging called “add from server” this plugin allows you to add to media library a file already on the server file system and browse to it. This way you can ftp the big file and simple add to library. NOTE: this plugin will copy your file on the OS disk from your directory to wp-content/uploads (media library default folder). make your life easier and put ftp files in uploads and then add to server to avoid the file copy and filling your disk

    now “edit file” and copy the file url of your download

    now goto download manager pluggin add package and add file using the url option, configure package they way you want now and publish

    if you use the email lock option the download url still points to wpdm plugin url so that tracking still works but the code now issues a redirect to the url so the file media library url is used serve the file to the browser. why this makes a difference?

    on shared hosting like goddaddy or other, you have no control over php.ini settings. you can google phpinfo.php and getini.php (will give you steps and code to see what settings you php site are using, but changing your php.ini won’t have an effect specifically max_execution_timeout = value to determine how long a php file is allowed to execute in seconds. defaults to 30 seconds which is not long enough to stream 100MB+ size files and times out and corrupts the download. Tried many options to change time out and godaddy confirmed it can not be changed by shared hosting (i.e. cheap hosting). save yourself some time and don’t bother with this as the url method works here is why.

    using the WP media library url works since apache is serving the file to the browser not PHP code which has 30 second download limit. The WPDM url method preserves email url’s and direct webpage downloads for big files, you can use smaller files without this method and we found this worked well as long as download was <30 seconds.


    jftripp
    Member

    Additional information. If I use a URL link, it works fine for all users. I have been using a link that is generated by browsing to the files system. So – exact same file, exact same user. Works on URL link, not direct mapping link. ONLY an issue for .zip files.

    #22859

    Supernacorp
    Member

    I would like to enable the direct url to temp file in cache directory. The issue is shared hosting script execution time and I can’t change this in godaddy.

    What changes do I need to make to get emailed links to include direct URL, so that apache can serve the file to the browser and not PHP scripts.

    I don’t see any options to enable this feature.

    I would like the instructions provided so I can make the changes myself. I am not able to give you access to our site.


    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>
    
    #22495

    In reply to: Direct Link


    Shahjada
    Keymaster

    wpdm doesn’t control the file when you use url like that, either you need to upload it or add file from server using server file browser. but to keep file protected from direct http access, you need to upload using wpdm or you can use amazon s3 add-on.

    #22431

    In reply to: Need help


    Shahjada
    Keymaster

    please give me your URL to check. Anyhow please install this add-on http://www.wpdownloadmanager.com/download/wpdm-colorbox/ to activate lightbox.

    #22206

    BornToCreate
    Member

    Hi,
    I need to add a shopping cart for files, a file cart.
    After files have been added and submited a package should be created temporary and forced to download.
    I’ve wrote the Script for the cart with JavaScript and PHP from the values of [file_list] with the following script:

    function generateCart(data){
    if( typeof data == “string” ){
    data = JSON.parse(data);
    }
    if( data.noItm != “undefined” && data.noItm != undefined){
    var mk = “<p>” + data.noItm + “</p>”;
    return mk;
    }
    var items = [“

      \n”];
      for(i=0;i<data.length;i++){
      obj = data[i];
      var str = [
      “\t<li class=’cart-item’>\n”,
      “\t\t”, obj.name, “\n”,
      X“,
      ““].join(“”);
      items.push(str);
      }
      items.push(“

    \n”);
    return items.join(“”);

    }
    $(document).ready(function(){
    var TPL_DIR = “”;
    var SCRIPT_URL = “download_cart.php”;

    //Get table structure of wpdm-pro
    var table = $(“.wpdm-filelist”);
    var lth = table.children(“tbody”).children(“tr”).first().append(“<th>Aktionen</th>”);
    var tableItems = table.children(“tbody”).children(“tr”).not(“:first-child”);

    //Add ‘add to cart’ links
    tableItems.children(“td:nth-child(2)”).children(“a”).each(function(){
    var t = $(this);
    var link = t.attr(“href”);
    var name = t.parents(“tr”).children(“td”).first().text();
    var args = link.slice(link.indexOf(“?”)+1);
    args += “&name=” + name;
    var markup = “<td class=’action’>In den Downloadkorb</td>”;
    t.parents(“tr”).append(markup);
    });

    //Add download cart markup to sidebar
    var mk = [‘<div id=”download-cart”>\n\t<p>Aktuell im Downloadkorb</p>’,
    ‘<div id=”cart-items”></div></div>’].join(“”);
    $(“#sidebar”).html(mk);

    /*** AJAX CALLS ***/

    //Send AJAX request to get download cart on start
    $.ajax({
    //AJX REQUEST HERE
    });

    //Add items on click to cart ad update current cart.
    $(“.action”).on(“click”, “a”, function(e){
    //AJX REQUEST HERE
    });

    //Remove item from cart.
    $(document).on(“click”, “.remove-itm”, function(e){
    //AJX REQUEST HERE
    });

    }); //DOCUMENT READY END

    In the cart (Session) the name, wpdml and ind arguments are saved.
    So how can I now acces these files and pack them.
    The packing would not be the problem as I can read the class.pack code but I dont know what do do with these
    wpdml and ind arguments an how to acces the files through them.

    #21900

    In reply to: Direct link to file


    Shahjada
    Keymaster

    by “simply add/attached file as URL.” , I meant to add from here:
    Loading Image...


    JBrown75
    Member

    Hi,

    When selecting the browse tab, the window is blank with no options. The directory url is set in the settings. Even when I manually add the directory nothing happens. Please help.

    thank you

    #21776

    hlivnjak
    Member

    Hey Shaon, theme developer here,

    ok, so here is the deal.

    I will try to explain problem again:

    So lets take for example this link: http://teetoolkit.com/?wpdmdl=462 this is the URL that your plugin generates. It links to a file that is on Amazon S3, and its uploaded there with the add-on for your plugin. Now if you try to copy the above link in your browser you will be able to download the file. Which is not good, because I’ve added to the “Allow Access:” section of your plugin option that only Administrator and Subscriber can download that file. But as you can see here, that does not work.

    Also MagicMembers are disabled so they are not interfering, I already tried this with the default theme and the result is the same. So please don’t tell me that this is because of MagicMembers or the theme. Because it is not. Something is wrong with your plugin and we want you to fix it, so we can make site go live.

    I will not even go into the other problem – which is that the download counter isn’t working for S3 downloads. We’ll deal with that later, after the file protecting issue is fixed.

    P.S – download counter and file protection works just fine if the file is hosted on our server, so that’s one more piece of evidence that nothing is wrong with MagicMembers or the theme. The problem is either in your plugin or in the S3 add-on to your plugin. Which ever the case may be, you have to fix it.

    Thanks,

    Regards,

    Ivan Doric

    #21740

    venky359
    Member
    This reply has been marked as private.
    #21474

    Grammy Z
    Member

    Ok, what url am I adding in the app settings?

    #21470

    Cylinda
    Member

    It helps to actually add the URL – http://www.crochetmemories.com/blog/star-hotpad/

Viewing 25 results - 1,451 through 1,475 (of 1,656 total)