> zip download worked in windows for me. But the multiple folder issue does exist there. I think those are cached zips because for new packages the download worked fine. Tested this one https://cad.welsrc.net/download-cad/test/
Could you please send FTP info so I can take a look at the directory.
> Fixed the password lock isssue with single file download.
Hi Greg,
Sorry, there is no option to control this message. But you can edit it from /download-manager/wpdm-start-download.php
file ( line 34 and 65 ).
Best regards.
Create a password protected page with archive shortcode and send me the link to debug the search issue. I tried to create a test page but it doesn’t show anything on the frontend.
You are using Archive Page sidebar view which doesn’t have the search option. Do you want to use the default view? https://demo.wpdownloadmanager.com/wpdmpro/archive-page-default/
Please send temporary wp-admin login info in private reply to check the issue. Are you using the directory import option?
Sorry about that. We are checking this and adding a patch asap. Thanks for reporting the issue.
Please send login url too.
The cache directory was added in a recent version. Deactivating and reactivating the plugin creates the directory. Anyway, glad to you have already found the solution.
So you want to redirect the user to different pages after logout based on user role. This is not a plugin feature nor it should be one. Anyway, I have added the following code to your theme’s functions.php file to implement it.
function wpdm_custom_redirect_after_logout() { if (!current_user_can('manage_options')) { $url = '/login-page/'; } else { $url = '/wp-login.php'; } $redirect_url = home_url( $url ); wp_safe_redirect( $redirect_url ); exit; } add_action( 'wp_logout', 'wpdm_custom_redirect_after_logout' );
WPDM doesn’t delete the templates when showing the invalid key warning. Not sure how your templates got deleted. Maybe some plugin modified the DB. These templates are saved under _fm_link_templates
and _fm_page_templates
key in options table.
You can also use template files to create custom link/page templates https://www.wpdownloadmanager.com/doc/template-files/ You can try this approach if the previous issue happens again. Although, I hope this won’t happen again.
Hi, We are checking the issue. Looks like an API update is required. We will provide a solution as soon as possible. Thanks.
Please send temporary wp-admin login info in private reply to check the issue.
Do you want to change the placeholder text “Enter Your Name”? You have to edit the plugin file to change it. The text comes from line 1767 in /download-manager/wpdm-functions.php
file.
Looks like there is a minor issue in Advanced Custom Fields add-on. Please remove the following code from line 108 in wpdm-advanced custom-fields.php
file. That should fix the issue.
if ( !current_user_can( 'edit_user', $user_id ) ) return false;
It will be overwritten by the Download Manager update. Sorry, there is no option yet to control it from outside the plugin.
Hi Gustavo, Please send temporary wp-admin login info in private reply to check the issue.
Your test site is subsite number 10 on your multisite setup. The /uploads/sites/10/download-manager-files/
directory was missing there. So, WPDM couldn’t find the link to uploaded files which resulted in the “file not found” error.
I deactivated the WPDM on test subsite and activated it again. This process created the /uploads/sites/10/download-manager-files/
directory. And uploaded files are being stored there now. The download should work for all new uploads.
For old attachments either re-upload those files or manually copy those on /uploads/sites/10/download-manager-files/
dir.
If you face similar issue on any other subsite, just deactivate the plugin and reactivate it again to create the missing file directory.
Please let me know if you need further assistance.
Hi,
Paystack add-on doesn’t support recurring payment yet. But noted for implementation. In the next version, we will add the subscription feature.
Thanks.
Bulk updated the file path using the following code and tested some packages. Files are readable now. Please check and let me know the status on your side.
function wpdm_bulk_update_attach_path(){ $params = array( 'post_type' ► 'wpdmpro', 'posts_per_page' ► -1, ); $packs = new WP_Query( $params ); while( $packs->have_posts() ) { $packs->the_post(); $files = maybe_unserialize(get_post_meta(get_the_ID(), '__wpdm_files', true) ); if( ! is_array( $files ) ) $files = array(); foreach ( $files as $dx ► $file ): $files[$dx] = str_replace('vbvdevelop','vbvprod', $files[$dx] ); endforeach; update_post_meta(get_the_ID(),'__wpdm_files', $files); } } add_action('init', 'wpdm_bulk_update_attach_path');
Hi,
Have you made any changes? All downloads seem to be working now.
By the way, when adding a new file from your directory this is path /nas/wp/www/sites/vbvprod/
path. But your files are being served from your /nas/wp/www/sites/vbvdevelop/
path, I guess it is your dev directory. If you remove files from this dir downloads will be inaccessible.
http://prntscr.com/op0d6y
Thanks.