Yes.
I have to check your installation to find out why the “add new” feature is acting in an unusual way. Please send temporary wp-admin login info in private reply.
You can bulk update page/link template of old packages using Default Values add-on. This add-on also saves default values of all package settings for your new packages.
Or you can add the following CSS to your active theme’s functions.php file. After adding the code visit any page. That will complete the update process. Then remove the code.
function wpdm_update_link_templates(){
$params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 );
$q = new WP_Query($params);
while ( $q->have_posts() ) {
$q->the_post();
update_post_meta(get_the_ID(),'__wpdm_template', 'link-template-default-icon');
}
}
add_action('init','wpdm_update_link_templates');
Hi Tomasz,
It is not possible yet but noted for implementation.
Thanks.
Maybe the package is locked. The download will work only for open packages, getting the download link of locked packages requires elaborate customization.
If your downloads doesn’t have any lock then try replacing the code your sent above with the following,
<td><a href="<?php echo get_permalink($stat->pid).'?wpdmdl='.$stat->pid; ?>"><?php echo $stat->post_title; ?></a></td>
Hi Zach,
Please install and activate the Download Manager REST API add-on to fix the issue.
Best regards.
The current audio player is kept hidden by choice. We are working on a new audio player which will be available soon.
Please check the updated reply.
– The download will start automatically now after mail submission.
– I have replaced green loader with another gif. Clear the cache to check the new loader. You can replace the loading.gif
from /download-manager/assets/images/
with your own loader if you want.
Download Manager package tags are from post_tag
taxonomy which is also used by normal posts. That’s why no similar option was implemented for the tag archive. But you still can add the feature by adding the following code to theme’s functions.php
Options are coming fromt the category options.
The OSM plugin is adding some CSS in .tab-content
class but didn’t add any unique prefix. So, it is messing up WPDM CSS as it uses the same class for the attach file area. They could add the CSS with their own class like this .osm-plugin .tab-content
to avoid interfering with third party elements.
https://www.evernote.com/l/AUfj-JR5oW9IgrpyjagVM2a0fyXemGYMylsB/image.png
I couldn’t access the site.
Currently undergoing website upgrades. MyTuneCloud.com will be back online soon.
Find the “Download Limit Message:” option in the Basic Settings page and remove this part <i class="fa fa-exclamation-triangle"></i>
to fix the saving issue.
To exclude posts with specific tags from category shortcode add the following code,
function wpdm_category_query_tag_filter( $params ){
$tags = explode(',', $params['tag'] );
$tag_ids = array();
$tag_terms = array();
foreach ($tags as $tag):
if( is_numeric($tag ) )
$tag_ids[] = $tag;
else
$tag_terms[] = $tag;
endforeach;
if( count($tag_ids) > 0 )
$params['tag__not_in'] = $tag_ids;
if( count($tag_terms) > 0 )
$params['tag'] = implode(',', $tag_terms);
else
unset($params['tag']);
return $params;
}
add_filter('wpdm_embed_category_query_params', 'wpdm_category_query_tag_filter');
Shortcode should be written like the following example, the tags
parameter should have comma-separated tags terms ( included ) and ids ( excluded ).
[wpdm_category id="cat-slug," cols="2" toolbar=1 desc=1 item_per_page=10 template="link-template-widget.php" tags="plugin,59,61"]
This shortcode will display packages from cat-slug
category with plugin
tag except those under tag id 59 and 61
Please send temporary wp-admin login info in private reply to check the issue.
Yes, got it, that won’t work in your case.
Looks like you have already found solutions for all issues. Anyway, let us know if there is anything else.
Your server is blocking all JS and CSS added by Download Manager. Please ask the server support to allow all Download Manager JS and CSS files. That will fix the issue. You can send the following screenshot to them to explain the issue.
https://drive.google.com/uc?id=1KcvWbKvBC5wsuXGYqMOONwsBtnN1oG3K
There is a tag shortcode [wpdm-tags cols="4" icon="tag" btnstyle="default"]
in Directory Add-on which lists all tags. Each tag is link to it archive page ( demo ).
Do you want the search result to include packages that have a matching tag like the search key? Directory add-on doesn’t have this feature yet.
I still can’t edit the code.
Add return true;
after line 2236 in /download-manager/wpdm-functions.php
file. That should fix the issue.
Your server is blocking the page. Please ask server support to allow the AJAX requests sent by Download Manager. Send temporary wp-admin login info in private reply if you want me to take a look there.
Actually this kind of change should be part of your child theme to make sure it doesn’t get lost after theme update. Anyway, I hear what you are saying, it will be easier to just keep an option to allow this behavior. And it is noted for implementation.
Actually the download button was there but it is invisible due to CSS rules coming from your theme. The button was using CSS from your theme as you have disabled WPDM bootstrap CSS.
Anyway, I have updated the email-lock-form.php
template to fix the style. Now the button should be visible after email submission. Make sure you have cleared the cache before testing.
Please send temporary wp-admin login info in private reply to check the issues related to download count, download limit, and password limit.
About the 2 buttons, maybe one is coming from the file list which provides a single file download option. Everything is customizable in the page/link template. If something seems redundant to you, you can easily remove it by creating a custom template.
For emailed download link pacakge settings won’t apply because you are setting some custom rules like usage limit, expiration period etc when sending the email.