-
Search Results
-
Hey,
I’m trying to manage downloads in different categories. When I try to include files to the site I get ALL files or no file displayed.
Tested the attributes and when there is no “operator” (or operator=0, operator=””) then all files will be displayed. If I try f.e. operator EXISTS or IN nothing is shown. Also when I try id=”45,47″ operator=”IN” nothing is shown. Access in Categories are set to all users.
This is the code I tried:
[wpdm_category id="45" operator=0 title="Busfahrpläne / RVHI" desc="Busfahrpläne / RVHI" template="link-template-default-ext" toolbar="0" cols="2" colspad="1" colsphone="1" paging="0" order_by="field name" order="ASC" items_per_page="10"](had also used name of category as id to test – same result, nothing shown; my categories are attached as screenshot)
What wents wrong? I’ve no ideas yet and are happy with every idea.
Best regards
AndreasTopic: Adding thumbnail image
Hi there,
I’m trying to add a thumbnail image of the actual pdf/image files. How would I do that? Here’s the short code I’ve currently have.
I want the headings to be Thumbnail, File Name, File Type (image of file type), update date, download.[wpdm_all_packages items_per_page="20" categories="brochures-datasheets" jstable=1 order_by="field_name" order="ASC/DESC" cols="title|update_date|download_link,addto_file_cart" colheads="File Name::30%|Update Date|Download::20%"]
Topic: Download direct to the link
I would like to download direct to the link
Can you adjust my code?
<!-- WPDM Link Template: Personal Template --> <div class="media well link-template-widget"> <a class="pull-left" href="[page_url]"> [icon] </a> <div class="media-body"> <a href="[page_url]" style="display: block;clear: bottom;font-size: 11pt;font-weight: bold;">[title]</a> <div style="font-size: 9pt;"> <i class="fa fa-database color-green"></i> [file_size] <i class="fa fa-files-o color-purple"></i> [download_count] downloads </div> </div> </div> <style> .wpdm_icon{ max-width: 48px; width: 48px; } </style>In attache
Topic: Audio player modal on page
Hi Guys,
Just noticed that there is an audio player modal script added to every page on the website. Why is it added? How can we remove it?
<audio autoplay controls style=’width: 100%;display: none’ id=’wpdm-audio-player’></audio> <script>jQuery(function($){try{$(‘a.wpdm-lightbox’).nivoLightbox();}catch(e){}});</script> <div class=”w3eden”><div id=”wpdm-popup-link” class=”modal fade”><div class=”modal-dialog” style=”width: 750px”><div class=”modal-content”><div class=”modal-header”><h4 class=”modal-title”></h4></div><div class=”modal-body” id=’wpdm-modal-body’><p class=”placeholder”> [ Placeholder content for popup link ] WordPress Download Manager – Best Download Management Plugin</p></div><div class=”modal-footer”> <button type=”button” class=”btn btn-danger” data-dismiss=”modal”>Close</button></div></div></div></div></div> <script language=”JavaScript”>jQuery(function(){jQuery(‘.wpdm-popup-link’).click(function(e){e.preventDefault();jQuery(‘#wpdm-popup-link .modal-title’).html(jQuery(this).data(‘title’));jQuery(‘#wpdm-modal-body’).html(‘<i class=”icon”>
</i> Please Wait…’);jQuery(‘#wpdm-popup-link’).modal(‘show’);jQuery.post(this.href,{mode:’popup’},function(res){jQuery(‘#wpdm-modal-body’).html(res);});return false;});});</script> <script>(function(){function addEventListener(element,event,handler){if(element.addEventListener){element.addEventListener(event,handler,false);}else if(element.attachEvent){element.attachEvent(‘on’+event,handler);}}function maybePrefixUrlField(){if(this.value.trim()!==”&&this.value.indexOf(‘http’)!==0){this.value=”http://”+this.value;}}
var urlFields=document.querySelectorAll(‘.mc4wp-form input[type=”url”]’);if(urlFields&&urlFields.length>0){for(var j=0;j<urlFields.length;j++){addEventListener(urlFields[j],’blur’,maybePrefixUrlField);}}
var testInput=document.createElement(‘input’);testInput.setAttribute(‘type’,’date’);if(testInput.type!==’date’){var dateFields=document.querySelectorAll(‘.mc4wp-form input[type=”date”]’);for(var i=0;i<dateFields.length;i++){if(!dateFields[i].placeholder){dateFields[i].placeholder=’YYYY-MM-DD’;}
if(!dateFields[i].pattern){dateFields[i].pattern='[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])’;}}}})();</script>Thanks!
Hi,
we have been using download manager pro for several projects. Now in our recent project, the download link when package file is being downloaded creates 0 bytes ZIP folder which i cannot even unzip. URL is this one: https://fit.conceptstory.de/downloads. we have same problem in listing as well as package detail pages. Single download file works though, even the big ones, like video 40 MB file. Any suggestion?
Thank you, DoreenHi,
We are currently using the shortcode to display all results by ‘interview date’
shortcode: [wpdm_all_packages items_per_page="20" jstable=0 order_by="interview_date" order="DESC" cols="page_link,file_count,download_count|categories|interview_date|download_link" colheads="Title::450px|Categories|Event Date::50px|Download::50px"]
However, the dates are displaying as YYYYMMDD. At times the date will be duplicated or the date won’t be displayed at all (see attached screenshot).
Is there a way to alter the source php for this shortcode to correct this issue?