-
AuthorSearch Results
-
May 8, 2021 at 5:53 pm #152237
In reply to: downloads not shown
Michael AngermeirParticipantThis reply has been marked as private.May 8, 2021 at 8:45 am #152208In reply to: Related Packages Shortcode?
Nayeem RiddhiModeratorplease edit the file from
tpls/page-templatesortpls/link-templates, you can also make backup files following this doc, https://www.wpdownloadmanager.com/doc/template-files/thanks
May 8, 2021 at 1:43 am #152191In reply to: Form Lock & Advanced Access Control Add On
Jason BarrettParticipantYes, I reviewed that webpage before posting.
How can I “Download and install the add-on” which is “now included with WordPress Download Manager Pro or upper licenses” when the only visible link is to the Cart?
May 8, 2021 at 1:21 am #152188In reply to: Modify Appearance of Form Lock Pop-up
Jason BarrettParticipantThis reply has been marked as private.May 7, 2021 at 5:22 pm #152176In reply to: WPDM archive page translation «Loading…»
Philippe BonneauParticipantThe 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é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é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); });May 7, 2021 at 10:46 am #152111In reply to: Issue for validate file type in version 3.1.26
HumayonSpectatorHi MASUCCI F,
We have released an update(V 3.1.27) that will solve your issue. Please update and then let us know that your reported issue has been solved or not.
You can check the below link as well.
ThanksMay 7, 2021 at 9:45 am #152093In reply to: Related Packages Shortcode?
Nayeem RiddhiModeratorCan you please check this add-on, https://www.wpdownloadmanager.com/download/linked-products/, please let me know if it helps you
thanks
May 6, 2021 at 10:06 am #152006
Nayeem RiddhiModeratorHi,
if you are using
bootstarp 4fromdownloads > settings > user interfaceplease add the below line
downloads/tpls/wpdm-all-downloads.phpfile in line number295$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
May 5, 2021 at 11:32 am #151894In reply to: Memory Problem
Markus SchulteParticipantThis reply has been marked as private.May 5, 2021 at 9:12 am #151876In reply to: Form Lock – Download button not displaying
Nayeem RiddhiModeratorContact form 7 with the
download_link_extendedtag is working fine from our side, if you are still facing problem with contact form 7, can you please check this plugin too, https://wordpress.org/plugins/liveforms/, it has a more extended featurethanks
May 5, 2021 at 8:49 am #151867In reply to: Latest version?
Senict BeanieParticipantNayeem. The file from the link you gave has the file name ‘download-manager-5.3.8’ which is the filename of the previous version. If the file is version 5.3.9 then please rename the file to 5.3.9 and put an end to this confusion.
May 5, 2021 at 8:47 am #151865In reply to: ERP support?
HumayonSpectatorHello Stefano,
Thank you for contacting the support centre.
We are sorry to say that currently, we are not providing any ERP integration/support. But you can contact our custom upgrade team if you want to implement an integration add-on by following the below link.
With RegardsMay 5, 2021 at 8:16 am #151859In reply to: Form Lock – Download button not displaying
Rowan GriffithsMemberThis reply has been marked as private.May 5, 2021 at 8:13 am #151858In reply to: Form Lock – Download button not displaying
Rowan GriffithsMemberHi,
Nothing has changed – the plugins were all still active before and it worked.
Only deactivating the Form Lock plugin did anything…
There is no download button / link when the form is filled in, surely that is a Form lock issue?
Can you look at this again please asap?
Thanks
May 4, 2021 at 10:11 pm #151843In reply to: Document Preview for Remote File URL
Victoria ChuParticipantThat option doesn’t work, can you please show how to get a file link from Dropbox and paste in the ‘Insert URL’ field for a package using Single Column Document Preview page template?
That is the part I’m stuck on because Dropbox is still forcing the download since their preview mode cannot be embedded in an iFrame
May 4, 2021 at 9:49 am #151770
Nayeem RiddhiModeratorAre you trying to open a new tab, for this shortcode download package,
[wpdm_all_packages items_per_page=15 jstable=1 thumb=1 categories="dump-files" order_by="publish_date" order="DESC" cols="title,download_count,package_size|publish_date|download_link" colheads="File Name|Update Date|Download::155px"]please let me know
thanks
May 4, 2021 at 7:33 am #151754Topic: Blocking Download Page to show up
in forum Download Manager Pro
Ricardo JimenezParticipantHello there.
I am creating downloads that are for specific users in my website. I am restricting access to them via the Advanced Access Control add-on.
Here is the issue: the download itself (the title, the description, the excerpt) might have confidential information, so I need to make sure other people can’t download the file (already via de Advanced Access Control add-on) but I also need that they can’t access the download page even if they know the direct link to it.
Now, people won’t access their private downloads via the page, only through the link, so I was thinking on creating a special download page template that ONLY shows a block alert.
Is this possible? Is there any other way?
I do have a subscription membership plugin that can prevent people from seeing specified pages, but this works for groups of people, not individuals.
May 3, 2021 at 6:23 pm #151737
Ikram DirujiiParticipantRespected Sir Check this also plz page should open in a new tab when users click on that download button in the table. Example URL for Problem 3
also Sir I am already using [wpdm_all_packages items_per_page=15 jstable=1 thumb=1 categories="dump-files" order_by="publish_date" order="DESC" cols="title,download_count,package_size|publish_date|download_link" colheads="File Name|Update Date|Download::155px"] but the problem is same, I mean the after changing the page the table should scroll to the top, but it is not working. but sir the most important problem is the problem one, please solve this, because table not working on big size category. i mean the category with much files. sir please check the above links I sent to you.
-
This reply was modified 5 years, 1 month ago by
Ikram Dirujii.
May 3, 2021 at 4:19 pm #151730In reply to: Avada theme conflicts
Mahdi RizviParticipantHi, thanks for your video.
I’m afraid it seems my issue is not being clearly communicated.
As mentioned previously, the formatting of the link template seems incorrect in bootstrap 4.
I’ve made a new screenshot with labeled lines and arrows. Lefthand side is bootstrap 4, right is bootstrap 3.
– Red highlighting shows the difference in text size, bootstrap 4 (leftside) becomes too big
– black arrows show the increase in padding inside the box, too much white space in bootstrap 4 (left side)
– blue arrows show the download button has shrunk, and also too much padding in bootstrap 4 (leftside)I would like it to look like the right side, bootstrap 3
Your video link also shows the same issue, looking like the incorrect leftside of my screenshot
May 3, 2021 at 10:54 am #151699
odessuParticipantThis reply has been marked as private.May 3, 2021 at 10:05 am #151695In reply to: [wpdm-archive] not showing documents when page loads
Krys PetersenParticipantThis reply has been marked as private.May 2, 2021 at 9:15 pm #151663
Ikram DirujiiParticipantThis reply has been marked as private.May 2, 2021 at 5:16 pm #151660
Nayeem RiddhiModeratorHi,
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,then try to paste
download-manager > tpls/tpls3 > wpdm-all-downloads.phpfile, 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
May 2, 2021 at 12:39 pm #151653
Ikram DirujiiParticipantYes Sir Nayeem I know it a bit hard, because it is a PHP task, if it was HTML I can do HTML but I can’t do PHP. sir when user click on download button so package page should open instead of file download. in shot in wpdm_all_packages table, I want the action of [Page_link] instead of [download_link] Sir…. Sir watch the video if you did not get my point plz video link
May 2, 2021 at 11:43 am #151647
Nayeem RiddhiModeratorDo you want to redirect the
wpdm_all_packagesdownload link to another page, I think it needs editing the core php file, please let me knowthanks
-
This reply was modified 5 years, 1 month ago by
-
AuthorSearch Results
Search Results for 'download link'
-
Search Results
-
Hello there.
I am creating downloads that are for specific users in my website. I am restricting access to them via the Advanced Access Control add-on.
Here is the issue: the download itself (the title, the description, the excerpt) might have confidential information, so I need to make sure other people can’t download the file (already via de Advanced Access Control add-on) but I also need that they can’t access the download page even if they know the direct link to it.
Now, people won’t access their private downloads via the page, only through the link, so I was thinking on creating a special download page template that ONLY shows a block alert.
Is this possible? Is there any other way?
I do have a subscription membership plugin that can prevent people from seeing specified pages, but this works for groups of people, not individuals.