Community Support Forums — WordPress® ( Users Helping Users ) — 2011-01-12T15:06:53-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=960 2011-01-12T15:06:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=960&p=5516#p5516 <![CDATA[Re: Time limited trial w/o subscription?]]>
Setting the option for a one-time payment still requires my user to go through PayPal and enter credit card or PayPay info. This might lead to abandonment, especially if they don't understand nothing is going to get charged.

Thanks for the help

Statistics: Posted by jeffreygaudette — January 12th, 2011, 3:06 pm


]]>
2010-11-08T14:15:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=960&p=4567#p4567 <![CDATA[Re: Time limited trial w/o subscription?]]>
With a sign up of any kind (any method of registering a user in WP) then you can use the 'one time fee' in s2Member to control it.

Statistics: Posted by Guest — November 8th, 2010, 2:15 pm


]]>
2010-11-08T13:57:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=960&p=4564#p4564 <![CDATA[Re: Time limited trial w/o subscription?]]>
Someplace global like in header.php, we define a constant:
Code:
define("PREVIEW_EXPIRY", "86400");  // 1 day = 86400 seconds


Then, around the top of single.php we figure out if the entry is older than our time limit:
Code:
<?php
if(is_single()) {
    $pubDate = get_the_date('c');
    $pubUnix = strtotime($pubDate);
    $now = time();
   
    if(($now - $pubUnix) > PREVIEW_EXPIRY) {
         $expired = true;
    }
}
?>


And then wherever it's appropriate to start wrapping the stuff you want to protect:
Code:
<?php if (current_user_can("access_s2member_level1")){ ?>
        [This gets shown to people with whatever access you're testing for in that if statement]
<?php } else { // These are our non-subscribers  ?>

    <?php // Then in here, we can say:
        if($expired) {
            [ This post is more than PREVIEW_EXPIRY old, so show limited content ]
        } else {
            [ This post is less than PREVIEW_EXPIRY old, so show full content temporarily ]
        }
    ?>

<?php } ?>

Statistics: Posted by sugeneris — November 8th, 2010, 1:57 pm


]]>
2010-11-07T16:20:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=960&p=4549#p4549 <![CDATA[Re: Time limited trial w/o subscription?]]>
Because it wouldn't be a recurring fee it would last only so long as you select.

That's just the approach I would likely try first. I don't know if it works, but I don't see why it wouldn't.

Statistics: Posted by Guest — November 7th, 2010, 4:20 pm


]]>
2010-11-04T19:27:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=960&p=4514#p4514 <![CDATA[Re: Time limited trial w/o subscription?]]> Statistics: Posted by KirkWard — November 4th, 2010, 7:27 pm


]]>
2010-11-04T14:34:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=960&p=4508#p4508 <![CDATA[Re: Time limited trial w/o subscription?]]>
Why? From a marketing perspective, I want to introduce the least amount of hurdles to a user signing up to my site. Having to provide cc info is a big hurdle/trust issue to overcome and I would rather have them experience the site first and see how awesome it is.

Thank you for your response.

Jeff

Statistics: Posted by jeffreygaudette — November 4th, 2010, 2:34 pm


]]>
2010-10-06T04:30:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=960&p=3794#p3794 <![CDATA[Time limited trial w/o subscription?]]>
Here's my current subscription model. I wonder ifs2Member do that out-of-the-box:

After FREE registration (no PayPal involved), the user will have access to ALL content for 7 days (or preferably, for up to 100 page/post accesses). Once the time limit expires (or the user has accessed more than 100 pages/posts), access is locked and the user needs to subscribe using PayPal.

Any way to configure this kind of operation using s2Member?

Thanks!

Statistics: Posted by BozoTheClown — October 6th, 2010, 4:30 am


]]>