Shahriar

Forum Replies Created

Viewing 25 posts - 701 through 725 (of 12,513 total)

Shahriar
Moderator

Could you please try the API credentials method? Follow this tutorial to setup PayPal API credentials.

in reply to: Display Options for Download Limit Plugin #114378

Shahriar
Moderator

Does it show the timer when you place only the shortcode? PLease send login if possible.


Shahriar
Moderator

Have you modifed code inside archive/directory add-on? There is an error in console from gtag. The issue maybe related to that too. But I need admin login info to provide more details.

in reply to: Styling the Dropdown Menu #114376

Shahriar
Moderator

No easy solution is available for mobile. Depending on the OS the menu is handled in a difffernt way.

in reply to: Differentiating Files by Membership Level #114375

Shahriar
Moderator

Here is the updated code to show the role name. It will show only one role. Please check if it is working as you wanted,

function wpdm_package_membership_levels($vars){
    global $wp_roles;
    $roles = array_reverse($wp_roles->role_names);
    $membership_levels = get_post_meta($vars['ID'],'__wpdm_access', true);
    $role_orders = array( 'premium_subscriber', 'premium_plus_subscriber' );
    $package_roles = array();
    foreach( $role_orders as $role ) {
        if( in_array($role, $membership_levels ) )
            $package_roles[] = $roles[$role];
    }
    $vars['membership_levels'] = isset( $package_roles[0] ) ? $package_roles[0] : '';

    if( in_array('basic_subscriber', $membership_levels ) )
        $vars['membership_levels'] = '';

    return $vars;
}
add_filter( 'wdm_before_fetch_template', 'wpdm_package_membership_levels', 10, 1 );

Wrap the [membership_levels] with a div so we can target it to write CSS or just send the template code. I will send you back the modified version.

in reply to: Cancel renewals #114372

Shahriar
Moderator

Hi, You auto renewal was already inactive. You got the remainder email by mistake. -Best regards.

in reply to: Basic settings don't save #114371

Shahriar
Moderator

Working now. Please check and let me know if still having an issue. Your server was returning 403 in AJAX request when using <i class="fa fa-exclamation-triangle"></i> in an option.

in reply to: Modification to PDF stamper #114370

Shahriar
Moderator

Hi,

PDF Stamer doesn’t require the file going through the cart to be stamped. If stamper is active on the package then the file will always be stamped.

Let me know if you are experiencing a different scenario.

Thanks.

in reply to: Download manager js issue with getting #114359

Shahriar
Moderator

Looks like you have already imported all packages http://prntscr.com/ps7hin Or are you trying this on another domain?

in reply to: Download stats not working/displaying #114358

Shahriar
Moderator

I am not sure how SSL had been disabled. Maybe i deactivated a plugin but forgot to reactivate it. Anyway, let me know if activating SSL creating nay issue.


Shahriar
Moderator

Now you have to edit template files directly from /acive-theme/download-manager/link-templates/ and /acive-theme/download-manager/page-templates/

I have used template files instead of template editor ( saving in option table ) to avoid similar issue in future.

in reply to: Confirmation Emails. #114356

Shahriar
Moderator

1 ) Replace $this->template = "checkout_paid"; with $this->template = "checkout_paid_".$user->membership_level->name; in /wppromembership/class/class.wppmemail.php file line 213

2 ) Create email templates for each plan by cloning /wppromembership/email/checkout_paid.html and rename those files in this format checkout_paid_PlanName.html

in reply to: Filter Function #114354

Shahriar
Moderator

It is not possible yet without code customization. We will extend the category shortcode in future to add the tag filtering support.

in reply to: Notify user when package is updated #114352

Shahriar
Moderator

Not possible yet. But we have the plan to add this feature with Download Notification.

in reply to: Download limit not working #114351

Shahriar
Moderator

Please check now.

in reply to: PDF Thumbs #114347

Shahriar
Moderator

Getting this exception from ImageMagic http://prntscr.com/ps68h9 This is related to some ImageMagic policy.

Please try the solution suggested here https://stackoverflow.com/a/52677573/695195

in reply to: file-not-found.txt Error Since Upgrade #114339

Shahriar
Moderator

This is a cache issue. Downloads are working when trying as a logged user.

This is the actual download URL https://blog.techygeekshome.info/wpdm-package/msi-downloader/?wpdmdl=32257&ind=1572047608832

But when visiting as a guest user download button has the following URL which is incorrect. The UI is also coming from old cache. Did you notice the difference in buttin color?

https://blog.techygeekshome.info/wpdm-package/msi-downloader/?wpdmdl=32257&ind=IewQsAm6QkGdTIKkvkn3vjj9OC3xGR6RqKj5ugJFScql8X521x5ZQ_U1wXrKafez0BIJ3FTHdItDROKs3kb5au7RyziTcDMTsedsxTKh4YRv_XEf6S-OV0aV1tkvtLPL

You have to clean old cache to fix the issue.


Shahriar
Moderator

Hi,
If it is happening after you have changed your email, you may need to contact paypal, that could be due to your account limitation issue.

in reply to: Question About Templates #114292

Shahriar
Moderator

Link Template from package setting is applied only with package shortcode [wpdm_package id='2145'] But you can override it using template parameter in package shortcode, [wpdm_package id='2145' template='xyz']

in reply to: Shortcode to Display Total Number of Packages #114291

Shahriar
Moderator

Hi,

Here are the available shortcode for such stats,

[wpdm_package_count] – Total Package count
[wpdm_download_count] – Total download count

Thanks

in reply to: Showing Number of Pages in PDF in Page Template #114290

Shahriar
Moderator

There is no built-in template tag for that. It is possible to implement one using ImageMagick, which is pretty lengthy customization.

in reply to: Compact View Directory Question #114289

Shahriar
Moderator

Both require code customization.

in reply to: Filter Function #114288

Shahriar
Moderator

Hi,

Please check the Archive Page add-on demo here https://demo.wpdownloadmanager.com/wpdmpro/archive-page-compact/ It has a category filter option. And you can also search for packages and sort by different parameters.

You can use own link template to control the view of each package.

Let me know if works for you or you want something different.

Thanks.

in reply to: Styling the Dropdown Menu #114287

Shahriar
Moderator

Please add this CSS to Customize > Additional CSS to make parent items bold,

#wpdm-cats-compact .level-0 { font-weight: bold; }

in reply to: Breadcrumbs Not Working Properly #114286

Shahriar
Moderator

I have tested Yoast breadcrumb with one of our themes ( http://prntscr.com/prnhm4 ). We used yoast_breadcrumb function to render breadcrumb. The breadcrumb should render the archive page URL in that part of Breadcrumb.

But in your case it is just links to /download There is nothing in the download page, so it is just displaying the matching content which is an image in your case. Maybe your theme implemented the breadcrumb in a different way.

Please check if the download archive- is active on your settings http://prntscr.com/prnith and then check the single.php of your theme to find out how it is showing the breadcrumb.

Viewing 25 posts - 701 through 725 (of 12,513 total)