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.
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.
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.
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 ).
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');
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.
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
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?
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.
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.
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.
Hi Piers,
Please install and activate the Download Manager REST API add-on to fix the issue.
Best regards.
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.
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.
Please check now.
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.
Please check now.
Please check now.
Coupon codes are working now. Some DB tables were missing, reactivating Premium Package plugin created those tables.
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.
Please send temporary wp-admin login info in private reply to check the issue.