Shahriar

Forum Replies Created

Viewing 25 posts - 476 through 500 (of 12,513 total)
in reply to: Custom /Tag/ Page Template #115183

Shahriar
Moderator

Yes.


Shahriar
Moderator

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.

in reply to: change template #115180

Shahriar
Moderator

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');
in reply to: Search filter in [file_list_extended] #115178

Shahriar
Moderator

Hi Tomasz,

It is not possible yet but noted for implementation.

Thanks.


Shahriar
Moderator

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>

in reply to: Categories Cannot Be Updated From The Package Page? #115172

Shahriar
Moderator

Hi Zach,

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

Best regards.

in reply to: Prepaid credits setup but doesnt work #115171

Shahriar
Moderator

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

in reply to: Upload Browse URL (button without entrie) #115170

Shahriar
Moderator
This reply has been marked as private.
in reply to: Using Category and Tag Shortcodes together #115169

Shahriar
Moderator

Please check the updated reply.

in reply to: Email lock – user one time subscription #115165

Shahriar
Moderator

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

in reply to: Custom /Tag/ Page Template #115163

Shahriar
Moderator

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.

in reply to: Upload Browse URL (button without entrie) #115124

Shahriar
Moderator

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

in reply to: Basic Settings not "Saving" #115121

Shahriar
Moderator

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.

in reply to: Using Category and Tag Shortcodes together #115118

Shahriar
Moderator

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 5 years, 7 months ago by Shahriar.
in reply to: Upload Browse URL (button without entrie) #115117

Shahriar
Moderator

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

in reply to: WordPress in Subdirectory #115115

Shahriar
Moderator

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

in reply to: License Key Invalid #115113

Shahriar
Moderator

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

in reply to: Install pro version #115112

Shahriar
Moderator

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


Shahriar
Moderator
This reply has been marked as private.
in reply to: Advanced search for tags #115110

Shahriar
Moderator

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.

in reply to: Download Link is expired #115109

Shahriar
Moderator

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

in reply to: Cannot access Frontend Access Tab #115108

Shahriar
Moderator

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.


Shahriar
Moderator

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.

in reply to: Email lock – user one time subscription #115104

Shahriar
Moderator

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.

in reply to: Mail Download Link Password #115103

Shahriar
Moderator

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)