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.

membership expire on a specific date

Home Forums Community Forum membership expire on a specific date

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

Topic Author Topic
Posted: Wednesday May 15th, 2013 at 7:49 pm #50038

I am trying to use s2member to track memberships for a small youth soccer club. They collect fees once a year. Although there may be a little bit of information that would be available to paid members only (haven’t thought of anything yet), most everything will be available to anyone who logs in — paid or not paid.

So, I need a way to set up the paypal button to expire after a specific date — not based on a specific term of now + so many days or months, etc. I have been reading through some posts and found some things that looked like they fit, but I’m kind of lost.

Can anyone explain to a newbie please? I know a little bit of php, but unless you tell me precisely where to put it, I might have trouble getting the context.

Thanks in advance,

MrsB

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Friday May 17th, 2013 at 9:25 pm #50153
Eduan
Username: Eduan
Moderator

Hello Linda,

So what you want to do is that no matter when they paid, they always get renewed at a specific date? For example the 5th of April?

– Eduan

Posted: Friday May 17th, 2013 at 9:28 pm #50154

Yes please. Everyone’s membership would expire / need to be renewed by a specific date.

MrsB

Posted: Wednesday May 22nd, 2013 at 12:59 pm #50379
Eduan
Username: Eduan
Moderator

Hello Linda,

In that case you will need to setup some PHP/JavaScript that will check the date and output the correct amount of time the subscription should last in comparison to the date to which you want it to last till. (I had a hard time with that sentence, probably still doesn’t make sense…)

In PHP you would do so with the date() function. And in JavaScript it’s probably similar… I’m not too familiar with this side of coding yet.

– Eduan

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.