Hi, I am using the download pro plugin. At the moment I cannot upload any files as the maximum upload is 32MB. When I try to upload the file by adding URL this doesn’t work either. How can I upload our software package from Dropbox? Thank you for your help.
Hello @ladygagahistory,
Hope you are well.
Make sure that you are using the latest version of the WPDM Default Values
add-on.
If, still the problem exists then please share your temporary admin login info and related file/packages/page URL in a private reply so that we can debug and give you a better solution about it.
Thank you
Hello,
We have 2 problems:
1- The first one by insert URL!
When we need to add a new package and need to add a link by “Insert URL” the link does not appear in the page, so We couldn’t see the link in case we want to edit or delete the link.
2- The second is:
We have got “You are not allowed to download.”
What should we do to activate the download?
What do you think?
Thank you
Hi wpdm dev. team we want to add download_link value download link through the database wp_postoption metadata table is it possible ? and is there have any default value? we tried it but not working the value which means the file URL not attached.
Hi @thecydia6,
Right now you can change the document tag
to any other by editing line no 323
on the download-manager.php
file.
Please follow this carefully.
After changing the code make sure to save the permalink once in order to apply the new permalink like this.
However, we will add an option in Settings -> URL Structure
in the next update.
Thank you
Hello @livseay2,
Thank you for the URL.
Please add the below CSS codes in your currently active themes Dashboard>Appearance>Customize>Additional CSS
.page-id-8890 .w3eden .media {
align-items: flex-start;
flex-direction: column;
}
.page-id-8890 .ml-3.wpdmdl-btn {
margin-left: 0 !important;
margin-top: 1rem;
}
Hopefully, your problem will be solved.
However, you can edit a template in the WPDM Pro version easily by following this screencast.
Regards
Have you properly set up the membership add-on? please share the related URL and if possible, please, give your temporary wp-admin login details in a private reply for checking the issue.
Thanks
Hi, thanks but there must be some kind of bug as I’ve tried the following, https://wp-test.durham.gov.uk/dscp/download/dscp-vision-and-values/ and again no file size. I’ve added this via the browse, not through media library or external url. If I can’t get this working then this plugin is not going to work for me at all. Sometimes it works sometimes it doesn’t.
Hi,
Sorry for the delays.
Please check the doc here https://www.wpdownloadmanager.com/doc/short-codes/wpdm_all_packages-list-all-downloads-in-tabular-format-in-a-page/, there is a way to add the author name and other author-related info with the table.
When adding a shortcode order="ASC/DESC"
indicated the sort order, you either add order='ASC'
or order='DESC'
, field_name
should be replaced by the field name you want to sort, for example, if you want to sort by title, order_by="field_name"
should be order_by="title"
.
To add a category filter, use parameter categories='CATEGORY_SLUG'
, here replace CATEGORY_SLUG
with an exiting category plugin from your category name.
However, everything is explained on the doc URL mentioned above. However, please let me know if anything is not clear in the doc.
Thanks.
Are you talking about the google drive add-on, please share your related package URL, if possible, please, give your temporary wp-admin login details in a private reply for checking the issue
Thanks
Hi,
From WPDM 6.0 ( Coming Soon ), we shall add a new tag [pdf_thumb_url]
which will return the only pdf thumbnail URL instead of image tag HTML, and [pdf_name]
will return the pdf file name without .pdf
ext, so that you can customize the thumbnail and attributes as you want :).
Hi Scott K,
We are sorry to hear that you are facing an issue with the WPDM add-on for Elementor.
Will you please share the related page/file/package URL with us where the issue is occurring?
However, it will very cooperative if you record me reproducing your issue using a tool like this?
It helps me to quickly figure out the issue and squash it immediately.
If possible, please, provide us with your temporary wp-admin login details in a private reply for checking the issue.
Thank you
The 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);
});
Which add-on you are using, please share your related page URL, it will more clear after watching this
thanks
For document preview, the remote URL file is working fine here, https://wpdmpro.w3eden.com/download/wpdm-remote-url/, but dropbox may have some restriction directly putting the dropbox file URL, you can use wpdm dropbox add-on too
thanks
The .exe
extension is included in the allowed file type and working perfectly from our side. Please make sure you add the .exe
extension on the allowed file type and click Save Settings
. If you still face the problem give me your site URL and temporary admin login details in a private reply for checking the issue.
Thanks