Hi, I need to block the download of files until the user completes a Gravity form. I have the Form Lock add-on. I have selected the relevant form which has the hidden field added with the value [wpdm_package_id].
The problem is that when I click on the download link I get a page with the following message
& mdash; Downloading is not allowed & mdash;
can you help me?
Hello,
Hope you are well and sorry to hear about it.
Please provide related url to check the issue. If possible please also share temporary admin access in a private reply to inspect and resolve it quickly.
Thanks
Hello Rulz,
Glad to see you again.
1. You can add the shortcode in post, page, text editor in page builder.
2.The file info page can be disabled from link template. Just need to remove the url template tag to download link template. You can copy the default link template by providing any name as like default_new
then replace [page_url]
with [title]
to show title without links. You can use [download_url]
to output the exact link that download button does. If you can’t make it workable, just let me know.
Thanks
Hello,
Unfortunately the direct download link template tags will not work with title and icon in locked packages in link template.
It will work only with packages that are not locked.
Hope you understand.
Thanks
Hello,
For gravity form, please add a hidden field and use this tag [wpdm_package_id]
as a default value, the tag will be replaced by package ID automatically when rendering a form.
I have created a gravity form named test. That is being downloaded fine with the hidden form added in it.
For the previous issue, I have forwarded to our development team, soon you will be updated after checking..
Thanks
Hello,
There is no way to open that link in new tab.
For that you have to edit core files of WPDM that is not recommended.
Thanks
Hello,
For download count you can see that already from download package. Also you can check stats from Downloads > Stats
menu.
Thanks
Hello,
You can configure the download lock email template from here
no option yet to open in a new tab when the package-lock is active
So, in short when package-lock is enabled download will not open into a new tab.
However, you can post that into the feature request section as well.
Regards.
Hello Antonio,
Thanks for providing details about your requirements.
Unfortunately it is currently not possible with the existing version of form lock. That download id is being showed from [wpdm_package_id]
code. No other tag is supported there.
However, it will require customization to implement the package name feature. Please contact our customization team here regarding the features.
Thanks
Tanvir
The topic ‘Form Lock: & mdash; Downloading is not allowed & mdash;’ is closed to new replies.