Shahriar

Forum Replies Created

Viewing 25 posts - 501 through 525 (of 12,513 total)
Nov 19, 2019 at 5:58 pm
#115100
Moderator
Shahriar
Staff OP

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.

Nov 19, 2019 at 5:44 pm
#115099
Moderator
Shahriar
Staff OP

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.

Nov 19, 2019 at 1:19 pm
#115073
Moderator
Shahriar
Staff OP

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.

Nov 18, 2019 at 9:57 pm
#115054
Moderator
Shahriar
Staff OP

Added category and version info.

Nov 18, 2019 at 6:40 pm
#115048
Moderator
Shahriar
Staff OP

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 ).

Nov 18, 2019 at 5:51 pm
#115047
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Nov 18, 2019 at 5:34 pm
#115046
Moderator
Shahriar
Staff OP

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');
Nov 18, 2019 at 5:00 pm
#115045
Moderator
Shahriar
Staff OP

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.

Nov 18, 2019 at 4:59 pm
#115044
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Nov 18, 2019 at 4:07 pm
#115042
Moderator
Shahriar
Staff OP

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

Nov 18, 2019 at 3:56 pm
#115041
Moderator
Shahriar
Staff OP

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?

Nov 18, 2019 at 3:14 pm
#115037
Moderator
Shahriar
Staff OP

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.

Nov 18, 2019 at 3:02 pm
#115034
Moderator
Shahriar
Staff OP

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.

Nov 18, 2019 at 2:56 pm
#115033
Moderator
Shahriar
Staff OP

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.

Nov 18, 2019 at 2:14 pm
#115023
Moderator
Shahriar
Staff OP

Hi Piers,

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

Best regards.

Nov 17, 2019 at 1:00 pm
#114986
Moderator
Shahriar
Staff OP

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.

Nov 17, 2019 at 12:56 pm
#114985
Moderator
Shahriar
Staff OP

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.

Nov 17, 2019 at 12:48 pm
#114984
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Nov 17, 2019 at 12:21 pm
#114975
Moderator
Shahriar
Staff OP

Please check now.

Nov 16, 2019 at 10:23 am
#114961
Moderator
Shahriar
Staff OP

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.

Nov 16, 2019 at 10:17 am
#114960
Moderator
Shahriar
Staff OP

Please check now.

Nov 16, 2019 at 10:15 am
#114959
Moderator
Shahriar
Staff OP

Please check now.

Nov 16, 2019 at 10:13 am
#114958
Moderator
Shahriar
Staff OP

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

Nov 16, 2019 at 9:09 am
#114956
Moderator
Shahriar
Staff OP

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.

Nov 15, 2019 at 9:14 pm
#114952
Moderator
Shahriar
Staff OP

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

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