Shahriar

Forum Replies Created

Viewing 25 posts - 476 through 500 (of 12,513 total)
Nov 20, 2019 at 9:14 pm
#115183
Moderator
Shahriar
Staff OP

Yes.

Nov 20, 2019 at 9:13 pm
#115182
Moderator
Shahriar
Staff OP

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.

Nov 20, 2019 at 8:59 pm
#115180
Moderator
Shahriar
Staff OP

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');
Nov 20, 2019 at 8:52 pm
#115178
Moderator
Shahriar
Staff OP

Hi Tomasz,

It is not possible yet but noted for implementation.

Thanks.

Nov 20, 2019 at 8:18 pm
#115175
Moderator
Shahriar
Staff OP

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>

Nov 20, 2019 at 8:03 pm
#115172
Moderator
Shahriar
Staff OP

Hi Zach,

Please install and activate the Download Manager REST API add-on to fix the issue.

Best regards.

Nov 20, 2019 at 8:01 pm
#115171
Moderator
Shahriar
Staff OP

The current audio player is kept hidden by choice. We are working on a new audio player which will be available soon.

Nov 20, 2019 at 7:45 pm
#115170
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Nov 20, 2019 at 7:41 pm
#115169
Moderator
Shahriar
Staff OP

Please check the updated reply.

Nov 20, 2019 at 7:04 pm
#115165
Moderator
Shahriar
Staff OP

– 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.

Nov 20, 2019 at 6:32 pm
#115163
Moderator
Shahriar
Staff OP

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.

Nov 19, 2019 at 10:07 pm
#115124
Moderator
Shahriar
Staff OP

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

Nov 19, 2019 at 8:47 pm
#115121
Moderator
Shahriar
Staff OP

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.

Nov 19, 2019 at 8:31 pm
#115118
Moderator
Shahriar
Staff OP

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

  • This reply was modified 6 years, 3 months ago by Shahriar.
Nov 19, 2019 at 8:04 pm
#115117
Moderator
Shahriar
Staff OP

Please send temporary wp-admin login info in private reply to check the issue.

Nov 19, 2019 at 8:03 pm
#115115
Moderator
Shahriar
Staff OP

Yes, got it, that won’t work in your case.

Nov 19, 2019 at 7:47 pm
#115113
Moderator
Shahriar
Staff OP

Looks like you have already found solutions for all issues. Anyway, let us know if there is anything else.

Nov 19, 2019 at 7:38 pm
#115112
Moderator
Shahriar
Staff OP

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

Nov 19, 2019 at 7:30 pm
#115111
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Nov 19, 2019 at 7:26 pm
#115110
Moderator
Shahriar
Staff OP

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.

Nov 19, 2019 at 7:08 pm
#115109
Moderator
Shahriar
Staff OP

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.

http://prntscr.com/pz869c

Nov 19, 2019 at 6:48 pm
#115108
Moderator
Shahriar
Staff OP

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.

Nov 19, 2019 at 6:35 pm
#115105
Moderator
Shahriar
Staff OP

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.

Nov 19, 2019 at 6:25 pm
#115104
Moderator
Shahriar
Staff OP

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.

Nov 19, 2019 at 6:10 pm
#115103
Moderator
Shahriar
Staff OP

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.

Viewing 25 posts - 476 through 500 (of 12,513 total)