Shahriar

Forum Replies Created

Viewing 25 posts - 501 through 525 (of 12,513 total)
in reply to: Differentiating Files by Membership Level #115100

Shahriar
Moderator

This is likely because Premium and Premium Plus users can access the file as well.

That was the exact reason behind the Premium tag in the Basic file. Updated the code, please try it.

in reply to: Script error in Edge Browser #115099

Shahriar
Moderator

Yes, I see the error in IE 11. Some adjustments in front.js will fix the error. Send wp-admin login info in private reply to make necessary changes in your setup.

in reply to: Install pro version #115073

Shahriar
Moderator

Looks like some stlyes are missing there. Please try reinstalling the Download Manager or send temporary wp-admin login info in private reply to check the issue.

in reply to: hey #115054

Shahriar
Moderator

Added category and version info.

in reply to: File and folder permissions when installing plugin #115048

Shahriar
Moderator

You are right about those permissions. We will fix those in the next update. But it is very unlikely to encounter any security issue only for these permissions. Because these files can only be changed if the server has already been breached in some other way.

The differences in our installation method created confusion. In my case, file and folder permissions were set by WordPress during installation. But you haven’t uploaded the plugin through the plugin uploader. For now, You can fix these permissions by installing the plugin through the WordPress plugin installer ( Plugins > Add New ).


Shahriar
Moderator
This reply has been marked as private.
in reply to: [excerpt] tag in template #115046

Shahriar
Moderator

Please add the following code to your active theme’s functions.php file to allow HTML tags in excerpt,

function wpdm_pacakge_excerpt($vars){
    $vars['excerpt'] = stripcslashes($vars['post_excerpt']);
    return $vars;
}
add_filter('wdm_before_fetch_template', 'wpdm_pacakge_excerpt');

Shahriar
Moderator

I will provide instructs in ticket when the update is available. Bascially you have to add the code to your active theme or child theme’s functions.php file.

in reply to: hey #115044

Shahriar
Moderator
This reply has been marked as private.
in reply to: Disable Comments on Packages Only #115042

Shahriar
Moderator

You can use the following code to remove the comments support for all new packages.

add_action( 'init', 'wpdm_remove_package_comment' );
function wpdm_remove_package_comment() {
    remove_post_type_support( 'wpdmpro', 'comments' );
}

For old packages bulk update the comment option http://prntscr.com/pyms0o

in reply to: Differentiating Files by Membership Level #115041

Shahriar
Moderator

The updated code should work just like you explained above. Did you replace the old code with the latest version or edit on top of it ( notice the $role_orders variable, there are only 2 items )? Could you please provide temporary admin access?

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

Shahriar
Moderator

It is based on a custom session created by Download Manager. The session is based on the user’s IP, device, and browser.

After submitting details Download Manager is sending an email with the download link to the provided address. You have to enable the download instantly option ( http://prntscr.com/pylu64 ) to download instantly after submission.

And the customization I have added also based on this option. Try to download the second package after downloading the first one with email submission. The second download won’t ask for the email address.

in reply to: Key not valid #115034

Shahriar
Moderator

Hi,

Please install the latest version to fix the issue. Follow these steps to update the plugin,

1 ) Deactivate and delete the old version. You won’t lose any data.
2 ) Download latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
3 ) Install the latest version and activate the license key.

Logout and then login again from your Downloads > Settings > Updates tab to fix any issue related to quick update. After that you can update the plugin your plugins page.

Thanks.

in reply to: Mail Download Link Password #115033

Shahriar
Moderator

Hi,

So, you want to send only a package URL instead of the download link. Then want the user to visit the download page and input the password to access the download.

It is possible but requires minor customization in emailPackageLink function located here /download-manager/admin/class.WordPressDownloadManagerAdmin.php Please send temporary wp-admin login info in private reply if you want me to update the code to remove the download link from the email.

Although, the password step seems unnecessary as you are sending the password via email why not just send download link.

Thanks.


Shahriar
Moderator

Hi Piers,

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

Best regards.

in reply to: Cannot update Stripe Plugin #114986

Shahriar
Moderator

So it looks like, you have to follow the manual update process in that case. You can always download the latest versions from your purchase area http://prntscr.com/py3vn1

Please follow these steps to update the plugin,

1 ) Deactivate and delete the old version. You won’t lose any data.
2 ) Download latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
3 ) Install the latest version and activate the license key.

in reply to: Directory Add-on very slow to load #114985

Shahriar
Moderator

Hi,

The speed looks fine now.

The main issue here is, the speed will be slower than usual for the first time you load some packages that have never been viewed. Because all dynamic thumbnails are generated at the first call. But these thumbnails are stored in /wpdm-cache/ to reuser later.

It doesn’t matter how many packages you have, archive page is loading only packages of the active page. So, increasing number of packages won’t affect the speed.

Thanks.

in reply to: hey #114984

Shahriar
Moderator
This reply has been marked as private.

Shahriar
Moderator

Please check now.

in reply to: Minimum Price custom step when increasing by click #114961

Shahriar
Moderator

Updated /wpdm-premium-packages/templates/add-to-cart/pay-as-you-want-form.php to set the step 1 Please check here https://vibrantcollaboration.com/download/pdf-vibrant-collaboration/

Please copy this template file and place it in /yourtheme/download-manager/add-to-cart/pay-as-you-want-form.php to keep the change unaffected by plugin update.

in reply to: List of countries? #114960

Shahriar
Moderator

Please check now.


Shahriar
Moderator

Please check now.

in reply to: Unable to save coupon codes #114958

Shahriar
Moderator

Coupon codes are working now. Some DB tables were missing, reactivating Premium Package plugin created those tables.

in reply to: Thumbnail updates not updating #114956

Shahriar
Moderator

Hi,

Sorry for the delayed reply. I was looking at this issue from all possible angles. Finally, found the issue which is related to WordPress image editor. But we don’t have much control over it.

Download Manager’s [pdf_thumb] tag generates the proper image but the image gets distorted when we are calling the WordPress image editor to resize the image.

What we can do it always use the [pdf_thumb] template tag and control the image size from the wrapping element. For example,

Instead of using this <a class="pull-left" href="[download_url]">[pdf_thumb_180x240]</a>

use this version <a style="width:180px;" class="pull-left" href="[download_url]">[pdf_thumb]</a>

In this approach, we don’t have to resize the original PDF thumb and that will solve our issue. I have done this for your “AMIST Publications” template. Please check the result here http://dev.amist.com.au/test/

Thanks.

in reply to: Archive shortcode filter not filtering. #114952

Shahriar
Moderator

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

Viewing 25 posts - 501 through 525 (of 12,513 total)