Yes, you can update the plugin. View details modal won’t show anything becasue the plugin is not hasted in the wp.org
Yes, you have to add this again after the update. But we have the plan to take the date format from the setting, if that happens no changes will be necessary after the update.
This message will be shown to visitors when the package requires signup to access the download ( allow access option is set to some use roles ).
Also, you have to uncheck the “Show Only Login Form Instead of Login Required Message ” option, if this option is checked a login form will be shown instead.
I have tested this with one of your packages and it works http://prntscr.com/pqucq7
Not possible when “Login redirect” is deactivated. You can activate the login redirect but use the following URL when you want to access the admin side, the skipwpdm=1
parameter bypasses the login redirect.
Added the following JS in /tpls/metaboxes/attach-file.php
to fix the tab conflict with your theme.
jQuery('#ftabs ul.nav-tabs li a').on('click', function () { var tab = jQuery(this).attr('href'); //alert(tab); jQuery('#ftabs ul.nav-tabs li.active').removeClass('active'); jQuery(this).parent().addClass('active'); jQuery('#ftabs .tab-content .tab-pane.active').removeClass('active'); jQuery(tab).addClass('active'); });
By default, the frontend uploader doesn’t have the “Download Availability Period” feature. But I have added this on your site by editing /tpls/wpdm-add-new-file-front.php
To keep this customization safe from plugin update created custom template for both files and placed those in /divi-child/download-manager/
directory.
Adding stats in frontend uploader required detailed code customization https://www.wpdownloadmanager.com/download/custom-upgrade-service/
Password locked files are opening in a new tab by default. Please send temporary wp-admin login info in private reply if it acts differently on your setup.
Please send me those values to check. Create 2 separate text files.
@bgmarketing, thanks a lot for your kind support.
@kodo, Please send temporary wp-admin login info in private reply. It looks like an issue related to theme or plugin conflict.
If you add the ID
column then import process will update the package ( it will find the package using ID ), no new package will be created if the ID column exists in the CSV. Also, if there is no existing package of provided ID nothing will happen.
Hi,
Please remove <div>{{ user.email }}</div>
from line 36 in /wpdm-private-message/tpls/message-form.php
file. That will remove the email.
Thanks.
Everything looks okay there.
Thanks, noted.
1 ) You don’t have to change any part of the provided code. Use it as is. wpdm_package_membership_levels
is just function name which doesn’t have any relation to membership plugin. 10 is action priority and 1 is accepted arguments, these are technical things. If you want to know more please check action hook documentation from wp.org
To show only the lowest required role, first, you have to rank them then pick the lowest one. And obviously that would required further customization of the code. But try this code first.
2 ) yes, you have to add this code to your theme’s functions.php
file.
3 ) This code will take care of all membership levels. The rendered value of [membership_levels]
will come from package settings “Allow Access” option.
1 ) When there are multiple categories separate categories using a comma. You have to warp all categories inside double quotations. Usually, CSV editors take care of that automatically.
2 ) If you want to update the old package by importing CSV add another column with ID
title ( http://prntscr.com/pqsfvh ) and for each package set the package ID there.
You can use the following code to replace default [tags]
template tag,
function wpdm_custom_template_tags($vars){ $vars['tags'] = get_the_tag_list( '', ', ', '', $vars['ID'] ); return $vars; } add_filter( 'wdm_before_fetch_template', 'wpdm_custom_template_tags', 10, 1 );
You can modify the link to open in a new tab when there is a package-lock. Do you want to open the file in the browser? If not after unlocking package you can just download the file and your page will still be there with other downloads.
Please check now. Added the following code in wpdm_show_acf_groups
function to change date format.
if( strtotime( $vars["acf_{$group}_{$field}"] )) $vars["acf_{$group}_{$field}"] = date("m-d-Y", strtotime( $vars["acf_{$group}_{$field}"] ) );
In your active theme’s functions.php
file. Please keep in mind you have to write the Render_Content
to populate the tab area with your data.
Yes, the code above just takes the WordPress role and asssigns them to template tag. There is not relation to the WP Pro Membership with this code.