Forum Replies Created
We have migration add-on to migrate packages from 2.x versions. I have attached it below.
Take a backup of the old version before deleting it. Could you please send me the v.2.6.95 as a compressed file? You can send me a download link of the compressed file if you can’t attach it here. I will test it to check if it works with your old version.
Added custom CSS to hide the email cart option.
There is an “Internal Server Error” thrown when clicking the “Download” button. Could you please check the server error log? That should provide more info about the error.
Hi,
In the file /wpdm-premium-packages/templates/partials/guest-order-details.php or respective custom template file replace this
<?php echo $csign_before.$order->cart_discount.$csign_after; ?>
with
<?php echo $csign_before.$order->coupon_discount.$csign_after; ?>
That should show the discount in guest order details.
The provided login doesn’t have admin role, so I couldn’t update the code.
Thanks.
Are you referring to the Link Label option in package settings? It is possible to bulk import Link Label. The same CSV includes the column for link label. The column title is link_label
Please send temporary wp-admin login info in private reply to check the issue.
Hi,
Please send me your license key in private reply. I will unlock it from there. Then you can use it on your new domain.
Thanks.
Unlocked the key from the test server. You can link sue it on your live server now.
Hi,
Unlocked your key from the old domain. Now you can use it on the new site. Make sure you have the latest version of Download Manager if you are still having an issue with license verification.
Thanks.
Hi,
By difference do you mean adding a new file? Or adding an updated version of the same file ( no name change )? What does you ACF field save? A little more context will help me to suggest you how you can handle this.
Ideally, save_post hook is the one we have to use to monitor this kind of operations.
Thanks.
Hi,
You can add the following code to your theme’s functions.php file to hide all package settings,
add_action('admin_footer','wpdm_custom_scripts');
function wpdm_custom_scripts(){
?>
To set default page template and other default package options you need WPDM Default Values add-on https://www.wpdownloadmanager.com/download/wpdm-default-values/
Thanks.
Hi Pablo,
The login page asks an email address. Username doesn’t work.
Did you try deactivating WPDM Bootstrap JS from Downloads Settings Basic Misc Settings panel? That should fix the issue.
Thanks.
Your theme is using an old version of Font Awesome. But WPDM uses the latest version. That’s the origin of the icon issue. However, we are adding a fix to ignore WPDM font awesome in next release. For now, you have to comment/remove the following line in download-manager.php file ( line no 294 ).
wp_register_style('font-awesome', 'https://use.fontawesome.com/releases/v5.5.0/css/all.css');
You don’t have to re-edit the file in the next update. We will fix it from our side. You just have to disable it from settings.
In that page, we are using 3 Download Manager widgets. Some styles are coming from the theme. So, the sidebar view in your site might be slightly different from our demo.
https://www.evernote.com/l/AUfEnePTSNFNjYH0yqnwArMzc5TLFDk8kMQB/image.png
New and Top downloads both use “Widget Template” as link template.
Maybe some scripts were missing in http version of the website.
Your theme or another plugin is adding Bootstrap JS. I have disabled WPDM Bootstrap JS ( You will find the option at the bottom of WPDM Basic settings page ). Now, these issues should be resolved.
The audio tag is used for the [filie_list] template tag to play audio. The popup is used for the popup_link tag and so on. You can remove it by commenting/removing the below line from /download-manager/wpdm-hooks.php file but some related features like audio player, pop-up link won’t work if you have those on your template.
add_filter('wp_footer', 'wpdm_footer_codes');
This details page uses your theme’s single.php template. Some themes provide an option to control the sidebars from the edit post page. If your theme doesn’t have one install this add-on https://www.wpdownloadmanager.com/download/wpdm-page-templates/
This add-on will allow you to use your theme’s page templates as the template for the package details page. To remove the sidebar you can apply the “No Sidebar” template. Each theme provides a template with no sidebar.
To control the view 100% you have to create a custom template for download details page. The template file name is single-wpdmpro.php ( https://www.wpdownloadmanager.com/doc/template-files/ )
You can also add the direct download link in your link template and avoid visiting the details page if you want.
These codes are required for various WPDM features. The audio tag is used for the [filie_list] template tag to play audio. The popup is used for the popup_link tag and so on. You can remove it by commenting/removing the following line from /download-manager/wpdm-hooks.php file but some related features like audio player, pop-up link won’t work if you have those on your template.
add_filter('wp_footer', 'wpdm_footer_codes');
Hi,
In some server, the update fails due to permission issue. However, you can complete the update process manually which you have already done.
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.
Thanks.