Closed (won't fix)
Project:
User-Selectable Roles
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2009 at 14:21 UTC
Updated:
21 Oct 2009 at 10:31 UTC
would it be possible to add a time limit for people to change their roles ?
for ex. I need users to be able to change their roles if they are registered at least for 3 months.
thx.
Comments
Comment #1
johnhanley commentedI suppose you could create a view to filter user accounts by creation date, but a timestamp for when a user last changed his/her role selections doesn't exist.
Comment #2
drupallogic commentedyes, I can create a view to see which users have registered at least 3 months. what I need is automatic way not manuel.
so if a user is registered for 3 months, his role will be changed to role2 automatically. just a feature request.
Comment #3
johnhanley commentedI'm not inclined to add this to the core module, but you could write a small module and use hook_cron to query for users meeting your criteria and make the necessary role change.