Hi,
You need to set custom size (42×42) for the icon tag [icon]
. It’s in the SVG format now. So it’s showing in large.
Or try inserting this CSS in the template. It should work.
.wpdm_icon {
width: 42px;
height: 42px;
}
Thanks
Maybe the image is small. You may try the different size in the thumb or change the mail image to fit it.
Thanks
Hi,
You can use search and replace plugin to replace the text s:18:”***Premium User***”;b:1;
from the wp-usermeta table in bulk.
Thanks
Hi,
Sorry, Email lock will not work with the single file download. It works with the package downloads. Email lock locked the full package.after submit it unlocks the package downloads.
Thanks
Sorry, It will require more customization. You can request it here.
Thanks
Yes, you need to change it after an update.
Thanks
Sorry, Onedrive API does not provide the direct download link.
Thanks
Hi,
You did not find it because I have changed it to [thumb_360x280].
And you have to disable the additional rights from the settings you have enabled it for the user.
Thanks
Hi,
Please replace the two function that is shown on the previous reply image with the following code in admin/class.packages.php
. You might edit the code using FTP or Cpanel file browser.
function columnsTH($defaults) {
if(get_post_type()!='wpdmpro') return $defaults;
$img['image'] = "<span class='wpdm-th-icon ttip' style='font-size: 0.8em'><i style='font-size: 80%' class='fa fa-image'></i></span>";
wpdm_array_splice_assoc( $defaults, 1, 0, $img );
$otf['download_count'] = "<span class='wpdm-th-icon ttip' style='font-size: 0.8em'><i style='font-size: 80%' class='fa fa-download'></i></span>";
$otf['wpdmshortcode'] = 'Short-code';
$otf['access'] = 'Access';
wpdm_array_splice_assoc( $defaults, 4, 0, $otf );
return $defaults;
}
function columnsTD($column_name, $post_ID) {
if(get_post_type()!='wpdmpro') return;
if ($column_name == 'download_count') {
echo get_post_meta($post_ID, '__wpdm_download_count', true);
}
if ($column_name == 'access') {
$roles = get_post_meta($post_ID, '__wpdm_access', true);
if(!$roles) echo "";
else {
$role = array_values($roles);
echo implode(", ", $role);
}
}
if ($column_name == 'wpdmshortcode') {
echo "<input readonly=readonly class='wpdm-scode' onclick='this.select();' value=\"[wpdm_package id='$post_ID']\" />";
}
if ($column_name == 'image') {
if(has_post_thumbnail($post_ID))
echo get_the_post_thumbnail( $post_ID, 'thumbnail', array('class'►'img60px') );
else {
$icon = get_post_meta($post_ID,'__wpdm_icon', true);
if($icon!=''){
$icon = $icon;
echo "<img src='$icon' class='img60px' alt='Icon' />";
}
}
}
}
Thanks
Hi,
I have tested and replied in that thread. Everything working perfectly. Let me know if any issue occurs.
Thanks
Hi,
I have tested the packages.
1. The subscriber can not download the package which has allow access to the author, not the subscriber.
2. Also, download limit exceeded shown to the subscriber after one download.
3. I have tested with author account by downloading multiple files that, they can download more than one file, will work up to 100 files.
4. In the page template, I have found the thumb size [thumb_900x0]
not contain any height. So it is not showing. Please modify it with the proper size you want. I have modified the template thumb size for the test, now its showing.
Thanks
Hi,
As I see, the icons are showing properly on every page.
Thanks
Hi,
If you want to limit download for any user role then you can do it from Downloads Settings Download Limit
section. Currently, the author is set to 100. If you want to let them download only 1 file or package you can put 1 there.
Thanks
Please send login in private reply.
Thanks
Hi,
Are you using WPDM – Archive Page (version 2.9.1)? please post the link in private reply to check the issue. You have to use link template with the archive shortcode. Page template will be visible only single download package page.
And if you have the latest version there might be any js conflict with any other plugin or theme. Then it will need to deactivate theme/plugin to check which one causing the issue.
Thanks
Hi,
The new version of the plugin includes the SVG format of the icons. You can edit the link template file to define the size of the icon within a div.
Thanks
Hi,
If they are on the same server also the domain is same you can just export and import the data. As WDMP users custom post type, the wordpress default export/import is the best way. There might be any php time execution limit and memory limit error, so the uploading is unsuccessful. Please try to increate the max execution time and memory limit on the server, then try to upload the file.
Thanks
Hi,
Now the allow access roles of the package settings can be shown as the meta field data. Its requires custom modification. You can request customization at customize@wpdownloadmanager.com
Or you can add it by modifying admin/class.packages.php
file.
Thanks
Hi,
As you are using onedrive, the direct download is not available. It will redirect to OneDrive.
Thanks
Hi,
Please reactivate the download manager plugin. And if you changed the domain name, please send your license in private reply to unlock it.
Thanks
Hi,
Seems like you are using siteground hosting, please include following in your .htaccess file in the server. If the issue not solved by adding this, Please send login in private to check.
<IfModule mod_security.c>
SecFilterRemove 001868
</IfModule>
Thanks
Hi,
Do you want to show the user role that is permitted into the download list table? Which plugin are you using for this custom permission?
Thanks
Hi,
Please send temporary admin login in private reply to check the shortcode issue with the addon.
Thanks
Hi,
With the Membership plugin, you can restrict any page/post content. That means it will hide the full page contents to unregistered users. And you can use the plugin like WP approve user
to pending user approval. So, when you approve the users only then they can access the membership pages/posts.
If you mean restrict all the pages not only the package of the download manager, then yes. You can restrict any post and page or category of the website with it.
Thanks
Hi,
Please update the WPDM – Form Lock plugin to the latest version ( v1.6.1 ). Current version in your website is 1.6.0
Thanks