You can surely do that with s2M.
S2M is so flexible that you can arrange your pages however you want, to display or block access to any content.
If you want a list of content, you might want to build a page like this one on my site. It is not done automatically though, but you can do it any way you want.
In this example, whatever content you have access to, will be in colors, while the content you don’t have access to, will be in grey. I built it so that anyone can still go to the page in question, and get a sale pitch if they have not purchased it or see the video if they do have the access already.
Or you can have an index of some sort, available to all, but when you get to the page where the video would be, you can protect the video (and other content on the same page), while leaving the page available to all with a notice for those without access. Here is another example:
As you can see, it is very flexible and you can build your page in a totally different way if you prefer. S2M would let you do so many things.
Thank you so much for taking the time to answer my question! It is very clear and what you did is great!
It is very clear now, the payment policy from S2member is also interesting.
Now I pay a yearly fee but I don’t use a lot so I think that S2 member is more for me.
Are you aware about templates for this? (Gutenberg of Elementor?)
The only thing will be that I have to learn everything over again with new software but if I can use it for a long time, then I am happy to do so.
Best regards, Philippe.
I am not aware of templates for that. I use Elementor myself. The MyAccount page is just built in the Classic WP editor. For the Basic Scrap course, it is simple Elementor blocks. Nothing fancy. And since I use Elementor, I could change my mind at any point if I want.
I made a page with elementor (list with different modules). How do you make that they show grey when there is access for a user who doesn’t has the correct role/S2member level?
When I do that (I placed the link from the page on the picture) I am redirected to the S2 membership options page.
Is it possible to make an overview list about where you are?
Something like this:
In the “protected page”, I only use ccaps and conditionals to protect the content and NOT the “extremey easy way”, with the box on the side of the page/post. Instead, I use code like this on the page itself:
here is the sale pitch with a buy now button (or form) for this class, because the user does not have the classABC ccap.
here is the content for that class (video, documents, pdf, etc.) because the member has that specific access to classABC ccap that was purchased
Using the “Extremely easy way” to protect the page by level or ccap (in that s2M box on the right side) will always redirect to the Membership Option page if the user does not have the proper ccap, and I find it much harder to sell individual classes on that page, especially if you have several classes.
I am not really sure. I don’t think s2M can actually track where a user is in a sequence of content. I don’t think it is meant for that, but maybe someone could have a way to retrieve information if a page was visited or a video played. It is not something I have looked into because all my modules/classes are independant from each other and don’t need to be taken in any particular order.
I moved my smaller website to Optimizemember because it promised ThriveCart support - and back then the s2member pro credit card checkout was horrible. I had little incentive to move back - because last year both plugins were pretty similar. However with Optimizepress no more updating optimizemember and not renewing their s2member licensing - it’s much better to move (back) to s2member.
Thrivecart never fully worked anyhow - and Optimizepress does not seem to have many/any qualified developers - based on that they never really developed anything on Optimizemember (Thrivecart working was more due to people convincing Thrivecart to integrate OPM than the other way round I guess).
In the case of the classes listed in the MyAccount page, the resulting pages are done in WP classic editor, but you could but that text in other Elementor widgets too.
One thing I found is that if you want to protect content on a page built with Elementor, you need to protect each widget individually, which can be annoying, so whenever I can, I use the WP Classic editor for that. That is why, out of the 650+ pages of my site, only about 50 were built with Elementor widgets. The rest are done with WP.
Ok that’s clear.
But where exactly in the elementor block do you put that code?
Because I see Layout, style and advanced but I have not idea where to put the code.
Can you please explain that? Thank you.
It would be in the content, just as if you were to put the code in the standard WP editor.
Here is an example where I am using Elementor widgets (blocks).
Each module is also built similar to the MyAccount page. The code used in one of the “modules” is in a “shortcode widget”:
[s2If current_user_can(access_s2member_ccap_mlab201909) OR current_user_can(access_s2member_ccap_diamond)]<a href="https://scrapbookcampus.com/the-lab/lab-9-module-09/" target="_blank"><img src="https://scrapbookcampus.com/wp-content/uploads/2019/08/Lab-9-09-300.png"></a>[/s2If]
[s2If !current_user_can(access_s2member_ccap_mlab201909) AND !current_user_can(access_s2member_ccap_diamond)]<a href="https://scrapbookcampus.com/the-lab/lab-9-module-09/" target="_blank"><img src="https://scrapbookcampus.com/wp-content/uploads/2019/08/Lab-9-09-300-BN.png"></a>[/s2If]
Sometimes, shortcodes can work fine in a Text widget, sometimes, in HTML widget, sometimes in Shortcode widgets, sometimes in Custom HTML widget. I am not 100% sure why some widgets will work or others won’t but it is easy to check.
OK i am not sure why it does not display as the code here, but hopefully, you can get a good idea.
Thanks for answering Carole.
How/where do you link the different pages in the shortcode?
Now I have the shortcode and the images are visible so all that is fine but how do I link the destination page in the shortcode?
In your shortcode, I cannot see it.
Thank you. Ph.
Glad I could help.
I find that s2M is so powerful that it can look intimidating for a newcomer. So many settings. So many options. But once you understand the principle of the protected content, the rest is yours to do whatever you want with it. I have been using it for over 8 years now and I learned a lot, even though I am not a programmer at all. (I am even allergic to html and css!)
If you have any other question, don’t hesitate to ask.