cassel
Forum Replies Created
-
Yes, by using conditionals, it is very simple (even if the code can look scary). I am using something like this on my own site:
[s2If current_user_is(s2member_level0)]<img alt="" src="your image for level0" /></a>[/s2If] [s2If current_user_is(s2member_level1)]<img alt="" src="your image for level1" /></a>[/s2If] [s2If current_user_is(s2member_level2)]<img alt="" src="your image for level2" /></a>[/s2If] [s2If current_user_is(s2member_level3)]<img alt="" src="your image for level3" /></a>[/s2If] and so onSince the user can only have ONE level, they will always fall into one of the categories you list (making sure you do list all the levels you are using).
On my site, I use a black and white image of a course they do not have access to, but linked to the sales page, and a colored image if they have access to, linked to the course page (a nice way to advertise what you have to sell!)
First, one member cannot be both at level 1 and level 2, so you would have a problem allowing both parts to the same member. Instead of using levels you can use custom capabilities and conditionals, so you can have one purchase button that will include the ccap “Part1”, one will include “Part2” and one will include “Part1,Part2” in the ccaps.
Then, in displaying the content, you would go with something like this:
[s2If current_user_can(access_s2member_ccap_Part1)] Display Part1 content [/s2If] [s2If current_user_can(access_s2member_ccap_Part2)] Display Part2 content [/s2If]So, in this case, if a member has only Part1 access, only Part1 will be displayed. If they have Part1 and Part2, both will display. And if a member has only Part2 (if you have that option available) only Part2 content will be displayed.
Maybe that would work?
I have heard of something like that but it is a third party product developed initially for a company (so it is a BIG product). You might want to still have a look at it and contact the programmer if you need more information.
http://krumch.com/2013/07/09/kc-groups-management/?ap_id=CasselNot sure if it is exactly what you need, but worth checking.
(this is an affiliate link but only for tracking purposes; I am not getting any compensation for it)
If you are using Krum’s hack, you can use the conditional to make content disappear. Check the other thread.
This is not a feature integrated with s2Member per say, but there is a small third party hack you can purchase (sorry, it is not free), that can do exactly that:
http://krumch.com/2012/11/06/kc-s2member-ccap-drip-timer/?ap_id=Cassel
(this is an affiliate link for tracking purposes; I am not getting any compensation for it)That hack allows you to drip content based on the purchase date, and not the registration date (which might differ). Also, you CAN drip multiple classes simultaneously, even if they didn’t start at the same time, or have the same dripping schedule (although you can only have one recurring payment). I am using that hack and I can code something like this:
[s2If kc_drip_element(17_weeks) AND !kc_drip_element(18_weeks)] Show content for week 17 [/s2If]In my case, it will display the content for one week only, but you can use the time period you choose.
Do you mean on top of the header? That is an Easy Hook inserted through my Headway Theme. It is not specifically added from s2M.
Here is just an example from my site:
http://scrapbookcampus.com/membership-options/That is definitely not the only way to have one.
If I am not mistaken, you just have to edit the code for the button and replace the “7” by “30”.
You might need to tweak this but I had a similar question when I wanted users to login/register (using linked words on top of my site) and come back to the page they were on to view the protected content, instead of having to navigate or get lost trying to get back to that particular page. Here is the code I was given:
[s2If !is_user_logged_in()]
<span style=”font-size:10pt;”>” title=”Login”>Login </span>
<span style=”font-size:10pt;”>
Register</span>
[/s2If]I hope you can find out how to tweak it but this is working for me, so it should work for you too.
Good luck
Based on my own experience, integration with ClickBank is only with the pro version.
If you purchase for one website, you should be able to pay only the difference, unless it has changed because that is how I got mine.
Does s2M integrate with Simple Press as far as protected sections based on ccap or levels?
There is actually a third party hack that was developed last year or so. It is based on a magazine subscription idea where you can get access to content starting when you PAY for it, not when you register to the site (so you can have a free member for 3 months who chooses to pay after only).
Check out this hack: http://krumch.com/2012/11/06/kc-s2member-ccap-drip-timer/?ap_id=Cassel
This is an affiliate link for tracking purposes; I am not being compensated for it.Forum: Plugins
In reply to: [Marketing Optimizer] Initial QsAs I installed this plugin on my test site, I tried to set up an experiment. I probably clicked on the wrong thing and I am trying to delete what I started. It does not delete anything. Is there a way to delete experiments or do we necessarily keep them all, all the time?
Forum: Plugins
In reply to: [PlugNedit] Using short-code with PlugneditWell, I tried, but I might not know all the possible features or downfalls of this wonderful plugin. I will send you an email directly so I can share some specific info on my site.
ThanksForum: Plugins
In reply to: [PlugNedit] Using short-code with PlugneditI tested php code for conditional and that works fine; I can incorporate my buy now button with all the necessary code.
I tried using the embed video/html layer and entered this code:
[s2If is_user_logged_in()] Content for anyone that is logged in, regardless of their Membership Level. [/s2If] [s2If !is_user_logged_in()] Some public content. They're NOT logged in. A leading !exclamation means false. [/s2If]However, if I leave the layer visible, everything stays visible, including the code and if I uncheck the box as you suggest to make it invisible, everything is invisible, including what should be visible. How would I wrap content inside conditional shortcode? Should it be in the same “layer” or would it read the code in successive layers order?