latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

cassel


My Latest Replies (From Various Topics)

Viewing 25 replies - 476 through 500 (of 644 total)
Author Replies
Author Replies
Posted: Friday Aug 17th, 2012 at 1:15 pm #22372
cassel
Username: cassel

From what i read, this hack can set a free registration and it goes by level, but if i want to have a particular package that is determined by ccaps, and not levels, is there a way to do it?

Posted: Friday Aug 17th, 2012 at 9:14 am #22343
cassel
Username: cassel

By MC do you mean MailChimp? If so, yes, the integration is based on Levels, and each level can add the user to more than one list/group in MailChimp.

The problem i have is that i am not using levels, only 0 and 1 and tons of ccaps

2- if not, can i install s2M completely from scratch on a /fr sub-domain?
Yes. They’d be independent from each other.

I guess that would allow to have completely separate mailing lists on MailChimp!

3- would i need a fresh WP install on such a sub-domain to run another instance of s2M?
What do you mean? If it has to be a new WP installation or it can be an existing one? You can use s2Member regardless of WP being a new installation or not. Or did I misunderstand the question?

Well, since s2M is a plugin, i thought it would “apply” to all the pages of one WP installation, so if i want to install another instance of s2M, then i figured i would have to have it on a “different” WP install. Does it make sense?

Posted: Friday Aug 17th, 2012 at 9:05 am #22339
cassel
Username: cassel

Considering that membership can be like magazine subscriptions, i am sure it could help others with their sites. Thanks for considering adding it to the “request list” for Jason.

Posted: Thursday Aug 16th, 2012 at 10:47 pm #22295
cassel
Username: cassel

Not what i wished for an answer, but very clear. I’ll go for a workaround then. Thanks for your patience.

Posted: Thursday Aug 16th, 2012 at 1:45 pm #22266
cassel
Username: cassel

Raam, i read what you refered to, but i wonder if it is possible to get such a free registration but restricted by ccaps?

Posted: Thursday Aug 16th, 2012 at 9:27 am #22232
cassel
Username: cassel

OK i will just be very specific: can the date of a specific transaction be retrieved? I can deal with the rest, the conditionals and such. I just want to know (if it exists) where is the time of a specific transaction.

Posted: Wednesday Aug 15th, 2012 at 1:01 pm #22130
cassel
Username: cassel

Sorry it didn’t help. I am sure a support rep will be able to add more useful information for you.

Posted: Wednesday Aug 15th, 2012 at 11:52 am #22112
cassel
Username: cassel

Maybe you could have both options on the same page, with description and such, and each “buy now” button would actually lead to a separate pro-form on a separate page? Would that work?

Posted: Wednesday Aug 15th, 2012 at 11:50 am #22111
cassel
Username: cassel

Try this code:

[s2Member-PayPal-Button level="1" ccaps="ssreaugust" desc="Success in Senior Real Course 1 payment $497" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="seniorsrealestateinstitute.com" ta="0" tp="0" tt="D" ra="497.00" rp="6" rt="M" rr="BN" rrt="" rra="1" image="default" output="button" /]

your code included ps=”srei” instead of ps=”paypal” Not sure if it was intended or just a typo.

Posted: Wednesday Aug 15th, 2012 at 8:59 am #22089
cassel
Username: cassel

You say “get the date from that”. It means that the date of a specific transaction for a specific member IS stored somewhere? (any idea where?)

You’d have to protect pages with a hack

Can that by dynamic so that different purchases at different time, will protect different pages? If so, i can find a way to retrieve the date for the particular user/purchase, and have some conditionals like you explained above, with a sign, right?

If we can figure out some code for that, i am sure others will be able to benefit from it. A bit like any subscription where someone can only read the magazines released AFTER they paid, whenever that is.

  • This reply was modified 4 years, 4 months ago by  cassel.
Posted: Wednesday Aug 15th, 2012 at 8:17 am #22073
cassel
Username: cassel

Cristian, i am unclear with your answer. Do you mean that i could create a coupon useable for any pro-form or do you mean that the one coupon i created, the customer could use it on any pro-form on my site, getting a deal on anything he chooses?

If that is the case, what is the page # for? For the page where it can be used or for the product it can be used against?

ETA: by testing, it looks like the # is the page where the pro-form is located. So the coupon is valid ONLY on that page. I guess if i didn’t specify that page #, then a customer could use it anywhere. Can you just confirm that?

  • This reply was modified 4 years, 4 months ago by  cassel.
Posted: Tuesday Aug 14th, 2012 at 4:54 pm #22030
cassel
Username: cassel

Gillian, ccaps and conditionals are extremely powerful and not that hard to manipulate. And you can use them with the free version.

Posted: Tuesday Aug 14th, 2012 at 4:14 pm #22026
cassel
Username: cassel

Hi Dean, from what i can read, there is no way to get something free with a coupon. The information is clear about that:

* s2Member will NEVER allow the Regular Billing Rate ( or Total ) to be less than: $0.01.
If you want to offer something 100% free, please use a Free Registration Form instead.
Either that, or you can offer a Free Trial Period in your Shortcode.

Posted: Tuesday Aug 14th, 2012 at 10:43 am #22003
cassel
Username: cassel

I think i was not clear in explaining what i am looking for. I’ll try again.

I have various workshops, and they have each a ccap of wjan2012, wfeb2012 and so on. I CAN change that if needed.

I want someone who might want to purchase the “workshop membership” to be able to get all the workshops AFTER they make that particular purchase. So if somone buys the package today, he would have the workshops starting from September and on, but someone who would buy the package in November, would have only December an after.

I can change the ccaps for the workshops to match the date format. That i am ok with it. But how do i retrieve the date of the purchase of THAT specific package and not when the customer made the first purchase on my site, or when they first registered, and so on. I just need to find a way to have a date on the specific transaction for this package only.

Is that possible?

Posted: Tuesday Aug 14th, 2012 at 8:47 am #21971
cassel
Username: cassel

I was not clear on the question for the ccaps. I am just wondering if i make a coupon (like in the example above), if it will be useable ONLY on page #1963, where it is a particular pro-form to purchase a particular product, or can they use the coupon anywhere else, like on page #1399 too?

It is just that the pro-form on that particular page, is to sell a product associated with a specific ccap, and another pro-form on another page will be for a product with different ccaps.

Posted: Monday Aug 13th, 2012 at 8:22 pm #21934
cassel
Username: cassel

But you can generate the ccap names using that date format. Your time checks would need to be implemented by your code, getting the date from the name’s string,

???? would you mind translating this in plain English for poor ol’ me? Could you give me an example? (or more than one?)

Posted: Monday Aug 13th, 2012 at 7:21 pm #21920
cassel
Username: cassel

I am still unclear, so if you are still patient, could you clarify for me?

Is the time of transaction related to a particular transaction (say one member makes two separate purchases)?
I see it can be associated with reaching a level with this:

$time = s2member_paid_registration_time ("level1"); # first "paid" registration or upgrade time at Level#1.

Can a time of purchase be somehow associated with a ccap?
Are they in that format (like 20120811) by default or do i have to convert it somehow?

  • This reply was modified 4 years, 4 months ago by  cassel.
  • This reply was modified 4 years, 4 months ago by  cassel.
Posted: Monday Aug 13th, 2012 at 8:10 am #21862
cassel
Username: cassel

I can offer you a partial response with something i was explained in here where i started. At the time, using the menu “conditionally” was not an easy thing so i did something a little different: a redirect depending on the ccap.

Here is an example. I have the sale pitch on this page
http://scrapbookcampus.com/register-basic-scrap-course-with-psp/
and the page with links for those who already purchased here
http://scrapbookcampus.com/welcome-to-the-basic-scrapping-course/

So, try the second link. It will briefly flash and direct you to the first one, because you do not have the necessary ccap.

Here is the code i am using on one of the sale page for the “basic” ccap

window.location = ‘http://scrapbookcampus.com/welcome-to-the-basic-scrapping-course/’;

What it says is that if the visitor has the “basic” ccap (or is an admin), send them to the other page instead. I had to add the admin so i could access the page myself if i needed to check something. I added that conditional for both pages.

So in light of this, i am pretty sure you can do something similar for the roles you are wanting. Of course, if you want something with the navigation menu, someone will come and give you the details about that.

Posted: Monday Aug 13th, 2012 at 7:06 am #21860
cassel
Username: cassel

I am sure there are various methods to do it, but in my case, i am using conditionals:

[s2If !is_user_logged_in() ] – this means, “if the user is NOT logged in”
i put the sale pitch
[/s2If]
[s2If is_user_logged_in() ] – this means “if the user is logged in”
i put the list of links to whatever i want them to access

and you can do the same with ccaps

[s2If !current_user_cannot(access_s2member_ccap_music)] – this means, “if the user does not have the ccap “music”
i put the sale pitch
[/s2If]
[s2If current_user_can(access_s2member_ccap_music)] – this means “if the user has the ccap “music””
i put the list of links to whatever i want them to access or it can be the content itself

Hope it helps.

  • This reply was modified 4 years, 4 months ago by  Eduan. Reason: Modified conditionals, always reflected NOT instead of yes and no
Posted: Sunday Aug 12th, 2012 at 9:46 pm #21844
cassel
Username: cassel

Yes, that is right. That will then give access to this page only to the users with that particular ccap. And yes, it is a fowerful feature, even more when you can use conditionals!

Posted: Saturday Aug 11th, 2012 at 9:21 pm #21796
cassel
Username: cassel

Hi, i am not support rep, but a user like you. Custom capabilities (ccaps in short) can be used in two main ways:
1- you can enter the ccaps (whatever word you want to use is fine) in the top right box where you see “Require Custom Capabilities?”
This will make the whole page unavailable for any user who does not have that ccaps access.

2- you can use it with conditionals, where you can show part of a page for those who have specific ccaps, and other content for others.

Then, you have to assign the ccaps to the user mainly with the buttons or pro-forms, when a member registers (i think you can assign ccaps with free registration, but i am not sure how, since i dont use it myself).

For an example, on my site (http://scrapbookcampus.com), members can be given the ccap “basic” if they purchased the Basic course, and the pages with the various lessons are protected with that box (on top right). I am also using ccaps for various workshops i have: if the user does not have the ccaps for a particular workshop, they will see a “sale pitch”, but if they do have it, they will see the actual video and link to download the documentation. For the workshops, i have them assigned individually as wjan2012, wfeb2012, etc.

Hope it helps. If you have more questions, don’t hesitate to ask. Someone will surely be here to help.

Posted: Saturday Aug 11th, 2012 at 7:56 am #21764
cassel
Username: cassel

Then, may i ask a quick explanation for those codes? Where do i use them? In a hack file? in a conditional directly?

Posted: Friday Aug 10th, 2012 at 6:05 am #21690
cassel
Username: cassel

Oh i see. Thanks!

Posted: Friday Aug 10th, 2012 at 5:46 am #21686
cassel
Username: cassel

That might do, once i figure out how to use that, but i had seen a post/thread where the code was explained (like where to use what you just pointed me to). Any idea?

Posted: Thursday Aug 9th, 2012 at 8:42 am #21621
cassel
Username: cassel

I am pretty sure i saw someone post the simple code to extract the date of the transaction, but i cannot find it. Could someone direct me to it please?

Viewing 25 replies - 476 through 500 (of 644 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.