Shahriar

Forum Replies Created

Viewing 25 posts - 101 through 125 (of 12,510 total)
in reply to: Recalculate package size #117769

Shahriar
Moderator

We will add those fixes in the next release, so no worries.


Shahriar
Moderator

Your server is blocking the styles and scripts requested by Download Manager. Please ask the server support to check the issue. You can send the following screenshot as reference.

https://drive.google.com/uc?id=1skXCrRFoF1xJFoo4byycAb4UgToo85TO

in reply to: Cancel auto renewal #117708

Shahriar
Moderator

Hi, Deactivated auto-renewal of both orders. -Best regards.

in reply to: E-Mail Lock – create a second mail template #117707

Shahriar
Moderator

You can use the wpdm_email_templates hook to create new email templates. Please check the documentation here https://www.wpdownloadmanager.com/doc/filter-reference/wpdm_email_template_email_template_id-customize-email-template/

But for email lock, WPDM will always use the built-in email-lock template.

in reply to: Searchable .pdf files #117705

Shahriar
Moderator

Sorry, it is not possible yet to search the pdf content.

in reply to: Shortcode wpdm-archive does not show downloads #117695

Shahriar
Moderator

I have modified the add-on file, not theme code.

https://drive.google.com/uc?id=1xWlKCNWlEMMUWsLYTjVp2btcHSnnFQkH

in reply to: Error when updating plugin #117694

Shahriar
Moderator

Hi,

To fix the auto-update issue, logout and then login again from your Downloads > Settings > Updates tab.

Thanks.

in reply to: directory addon #117693

Shahriar
Moderator
This reply has been marked as private.
in reply to: Place thumbnail in wpdm_all_packages #117692

Shahriar
Moderator

Please use thumb=1 in the shortcode to display package thumbnail in the all packages table.

in reply to: Bulk apply template to all packages #117691

Shahriar
Moderator

Hi,

You can use the Default Values add-on to bulk update package settings of old packages. Please check the details here https://www.wpdownloadmanager.com/download/wpdm-default-values/

Thanks.

in reply to: Some issues with the File Cart #117689

Shahriar
Moderator

You are right, Looks like the issue is related to packages with attached dir. Releasing an update soon to fix it.

in reply to: Cancel Auto-Renew #117605

Shahriar
Moderator

Canceled the auto-renewal of order #5a532c2d946f1 -Best regards.

in reply to: directory addon #117604

Shahriar
Moderator

You can customize the template file as you want.


Shahriar
Moderator

@guilhasn, Please ask your server/hosting support to activate zlib in your server. wpdm requires zlib to create zip file on the fly from multiple packages before download. Create a new ticket if you want me to check the issue on your site.

in reply to: Bulk Import not working as expected #117599

Shahriar
Moderator

Hi,

Which import method did you follow? CSV or Directory import?

If download is working then no need to mkae any changes in existing pacakges. Keep them as they are now.

Thanks.

in reply to: Purchase Settings #117563

Shahriar
Moderator

– IPN is not required when using app credentials
– PayPal should be selected automatically on checkout, please send me the site URL to check. In your previous private reply the URL is missing.

in reply to: Customize widget linking #117562

Shahriar
Moderator

You can set link template for category archive page from Settings > Frontend Access > Category Page Options. Category archive template is coming from your theme, using the above mentioned option we can partially control the view.

in reply to: Recalculate package size #117554

Shahriar
Moderator

– Fixed these warnings.

– Used the following code to update the file path of all packages. It was using the URL before and created a broken preview image.

function update_file_path(){
    $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('https://dev-wp.glasair-owners.com/wp-content/','/var/www/html/wp-content/', $file);
        endforeach;

        update_post_meta(get_the_ID(),'__wpdm_files', $files );
    }
}
add_action('init','update_file_path');

– Re-calculated package size using the following code

function update_package_size(){
    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();

        $package_size = wpdm_package_size( get_the_ID() );

        update_post_meta( get_the_ID(),'__wpdm_package_size', $package_size );
    }
}
add_action('init','update_package_size');
in reply to: Purchase Settings #117374

Shahriar
Moderator

Hi,

If you save only PayPal email address in the settings you have to Enable PayPal IPN Notification to complete the payment. In this approach user is redirected to the PayPal site to complete the paymet.

If you have created a PayPal app ( https://developer.paypal.com/developer/applications/create ) then get app credential from App settings. You have to save both Live and Sandbox Client ID and Client Secret. When these options are saved in Premium Package settings, you do not have to set up IPN. This checkout method is inline, which means the user stays on your site during checkout. If everything is okay with settings then you will see the “PayPal Checkout” button when selecting the PayPal option in checkout page http://prntscr.com/poquyv

Please review your setting and let me know if orders are still in processing state after payment.

Thanks.

in reply to: Advanced Access Control Issue #117373

Shahriar
Moderator

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

in reply to: directory addon #117372

Shahriar
Moderator

For simple search edit the /wpdm-archive-page/tpls/simple-search-form.php at line 5. Place the edited file in /active-theme/download-manager/ directory to keep the template file safe from plugin update.

in reply to: Recalculate package size #117343

Shahriar
Moderator
This reply has been marked as private.
in reply to: lazy download adon!!! #117342

Shahriar
Moderator

1 ) You can enable Lazy Download globally, so you don’t have to edit old packages to enable the lazy download.

2 & 3 ) Lazy download redirects user to a pre defined waiting page. You can any code you want there.

in reply to: directory addon #117341

Shahriar
Moderator

Add pattern=".{3,}" to require minimum 3 characters. Suggested location was for the Compact view. Which view are you using there?

in reply to: Customize widget linking #117340

Shahriar
Moderator

Hi,

Are you referring to the “WPDM Packages by Category” widget? You can actually serve the download right from the link template using a template with the [download_link] tag. Change the link template from Widget settings.

Thanks.

Viewing 25 posts - 101 through 125 (of 12,510 total)