Download & Extend

A new module to assign roles by cron after some time after registration

Project:Auto Assign Role
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I was in need a module, which can add a new role to a user after some time after registration for the site www.afportal.ru. I payed for the module, and it was made. If you speak russian, you can read all topic here - http://www.drupal.ru/node/35597 Now I want to offer it to all Drupal community for free (if you use this code for "Auto Assign Role", please, place sponsor site link to your module page).

Module is named "Pisatel" ("writer" in russian). Webmaster can choose role and time in hours. Module uses Cron for work.

How to set up module. Extract it in modules direction, enable. Then go to update.php, choose version 1 for the module and start update.php. It is necessary to do this in order to assign a new role to all existing users and not to burden cron. Later cron will assign a new role every hour for new users.

A smal bug was detected: the assigned role cannot be removed by admin.

AttachmentSizeStatusTest resultOperations
pisatel.zip1.88 KBIgnored: Check issue status.NoneNone

Comments

#1

Assigned to:AndersMawin» Anonymous

#2

Thanks ... I'll take a look at this and see what we can do to get it integrated

#3

subscribe. I'm wondering if I might need to use this patch.

I'm considering adding all authenticated users of an existing website to a new default role. I will then need to use the Auto assign role module for new users.

I am wondering if the Auto Assign module can also be used to assign existing users to a role as a batch process, or if I can do it with Views bulk operations module or if I need to use this patch?

[edit]
How silly of me, I now realize that "user management>users" (admin/user/user) already supports adding a new role to existing users. This patch is more specific to having a timed event that changes a users role, which might be handy but is not something that I need right now. Still good to know where I can find it if needed.
[/edit]