Shahriar

Forum Replies Created

Viewing 25 posts - 2,751 through 2,775 (of 12,513 total)
in reply to: File Cart location and translations, Form lock #95679

Shahriar
Moderator

Hi,

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

Thanks.

in reply to: Change URL key #95615

Shahriar
Moderator

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.

in reply to: order_by="categories" not working #95614

Shahriar
Moderator

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.

in reply to: Access permit to packages created by front end #95613

Shahriar
Moderator

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.

in reply to: Infinite loading Front-end #95612

Shahriar
Moderator

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.

in reply to: Bulk upload does not add terminal "/" #95610

Shahriar
Moderator

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');
in reply to: Domain Change / License Key #95609

Shahriar
Moderator

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.

in reply to: CSV bulk import issues #95608

Shahriar
Moderator

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.

in reply to: Bulk upload #95606

Shahriar
Moderator

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.

in reply to: Install of Pro #95595

Shahriar
Moderator

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.

in reply to: File Cart location and translations, Form lock #95578

Shahriar
Moderator

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.

in reply to: Support Response Time #95577

Shahriar
Moderator

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.

in reply to: Preview Gif Format not working #95575

Shahriar
Moderator

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 );
in reply to: Download error #95570

Shahriar
Moderator

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

in reply to: Domain Change / License Key #95566

Shahriar
Moderator

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

in reply to: Bulk upload #95565

Shahriar
Moderator

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.

in reply to: broke wpdm-archive shortcode styles #95563

Shahriar
Moderator

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.


Shahriar
Moderator

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.

in reply to: Support Response Time #95560

Shahriar
Moderator

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.

in reply to: WPDM categories widget #95559

Shahriar
Moderator

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/

in reply to: Form lock loading forever implementation issues #95558

Shahriar
Moderator

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.

in reply to: order_by="categories" not working #95556

Shahriar
Moderator

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/

in reply to: Download error #95555

Shahriar
Moderator

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.

in reply to: Premium Package and Advanced Access Control #95523

Shahriar
Moderator

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.

in reply to: Package addition/revisions logging #95522

Shahriar
Moderator

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)