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.

feature needed content dripping +level access

Home Forums Community Forum feature needed content dripping +level access

This topic contains 1 reply, has 2 voices. Last updated by  Cristián Lávaque 4 years ago.

Topic Author Topic
Posted: Wednesday Dec 19th, 2012 at 9:00 am #35038
leo baccus
Username: leobaccus

Hello, we have a membership with amember and we would like to pass it to s2member becouse we are doing a big website wp based.

We are deciding between this plugin and some others, but we are now trying this in the free realease.

We have a problem in our testing:

– we need to put DRIP CONTENT + LEVEL MEMBER conditions, and we have trouble in this

example:

page1:

level 1 see something everytime (like please upgrade)

level 2 see:
if he subscribed 15 days — he see something else

we tried both with php + shortcode
example:

[s2If current_user_is(s2member_level2)]
    Some premium content for Level 2 Members.
    
    <?php if(S2MEMBER_CURRENT_USER_REGISTRATION_DAYS >= 15){ ?>
    Drip content to Users who've been registered for at least 15 days.
<?php } ?>

<?php if(S2MEMBER_CURRENT_USER_REGISTRATION_DAYS < 15){ ?>
    wait for it... blabla
<?php } ?>
[/s2If]

We studied both:
API / Scripting -› Content Dripping
and PHP/API Constants to learn more about Content Dripping.

or we tried the same with just php…

but the result is a white page (no content displayed) like a php conflict or a permission conflict.
we would like to know if it’s possible and the exact php script to test, probably the problem is we are not good in php (but with other membership it was no scripting)

If our test with this small member works we can do the change from amember and buy this wp plugin.

Thank you very much i see s2member have a great support.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Dec 20th, 2012 at 7:39 am #35134

Hi Leo.

I don’t see a syntax error in your code. Not sure if you have that problem because of the mix of shortcode and PHP conditions. Could you try using just PHP?

[hilite pre_code]

Some premium content for Level 2 Members.

wait for it... blabla

Drip content to Users who've been registered for at least 15 days.


[/hilite]
Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

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.