Shahjada

Forum Replies Created

Viewing 25 posts - 701 through 725 (of 15,647 total)
Mar 17, 2023 at 5:24 am
#184948
Keymaster
Shahjada
Staff OP

Translation file is here: /download-manager/languages/download-manager.pot

Mar 17, 2023 at 5:20 am
#184947
Keymaster
Shahjada
Staff OP

Add the css classes wpdm-download-link wpdm-download-locked with attr data-package="{{PACKAGE_ID}}" with your download button, that shall trigger the download modal.

Mar 17, 2023 at 5:14 am
#184946
Keymaster
Shahjada
Staff OP

We shall add the option with the next update.

Mar 17, 2023 at 5:13 am
#184945
Keymaster
Shahjada
Staff OP

Now in WPDM Pro v6.3 you should receive email notification as soon as user sends a request for download.

Mar 17, 2023 at 5:03 am
#184940
Keymaster
Shahjada
Staff OP

Hi,
If you are not using password, please keep encryption disabled in package settings, otherwise chrome ask for password and if no password used, need to press enter with empty password.

Mar 17, 2023 at 4:59 am
#184939
Keymaster
Shahjada
Staff OP

Here is a way to create custom button for a locked package:

<a href="#unlock" class="wpdm-download-link wpdm-download-locked btn btn-success " data-package="{{PACKAGE_ID}}">Button Label or Image here</a>

Replace {{PACKAGE_ID}} with proper package ID.

Mar 16, 2023 at 6:08 am
#184890
Keymaster
Shahjada
Staff OP

Please update wpdm pro again. I released a quick patch immediate without version change. However, a new update is also coming soon.

Mar 16, 2023 at 5:52 am
#184887
Keymaster
Shahjada
Staff OP

Hi,
It is not possible to disable single download page totally. However, you can disable single download page link from link template. You need to replace [page_link] with [title], Doc:

Template Files

Mar 16, 2023 at 2:10 am
#184877
Keymaster
Shahjada
Staff OP

Exclude login/user dashboard page, signup page, cart page, and pages with url parameters from cache. No other special action is needed 🙂

Mar 16, 2023 at 2:02 am
#184873
Keymaster
Shahjada
Staff OP

Sorry, not clear, may you please give an url where I can check which icon you are talking about.

Mar 15, 2023 at 2:43 pm
#184857
Keymaster
Shahjada
Staff OP

No, but, we shall add an option with the next update 🙂

Mar 14, 2023 at 3:58 pm
#184808
Keymaster
Shahjada
Staff OP

okay, I’m checking, however, may you please tell me, why you are expiring order and trying to keep download active simultaneously.

Mar 14, 2023 at 2:49 pm
#184800
Keymaster
Shahjada
Staff OP

you can add the condition inside your function:

if(wpdm_query_var('wpdmppdl') !=='') {
  //modify...
}
Mar 14, 2023 at 1:52 pm
#184796
Keymaster
Shahjada
Staff OP

You’re welcome.

BTW, in case you missed it, wpdm premium packages plugin has an interesting feature, we added recently, you can create payment link even without creating new product, we call it dynamic product. It was added recently. It may come handy in your any future project :).

Cursor%20and%20Downloads%20%E2%80%B9%20WPDM%20PRO%20%E2%80%94%20WordPress

However, let us know if you need any other assistance :).

Mar 14, 2023 at 8:46 am
#184782
Keymaster
Shahjada
Staff OP

Sorry, actually my fault, I thought you were trying to expire order as soon as user downloads an item.
However, please use this:
Cursor%20and%20wpdmpro%20%E2%80%93%20Order.php

We have added the hook for the next update.

Mar 14, 2023 at 6:09 am
#184777
Keymaster
Shahjada
Staff OP

Please update to 3.6.0

Mar 13, 2023 at 5:11 pm
#184765
Keymaster
Shahjada
Staff OP

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

Mar 13, 2023 at 4:54 pm
#184763
Keymaster
Shahjada
Staff OP

please try now.

Mar 13, 2023 at 4:50 pm
#184762
Keymaster
Shahjada
Staff OP

You’re welcome. Always at your service 🙂

Mar 13, 2023 at 4:41 pm
#184757
Keymaster
Shahjada
Staff OP

okay now.

Mar 13, 2023 at 3:35 pm
#184751
Keymaster
Shahjada
Staff OP

So, you want to update order data ( expire it ) on start of download.
Use the following code:

add_action("wpdm_onstart_download", function ($package) {
    $params = wpdmppdl_decode(wpdm_query_var('wpdmppdl'));
    $order_id = wpdm_valueof($params, 'oid');
	$odata = WPDMPP()->order->getOrder($order_id);
	if ( $odata->order_status == 'Expired' ) {
		// Modify order data here
		$odata->order_status = 'Completed';
		// Expired time set to 10 mins in the future so that the download link will be seen as valid
		$odata->expire_date = time() + 600;
	}
});
Mar 13, 2023 at 2:30 pm
#184749
Keymaster
Shahjada
Staff OP

please update to 6.3.1

Mar 13, 2023 at 12:16 pm
#184743
Keymaster
Shahjada
Staff OP

Sorry, not clear, may you please explain little more.

Mar 13, 2023 at 11:25 am
#184741
Keymaster
Shahjada
Staff OP

May you please send me temporary wp-admin login info in a private reply to check how you are trying to implement it.

Mar 13, 2023 at 11:22 am
#184740
Keymaster
Shahjada
Staff OP

okay now, it was an incompatibility issue with the download period add-on.

Viewing 25 posts - 701 through 725 (of 15,647 total)