cassel
My Latest Replies (From Various Topics)
Author | Replies |
---|---|
Author | Replies |
Posted: Saturday Jan 11th, 2014 at 11:19 am #62572 | |
|
|
You can use the levels like that or you can call the course something else, just so you don’t get confused with the levels which are, by default, incremental. The simplest way to protect the content is with the little box on the top right when you add a page or a post, where it says “Require Custom Capabilities?”. There, you would enter Course1, or Course2, etc. If you want/need to use conditionals instead, it could look like this
So your purchase button would have something like this for single course:
but the bundle would be coded like this:
Would that work for you? |
|
Posted: Friday Jan 3rd, 2014 at 1:57 pm #62404 | |
|
|
Maybe some simple troubleshooting first: |
|
Posted: Friday Jan 3rd, 2014 at 1:20 pm #62402 | |
|
|
Do you mean that Instructor is a role they have? Could you try changing that to S2Member Level 2 and see how it affects the outcome? I have never used other than the s2M levels, subscribers (which means level0) and admin (for me) so I am not sure how it would play but that is something to look into. Maybe those roles do not play well with something else? |
|
Posted: Friday Jan 3rd, 2014 at 12:48 pm #62400 | |
|
|
The code is correct. You got it pretty much from the start. There seems to be something else. |
|
Posted: Friday Jan 3rd, 2014 at 12:02 pm #62397 | |
|
|
I have had a similar situation on my site and I found out that the easiest way was to copy the content like this:
It can be annoying to duplicate the content, but I found out it works for me and is simpler to “reason”. |
|
Posted: Friday Jan 3rd, 2014 at 11:43 am #62395 | |
|
|
And with this code, everyone sees everything? No restriction? |
|
Posted: Friday Jan 3rd, 2014 at 11:33 am #62393 | |
|
|
Based on my own experience on my site, here is a possible solution (there might be something “prettier” but this is all I know)
And so on. I think you have to use the php because of the javascript code in there. Would that work? |
|
Posted: Friday Jan 3rd, 2014 at 11:26 am #62391 | |
|
|
In fact, it is easy with s2M… the problem is that the system is so “down to the letter” that it cannot read our mind! We just have to think EXTREMELY literal. Content A = for only those with “trainee” ccap You want this content B to be accessible to all.
Now you want content A ONLY for those with the trainee ccap:
It is just switching things the other way. Does this work?
|
|
Posted: Friday Jan 3rd, 2014 at 11:04 am #62388 | |
|
|
Are you testing this as an admin? Or do you have a test user without admin privileges? |
|
Posted: Friday Jan 3rd, 2014 at 10:49 am #62386 | |
|
|
Try this code instead (change the AND by OR):
|
|
Posted: Friday Jan 3rd, 2014 at 10:34 am #62383 | |
|
|
Since both levels are Level 2, maybe you don’t need to add this to the conditional (unless you have other levels/ccaps to distinguish them from). The code you are displaying seems ok. Where are you getting the wrong display? What do you get instead? |
|
Posted: Friday Jan 3rd, 2014 at 10:19 am #62381 | |
|
|
S2Member should not be able to do that. As far as I know, it cannot handle two EOT or 2 concurrent recurring membership payments. That being said, it made me realized that I had one customer who has been paying twice, every month. I’ll be following this thread for an explanation. Maybe a bug in the system can allow us to offer two concurrent membership payments. |
|
Posted: Wednesday Jan 1st, 2014 at 2:09 pm #62346 | |
|
|
If you buy that hack, the instructions are detailed. And if it is not clear enough, Krum would be happy to help you. |
|
Posted: Saturday Dec 28th, 2013 at 6:58 pm #62218 | |
|
|
I have been using a hack coded by Krum to do something like that (in fact, I have more than one hack in use). One will allow the user to start getting access to content from the time they “purchase” the subscription, and will get everything after that purchase. A bit like a magazine subscription: you pay now, so you start getting access now. If you want past issues, you have to purchase them separately. This hack is called Clock Timer: The second hack he coded for me allows you to start a dripping content based on the member’s purchase date and not the registration date (which might be different). I am not sure if this would address all the requirements you have, but it might. And if it is close to what you want but need some tweaks, Krum can customize it for you. (although those above are affiliate links, I am not getting any commission; it is only for tracking purpose)
|
|
Posted: Saturday Dec 28th, 2013 at 9:23 am #62198 | |
|
|
If this might be considered a bug of a newer version, you might want to direct the tech support attention to it (this is a community forum so they might not see it). Check out on top of this page for the Help/Docs and Contact a Human. If it is a bug, I am sure they will appreciate. |
|
Posted: Friday Dec 27th, 2013 at 4:27 pm #62186 | |
|
|
I think it looks good. |
|
Posted: Friday Dec 27th, 2013 at 4:05 pm #62184 | |
|
|
You need to put that code for all the content you want to protect. |
|
Posted: Friday Dec 27th, 2013 at 3:50 pm #62182 | |
|
|
You can test it by creating a test user, give the user a level and check. Use different browsers for you, the admin, to give the access, and the test user to try it. |
|
Posted: Friday Dec 27th, 2013 at 2:03 pm #62176 | |
|
|
Well, if you can set the member’s level, then you can use this code:
but since you want some members to have access to more than one level content, you would have to add something like this too:
This is a little bit more coding that I personally like but it is still feasible. Would that work? |
|
Posted: Friday Dec 27th, 2013 at 1:41 pm #62171 | |
|
|
I don’t know that payment system, but how do you include levels or ccaps for this payment system? |
|
Posted: Friday Dec 27th, 2013 at 1:13 pm #62169 | |
|
|
Hi Marjan, This will be pretty simple once you get the hang of it. The “problem” is using the Levels make things confusing because S2Members creates levels to be cumulatives, but if you don’t want them cumulative, you should use ccaps – Custom Capabilities (even if you call them LEVELS). Let’s say you have content A, B, C, D, E, F So you will protect Content A within these shortcodes:
Now, since a member cannot be at more than one level, that is why you will include the LEVEL as a ccap instead. So in your Paypal button, you will have LEVEL1 or LEVEL2 or LEVEL3 included. If you want a member to purchase the content to more than one level, then you include all of them like LEVEL1,LEVEL2,LEVEL3 in the ccap. So what you call LEVEL4, does not need to have its own ccap since LEVEL4 = LEVEL1+LEVEL2+LEVEL3 so since the member will get all those levels in their ccaps, they will be able to access the content you protected with the shortcodes. Does that seem clearer? |
|
Posted: Thursday Dec 26th, 2013 at 4:11 pm #62148 | |
|
|
aus_team, when I fill out that form and don’t need those info, I just enter bogus data like “123” in each of them. It works! But I also mentioned that to them.
|
|
Posted: Thursday Dec 26th, 2013 at 4:09 pm #62146 | |
|
|
Yes it would work. You can assign a custom capability to each video and have them accessible only if the viewer has that ccap. The “problem” however, is that s2Member does not work like a shopping cart, meaning that until now, a viewer can only purchase ONE product. That product can be a bundle of several ones, but in that case, they have to purchase it as a bundle that you have set up. But if the member wants to buy video #13 now, and #28 in 5 minutes, it will work. Just annoyingly as the member has to make 2 purchases and it will cost you 2 transaction fees. |
|
Posted: Saturday Dec 21st, 2013 at 12:26 pm #62076 | |
|
|
I personally like the idea of making a main page, with the two options spelled out and then, direct each option to its own page with a pro-form if you want. I find it looks like a seamless process (even if you add one click) to get to the form to fill. Maybe give this a try with a few pages and see how the process flows. |
|
Posted: Friday Dec 20th, 2013 at 5:36 pm #62071 | |
|
|
Definitely. The system cannot have two forms on the same page. It can have several buttons, but not pro-forms.
Your custom= variable has to have the whole URL, including the http and such, while in your example, it only has part of the URL. Try to add the complete URL and see if it works better.
|