Shahjada

Forum Replies Created

Viewing 25 posts - 651 through 675 (of 15,594 total)

Shahjada
Keymaster

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


Shahjada
Keymaster

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.

in reply to: Button functionality for regular buttons… #184939

Shahjada
Keymaster

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.

in reply to: Template email fatal error #184890

Shahjada
Keymaster

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

in reply to: Deactivate Single Download Page ? #184887

Shahjada
Keymaster

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


Shahjada
Keymaster

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

in reply to: Changing message icon (WP Private Message plugin) #184873

Shahjada
Keymaster

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

in reply to: Change loader.svg image #184857

Shahjada
Keymaster

No, but, we shall add an option with the next update ๐Ÿ™‚


Shahjada
Keymaster

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


Shahjada
Keymaster

you can add the condition inside your function:

if(wpdm_query_var('wpdmppdl') !=='') {
  //modify...
}

Shahjada
Keymaster

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


Shahjada
Keymaster

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.


Shahjada
Keymaster

Please update to 3.6.0

in reply to: Renew item in an order? #184765

Shahjada
Keymaster

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

in reply to: Unable to change User Subcription #184763

Shahjada
Keymaster

please try now.

in reply to: Email Templates not working #184762

Shahjada
Keymaster

You’re welcome. Always at your service ๐Ÿ™‚

in reply to: Email Templates not working #184757

Shahjada
Keymaster

okay now.


Shahjada
Keymaster

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;
	}
});
in reply to: Select from Server not working #184749

Shahjada
Keymaster

please update to 6.3.1


Shahjada
Keymaster

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

in reply to: Get direct download link #184741

Shahjada
Keymaster

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

in reply to: Download expired for non logged in users #184740

Shahjada
Keymaster

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

in reply to: Get direct download link #184729

Shahjada
Keymaster

Looks like you are using older version of PHP.

Please use the following code:

global $WPDM;
$download_url = $WPDM->package->getMasterDownloadURL($ID); 
in reply to: attach File From Server #184727

Shahjada
Keymaster

please update to 6.3.1


Shahjada
Keymaster

May you please explain a little more about the idea behind the hook.

Viewing 25 posts - 651 through 675 (of 15,594 total)