Page 1 of 1

Content dripping

PostPosted: January 28th, 2012, 5:09 pm
by Philly
I was wondering if there is a way of dripping posts not just the content of a post?

I know you can use
Code: Select all
<?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 30){ ?>
    Drip content to Members that started paying you at least 30 days ago.
<?php } ?>
to protect the contents of the post but the actual post itself would still remain visible to users not eligible to see

Thanks

Re: Content dripping

PostPosted: January 29th, 2012, 4:57 am
by Cristián Lávaque
You mean so the post/page doesn't even "exist" for that user until the right time comes, correct? No, it's not possible yet, but it should in a few months.

Re: Content dripping

PostPosted: January 29th, 2012, 8:00 am
by Philly
Thanks Cristián,

Yes thats what I mean, I look forward to that feature. I suppose a work around could be to create a custom post format.
Will it also be possible to protect directories based on time, so that a clever user can't access the content before the post is available?

Thank you

Re: Content dripping

PostPosted: January 30th, 2012, 11:05 pm
by Cristián Lávaque
Well, what you could do is create your own navigation menu with a Text widget and conditionals to decide what to display.

WP Admin -> Appearance -> Widgets -> Text
WP Admin -> s2Member -> API / Scripting -> Advanced/PHP Conditionals
WP Admin -> s2Member -> API / Scripting -> s2Member Content Dripping


And to not even load the page if the person still should wait longer, you could create a customization that checks the page ID and the user's registration time and redirects to the Membership Options Page if needed. Watch this video starting around minute 7, it's not about dripping, but it'll help give you an idea of what to do: http://youtu.be/h7zBH938VbA

I hope that helps. :)