Skip Navigation

[Resolved] Restrict user to download files only after the form is filled

This support ticket is created 5 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by puneetS-3 5 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1379895

Hey,

I want to create a download page for the students on my website where, I want them to fill the form before they can download any materials. I also want to make it secure, so that the link cannot be share to download it, thus bypassing the system. Can I use CRED forms and Access control to make this functionality ?

Also the materials are grade wise, so I would want them to categories them so that every category requires a fresh user to go through the form and then the material.

#1380227

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Puneet,

Thank you for getting in touch.

Unfortunately with Access you can only restrict the items or the page based on the user's role. If you want to protect your downloads you can try using the plugin below.
https://wordpress.org/plugins/download-manager/

This plugin should protect from sharing a direct link to the file for downloading.

"Also the materials are grade wise, so I would want them to categories them so that every category requires a fresh user to go through the form and then the material."

Do you mean that the items that show up for download are based on what the user fills out in the form ?

Essentially it will be doing a filtering of the available material ?

Please let me know.
Thanks,
Shane

#1380553

Hey Shane,

Thanks for the reply.

"Do you mean that the items that show up for download are based on what the user fills out in the form ?"

- Not exactly. For example :-
We have download materials for 9th Grade Students and 10th Grade Students. Then We would want to allow access to all the materials for 9th Grade once he FILLS UP THE LEAD FORM.

Also I went ahead and tried to use the recommended plugin. But it only offer these (hidden link) lock options, I can't create a form for it to unlock the file. Also there is no way I can group them, the way I mentioned above.

#1381093

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Puneet,

I can see a way of doing this with custom fields on a user, however this would require the user to edit their respective profile and select the grade level.

From there you can hide the material using conditionals on a page with user meta. So lets say on the user's profile they select grade 9.

On the page with the material you will have each of your grades locked in a conditional that would say "if my-field < = 9 then display".

Another example
if my-field <=1
Grade 1

if my-field <= 2
Grade 1
Grade 2

If my-field <= 3
Grade 1
Grade 2
Grade 3

I'm assuming this is what you want to achieve exactly.

Thanks,
Shane

#1382761

Hey Shane I guess I have explained my question in a wrong way.

This features allows me, to capture leads from the visiting user. I don't want to sign them in. I want these guest users to be able to download a certain part of the downloaded content ( grouped in categories) if they fill the form. I also want it to be secure as well so that anyone cannot share the link and bypass the form.

#1383283

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for the clarity.

In this case no its not possible to do because our permissions setup require that the user be logged in or some form of user data that we can check.

If the user just submits a post form as a guest there is nothing that we can check on the user to allow them to have access to the content.

This will require a complete custom solution in order to achieve.

Thanks,
Shane

#1383771

Thanks for the information.