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.

less than a day demo

Home Forums Community Forum less than a day demo

This topic contains 3 replies, has 3 voices. Last updated by  Cristián Lávaque 4 years, 2 months ago.

Topic Author Topic
Posted: Friday Oct 19th, 2012 at 12:00 pm #29040
aus_team
Username: austeam

Hi,

is it possible to allow less than a day demo like 6 hours, 1 hour, 30 minutes, etc.

thanks

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Saturday Oct 20th, 2012 at 12:47 am #29103
Raam Dev
Username: Raam
Staff Member

The lowest unit of access time you can sell a subscription/product with s2Member is 1 day. However, you could combine that with Content Dripping (Dashboard -› s2Member® -› API / Scripting -› Content Dripping) to further restrict access once the user has purchased and logged in.

Posted: Saturday Oct 20th, 2012 at 4:10 pm #29173
aus_team
Username: austeam

Hi,

thanks for the hint.

I am looking at this area.

<?php if(s2member_paid_registration_time() > 0){ ?>

    This is some content that will be displayed to all Members that have paid you at some point.

It looks to me that this could work.

<?php if(s2member_paid_registration_time() > 30){ ?>

for 30 minutes

just want to know if 30 minutes should be mentioned as 30 or 1800 (in seconds)

thanks

  • This reply was modified 4 years, 2 months ago by  aus_team.
Posted: Monday Oct 22nd, 2012 at 8:56 am #29246

The time will be a unix timestamp, so it should probably be something like:

[hilite pre_code]

[/hilite]

I hope that helps. :)

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