Expire with role-changing
thePanz - March 1, 2008 - 14:12
| Project: | Account Expiry |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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

#1
I'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.
#2
In 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.
#3
That 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 :)
#4
I'm searching for this functionality ("expiring roles"), too!
#5
Hi, 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-
#6
hi!
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
#7
subscribing
#8
Hi, 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
#9
subscribing.
#10
Hi!
Do you have anything such as account expiration for Drupal 6? A newbie request :o).
#11
subscribing
#12
I'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!