PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Content dripping

s2Member Plugin. A Membership plugin for WordPress®.

Content dripping

Postby Philly » January 28th, 2012, 5:09 pm

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
User avatar
Philly
Experienced User
Experienced User
 
Posts: 48
Joined: December 19, 2011

Re: Content dripping

Postby Cristián Lávaque » January 29th, 2012, 4:57 am

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.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Content dripping

Postby Philly » January 29th, 2012, 8:00 am

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
User avatar
Philly
Experienced User
Experienced User
 
Posts: 48
Joined: December 19, 2011

Re: Content dripping

Postby Cristián Lávaque » January 30th, 2012, 11:05 pm

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest