cassel
My Latest Replies (From Various Topics)
Author | Replies |
---|---|
Author | Replies |
Posted: Wednesday Oct 10th, 2012 at 10:00 pm #28064 | |
|
|
I made up this code to try to translate into PHP:
How would the function be written with it (if it is even correct to start with). |
|
Posted: Wednesday Oct 10th, 2012 at 9:58 pm #28061 | |
|
|
Getting there (i think). My developper is currently not available so i ‘ll try to figure this one out myself. How is this for a code:
I have to get away from the PAID time in case i need to GIVE one membership for free. But since that is the ONLY membership i have at Level 2, i think it would work. What do you think? However in this example, i dont see the unit for the 7; it is days? weeks? hours? I used the examples in the s2Member PHP/API Constants. Can you correct it? |
|
Posted: Wednesday Oct 10th, 2012 at 7:47 am #27979 | |
|
|
I am not fluent in PHP language so i need a little “translation” here. In simple English, i would like to have a “conditional” that will determine if the condition is true or false so whatever i want to display, does display at that particular time. Here is what i need translated in php: if (member is Level1 AND has “element” ccap) OR (member is Level2 AND has “element” ccap” AND has been a level 2 member for x days): Can that be put in that function you mentioned above? Then, where does the function go? Then, what will the actual command calling the function look like? I think that is the only piece i am missing and then, i`ll be good to go. |
|
Posted: Wednesday Oct 10th, 2012 at 6:08 am #27969 | |
|
|
That would solve my problem!! Thanks. |
|
Posted: Tuesday Oct 9th, 2012 at 10:30 am #27895 | |
|
|
Cionsidering that the member is currently on Level 1 and i dont need to CHANGE that level, would the “upgrade to Level1” be useable? Or is that “upgrade to level 1” only available to Level 0 members? (which would not make sense since a paid subscription would not be a Level0 would it?) If i can use the Level 1 to modify a subscription to another Level 1, that would solve the problem. And if it is the case, it might be a good idea to add that tidbit of information since using ccaps is very powerful and probably used a lot, instead of levels. |
|
Posted: Tuesday Oct 9th, 2012 at 6:28 am #27874 | |
|
|
OK, i’ll try that. Thanks. |
|
Posted: Monday Oct 8th, 2012 at 9:53 am #27792 | |
|
|
Ok a few details here. 2- problem is: it only offers modification for changing level, not changing ccaps. In my case, i need to ADD ccaps to offer a more expensive membership, not change level. It seems to be the same whether using the button or the pro-form. Any other alternative to ask the member to manually go and cancel their old subscription on Paypal? |
|
Posted: Monday Oct 8th, 2012 at 8:36 am #27787 | |
|
|
Thanks. It will help with the testing. Do i HAVE to have a paid membership to test those? Also, if the PAID part is the trigger, how can i have a member who would be given a free membership (either manually or by other mean) and still have the content dripped? Or if anything is not automatically set, how can i manually set it (if it is even possible)? While at it, i currently have this code (not active yet):
And this will drip content to Level 2 members with the “element” ccaps. Will this ONLY drip content to the Level 2 and leave anyone with Level 1 alone, or do i have to also add that everyone with Level 1 and “element” (no matter the time they registered or paid) can access all that content (since i am adding stuff every week, it is dripping anyways)? How should the code look like?
|
|
Posted: Monday Oct 8th, 2012 at 8:31 am #27786 | |
|
|
Oh,. i knew a detail had escaped me. And in my case, the upgrade button is ONLY available to specific members with particular ccaps so they HAVE to be logged in to see the button. That would work. I’ll check that and report back if it does work as intended. Thanks. |
|
Posted: Saturday Oct 6th, 2012 at 1:40 pm #27668 | |
|
|
OK i am in the process of updating my page to allow for dripping. I am currently using a test page, and using this code i have the preview visible with the link IF the member meets the time requirement, and the preview without the link IF the member does not meet the requirement. Or at least, that is the plan. The “problem” right now, is how to i test it? I have a few “test members” but they dont PAY, so if it is based on the start of the PAYING process, my test members will never be as a regular member should be. Can it be coded in minutes or hours, even if just for the testing? Can i just replace the “days” mention to “minutes” or “hours”? But again, how do i test it with a test member that is not paying if the pay process is the trigger for that? |
|
Posted: Thursday Oct 4th, 2012 at 2:27 pm #27467 | |
|
|
Erin, did you get this problem right from the start or was it working fine at one point and then started to redirect when you didn`t want it to? |
|
Posted: Wednesday Oct 3rd, 2012 at 6:24 am #27323 | |
|
|
Yeah, i was refering to the date for the recurring membership payment. From what i could read, there was information on initial registration, registration at a specific level and such, but for a specific transaction that is not “new registration” or “registration to Level1”, but just “yet another transaction that happens to be a subscription, possibly after having purchased something else at that same level”, it didn’t seem possible.
Hum… i’ll have a play with this one because when i inserted some php code initially (or the programmer did), i got an error so he suggested the shortcode could not contain php. We’ll look again. Thanks. I am sure i’ll be back! :) |
|
Posted: Tuesday Oct 2nd, 2012 at 7:39 am #27208 | |
|
|
Thanks. |
|
Posted: Monday Oct 1st, 2012 at 7:16 pm #27157 | |
|
|
This is still a bit confusing for me, and a tiny bit above my comfort zone. Would you mind showing me the actual code for that?? The “problem” i have is that from what i understand (and i probably dont understand correctly) it is the time when the member paid to reach that level (in my case, level1) BUT i have several products that are associated with Level1, and all have ccaps, but only ONE has a recurring membership. So, how can i extract THAT particular date? Also you are mentioning the pro-form. I could not find where to get a php version of the pro-form. Where is it? |
|
Posted: Monday Oct 1st, 2012 at 7:13 pm #27154 | |
|
|
Oh thanks for pointing that detail. I knew it had to be added somewhere. |
|
Posted: Monday Oct 1st, 2012 at 2:33 pm #27111 | |
|
|
You can likely achieve that with custom capabilities (ccaps) instead of levels since levels are hierarchical so level 4 sees everything level 3, 2 and 1 see, and level 3 sees all that level 2 and 1 see, and so on. But with custom capabilities (you can use only level 1 if you want), you can have one ccap called “Executive” and one ccap called “representative”, so Bill would be granted access to content protected by the “executive” ccap, John would have access to the content protected by the “representative” ccap and Ann will get access to both. All with Level 1. That can be done with the free version. As for Buddy Press, i am not familiar with it so i cannot answer, but i am sure someone more knowledgeable will come and chime in. In the mean time, you can watch the video Custom Capabilities just below this page. |
|
Posted: Monday Oct 1st, 2012 at 1:23 pm #27099 | |
|
|
Hum.. since everyone likely has a different date of payment, that solution wont work, right? Or is there a way to just change the paypal AMOUNT without changing the date? It also means that if someone paid their regular monthly subscription yesterday, and they click the button for the new subscription today, they will be billed again today even if it is only 24 hours after the last payment?
|
|
Posted: Monday Oct 1st, 2012 at 1:20 pm #27096 | |
|
|
ONe current “annoyance” of s2M is that the visitor cannot make two purchases at the same time. They can only purchase ONE, go through the process, and come back for a second one if they want to. Hopefully, it will be a new feature in the next major release. |
|
Posted: Monday Oct 1st, 2012 at 6:33 am #27047 | |
|
|
I have a similar situation where i have a lifetime course which is a single purchase, called “basic” and a monthly subscription called “element”. They work fine together. The only “problem” is that once a member is registered (free or having purchased the other ccap), and they purchase something with the ccaps, IF they are not logged in, the s2M does not seem to be able to associate the purchase (made while not logged in) to a member who will log in minutes later. That is why it states that the member has to be logged in. But if it is a new member, no problem. What i found is that (while i can still manage the number of registrations), i have to go check each purchase to make sure the ccaps are added properly, and if not, i add them manually. You can also add, in small characters, something beside or below the purchase button that “if they are already registered, please log in before clicking”. Of course, another alternative would be to use conditionals and only let the purchase button appear if they are logged in, meaning you would require everyone to register at a Level 0. Depending on your target, it might or might not be convenient. |
|
Posted: Sunday Sep 30th, 2012 at 7:27 pm #27029 | |
|
|
I am just a bit unsure now, how to code the php. I want the content to be dripped weekly, so i would use multiple of 7 days (unless there is a way to use weeks?). So far, i figured how to set up the basic of the time but where do i include the ccaps? Or do i have to since all those pages will have the same ccap?
I am using Level 2 to drip content as it is currently available for members on level 1 where the content was naturally dripped as i was adding it weekly. So the questions are: is that setting things up properly? (it is hard to test) and what do i do with the ccaps as i want only the pages currently protected with a specific ccaps to be dripped? |
|
Posted: Friday Sep 28th, 2012 at 1:10 pm #26866 | |
|
|
For new members, i would not know why it is not working as expected. Maybe Cristian, Eduan or Raam might chime in. For previously registered members, it is likely because s2M does not KNOW the transaction belongs to an existing member. I guess it does not have a feature (yet), to compare and find the “matching” account. I think they are looking into that for the next release.
|
|
Posted: Friday Sep 28th, 2012 at 12:42 pm #26863 | |
|
|
Is the paying member a brand new member? or an existing registered member who is now paying for something? I found that if an existing registered member makes a purchase without being logged in, s2M does not seem to know what to do with those information. I have had EOT and ccaps not being automatically added in those cases. Would that be your situation? |
|
Posted: Friday Sep 28th, 2012 at 8:35 am #26837 | |
|
|
Thanks. Off to study. |
|
Posted: Thursday Sep 27th, 2012 at 9:50 pm #26780 | |
|
|
It is done just the same as the Buy Now. I have both on my site: one course that is “pay once and access all the time” and one “pay now, and keep paying every month to keep the access”. |
|
Posted: Thursday Sep 27th, 2012 at 9:20 pm #26779 | |
|
|
All my content is currently protecte with a conditional called “Element”, and it is for my Level1 members. |