Application for drupal.org CVS account
There is only one thing better than using drupal - getting involved in the drupal community :)
I will be doing exactly that by contributing my first module to the drupal repository. I kind of feel that there are a very large amount of people who can and who do develop custom drupal modules but never take the step of contributing them. I might be totally wrong and this thought might just be a manifestation of my tryst with drupal so far.
I have attempted to ease the work of CVS administrators by writing a motivation message as suggested at http://drupal.org/node/59 and also sending them a link to the 1st pass of the module (which is this post)
My motivation message follows. (Hope it gets me the CVS access and helps others become contributors too)
Hi there,
I have created a module "role length" and would like to add it to the drupal contributions repository. At present the module can be downloaded from http://sumeetpareek.com/2009/01/28/application-drupalorg-cvs-account
Motivation
There is sometimes need for the site admins to assign roles to users only for certain duration. This module helps the admin do just that with couple of more functionality thrown in.Details
The module allows the user administers to
- associate length with roles (no of days) [optional]
- determine which role should the user be switched to after expiry of a role [optional]
- setup 'n' number of automated expiry notifications that would be send out to the user as the time of role expiry approaches.[optional]
- provides blocks that display role lengths and time till expiry
Why new module?
When I had the above mentioned requirements, I checked up and found that the functionality could not be achieved by using any permutation and combination of drupal core modules + the contributed modules.Coding standards
I have used the coder module to make sure that all the code of the role length module sticks to the Drupal coding standards. There are a couple of places where I need to use the hook_theme() and t() for some string literals. Will make sure to do those changes before committing the module to CVS.Future plan
To maintain the module and expand it by getting feedback/feature request/issues from the users.Cheers
wikidkaka
| Attachment | Size |
|---|---|
| role_length.rar | 11.04 KB |
- Login to post comments

Recent comments
43 weeks 4 days ago
43 weeks 4 days ago
43 weeks 4 days ago
48 weeks 4 days ago
48 weeks 5 days ago
48 weeks 5 days ago
48 weeks 6 days ago
50 weeks 1 day ago
1 year 3 weeks ago
1 year 20 weeks ago