Shahjada

Forum Replies Created

Viewing 25 posts - 501 through 525 (of 15,594 total)
in reply to: Error when using on a site with MultiPOS installed #186189

Shahjada
Keymaster

Hi,
We have found the issue in AssetManager.php, shall adjust it with the next update.

in reply to: Form-Lock #186181

Shahjada
Keymaster

Try using different template, ex: Blue


Shahjada
Keymaster

May I try deactivating other plugins?


Shahjada
Keymaster

Yes. Checking in a while


Shahjada
Keymaster

The error doesn’t look like from wpdm. Please give me temporary wp-admin login info to check it in details.

in reply to: Popup modal for login #186152

Shahjada
Keymaster

popup will not work if you disable css/js. Please send me temporary wp-admin login info to check your issue.

in reply to: Mobile Layout #186151

Shahjada
Keymaster

May you send me a mockup for mobile device how you want it to show.


Shahjada
Keymaster

Here it is:

Lock Options

Actually, too keep the link protected while still you want to allow user to download the item for free, you better use Captcha lock option.


Shahjada
Keymaster

If you want to hide download link effectively, you need to use a lock option. In your case you may use terms lock. However, we are soon update hide download link option to keep it totally hidden from search engines and bots.

in reply to: Android corrupt files #186124

Shahjada
Keymaster

It is downloading fine for me:

Screenshot_20230420_205429_Firefox

Screenshot_20230420_205507_Files%20by%20Google


Shahjada
Keymaster

The download button with wpdm_my_download short-code skips all lock options with default options. However, use template="link-template-id" with short-code, that will serve your purpose.

in reply to: Set equal heights on 3-column category listing #186112

Shahjada
Keymaster

All seems to be same height already except the one where you didn’t add featured image.

in reply to: License Renewal #186108

Shahjada
Keymaster

Your can renew now.

in reply to: Custom URL #186107

Shahjada
Keymaster

in that case, you need to use regular post/page and add wpdm package shortcode there. Package information on page is customizable through link template

Link Template

However, plugin actually doesn’t offer that type of feature, it is just working as standard wp feature works with custom post type, ex: woocommerce.

However, for extended customization support, please contact our Custom Upgrade Service team.

in reply to: Custom URL #186104

Shahjada
Keymaster

instead of download your can use different word in wpdm settings. However, base slug also totally removable. As, it is not a built-in feature with wpdm pro, it will require some code customization.

Try using the following code:

function wpdm_remove_base_slug($post_link, $post) {
    if ('wpdmpro' === $post->post_type && 'publish' === $post->post_status) {
        $post_link = str_replace('/download/', '/', $post_link);
    }
    return $post_link;
}
add_filter('post_type_link', 'wpdm_remove_base_slug', 10, 2);

function wpdm_parse_request($query) {
    if (!$query->is_main_query() || 2 != count($query->query) || !isset($query->query['page'])) {
        return;
    }

    if (!empty($query->query['name'])) {
        $query->set('post_type', array('post', 'wpdmpro', 'page'));
    }
}
add_action('pre_get_posts', 'wpdm_parse_request');

For extended customization support, please contact:

Custom Upgrade Service

in reply to: Erreur téléchargement WPDM – PDF Stamper #186072

Shahjada
Keymaster

If any plugin generates unexpected output, it need to fixed first, did you find which one, or may we try deactivating other plugin to find problematic one?

in reply to: Editors cannot see full Files Root Directory #186065

Shahjada
Keymaster

It works fine on our side. Please send me ftp info in a private reply.

in reply to: Invalid download link #186053

Shahjada
Keymaster

Update is available now.


Shahjada
Keymaster

It will not break the email sending.
The action hook invokes after sending email.
Your simply can add the code for sending SMS in the callback function.


Shahjada
Keymaster

I think, the following example explains all about the hook:

add_action("PrivateMessage/Message/RestAPI/sendMessage", function($msgID, $message, $sender) {
//Your sms code here...
}, 10, 3);

It calls before send message.
$msgID = ID of the message
$message = Array containing message info and receiver info
$sender = Sender info.


Shahjada
Keymaster

Working fine in both chrome and firefox for me: https://www.loom.com/share/26a3cbaad5ec43a994ad5adb56d70725

Please check if your have installed any browser add-on which is blocking pdf js.

in reply to: Custom URL #186028

Shahjada
Keymaster

#1. Change package url base slug to download/%wpdmcategory%

Settings%20%E2%80%B9%20Download%20Manager%20%E2%80%B9%20WPDM%20PRO%20%E2%80%94%20WordPress

#2. Save Settings
#3. go to WP Admin Menu ► Settings ► Permalinks
#4. Click “Save Changes” button.

Everything will work fine then.

in reply to: Custom URL #186022

Shahjada
Keymaster

That is not an issue with wpdm, that is how wpdm url settings works.

However, if you want to add category slug with package URL, here is the workaround:

#1. Please add the following code at the end of your active theme’s functions.php:

function wpdm_package_link($post_link, $post) {
	if ('wpdmpro' === $post->post_type) {
		$terms = wp_get_post_terms($post->ID, 'wpdmcategory');
		if ($terms) {
			$term_slug = array_pop($terms)->slug;
			$post_link = str_replace('%wpdmcategory%', $term_slug, $post_link);
		} else {
			$post_link = str_replace('%wpdmcategory%', '-', $post_link);
		}
	}
	return $post_link;
}
add_filter('post_type_link', 'wpdm_package_link', 10, 2);

#2. Then use %wpdmcategory% is wpdm page url base slug.
#3. Save Settings
#4. go to WP Admin Menu ► Settings ► Permalinks
#5. Click “Save Changes” button.

Finally to go WP Admin Menu ► Packages and check the changes in URLs.

in reply to: Set equal heights on 3-column category listing #186020

Shahjada
Keymaster

Login info is not working.

in reply to: Wrong Post Types displayed #186019

Shahjada
Keymaster

That is probably due to conflict with other outdated plugin your are using there, your wp is outdated as well as many other plugin. Please try deactivating other plugin one after another to find the one causing the conflict.

Viewing 25 posts - 501 through 525 (of 15,594 total)