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™

Drip feed content after user has purchased

s2Member Plugin. A Membership plugin for WordPress®.

Drip feed content after user has purchased

Postby webboy » October 12th, 2010, 1:23 am

I wish to drip feed content after a user has purchased (upgraded to from 0 to 1) and would like to check from the day the user successfully paid not registered on the system so content will display correctly.

is there a function to check the users date when they had paid against, to do the increments ?
User avatar
webboy
Experienced User
Experienced User
 
Posts: 11
Joined: August 3, 2010

Re: Drip feed content after user has purchased

Postby colstrom » October 25th, 2010, 5:12 pm

I'd imagine you're looking for the S2MEMBER_CURRENT_USER_REGISTRATION_DAYS constant, rather than a function. It should be an integer representing the number of days since registration (0 for unregistered users).

Does this answer your question?
"Through collaboration we achieve our greatest works."Chris Olstrom
User avatar
colstrom
Registered User
Registered User
 
Posts: 1
Joined: October 25, 2010
Location: Delta, British Columbia

Re: Drip feed content after user has purchased

Postby Jason Caldwell » October 25th, 2010, 11:19 pm

Also, this thread may be helpful to you:
viewtopic.php?f=4&t=602&p=2619&hilit=paid+date#p2619
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron