Site Membership Pro - Fixed Subscription Expiry Dates

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
3/24/2014 8:13:56 AM
Gravatar
Total Posts 25

Site Membership Pro - Fixed Subscription Expiry Dates

Hi Joe

We have purchased Site Membership Pro for use on a client site and the role granting functionality etc is just what we need.

We are using it to support an annual membership product that expires on a fixed date each year for all members.  (Ie when a member joins for the first year their fee gives them access for the remainder of the membership year and subsequent renewals then give them 365 day access.)

From what I can see, this isn’t directly supported in SMP however we are proposing to achieve this by using a “Year 1” membership product whose duration is reduced each day so that all new subscribers are given the same calendar end date.  They will then renew using another standard 365 day duration product.

We are proposing to use a stored procedure to regularly update the DurationInDays field in sts_MembershipProduct to achieve this.

Aside from future structure changes, can you see any general problems with this approach that would prevent it working?

Many thanks

Neil

3/24/2014 12:19:16 PM
Gravatar
Total Posts 18439

Re: Site Membership Pro - Fixed Subscription Expiry Dates

Hi Neil,

The membership ticket end dates are calculated by the duration and for renewals the begin date is based on the previous end date.

Your proposed strategy of s stored procedure to run every day to reduce the duration seems reasonable, and probably should run as close to midnight GMT as possible. Might have a glitch on leap years that would need a one day adjustment.

I'll log this scenario in our project tracker in case I can think of a way to support this scenario directly in the product at some point.

Hope that helps,

Joe

3/25/2014 4:30:44 AM
Gravatar
Total Posts 25

Re: Site Membership Pro - Fixed Subscription Expiry Dates

Thanks Joe - That's a great help.

Neil

3/25/2014 2:17:14 PM
Gravatar
Total Posts 18439

Re: Site Membership Pro - Fixed Subscription Expiry Dates

Thanks for the beer Neil! Much appreciated.

Cheers,

Joe

You must sign in to post in the forums. This thread is closed to new posts.