Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 12th Feb 2013, 02:52 PM   #1
Premium Member
War Room Member
 
Jeremy Lacer's Avatar
 
Join Date: 2010
Location: Netherlands
Posts: 213
Thanks: 28
Thanked 36 Times in 23 Posts
Default
[S2Member] Lock a post by date
Share on: 
fb share twitter share gplus share more share

Hello Warriors,

I'm currently creating a membership site with the plugin
S2Member. There are a lot of options to lock your content,
but I don't know how to lock a post or page by the number
of days that someone has joined.

For example:
When someone joins on day 1, page 1 should be available on day 1,
page 2 should be available on day 3 etc.

Is this possible?

S2Member can use all the wordpress codes and looks like this (an example):

[s2If is_user_logged_in()]
Content for anyone that is logged in, regardless of their Membership Level.
[/s2If]

[s2If !is_user_logged_in()]
Some public content. They're NOT logged in.
A leading !exclamation means false.
[/s2If]

Thanks very much .
Jeremy Lacer is offline  
Unread 12th Feb 2013, 04:34 PM   #2
WP Dev & Design
War Room Member
 
Join Date: 2011
Location: Earth
Posts: 787
Thanks: 92
Thanked 271 Times in 226 Posts
Blog Entries: 4
Default
Re: [S2Member] Lock a post by date
Share on: 
fb share twitter share gplus share more share

Originally Posted by Lebowski View Post

Hello Warriors,

I'm currently creating a membership site with the plugin
S2Member. There are a lot of options to lock your content,
but I don't know how to lock a post or page by the number
of days that someone has joined.

For example:
When someone joins on day 1, page 1 should be available on day 1,
page 2 should be available on day 3 etc.

Is this possible?

S2Member can use all the wordpress codes and looks like this (an example):

[s2If is_user_logged_in()]
Content for anyone that is logged in, regardless of their Membership Level.
[/s2If]

[s2If !is_user_logged_in()]
Some public content. They're NOT logged in.
A leading !exclamation means false.
[/s2If]

Thanks very much .
The short answer will be to point you toward the s2 links that talk directly about dates/conditionals.
Content Dripping based on Profile field
Content dripping by date (calender date)

There are also various links that fork off these which do give you what your looking for.
Will take a little php likely.
David V is offline  
Unread 13th Feb 2013, 02:42 AM   #3
Premium Member
War Room Member
 
Jeremy Lacer's Avatar
 
Join Date: 2010
Location: Netherlands
Posts: 213
Thanks: 28
Thanked 36 Times in 23 Posts
Default
Re: [S2Member] Lock a post by date
Share on: 
fb share twitter share gplus share more share

Originally Posted by David V View Post

The short answer will be to point you toward the s2 links that talk directly about dates/conditionals.
Content Dripping based on Profile field
Content dripping by date (calender date)

There are also various links that fork off these which do give you what your looking for.
Will take a little php likely.
Thank you .
Jeremy Lacer is offline  
Closed Thread


Bookmarks

Tags
date, lock, post, s2member


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 05:05 PM.