time period for the role change

drupallogic - October 13, 2009 - 14:21
Project:User-Selectable Roles
Version:6.x-1.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

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.

#1

Bacteria Man - October 13, 2009 - 18:30

I 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.

#2

drupallogic - October 16, 2009 - 22:17

yes, 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.

#3

Bacteria Man - October 21, 2009 - 10:31
Status:active» won't fix

I'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.

 
 

Drupal is a registered trademark of Dries Buytaert.