-
AuthorSearch Results
-
Nov 26, 2014 at 3:30 pm #22998
In reply to: Customise Download Box/Link
ShahjadaKeymaster@MartinR, in that case, you simply need to edit
download-managr/templates/link-template-default.php, remove everything except[download_link], then for download button, please download, install and activate http://www.wpdownloadmanager.com/download/wpdm-image-button/Nov 26, 2014 at 1:26 pm #22989In reply to: Download issues IE8
eroballMemberHi, Another issue we have is that the password protected option doesn’t protect the file from being downloaded, since I can go to the source code and copy the link from there..take a look here:
(I tested in your demo website)
file to download under testSOI password 2222, then I go to the source code andThen I can copy that link to people anyway. What to avoid this?
Nov 26, 2014 at 7:57 am #22961In reply to: How do I set icon to 'None' for a package
ShahjadaKeymasteryou 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 .
Nov 26, 2014 at 7:54 am #22959In reply to: Custom Template
ShahjadaKeymasteryou 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/Nov 26, 2014 at 12:33 am #22955In reply to: Updated WP and DM and lost everything!
aly22MemberSame 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
Nov 25, 2014 at 11:18 am #22933In reply to: large files > 10mb corrupt
SupernacorpMemberWill 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.
Nov 24, 2014 at 7:45 pm #22900In reply to: Password won't work anymore
a515MemberThis reply has been marked as private.Nov 24, 2014 at 7:37 pm #22899In reply to: large files > 10mb corrupt
SupernacorpMemberCan 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.
Nov 23, 2014 at 6:52 pm #22860Topic: Error alert alert-success
in forum Download Manager Pro
MiguelMemberRegards
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.
Nov 23, 2014 at 4:54 am #22858Nov 22, 2014 at 3:59 am #22841
mchamzahMembersolved. 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="#">← '+oLang.sPrevious+'</a></li>'+ '<li class="next disabled"><a href="#">'+oLang.sNext+' → </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>Nov 21, 2014 at 10:00 pm #22830In reply to: Customise Download Box/Link
ShahjadaKeymasterplease 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/
Nov 21, 2014 at 9:19 pm #22821In reply to: CLASS ERROR with
zoomlanskiMemberShaon – Word Docs don’t show a download link like PDF.
Suggestions to fix?Nov 21, 2014 at 7:50 pm #22798In reply to: shortcode wpdm-all-packages
ShahjadaKeymasterneed 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>Nov 21, 2014 at 7:43 pm #22796In reply to: Custom page template error
ShahjadaKeymasteryou 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.
Nov 21, 2014 at 8:13 am #22778In reply to: Password won't work anymore
yoonixMemberSo, 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:12014-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/”.
Nov 20, 2014 at 11:00 am #22754In reply to: shortcode wpdm-all-packages
tomfavellMemberThis reply has been marked as private.Nov 19, 2014 at 8:51 pm #22710In reply to: Can anyone point me to a How-To thread?
ShahjadaKeymasterhere it is http://www.wpdownloadmanager.com/doc/add-new-package/package-settings/ , check
Download Limitfield. For sending link to email, simply apply email lock from lock options http://www.wpdownloadmanager.com/doc/add-new-package/lock-options/Nov 19, 2014 at 8:06 pm #22702In reply to: Password won't work anymore
ShahjadaKeymasterok 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]Nov 18, 2014 at 9:39 am #22657In reply to: Can anyone point me to a How-To thread?
SandwormMemberI’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.
Nov 17, 2014 at 10:27 pm #22647In reply to: shortcode wpdm-all-packages
tomfavellMemberThanks 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 youNov 17, 2014 at 9:52 am #22612Topic: shortcode wpdm-all-packages
in forum Download Manager Pro
tomfavellMemberHi
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 ThanksNov 15, 2014 at 11:14 pm #22577Topic: Change validation messages
in forum Download Manager Pro
bobwalMemberHi,
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
Nov 15, 2014 at 6:41 pm #22575In reply to: Preview Images
natedesignsMemberThis reply has been marked as private.Nov 14, 2014 at 7:01 pm #22534
ShahjadaKeymasteruse like this:
[wpdm_tree download_link=1] -
AuthorSearch Results
Search Results for 'download link'
-
Search Results
-
Topic: Error alert alert-success
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.
Topic: shortcode wpdm-all-packages
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 ThanksTopic: Change validation messages
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