Shahriar

Forum Replies Created

Viewing 25 posts - 2,751 through 2,775 (of 12,513 total)
Apr 5, 2019 at 3:39 pm
#95679
Moderator
Shahriar
Staff OP

Hi,

The customization is complete. Please check the email sent from customization address.

Thanks.

Apr 3, 2019 at 5:54 pm
#95615
Moderator
Shahriar
Staff OP

Hi,

We received your email ticket too and unlocked the key which you already know.

I see that you had some issue with the update. You can send temporary wp-admin login info in private reply. I will install the latest version for you.

Or you just download the latest version here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases

Thanks.

Apr 3, 2019 at 5:47 pm
#95614
Moderator
Shahriar
Staff OP

It is possible to add the tags column using some code customization. We have to use a custom template /tpls/wpdm-all-downloads.php

I have modified the template file to add tag support. You can download it here https://www.dropbox.com/s/pmmvc9dr4cg7sz2/wpdm-all-downloads.php?dl=0

Place the file in /active-theme/download-manager/wpdm-all-downloads.php location to override the default template. Then use tags in your all packages shortcode to show package tags.

Apr 3, 2019 at 5:28 pm
#95613
Moderator
Shahriar
Staff OP

When creating the pacakge the author can set the roles from settings. But if you want to assign those automatically the Default Values ( https://www.wpdownloadmanager.com/download/wpdm-default-values/ ) add-on is the solution. Using this add-on you can set default values for all new packages.

Apr 3, 2019 at 5:07 pm
#95612
Moderator
Shahriar
Staff OP

Please check your error log and send me the latest entries or the log file. It should indicate if there is a PHP error. This might also be a conflict with another plugin. So, try deactivating other plugins to find the conflict.

Send temporary wp-admin login info in private reply if you can’t find the issue or error log doesn’t provide any info.

Apr 3, 2019 at 5:04 pm
#95610
Moderator
Shahriar
Staff OP

We will fix it in next version of Download Manager.

However, you can fix the file paths of already created packages using the following code block. Add the code to your theme’s functions.php file and visit the blog posts page just once. Then delete this code. Of course, adjust the /dir/to/file in this code to match your directory.

function update_file_path(){
    if( ! is_home() ) return;
    $params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 );
    $q = new WP_Query($params);

    while ( $q->have_posts() ) {
        $q->the_post();

        $files = maybe_unserialize(get_post_meta(get_the_ID(), '__wpdm_files', true));
        if ( ! is_array( $files ) ) $files = array();

        foreach ($files as $key ► $file):
            $files[$key] = str_replace('/dir/to/file','/dir/to/file/', $file);
        endforeach;

        update_post_meta(get_the_ID(),'__wpdm_files', $files );
    }
}
add_action('init','update_file_path');
Apr 3, 2019 at 4:53 pm
#95609
Moderator
Shahriar
Staff OP

Actually, you just have to save the key on your new site. You don’t have to do anything on the old site. I have unlocked the key from the old site again. So, just visit the new site and save your key there.

Apr 3, 2019 at 4:49 pm
#95608
Moderator
Shahriar
Staff OP

Place your files in /uploads/download-manager-files/ directory. Then write the filename under files column in your CSV file. Use a comma if you are adding multiple files in the same package. Then import the CSV. Your file will be linked to the package. You have to use full file path under files column if files are stored outside the /uploads/download-manager-files/ directory.

You have to create the categories manually first. Then use the category slugs in CSV file to assign them to the package. Automatically created categories don’t maintain the hierarchy.

Please send temporary wp-admin login info in private reply to check the PDF Viewer issue. Maybe the file isn’t linked to the package. You can try uploading a PDF manually.

Apr 3, 2019 at 4:41 pm
#95606
Moderator
Shahriar
Staff OP

If you have already created packages using CSV and used the filename under files column then no need to rerun the CSV. Files will be linked to their respective packages automatically.

Yes, you can create tags ( comma separated values under tags column ) and categories ( comma separated values under category column ) from CSV import.

Apr 3, 2019 at 8:53 am
#95595
Moderator
Shahriar
Staff OP

Please deactivate and delete the old version of Download Manager from the Plugins page. You won’t lose any data or settings. Then install the Pro version.

Apr 2, 2019 at 8:39 pm
#95578
Moderator
Shahriar
Staff OP

Customization will be done within the next 24 hours. I will check th other issue too when I login to your to install the custom add-on.

Apr 2, 2019 at 8:12 pm
#95577
Moderator
Shahriar
Staff OP

Yes, support is 24/7. But there might be a delayed reply at weekends. Download Manager Pro works with any theme or plugin that follows WordPress standards.

You can check our themes here https://www.wpdownloadmanager.com/downloads/themes/ These are made for Download Manager Pro, so works better than any other theme.

Apr 2, 2019 at 8:08 pm
#95575
Moderator
Shahriar
Staff OP

WPDM doesn’t have any built-in template tag to show gifs. But it is possible to implement a custom tag using the wdm_before_fetch_template hook. Add the following code to your theme’s functions.php file and use the [gif] tag in your custom page/link template to show the gif.

function wpdm_gif_tag( $vars ){

    foreach ($vars['files'] as $file ):
        $filetype = wp_check_filetype( $file );
        if( $filetype['ext'] != 'gif' ) continue;
        if( ! file_exists( WPDM_CACHE_DIR.$file ) )
            copy( UPLOAD_DIR.$file, WPDM_CACHE_DIR.$file );
        $vars['gif'] = '';
    endforeach;

    return $vars;
}
add_filter( 'wdm_before_fetch_template', 'wpdm_gif_tag', 10, 1 );
Apr 2, 2019 at 7:05 pm
#95570
Moderator
Shahriar
Staff OP

Yes, we will add the patch in our side too.

Apr 2, 2019 at 6:56 pm
#95566
Moderator
Shahriar
Staff OP

Unlocked your key from the old domain. You can use the key on your new site.

Apr 2, 2019 at 6:53 pm
#95565
Moderator
Shahriar
Staff OP

Looks like wordpress.com not allowing the FTP connection to your file server. But I managed to bulk upload files to /uploads/download-manager-files/ directory using our File Manager add-on. So, you can use it to bulk upload all your files.

Apr 2, 2019 at 6:07 pm
#95563
Moderator
Shahriar
Staff OP

Please try the following shortcode ( Panel template with 3 cols layout ),

[wpdm-archive button_style="inverse" link_template="link-template-panel" cols=3 order_by="title" order="ASC" items_per_page="9"]

Send login info in private reply if that doesn’t fix it.

Apr 2, 2019 at 6:04 pm
#95561
Moderator
Shahriar
Staff OP

Please check the “Private Download Links Usage Limit:” option in the Basic settings page. Or send temporary wp-admin login info in private reply if you want me to check the issue.

Apr 2, 2019 at 6:01 pm
#95560
Moderator
Shahriar
Staff OP

Could you please send me your queries in this support ticket? We prefer this forum for product support. Email support is intended for presale questions only.

Apr 2, 2019 at 5:59 pm
#95559
Moderator
Shahriar
Staff OP

The file should be placed inside your theme. You can download our free theme Verse and check the taxonomy-wpdmcategory.php from there.

https://www.wpdownloadmanager.com/download/verse-wordpress-theme-for-digital-shop/

Apr 2, 2019 at 5:56 pm
#95558
Moderator
Shahriar
Staff OP

Could you please send me your PHP error log file? When submitting the form server is responding with a 500 error code. The error log will help us to pinpoint the issue.

Apr 2, 2019 at 5:21 pm
#95556
Moderator
Shahriar
Staff OP

It isn’t possible to order packages by category in all packages table. But you can filter packages by category by clicking on a category.

Yes, there is a tree shortcode [wpdm_tree] It comes from the Extended Shortcodes add-on http://www.wpdownloadmanager.com/download/wpdm-extended-short-codes/

Apr 2, 2019 at 5:13 pm
#95555
Moderator
Shahriar
Staff OP

Please replaced line 35 in /download-manager/libs/class.DownloadStats.php with the following code to fix the error,

$udl["".$index] = isset( $udl["".$index] ) && is_numeric( $udl["".$index] ) ? $udl["".$index]+1 : 1;

Or send temporary wp-admin login info in private reply, I will do it for you.

Apr 1, 2019 at 6:23 pm
#95523
Moderator
Shahriar
Staff OP

Replaced the “Download” button in “My Downloads” page with the package link. Now users will be redirected to the package page where they can purchase the item. By the way, clear the cache if you see no differences.

Apr 1, 2019 at 6:14 pm
#95522
Moderator
Shahriar
Staff OP

You were getting the error on the export tool because of the missing wpdm-cache directory in /wp-content/uploads/ dir. I have created that dir manually which resolved the export tool issue.

Viewing 25 posts - 2,751 through 2,775 (of 12,513 total)