Skip Navigation

[Resolved] How do I restrict a specific video for a particular user

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user is building a membership site so that they can restrict certain items for some users.

Solution:

I would recommend checking this documentation below.
https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/restricting-access-video-tutorials/

Essentially you will need at least 2 different roles, a premium user and a non-premium user.

This support ticket is created 5 years, 7 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)

Tagged: 

This topic contains 7 replies, has 2 voices.

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

Assisted by: Shane.

Author
Posts
#1261205

Tell us what you are trying to do?
I have to create a membership website for Gym Instructors where once they are signed in I want to give them access to a video. Now every user will have a different number of video accesses.

For example, A has access to video 1 & 2 only but B has access to video 1,2 & 3. How can I achieve this?

Is there any documentation that you are following?
https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/restricting-access-video-tutorials/
According to this, the user will have access to all videos in a particular post type, but how can I make something like a user has access to some of the videos only.

Is there a similar example that we can see?

What is the link to your site?

#1261337

Shane
Supporter

Languages: English (English )

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

Hello,

Thank you for contacting our support forum.

Will User A and User B have 2 different user roles ?

Also is each individual video uploaded as a single post ?

Please let me know and we can go from there as our tutorial requires multiple roles

Thanks,
shane

#1261457

Thanks for replying,

User A and User B will be of same Role "Instructors".
Yes, each individual video will be a single post.

#1261523

Shane
Supporter

Languages: English (English )

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

Hello,

This won't work if the users are the same roll. I would recommend giving a Premium instructor roll.

This is because you're only able to restrict the content by the user's roll and not by the user itself.

Thanks,
Shane

#1261811

What does giving premium instructor role mean?
And will it be possible to restrict the content by the user? If yes, How?

#1262547

Shane
Supporter

Languages: English (English )

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

Hello,

What does giving premium instructor role mean?

This would mean that the premium instructor role would be able to access videos 1,2 & 3 while a none premium instructor can only access 1 and 2.

And will it be possible to restrict the content by the user? If yes, How?

No you are not able to restrict the content per user but you can restrict it per the role of the user, this is why I mentioned creating 2 roles for your instructors, a premium and a none premium. This way you can restrict all the users who are not premium.

Thanks,
Shane

#1262845

Hey Shane,

Thanks for the information.

I believe multiple roles are the best option that I have.

Regards,

#1262847

My issue is resolved now. Thank you!