Page 1 of 1

Incremental membership, qTranslate for S2 pages

PostPosted: August 11th, 2011, 10:55 am
by dfumagalli
Hello,


First question

I have a specific requirement that does not seem to be covered neither by the API / Scripting functionalities nor by the content dripping feature. It's about controlling the Membership Options itself.

Basically the process has to go like this:

1) Regular Worpress members see just the free sections of a Simple Press forum.

2) User pays and gets to s2M level 1. The corresponding s2M Level 1 role is assigned. Simple Press forum integrates with Worpress API so it will also "see" that such user is now S2M Level 1 and will enable a part of the premium forum.

3) Only after 3 months that user can press the level 2 paypal button, that will end up enabling more of the forums

4) After more 3 months the process repeats for level 3. The process will continue like this.


Now the question is: how do I selectively show only the relevant Paypal buttons for that user, in the Membership Options page?

I need to make the user only

- Press the first button and pay for 3 months, then after 3 months must press button 2 in an "incremental way" and so on.

or

- Press one button (all buttons make him pay the same amount). The first press would assign the user the S2M Level 1, then it should disable till expiration. Then the paypal button would show again and when pressed it would assign the user S2M Level 2. Then rinse and repeat for the next levels.


Sadly I don't have extensive PhP abilities and did not see where in the Simple Press forums I am meant to put possible S2M conditional code.



Second question

How do I integrate S2M with qTranslate? I'd need to show all the various pages in two languages, I only seem to get English and US only provided Paypal buttons.

Re: Incremental membership, qTranslate for S2 pages

PostPosted: August 11th, 2011, 1:23 pm
by Bruce C
For the first question, that can be done through content dripping.

Check it out under s2Member -> API/Scripting -> s2Member Content Dripping

Tell me if that helps!
:)

Re: Incremental membership, qTranslate for S2 pages

PostPosted: August 11th, 2011, 1:36 pm
by Cristián Lávaque
1) Yep, what Ace said.

2) WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes (Explained) -> lc and image

I hope that helps. :)

Re: Incremental membership, qTranslate for S2 pages

PostPosted: August 11th, 2011, 2:27 pm
by dfumagalli
Thank you for the prompt responses!
Tomorrow morning I'll be able to check them on the website.

Re: Incremental membership, qTranslate for S2 pages

PostPosted: August 11th, 2011, 2:33 pm
by Cristián Lávaque
:)