Active
Project:
Account Expiry
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2008 at 14:12 UTC
Updated:
21 Jan 2010 at 15:34 UTC
I'd like that, if an account expires, user will still be able to access, but not to post in my site. It consist in role-switching to a role with read/access-only privileges. An administrator will be able to re-enable that account and it will be re-assigned with the "lost roles"..
Is that a feature that goes outside this module? I mean: I'd like to implement it... but I don't know if I have to create e new module or submit my changes as patch! :)
Regards
Comments
Comment #1
b0b commentedI'd like to second this feature request. I have a site with a basic account type (authenticated user) and a member account. I'd like to set-up the member account to expire on a certain date and instead of blocking the user, just bump them back down to basic.
And while we're dreaming, it would be cool if it could send an email message prior to the expiration and after.
Comment #2
jdsaward commentedIn principle I agree that this feature is good to implement. I am not sure when I will be able to get around to it. thePanz if you send the patch it will certainly hasten the process.
Comment #3
liliplanet commentedThat would be wonderful, as really would like users still be able to access the site and not completely locked out. Look forward to the patch :)
Comment #4
Morgenstern commentedI'm searching for this functionality ("expiring roles"), too!
Comment #5
thepanz commentedHi, I've made a lot of changes to AccoutExpiry (fisrt one: depend on User, and not anymore to AccoutTypes) and now I've got something that can't be merged into this module anymore (too much code changes :| )
I'd like to start from scratch and re-think about user (and roles) expirations, something that can be integrated with:
I'm thinking about an User-Expire API with hooks_ and events (programming meaning).
If someone wants to join forces... you're welcome! I know that before proceeding with the actual implementation I must go on research about best API definitions practices and other modules integration.. what about starting a group and put on it our ideas?
Regards
-ThePanz-
Comment #6
Morgenstern commentedhi!
I'm just developping a module that is able to let a choosen role expire after a given time individually customised for each user... But you're right a module that goes hand in hand with actions etc. would be much better!!
I'll write you a message :)
morgenstern
Comment #7
timl commentedsubscribing
Comment #8
thepanz commentedHi, it's a long time since I posted my ideas over there... I've been *really* busy and I've got some work/study going on... so I don't know if I'll find time to freely develop this *hook_expire* module.. sorry! :(
Contact me if you have any idea or suggestions...
Regards
Comment #9
tanjerine commentedsubscribing.
Comment #10
feicki commentedHi!
Do you have anything such as account expiration for Drupal 6? A newbie request :o).
Comment #11
hapydoyzer commentedsubscribing
Comment #12
bdziewierz commentedI've recently developed this module http://drupal.org/project/role_expire. At the moment it allows user roles to expire after set period of time. It has Views hooks allowing developers to display expiry dates using views, also expiry date for each role is displayed on user profiles.
I am working on Notfications and Actions hooks at the moment. These will be added in next major release.
Hope you will find it useful!
Comment #13
mtraherne commentedThe "quick" way would be to add workflow rules. ie "on expire" that would allow you to call any other actions (ie add user role, send email, etc).