Hello, everyone,
I use the Pro version and there are currently 4 levels for an intranet for document downloads. The levels are to be expanded bit by bit.
I have created a page and on this page different access rights for the respective levels should be realized. That also worked very well and I implemented it according to this scheme:
[s2If current_user_is(s2member_level4)]
Some premium content for Level 4 Members.
[/s2If]
[s2If current_user_is(s2member_level3)]
Some premium content for Level 3 Members.
[/s2If]
[s2If current_user_is(s2member_level2)]
Some premium content for Level 2 Members.
[/s2If]
[s2If current_user_is(s2member_level1)]
Some premium content for Level 1 Members.
[/s2If]
[s2If current_user_is(s2member_level0)]
Some content for Free Subscribers.
[/s2If]
[s2If !current_user_can(access_s2member_level0)]
Some public content.
[/s2If]
So far so good. Here’s what I want to do now: The users are assigned to a certain level:
Example 1: A user with level 2 only sees the contents for level 2, in exceptional cases he should also be able to see level 3. How do I implement this? Can you assign this in the user profile, these additional levels?
Example 2: A user with level 2 should also be able to see level 2. But what if he can see everything? So levels 1-4?
Then a question about the downloads: Have I understood correctly that the downloads are protected if I upload them into /wp-content/plugins/s2member-files/ and create a subfolder like /wp-content/plugins/s2member-files/my-documents/?
Then the link would basically look like this?
https://mydomain.com/my-documents/?s2member_file_download=example-file.pdf
Right? Thank you for your help and attention. (: