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.

Delayed Contents, Paid Members & Public

Home Forums Community Forum Delayed Contents, Paid Members & Public

This topic contains 5 replies, has 2 voices. Last updated by  cassel 3 years, 3 months ago.

Topic Author Topic
Posted: Wednesday Oct 2nd, 2013 at 9:11 am #60093
Allan
Username: optionsweekly

Hi,

I am interested to have this ideal situation:

I post a paid member’s only preimum content (post), and members can view it instantly, whereas public cannot view it. S2Member’s default function can do the above.

What I would like is to allow the premium content to become public’s content (automatically) after the post has been published for 5 days.

Does S2Member have something that will allow it to occur?

Thanks.

Allan

List Of Topic Replies

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Friday Oct 4th, 2013 at 6:10 am #60143
cassel
Username: cassel

There is a hack available here:
http://krumch.com/2012/11/06/kc-s2member-ccap-clock-timer/#.Uk6TsWreTIU/?ap_id=Cassel
It is not free, but it will do what you want. I have been using it in the past and it is easy to use.

Posted: Friday Oct 4th, 2013 at 6:23 am #60146
Allan
Username: optionsweekly

Thanks Cassel, Its a good read.. but it does not seems to be exactly how I want mine to function. And btw, it would be nice if you mentioned that what you are sending me to is using your affiliate link.

  • This reply was modified 3 years, 3 months ago by  Allan.
Posted: Friday Oct 4th, 2013 at 5:17 pm #60157
cassel
Username: cassel

Apologies, Allan. It was referring to the wrong product. I had worked with Krum on something like you asked, at the same time he worked on this hack.

Here is the “correct” answer I should have shared. You can set the time when something will show to the public. I have used that in the past, although it was not on a post, but on content inside a page, so I am not 100% sure it will display the whole post the way you want. I am not a programmer (which is why Krum does that for me). Here is a sample, as I used it, to show some content on an daily basis.

<?php if date("Ymd") == 20121021 { ?>
    <img src="http://scrapbookcampus.com/Images/PlaidPaper1.jpg" border="0">
<?php } ?> 
<?php if date("Ymd") == 20121022 { ?>
    <img src="http://scrapbookcampus.com/Images/Paperclip.jpg" border="0">
<?php } ?>

So this is a code where I set it so the first image displayed while it was October 21st, 2012, then on the 22nd, another image was to be displayed, and so on.

For your need, you might want to add your text inside something like this:

<?php if date("Ymd") > 20121021 { ?>
    put the content in here
<?php } ?> 

Maybe this can help you get the exact coding you need?

And for the affiliate link, first, it was the wrong one, but mostly, I use the affiliate link to only track the sales but NOT to get a commission.

Hope it helps.

Posted: Friday Oct 4th, 2013 at 5:27 pm #60158
Allan
Username: optionsweekly

Thanks Cassel, nevertheless, I am most probably engaging Krum to help me with this coding, so the credit is still yours and thanks for the help.

Have a great weekend!

Posted: Friday Oct 4th, 2013 at 5:29 pm #60161
cassel
Username: cassel

Hope it all works out. Krum is fantastic to work with!

Viewing 5 replies - 1 through 5 (of 5 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.