Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 01:41 pm EST
Geeklog Forums
End membership?
Status: offline
knuff
Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Hmmm, isn´t it more a business process thing you are looking for instead of just deleting the users after a year ?
I could imagine the following.
User register himself and needs to pay a membership fee in order to access premium content.
Once the payment is received you activate the user.
Now, wouldn´t you rather see the following happening.
One month before the user will be deleted, he or she gets a friendly email, stating that his or her membership is open for renewal and is kindly requested to renew it, or otherwise, the user account will be deactivated.
The user then decides to pay or not.
When he or she pays, you extend the user membership for a year.
Else you remove the membership access.
Don´t delete the user as he or she might just forgot it and pays directly when he or she can´t login.
When you receive payments, you just activate the user again, and he or she keeps all his settings.
Cron is just a scheduler on *nix machines that automates things for you and for example executes a script every day or once a month.
You can also do this manual once a month, but I think your question should be process driven.
If you think my example doesn´t make sense, you don´t want to use a scheduler, and still have it automated, you could add the logic on login.
As soon as the user logs in, you check the registration date, if older than one year, delete.
Don´t forget to exclude yourself from the deletion process
Greetz,
Boris
Vanrillaer.com - our Family Portal
I could imagine the following.
User register himself and needs to pay a membership fee in order to access premium content.
Once the payment is received you activate the user.
Now, wouldn´t you rather see the following happening.
One month before the user will be deleted, he or she gets a friendly email, stating that his or her membership is open for renewal and is kindly requested to renew it, or otherwise, the user account will be deactivated.
The user then decides to pay or not.
When he or she pays, you extend the user membership for a year.
Else you remove the membership access.
Don´t delete the user as he or she might just forgot it and pays directly when he or she can´t login.
When you receive payments, you just activate the user again, and he or she keeps all his settings.
Cron is just a scheduler on *nix machines that automates things for you and for example executes a script every day or once a month.
You can also do this manual once a month, but I think your question should be process driven.
If you think my example doesn´t make sense, you don´t want to use a scheduler, and still have it automated, you could add the logic on login.
As soon as the user logs in, you check the registration date, if older than one year, delete.
Don´t forget to exclude yourself from the deletion process
Greetz,
Boris
Vanrillaer.com - our Family Portal
9
11
Quote
All times are EST. The time is now 01:41 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content