e107
e107 copied to clipboard
Profile or membership feature
This would probably be geared more toward a membership type site.
The idea is a feature that if the Admin is setting up the profile for a user, there is the ability to set a term or expiration for that user (1 week, 1 month, Quarterly, 1 year, No Expiration) etc.
sorry, wrong answer (you seek for 'end' ) not probation (that is present in admin/users/option).
Right. Looking to have a setting to end at a particular interval
The idea is a feature that if the Admin is setting up the profile for a user, there is the ability to set a term or expiration for that user (1 week, 1 month, Quarterly, 1 year, No Expiration) etc.
Maybe better idea is using this for member classes? Or do you want to do this for each user? What should happened after expiration? The user can't log in then or use some features?
It would be for each user. The idea would be to basically make the profile inactive (bounced or deleted) and prevent login.
You could probably do it with an extended field to store the term length, and then have an e_cron job run daily to check the user_joined date against it for each account and disable the ones whose time is up.
would that be create an extended field user_joined? After that, I'm not understanding next steps (make it predefined list, date, DB table field) etc. Give it a predefined value? Just not sure how to implement