Shahriar

Forum Replies Created

Viewing 25 posts - 1,651 through 1,675 (of 12,513 total)
in reply to: Failed .zip downloads for some #110803

Shahriar
Moderator

> 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.

in reply to: Change message for customers #110797

Shahriar
Moderator

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.

in reply to: slow performance (archive page) #110796

Shahriar
Moderator

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.

in reply to: How to cancel auto renew? #110795

Shahriar
Moderator
This reply has been marked as private.
in reply to: New uploads not showing up #110794

Shahriar
Moderator
This reply has been marked as private.
in reply to: slow performance (archive page) #110792

Shahriar
Moderator

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/

in reply to: Bulk import losing files or is not importing #110791

Shahriar
Moderator

Please send temporary wp-admin login info in private reply to check the issue. Are you using the directory import option?

in reply to: Can't renew my subscription – Update Card Error #110785

Shahriar
Moderator

Sorry about that. We are checking this and adding a patch asap. Thanks for reporting the issue.


Shahriar
Moderator

Please send login url too.

in reply to: Issue with WPDM cache #110783

Shahriar
Moderator

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.

in reply to: Upload/Download Settings #110782

Shahriar
Moderator
This reply has been marked as private.

Shahriar
Moderator

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' );

Shahriar
Moderator
This reply has been marked as private.

Shahriar
Moderator

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.

in reply to: LinkedIn Share Lock #110773

Shahriar
Moderator

Hi, We are checking the issue. Looks like an API update is required. We will provide a solution as soon as possible. Thanks.

in reply to: Download link for single file download missing #110771

Shahriar
Moderator

Please send temporary wp-admin login info in private reply to check the issue.

in reply to: EMAIL LOCK OPTIONS #110770

Shahriar
Moderator

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.


Shahriar
Moderator

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;

in reply to: Invalid Download Link #110768

Shahriar
Moderator
This reply has been marked as private.

Shahriar
Moderator

It will be overwritten by the Download Manager update. Sorry, there is no option yet to control it from outside the plugin.


Shahriar
Moderator

Hi Gustavo, Please send temporary wp-admin login info in private reply to check the issue.


Shahriar
Moderator

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.

in reply to: Paystack Payment method for wp pro membership addon #110759

Shahriar
Moderator

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.


Shahriar
Moderator

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');

Shahriar
Moderator

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.

Viewing 25 posts - 1,651 through 1,675 (of 12,513 total)